Skip to content

Commit 86e6fce

Browse files
committed
docs: clarify in-range and out-of-range in dependency selectors
1 parent d597d65 commit 86e6fce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/lib/content/using-npm/dependency-selectors.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Some examples:
8484
The `:outdated` pseudo selector retrieves data from the registry and returns information about which of your dependencies are outdated. The type parameter may be one of the following:
8585

8686
- `any` (default) a version exists that is greater than the current one
87-
- `in-range` a version exists that is greater than the current one, and satisfies at least one if its dependents
88-
- `out-of-range` a version exists that is greater than the current one, does not satisfy at least one of its dependents
87+
- `in-range` a version exists that is greater than the current one, and satisfies at least one if its parent's dependencies
88+
- `out-of-range` a version exists that is greater than the current one, does not satisfy at least one of its parent's dependencies
8989
- `major` a version exists that is a semver major greater than the current one
9090
- `minor` a version exists that is a semver minor greater than the current one
9191
- `patch` a version exists that is a semver patch greater than the current one
@@ -99,7 +99,7 @@ In addition to the filtering performed by the pseudo selector, some extra data i
9999
Some examples:
100100

101101
- `:root > :outdated(major)` returns every direct dependency that has a new semver major release
102-
- `.prod:outdated(in-range)` returns production dependencies that have a new release that satisfies at least one of its edges in
102+
- `.prod:outdated(in-range)` returns production dependencies that have a new release that satisfies at least one of its parent's dependencies
103103

104104
#### [Attribute Selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors)
105105

0 commit comments

Comments
 (0)