forked from yarnpkg/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade transient deps during upgrades. (yarnpkg#4636)
* [yarnpkg#4476] Upgrade transient deps during upgrades. * Rename 'transient' to 'transitive' * dont upgrade direct deps unless requested, add verbose upgrade logging * upgrade-interactive reuse lockfile cleaning from upgrade.js
- Loading branch information
Showing
13 changed files
with
209 additions
and
69 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 added
BIN
+1.51 KB
...sts__/fixtures/request-cache/GET/registry.npmjs.org/ansi-regex/-/ansi-regex-1.0.0.tgz.bin
Binary file not shown.
Binary file added
BIN
+1.28 KB
...s__/fixtures/request-cache/GET/registry.npmjs.org/array-union/-/array-union-1.0.1.tgz.bin
Binary file not shown.
Binary file added
BIN
+1.76 KB
...sts__/fixtures/request-cache/GET/registry.npmjs.org/array-uniq/-/array-uniq-1.0.1.tgz.bin
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
__tests__/fixtures/upgrade/with-subdep-also-direct/package.json
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,6 @@ | ||
{ | ||
"dependencies": { | ||
"strip-ansi": "^2.0.1", | ||
"ansi-regex": "^1.0.0" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
__tests__/fixtures/upgrade/with-subdep-also-direct/yarn.lock
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,10 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
ansi-regex@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.0.0.tgz#54c7ce13af71e436348666484c44516ab9bc144e" | ||
strip-ansi@^2.0.1: | ||
version "2.0.1" | ||
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.1.tgz#df62c1aa94ed2f114e1d0f21fd1d50482b79a60e" | ||
dependencies: | ||
ansi-regex "^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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"dependencies": { | ||
"strip-ansi": "^2.0.1", | ||
"array-union": "^1.0.1" | ||
} | ||
} |
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,18 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
ansi-regex@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.0.0.tgz#54c7ce13af71e436348666484c44516ab9bc144e" | ||
array-union@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.1.tgz#4d410fc8395cb247637124bade9e3f547d5d55f2" | ||
dependencies: | ||
array-uniq "^1.0.1" | ||
array-uniq@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.1.tgz#25e1d96853d7f6f77cecf693f86cac4052046790" | ||
strip-ansi@^2.0.1: | ||
version "2.0.1" | ||
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.1.tgz#df62c1aa94ed2f114e1d0f21fd1d50482b79a60e" | ||
dependencies: | ||
ansi-regex "^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
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
Oops, something went wrong.