diff options
Diffstat (limited to 'together/node_modules/semver/functions/inc.js')
-rw-r--r-- | together/node_modules/semver/functions/inc.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/together/node_modules/semver/functions/inc.js b/together/node_modules/semver/functions/inc.js deleted file mode 100644 index 62d1da2..0000000 --- a/together/node_modules/semver/functions/inc.js +++ /dev/null @@ -1,18 +0,0 @@ -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 |