Skip to content

Commit

Permalink
Improve react detector
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Feb 13, 2024
1 parent 53526f9 commit 48411f6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion repository/jsrepository-master.json
Original file line number Diff line number Diff line change
Expand Up @@ -3253,7 +3253,7 @@
"filecontent": [
"/\\*\\*\n +\\* React \\(with addons\\) ?v(§§version§§)",
"/\\*\\*\n +\\* React v(§§version§§)",
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react\\.",
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react(-jsx-runtime)?\\.",
"\"\\./ReactReconciler\":[0-9]+,\"\\./Transaction\":[0-9]+,\"fbjs/lib/invariant\":[0-9]+\\}\\],[0-9]+:\\[function\\(require,module,exports\\)\\{\"use strict\";module\\.exports=\"(§§version§§)\"\\}",
"ReactVersion\\.js[\\*! \\\\/\n\r]{0,100}function\\(e,t\\)\\{\"use strict\";e\\.exports=\"(§§version§§)\"",
"expected a ReactNode.[\\s\\S]{0,1800}?function\\(e,t\\)\\{\"use strict\";e\\.exports=\"(§§version§§)\""
Expand Down Expand Up @@ -3307,6 +3307,22 @@
]
}
},
"react-is": {
"vulnerabilities" : [],
"extractors" : {
"filecontent": [
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react-is\\."
]
}
},
"scheduler": {
"vulnerabilities" : [],
"extractors" : {
"filecontent": [
"/\\*\\* @license React v(§§version§§)[\\s]*\\* scheduler\\."
]
}
},
"flowplayer": {
"vulnerabilities": [
{
Expand Down
18 changes: 17 additions & 1 deletion repository/jsrepository.json
Original file line number Diff line number Diff line change
Expand Up @@ -4384,7 +4384,7 @@
"filecontent": [
"/\\*\\*\n +\\* React \\(with addons\\) ?v(§§version§§)",
"/\\*\\*\n +\\* React v(§§version§§)",
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react\\.",
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react(-jsx-runtime)?\\.",
"\"\\./ReactReconciler\":[0-9]+,\"\\./Transaction\":[0-9]+,\"fbjs/lib/invariant\":[0-9]+\\}\\],[0-9]+:\\[function\\(require,module,exports\\)\\{\"use strict\";module\\.exports=\"(§§version§§)\"\\}",
"ReactVersion\\.js[\\*! \\\\/\n\r]{0,100}function\\(e,t\\)\\{\"use strict\";e\\.exports=\"(§§version§§)\"",
"expected a ReactNode.[\\s\\S]{0,1800}?function\\(e,t\\)\\{\"use strict\";e\\.exports=\"(§§version§§)\""
Expand Down Expand Up @@ -4504,6 +4504,22 @@
]
}
},
"react-is": {
"vulnerabilities": [],
"extractors": {
"filecontent": [
"/\\*\\* @license React v(§§version§§)[\\s]*\\* react-is\\."
]
}
},
"scheduler": {
"vulnerabilities": [],
"extractors": {
"filecontent": [
"/\\*\\* @license React v(§§version§§)[\\s]*\\* scheduler\\."
]
}
},
"flowplayer": {
"vulnerabilities": [
{
Expand Down

0 comments on commit 48411f6

Please sign in to comment.