Lower confidence for short patterns (D3 and NV3D patterns) (#1854)

* Low confidence for 2-character environment variables

These can be automatically generated by the Google Closure Compiler
(which will, if configured, replace global variables with auto-generated
ones such as aa, ab, ac et cetera.) Hence, they are a less reliable
indication that a library which would also set said variable is present.

* Low confidence for D3 and NV3D env patterns

These variables can be automatically generated by the Google Closure Compiler (which will, if configured, replace global variables with auto-generated ones such as aa, ab, ac et cetera.) Hence, they are a less reliable indication that a library which would also set said variable is present.
main
q-- 7 years ago committed by Elbert Alias
parent 15fd3cbf8e
commit 030463e3ea

@ -1865,7 +1865,7 @@
"cats": [
"25"
],
"env": "^d3$",
"env": "^d3$\\;confidence:20",
"icon": "D3.png",
"script": "/d3(?:\\. v\\d+)?(?:\\.min)?\\.js",
"website": "http://d3js.org"
@ -5703,7 +5703,7 @@
"cats": [
"25"
],
"env": "^nv$",
"env": "^nv$\\;confidence:20",
"html": "<link[^>]* href=[^>]+nv\\.d3(?:\\.min)?\\.css",
"icon": "NVD3.png",
"implies": "D3",