diff options
author | gall0ws <g4ll0ws@gmail.com> | 2019-08-05 18:34:43 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2019-08-09 07:37:18 +0300 |
commit | 50cfe113da5fcc59c1d99b0dcf1050ace45803c7 (patch) | |
tree | 14582de84b32924054bc44f5c6e9fc6f6aa8fc1e /node_modules/semver/README.md | |
parent | 45772af0ddca54b658cb2ba2182eec26d0a4729d (diff) |
doc: fixed typo for Number.MAX_SAFE_INTEGER
Just replaced Integer.MAX_SAFE_INTEGER with Number.MAX_SAFE_INTEGER.
PR-URL: https://github.com/npm/cli/pull/229
Credit: @gall0ws
Close: #229
Reviewed-by: @isaacs
Diffstat (limited to 'node_modules/semver/README.md')
-rw-r--r-- | node_modules/semver/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/semver/README.md b/node_modules/semver/README.md index e5ccececf..c31bd64be 100644 --- a/node_modules/semver/README.md +++ b/node_modules/semver/README.md @@ -407,5 +407,5 @@ All surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes `3.4.0`). Only text which lacks digits will fail coercion (`version one` is not valid). The maximum length for any semver component considered for coercion is 16 characters; longer components will be ignored (`10000000000000000.4.7.4` becomes `4.7.4`). -The maximum value for any semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; +The maximum value for any semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value components are invalid (`9999999999999999.4.7.4` is likely invalid). |