Skip to content

Commit 766cb06

Browse files
clydinfilipesilva
authored andcommitted
fix(@angular-devkit/build-angular): update copy-webpack-plugin to 6.0.3
Prior versions of copy-webpack-plugin 6.x contained a memory usage regression that could cause gigabytes of memory to be used during a build. Version 6.0.3 contains a fix that prevents this issue. Referenced Issue: webpack-contrib/copy-webpack-plugin#505 (cherry picked from commit 23ae457)
1 parent 4e99531 commit 766cb06

File tree

3 files changed

+33
-14
lines changed

3 files changed

+33
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"common-tags": "^1.8.0",
137137
"conventional-changelog": "^3.0.0",
138138
"conventional-commits-parser": "^3.0.0",
139-
"copy-webpack-plugin": "6.0.2",
139+
"copy-webpack-plugin": "6.0.3",
140140
"core-js": "3.6.4",
141141
"css-loader": "3.5.2",
142142
"cssnano": "4.1.10",

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"cacache": "15.0.3",
2727
"caniuse-lite": "^1.0.30001032",
2828
"circular-dependency-plugin": "5.2.0",
29-
"copy-webpack-plugin": "6.0.2",
29+
"copy-webpack-plugin": "6.0.3",
3030
"core-js": "3.6.4",
3131
"css-loader": "3.5.3",
3232
"cssnano": "4.1.10",

yarn.lock

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,21 +3791,21 @@ copy-descriptor@^0.1.0:
37913791
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
37923792
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
37933793

3794-
copy-webpack-plugin@6.0.2:
3795-
version "6.0.2"
3796-
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-6.0.2.tgz#10efc6ad219a61acbf2f5fb50af83da38431bc34"
3797-
integrity sha512-9Gm8X0c6eXlKnmltMPFCBeGOKjtcRIyTt4VaO3k1TkNgVTe5Ov2lYsYVuyLp0kp8DItO3apewflM+1GYgh6V2Q==
3794+
copy-webpack-plugin@6.0.3:
3795+
version "6.0.3"
3796+
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-6.0.3.tgz#2b3d2bfc6861b96432a65f0149720adbd902040b"
3797+
integrity sha512-q5m6Vz4elsuyVEIUXr7wJdIdePWTubsqVbEMvf1WQnHGv0Q+9yPRu7MtYFPt+GBOXRav9lvIINifTQ1vSCs+eA==
37983798
dependencies:
37993799
cacache "^15.0.4"
3800-
fast-glob "^3.2.2"
3800+
fast-glob "^3.2.4"
38013801
find-cache-dir "^3.3.1"
38023802
glob-parent "^5.1.1"
38033803
globby "^11.0.1"
38043804
loader-utils "^2.0.0"
38053805
normalize-path "^3.0.0"
3806-
p-limit "^2.3.0"
3806+
p-limit "^3.0.1"
38073807
schema-utils "^2.7.0"
3808-
serialize-javascript "^3.1.0"
3808+
serialize-javascript "^4.0.0"
38093809
webpack-sources "^1.4.3"
38103810

38113811
core-js-compat@^3.6.2:
@@ -5106,7 +5106,7 @@ fast-deep-equal@^3.1.1:
51065106
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4"
51075107
integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==
51085108

5109-
fast-glob@^3.1.1, fast-glob@^3.2.2:
5109+
fast-glob@^3.1.1:
51105110
version "3.2.2"
51115111
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.2.tgz#ade1a9d91148965d4bf7c51f72e1ca662d32e63d"
51125112
integrity sha512-UDV82o4uQyljznxwMxyVRJgZZt3O5wENYojjzbaGEGZgeOxkLFf+V4cnUD+krzb2F72E18RhamkMZ7AdeggF7A==
@@ -5118,6 +5118,18 @@ fast-glob@^3.1.1, fast-glob@^3.2.2:
51185118
micromatch "^4.0.2"
51195119
picomatch "^2.2.1"
51205120

5121+
fast-glob@^3.2.4:
5122+
version "3.2.4"
5123+
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3"
5124+
integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==
5125+
dependencies:
5126+
"@nodelib/fs.stat" "^2.0.2"
5127+
"@nodelib/fs.walk" "^1.2.3"
5128+
glob-parent "^5.1.0"
5129+
merge2 "^1.3.0"
5130+
micromatch "^4.0.2"
5131+
picomatch "^2.2.1"
5132+
51215133
fast-json-stable-stringify@2.1.0, fast-json-stable-stringify@^2.0.0:
51225134
version "2.1.0"
51235135
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
@@ -8900,6 +8912,13 @@ p-limit@^2.0.0, p-limit@^2.2.0, p-limit@^2.3.0:
89008912
dependencies:
89018913
p-try "^2.0.0"
89028914

8915+
p-limit@^3.0.1:
8916+
version "3.0.1"
8917+
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.0.1.tgz#584784ac0722d1aed09f19f90ed2999af6ce2839"
8918+
integrity sha512-mw/p92EyOzl2MhauKodw54Rx5ZK4624rNfgNaBguFZkHzyUG9WsDzFF5/yQVEJinbJDdP4jEfMN+uBquiGnaLg==
8919+
dependencies:
8920+
p-try "^2.0.0"
8921+
89038922
p-locate@^2.0.0:
89048923
version "2.0.0"
89058924
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
@@ -10967,10 +10986,10 @@ serialize-javascript@^3.0.0:
1096710986
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-3.0.0.tgz#492e489a2d77b7b804ad391a5f5d97870952548e"
1096810987
integrity sha512-skZcHYw2vEX4bw90nAr2iTTsz6x2SrHEnfxgKYmZlvJYBEZrvbKtobJWlQ20zczKb3bsHHXXTYt48zBA7ni9cw==
1096910988

10970-
serialize-javascript@^3.1.0:
10971-
version "3.1.0"
10972-
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-3.1.0.tgz#8bf3a9170712664ef2561b44b691eafe399214ea"
10973-
integrity sha512-JIJT1DGiWmIKhzRsG91aS6Ze4sFUrYbltlkg2onR5OrnNM02Kl/hnY/T4FN2omvyeBbQmMJv+K4cPOpGzOTFBg==
10989+
serialize-javascript@^4.0.0:
10990+
version "4.0.0"
10991+
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"
10992+
integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==
1097410993
dependencies:
1097510994
randombytes "^2.1.0"
1097610995

0 commit comments

Comments
 (0)