@npmcli/arborist 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/node.js +4 -0
- package/lib/query-selector-all.js +4 -0
- package/package.json +1 -1
package/lib/node.js
CHANGED
|
@@ -262,6 +262,10 @@ class Results {
|
|
|
262
262
|
!internalSelector.has(node))
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
+
overriddenPseudo () {
|
|
266
|
+
return this.initialItems.filter(node => node.overridden)
|
|
267
|
+
}
|
|
268
|
+
|
|
265
269
|
pathPseudo () {
|
|
266
270
|
return this.initialItems.filter(node => {
|
|
267
271
|
if (!this.currentAstNode.pathValue) {
|