-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(arborist): add :overridden pseudo selector
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ t.test('query-selector-all', async t => { | |
│ └── [email protected] (production dep of bar) | ||
├─┬ [email protected] (dev dep of query-selector-all-tests) | ||
│ ├─┬ [email protected] (production dep of foo, deduped) | ||
│ │ └── [email protected] (peer dep of bar) | ||
│ │ └── [email protected] (overridden peer dep of bar) | ||
│ └── [email protected] (production dep of foo) | ||
├── [email protected] (dev dep of query-selector-all-tests) | ||
└─┬ [email protected] (dev dep of query-selector-all-tests) | ||
|
@@ -98,7 +98,7 @@ t.test('query-selector-all', async t => { | |
name: 'bar', | ||
version: '1.4.0', | ||
peerDependencies: { | ||
dasher: '2.0.0', | ||
dasher: '2.1.0', | ||
}, | ||
}), | ||
}, | ||
|
@@ -203,6 +203,9 @@ t.test('query-selector-all', async t => { | |
bar: '^2.0.0', | ||
ipsum: 'npm:[email protected]', | ||
}, | ||
overrides: { | ||
dasher: '2.0.0', | ||
}, | ||
devDependencies: { | ||
foo: '^2.0.0', | ||
moo: '^3.0.0', | ||
|
@@ -368,6 +371,7 @@ t.test('query-selector-all', async t => { | |
]], | ||
[':missing', ['missing-dep@^1.0.0']], | ||
[':private', ['[email protected]']], | ||
[':overridden', ['[email protected]']], | ||
|
||
// :not pseudo | ||
[':not(#foo)', [ | ||
|