Skip to content

Commit f0d03e1

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 f0d03e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/misc/semver.md

Lines changed: 1 addition & 1 deletion
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).

0 commit comments

Comments
 (0)