Add source-build docs, optional SERVER_PORT config
This commit is contained in:
1 parent
d24b852f2a
commit
8e3aa558b0
1484 files changed
+174765
-1
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
'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
|
||||
Reference in new issue
Block a user