Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: fixed typo for Number.MAX_SAFE_INTEGER
Just replaced Integer.MAX_SAFE_INTEGER with Number.MAX_SAFE_INTEGER.

PR-URL: #229
Credit: @gall0ws
Close: #229
Reviewed-by: @isaacs
  • Loading branch information
gall0ws authored and isaacs committed Aug 9, 2019
1 parent 45772af commit 50cfe11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/misc/semver.md
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion node_modules/semver/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50cfe11

Please sign in to comment.