Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
468 bytes
|
Line | |
---|
1 | // Note: this is the semver.org version of the spec that it implements
|
---|
2 | // Not necessarily the package version of this code.
|
---|
3 | const SEMVER_SPEC_VERSION = '2.0.0'
|
---|
4 |
|
---|
5 | const MAX_LENGTH = 256
|
---|
6 | const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
|
---|
7 | /* istanbul ignore next */ 9007199254740991
|
---|
8 |
|
---|
9 | // Max safe segment length for coercion.
|
---|
10 | const MAX_SAFE_COMPONENT_LENGTH = 16
|
---|
11 |
|
---|
12 | module.exports = {
|
---|
13 | SEMVER_SPEC_VERSION,
|
---|
14 | MAX_LENGTH,
|
---|
15 | MAX_SAFE_INTEGER,
|
---|
16 | MAX_SAFE_COMPONENT_LENGTH
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.