CLI documentation update from CI

npm CLI robot committed Aug 25, 2022 at 03:13 UTC 707b998c23b596bcde919f960060b81822a0fa0d
3 files changed +4 -4
cli/v8
+1 -1
@@ -1 +1 @@
1 -Subproject commit fa014a5567566c764942600441a5e01c3e2f229b
1 +Subproject commit 1e841029917817556207c39d25be1ea91e2959e7
content/cli/v8/commands/npm-query.md
+1 -1
@@ -242,5 +242,5 @@ This value is not exported to the environment for child processes.
242 <!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
243 ## See Also
244
245 -* [dependency selector](/cli/v8/using-npm/dependency-selector)
245 +* [dependency selectors](/cli/v8/using-npm/dependency-selectors)
246
content/cli/v8/using-npm/dependency-selectors.md
+2 -2
@@ -152,7 +152,7 @@ const arb = new Arborist({})
152
153 ```js
154 // root-level
155 -arb.loadActual((tree) => {
155 +arb.loadActual().then(async (tree) => {
156 // query all production dependencies
157 const results = await tree.querySelectorAll('.prod')
158 console.log(results)
@@ -161,7 +161,7 @@ arb.loadActual((tree) => {
161
162 ```js
163 // iterative
164 -arb.loadActual((tree) => {
164 +arb.loadActual().then(async (tree) => {
165 // query for the deduped version of react
166 const results = await tree.querySelectorAll('#react:not(:deduped)')
167 // query the deduped react for git deps