This commit is contained in:
Ash
2023-01-24 17:15:57 +04:00
parent 21898e64fb
commit 26ebf6ec64
1117 changed files with 239106 additions and 0 deletions

18
node_modules/semver/functions/inc.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
const SemVer = require('../classes/semver')
const inc = (version, release, options, identifier) => {
if (typeof (options) === 'string') {
identifier = options
options = undefined
}
try {
return new SemVer(
version instanceof SemVer ? version.version : version,
options
).inc(release, identifier).version
} catch (er) {
return null
}
}
module.exports = inc