Sha256: cf98803f6d73f5a9954b3d1a548145bd41a0486b9fc0b354bca2802996242c3d

Contents?: true

Size: 464 Bytes

Versions: 127

Compression:

Stored size: 464 Bytes

Contents

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

Version data entries

127 entries across 53 versions & 4 rubygems

Version Path
immosquare-cleaner-0.1.62 node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.61 node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/vue-eslint-parser/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.60 node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/vue-eslint-parser/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.59 node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/vue-eslint-parser/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js
immosquare-cleaner-0.1.58 node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js