Skip to content

Commit 76f62e7

Browse files
committed
feat(@angular-devkit/build-angular): update webpack to 4.29
This version (https://github.com/webpack/webpack/releases/tag/v4.29.0) includes a memory leak fix for assets (webpack/webpack#8609, webpack/webpack#8642). Thanks to @Meligy for pinging about this!
1 parent b956db6 commit 76f62e7

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"stylus-loader": "3.0.2",
4646
"tree-kill": "1.2.1",
4747
"terser-webpack-plugin": "1.2.1",
48-
"webpack": "4.28.4",
48+
"webpack": "4.29.0",
4949
"webpack-dev-middleware": "3.5.1",
5050
"webpack-dev-server": "3.1.14",
5151
"webpack-merge": "4.2.1",

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
292292
context: projectRoot,
293293
entry: entryPoints,
294294
output: {
295+
futureEmitAssets: true,
295296
path: path.resolve(root, buildOptions.outputPath as string),
296297
publicPath: buildOptions.deployUrl,
297298
filename: `[name]${hashFormat.chunk}.js`,

packages/angular_devkit/build_webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"webpack-dev-server": "^3.1.4"
1616
},
1717
"devDependencies": {
18-
"webpack": "4.28.4",
18+
"webpack": "4.29.0",
1919
"webpack-dev-server": "^3.1.4"
2020
}
2121
}

packages/ngtools/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"@angular/compiler": "^7.2.0-rc.0",
3737
"@angular/compiler-cli": "^7.2.0-rc.0",
3838
"typescript": "3.2.4",
39-
"webpack": "4.28.4"
39+
"webpack": "4.29.0"
4040
}
4141
}

yarn.lock

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -783,18 +783,21 @@ accepts@~1.3.4, accepts@~1.3.5:
783783
mime-types "~2.1.18"
784784
negotiator "0.6.1"
785785

786-
acorn-dynamic-import@^3.0.0:
787-
version "3.0.0"
788-
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278"
789-
integrity sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==
790-
dependencies:
791-
acorn "^5.0.0"
786+
acorn-dynamic-import@^4.0.0:
787+
version "4.0.0"
788+
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948"
789+
integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==
792790

793-
acorn@^5.0.0, acorn@^5.6.2:
791+
acorn@^5.0.0:
794792
version "5.7.3"
795793
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
796794
integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
797795

796+
acorn@^6.0.5:
797+
version "6.0.5"
798+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a"
799+
integrity sha512-i33Zgp3XWtmZBMNvCr4azvOFeWVw1Rk6p3hfi3LUDvIFraOMywb1kAtrbi+med14m4Xfpqm3zRZMT+c0FNE7kg==
800+
798801
addressparser@1.0.1:
799802
version "1.0.1"
800803
resolved "https://registry.yarnpkg.com/addressparser/-/addressparser-1.0.1.tgz#47afbe1a2a9262191db6838e4fd1d39b40821746"
@@ -5600,7 +5603,6 @@ karma-sourcemap-loader@0.3.7:
56005603

56015604
karma@alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a:
56025605
version "1.7.1"
5603-
uid fa1a84ac881485b5657cb669e9b4e5da77b79f0a
56045606
resolved "https://codeload.github.com/alexeagle/karma/tar.gz/fa1a84ac881485b5657cb669e9b4e5da77b79f0a"
56055607
dependencies:
56065608
bluebird "^3.3.0"
@@ -10528,17 +10530,17 @@ webpack-subresource-integrity@1.1.0-rc.6:
1052810530
dependencies:
1052910531
webpack-core "^0.6.8"
1053010532

10531-
webpack@4.28.4:
10532-
version "4.28.4"
10533-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.28.4.tgz#1ddae6c89887d7efb752adf0c3cd32b9b07eacd0"
10534-
integrity sha512-NxjD61WsK/a3JIdwWjtIpimmvE6UrRi3yG54/74Hk9rwNj5FPkA4DJCf1z4ByDWLkvZhTZE+P3C/eh6UD5lDcw==
10533+
webpack@4.29.0:
10534+
version "4.29.0"
10535+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.0.tgz#f2cfef83f7ae404ba889ff5d43efd285ca26e750"
10536+
integrity sha512-pxdGG0keDBtamE1mNvT5zyBdx+7wkh6mh7uzMOo/uRQ/fhsdj5FXkh/j5mapzs060forql1oXqXN9HJGju+y7w==
1053510537
dependencies:
1053610538
"@webassemblyjs/ast" "1.7.11"
1053710539
"@webassemblyjs/helper-module-context" "1.7.11"
1053810540
"@webassemblyjs/wasm-edit" "1.7.11"
1053910541
"@webassemblyjs/wasm-parser" "1.7.11"
10540-
acorn "^5.6.2"
10541-
acorn-dynamic-import "^3.0.0"
10542+
acorn "^6.0.5"
10543+
acorn-dynamic-import "^4.0.0"
1054210544
ajv "^6.1.0"
1054310545
ajv-keywords "^3.1.0"
1054410546
chrome-trace-event "^1.0.0"

0 commit comments

Comments
 (0)