mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
JS: introduce SemVer matching library
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"a": "^1.0.0",
|
||||
"c": ">=1.0.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
const a = require('a'),
|
||||
c = require('c');
|
||||
|
||||
|
||||
(function() {
|
||||
a.m1(x); // flagged
|
||||
|
||||
c.m1(0, x); // flagged
|
||||
});
|
||||
Reference in New Issue
Block a user