download
raw
478 Bytes
'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

Xet Storage Details

Size:
478 Bytes
·
Xet hash:
de4a56d7dfb8b521f8b6352b013576862313f429738e60023af34d4f44aa955e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.