You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/cli/v11/commands/npm-ls.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
52
52
Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
|`--vcs-origin`| null | String (required) | CircleCI repository origin in format 'provider/owner/repo' |
146
+
|`--context-id`| null | null or String (can be set multiple times) | CircleCI context UUID to match |
147
+
|`--dry-run`| false | Boolean | Indicates that you don't want npm to make any changes and that it should only report what it would have done. This can be passed into any of the commands that modify your local installation, eg, `install`, `update`, `dedupe`, `uninstall`, as well as `pack` and `publish`. Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. |
148
+
|`--json`| false | Boolean | Whether or not to output JSON data, rather than the normal output. \* In `npm pkg set` it enables parsing set values with JSON.parse() before saving them to your `package.json`. Not supported by all npm commands. |
149
+
|`--registry`| "https://registry.npmjs.org/"| URL | The base URL of the npm registry. |
150
+
|`--yes`, `-y`| null | null or Boolean | Automatically answer "yes" to any prompts that npm might print on the command line. |
Copy file name to clipboardExpand all lines: content/cli/v11/using-npm/dependency-selectors.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ The [`npm query`](/cli/v11/commands/npm-query) command exposes a new dependency
74
74
-`:missing` when a dependency is not found on disk
75
75
-`:semver(<spec>, [selector], [function])` match a valid [`node-semver`](https://github.com/npm/node-semver) version or range to a selector
76
76
-`:path(<path>)`[glob](https://www.npmjs.com/package/glob) matching based on dependencies path relative to the project
77
-
-`:type(<type>)`[based on currently recognized types](https://github.com/npm/npm-package-arg#result-object)
77
+
-`:type(<type>)`[based on currently recognized types](https://github.com/npm/npm-package-arg#result-object). You can also use the aggregate type of `registry` for any registry dependency (e.g. tag, version, range, alias)
78
78
-`:outdated(<type>)` when a dependency is outdated
79
79
-`:vuln(<selector>)` when a dependency has a known vulnerability
0 commit comments