This commit is contained in:
how2ice
2025-08-14 23:34:11 +09:00
commit 44cca8f122
2224 changed files with 113884 additions and 0 deletions

21
node_modules/semver/functions/inc.js generated vendored Executable file
View File

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