Skip to content

Commit 50cfe11

Browse files
gall0wsisaacs
authored andcommitted
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
1 parent 45772af commit 50cfe11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/misc/semver.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,5 +407,5 @@ All surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes `3.4.0`).
407407
Only text which lacks digits will fail coercion (`version one` is not valid).
408408
The maximum length for any semver component considered for coercion is 16 characters;
409409
longer components will be ignored (`10000000000000000.4.7.4` becomes `4.7.4`).
410-
The maximum value for any semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`;
410+
The maximum value for any semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`;
411411
higher value components are invalid (`9999999999999999.4.7.4` is likely invalid).

node_modules/semver/README.md

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)