UNPKG
@lando/mongo
Version:
edge (1.4.0)
latest (1.4.0)
1.4.0
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
A Lando plugin that provides a tight integration with MongoDB.
github.com/lando/mongo
lando/mongo
@lando/mongo
/
node_modules
/
semver
/
functions
/
satisfies.js
13 lines
(11 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
const
Range
=
require
(
'../classes/range'
)
const
satisfies
= (
version, range, options
) => {
try
{ range =
new
Range
(range, options) }
catch
(er) {
return
false
}
return
range.
test
(version) }
module
.
exports
=
satisfies