-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check.js: Ignore dedup warnings for bundled dependencies (#3337)
Any package with bundledDependencies will be added to a hash of bundled deps, which are used to check against when printing dedup warnings. This is because bundled dependencies could result in duplications which we would otherwise detect as false positives. Fixes #3299
- Loading branch information
Showing
5 changed files
with
41 additions
and
4 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
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "bundled-dep-check", | ||
"description": "A package with bundled dependencies", | ||
"version": "2.0.1", | ||
"dependencies": { | ||
"nyc": "file:./nyc-10.3.2.tgz" | ||
}, | ||
"license": "MIT" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
archy@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" | ||
|
||
"nyc@file:./nyc-10.3.2.tgz": | ||
version "10.3.2" | ||
resolved "./nyc-10.3.2.tgz#35563cb271637e2dc922a1145d8981e948a9f5c3" | ||
dependencies: | ||
archy "^1.0.0" |
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