JS: introduce SemVer matching library

This commit is contained in:
Esben Sparre Andreasen
2019-04-17 15:22:12 +02:00
parent 7d57d1915a
commit 0660db37f6
11 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"dependencies": {
"a": "^1.0.0",
"c": ">=1.0.0"
}
}

View File

@@ -0,0 +1,9 @@
const a = require('a'),
c = require('c');
(function() {
a.m1(x); // flagged
c.m1(0, x); // flagged
});