Fix overly broad Angular detection

Was triggered on "rectangular[several KiB of minified script].js"
Now requires a word boundary before "angular" and allows max. 32
characters between that and ".js"
main
Anders K. Madsen 4 years ago
parent 16795ce4bc
commit 96ae537432

@ -808,7 +808,7 @@
"script": [
"angular[.-]([\\d.]*\\d)[^/]*\\.js\\;version:\\1",
"/([\\d.]+(?:-?rc[.\\d]*)*)/angular(?:\\.min)?\\.js\\;version:\\1",
"angular.*\\.js"
"\\bangular.{0,32}\\.js"
],
"website": "https://angularjs.org"
},

Loading…
Cancel
Save