-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(update): Fix a typo and remove unneeded statement (#7152)
- Loading branch information
1 parent
162c82e
commit dd5699f
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ However, if `app`'s `package.json` contains: | |
``` | ||
|
||
In this case, running `npm update` will install `[email protected]`. Even though the | ||
`latest` tag points to `1.2.2`, this version do not satisfy `~1.1.1`, which is | ||
`latest` tag points to `1.2.2`, this version does not satisfy `~1.1.1`, which is | ||
equivalent to `>=1.1.1 <1.2.0`. So the highest-sorting version that satisfies | ||
`~1.1.1` is used, which is `1.1.2`. | ||
|
||
|
@@ -90,8 +90,7 @@ Suppose `app` has a caret dependency on a version below `1.0.0`, for example: | |
} | ||
``` | ||
|
||
`npm update` will install `[email protected]`, because there are no other | ||
versions which satisfy `^0.2.0`. | ||
`npm update` will install `[email protected]`. | ||
|
||
If the dependence were on `^0.4.0`: | ||
|
||
|