/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/node_modules/semver/functions/inc.js
21 строка
478 B
npm CLI robot
deps: upgrade npm to 11.4.2
20 июн 2025, 07:39
Не верифицирован
20 июн 2025, 07:39
433d9a0
Код
Авторство
О чём код?
'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