This commit is contained in:
2024-11-27 15:08:17 +00:00
parent c08cf2d046
commit 0574d9bc7a
298 changed files with 29533 additions and 0 deletions

11
nodeJS/Learning/01/node_modules/semver/ranges/valid.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
const Range = require('../classes/range')
const validRange = (range, options) => {
try {
// Return '*' instead of '' so that truthiness works.
// This will throw if it's invalid anyway
return new Range(range, options).range || '*'
} catch (er) {
return null
}
}
module.exports = validRange