summaryrefslogtreecommitdiff
path: root/together/node_modules/semver/ranges/intersects.js
diff options
context:
space:
mode:
Diffstat (limited to 'together/node_modules/semver/ranges/intersects.js')
-rw-r--r--together/node_modules/semver/ranges/intersects.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/together/node_modules/semver/ranges/intersects.js b/together/node_modules/semver/ranges/intersects.js
new file mode 100644
index 0000000..3d1a6f3
--- /dev/null
+++ b/together/node_modules/semver/ranges/intersects.js
@@ -0,0 +1,7 @@
+const Range = require('../classes/range')
+const intersects = (r1, r2, options) => {
+ r1 = new Range(r1, options)
+ r2 = new Range(r2, options)
+ return r1.intersects(r2)
+}
+module.exports = intersects