-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): downgrade copy-webpack-plugin to …
…workaround Node.js support issue The `copy-webpack-plugin@12` package has a dependency on the `globby@14` package. The recently released `[email protected]` uses the `[email protected]` package which requires a minimum Node.js version higher than the officially supported 18.13 for the Angular CLI. Due to both `globby` and `merge-streams` being transitive dependencies in end-user projects, the Angular CLI cannot directly control the package versions. However, `copy-webpack-plugin@11` uses `globby@13` which is not affected by the Node.js version problem. To workaround the Node.js compatibility problem, `copy-webpack-plugin` has been downgraded to version 11.0.0 which is the latest version in the 11 major for the package. The `copy-webpack-plugin` is only used with the Webpack-based builders when in watch mode. From a review of the commit history between 11.0.0 and 12.0.2 (latest at the time of this commit), it appears the only notable changes are several performance improvements and the major version update of `globby`. (cherry picked from commit e75aa9b)
- Loading branch information
1 parent
8598bb5
commit d493609
Showing
3 changed files
with
39 additions
and
9 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
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 |
---|---|---|
|
@@ -131,8 +131,7 @@ | |
tslib "^2.3.0" | ||
|
||
"@angular/bazel@https://github.com/angular/bazel-builds.git#010b848246a1b58278a048f96e6a0797e0d62ea0": | ||
version "17.2.0-next.1+sha-9c2bad9" | ||
uid "010b848246a1b58278a048f96e6a0797e0d62ea0" | ||
version "17.2.0-next.1" | ||
resolved "https://github.com/angular/bazel-builds.git#010b848246a1b58278a048f96e6a0797e0d62ea0" | ||
dependencies: | ||
"@microsoft/api-extractor" "^7.24.2" | ||
|
@@ -149,7 +148,6 @@ | |
|
||
"@angular/build-tooling@https://github.com/angular/dev-infra-private-build-tooling-builds.git#7c4cf003cb4ac849986beaa243d7e85a893612f2": | ||
version "0.0.0-c83e99a12397014162531ca125c94549db55dd84" | ||
uid "7c4cf003cb4ac849986beaa243d7e85a893612f2" | ||
resolved "https://github.com/angular/dev-infra-private-build-tooling-builds.git#7c4cf003cb4ac849986beaa243d7e85a893612f2" | ||
dependencies: | ||
"@angular-devkit/build-angular" "17.2.0-next.0" | ||
|
@@ -317,7 +315,6 @@ | |
|
||
"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#c21f93acb618bcaeda52a8065e7b6c9242def182": | ||
version "0.0.0-c83e99a12397014162531ca125c94549db55dd84" | ||
uid c21f93acb618bcaeda52a8065e7b6c9242def182 | ||
resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#c21f93acb618bcaeda52a8065e7b6c9242def182" | ||
dependencies: | ||
"@yarnpkg/lockfile" "^1.1.0" | ||
|
@@ -6006,6 +6003,18 @@ copy-anything@^2.0.1: | |
dependencies: | ||
is-what "^3.14.1" | ||
|
||
[email protected]: | ||
version "11.0.0" | ||
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz#96d4dbdb5f73d02dd72d0528d1958721ab72e04a" | ||
integrity sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ== | ||
dependencies: | ||
fast-glob "^3.2.11" | ||
glob-parent "^6.0.1" | ||
globby "^13.1.1" | ||
normalize-path "^3.0.0" | ||
schema-utils "^4.0.0" | ||
serialize-javascript "^6.0.0" | ||
|
||
[email protected]: | ||
version "12.0.2" | ||
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz#935e57b8e6183c82f95bd937df658a59f6a2da28" | ||
|
@@ -7113,7 +7122,7 @@ fast-fifo@^1.1.0, fast-fifo@^1.2.0: | |
resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" | ||
integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== | ||
|
||
[email protected], fast-glob@^3.2.9, fast-glob@^3.3.1, fast-glob@^3.3.2: | ||
[email protected], fast-glob@^3.2.11, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1, fast-glob@^3.3.2: | ||
version "3.3.2" | ||
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" | ||
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== | ||
|
@@ -7649,6 +7658,17 @@ globby@^11.0.1, globby@^11.1.0: | |
merge2 "^1.4.1" | ||
slash "^3.0.0" | ||
|
||
globby@^13.1.1: | ||
version "13.2.2" | ||
resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" | ||
integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== | ||
dependencies: | ||
dir-glob "^3.0.1" | ||
fast-glob "^3.3.0" | ||
ignore "^5.2.4" | ||
merge2 "^1.4.1" | ||
slash "^4.0.0" | ||
|
||
globby@^14.0.0: | ||
version "14.0.0" | ||
resolved "https://registry.yarnpkg.com/globby/-/globby-14.0.0.tgz#ea9c062a3614e33f516804e778590fcf055256b9" | ||
|
@@ -11850,7 +11870,6 @@ [email protected], sass@^1.69.5: | |
|
||
"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.9.1-linux.tar.gz": | ||
version "0.0.0" | ||
uid "9310bc860f7870a1f872b11c4dc6073a1ad34e5e" | ||
resolved "https://saucelabs.com/downloads/sc-4.9.1-linux.tar.gz#9310bc860f7870a1f872b11c4dc6073a1ad34e5e" | ||
|
||
saucelabs@^1.5.0: | ||
|
@@ -11983,7 +12002,7 @@ [email protected], send@^0.18.0: | |
range-parser "~1.2.1" | ||
statuses "2.0.1" | ||
|
||
serialize-javascript@^6.0.1, serialize-javascript@^6.0.2: | ||
serialize-javascript@^6.0.0, serialize-javascript@^6.0.1, serialize-javascript@^6.0.2: | ||
version "6.0.2" | ||
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" | ||
integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== | ||
|
@@ -12142,6 +12161,11 @@ slash@^3.0.0: | |
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" | ||
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== | ||
|
||
slash@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" | ||
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== | ||
|
||
slash@^5.1.0: | ||
version "5.1.0" | ||
resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" | ||
|