Skip to content

Commit 0701e1c

Browse files
committedAug 9, 2019
Correct typo in doc s/Integer/Number/
Prompted by npm/cli#229
1 parent 0eeceec commit 0701e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes
417417
is not valid). The maximum length for any semver component considered for
418418
coercion is 16 characters; longer components will be ignored
419419
(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any
420-
semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value
420+
semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value
421421
components are invalid (`9999999999999999.4.7.4` is likely invalid).
422422

423423
If the `options.rtl` flag is set, then `coerce` will return the right-most

0 commit comments

Comments
 (0)
Please sign in to comment.