Bump semver
This commit is contained in:
parent
863a05b28b
commit
4b7eb74ef5
579 changed files with 13988 additions and 29840 deletions
5
node_modules/semver/internal/constants.js
generated
vendored
5
node_modules/semver/internal/constants.js
generated
vendored
|
|
@ -9,6 +9,10 @@ const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
|
|||
// Max safe segment length for coercion.
|
||||
const MAX_SAFE_COMPONENT_LENGTH = 16
|
||||
|
||||
// Max safe length for a build identifier. The max length minus 6 characters for
|
||||
// the shortest version with a build 0.0.0+BUILD.
|
||||
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
|
||||
|
||||
const RELEASE_TYPES = [
|
||||
'major',
|
||||
'premajor',
|
||||
|
|
@ -22,6 +26,7 @@ const RELEASE_TYPES = [
|
|||
module.exports = {
|
||||
MAX_LENGTH,
|
||||
MAX_SAFE_COMPONENT_LENGTH,
|
||||
MAX_SAFE_BUILD_LENGTH,
|
||||
MAX_SAFE_INTEGER,
|
||||
RELEASE_TYPES,
|
||||
SEMVER_SPEC_VERSION,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue