Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2022-08-16 20:27:55 +0300
committerNathan Fritz <fritzy@github.com>2022-08-17 03:54:17 +0300
commit0d4ed0fb1cd86edd827cac0b5367b73bb864a9bf (patch)
tree48a360b20ddda9217b059ebbf32dcd3a86af7cc9 /lib
parentd221f72c00e13258469a748227a1d6f9953a5948 (diff)
feat(query): support :overridden pseudo selector
Diffstat (limited to 'lib')
-rw-r--r--lib/commands/query.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commands/query.js b/lib/commands/query.js
index 60294acaf..231329b19 100644
--- a/lib/commands/query.js
+++ b/lib/commands/query.js
@@ -20,6 +20,7 @@ class QuerySelectorItem {
this.dev = node.target.dev
this.inBundle = node.target.inBundle
this.deduped = this.from.length > 1
+ this.overridden = node.overridden
for (const edge of node.target.edgesIn) {
this.from.push(edge.from.location)
}