Skip to content

Commit 5f064eb

Browse files
committed
build: update @types/webpack to 4.41.22
1 parent e95b73f commit 5f064eb

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"@types/semver": "^7.0.0",
120120
"@types/universal-analytics": "^0.4.2",
121121
"@types/uuid": "^8.0.0",
122-
"@types/webpack": "^4.32.1",
122+
"@types/webpack": "^4.41.22",
123123
"@types/webpack-dev-server": "^3.1.7",
124124
"@types/webpack-sources": "^1.4.2",
125125
"@yarnpkg/lockfile": "1.1.0",

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
compilation,
2525
debug,
2626
} from 'webpack';
27-
import webpack = require('webpack');
2827
import { RawSource } from 'webpack-sources';
2928
import { AssetPatternClass } from '../../../browser/schema';
3029
import { BuildBrowserFeatures, maxWorkers } from '../../../utils';
@@ -479,9 +478,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
479478
plugins: [
480479
PnpWebpackPlugin,
481480
],
482-
// Cast since roots is currently not in typings
483-
// See: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/47233
484-
} as webpack.Resolve,
481+
},
485482
resolveLoader: {
486483
symlinks: !buildOptions.preserveSymlinks,
487484
modules: [

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,10 +1756,10 @@
17561756
"@types/source-list-map" "*"
17571757
source-map "^0.6.1"
17581758

1759-
"@types/webpack@*", "@types/webpack@^4.32.1":
1760-
version "4.41.21"
1761-
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.21.tgz#cc685b332c33f153bb2f5fc1fa3ac8adeb592dee"
1762-
integrity sha512-2j9WVnNrr/8PLAB5csW44xzQSJwS26aOnICsP3pSGCEdsu6KYtfQ6QJsVUKHWRnm1bL7HziJsfh5fHqth87yKA==
1759+
"@types/webpack@*", "@types/webpack@^4.41.22":
1760+
version "4.41.22"
1761+
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.22.tgz#ff9758a17c6bd499e459b91e78539848c32d0731"
1762+
integrity sha512-JQDJK6pj8OMV9gWOnN1dcLCyU9Hzs6lux0wBO4lr1+gyEhIBR9U3FMrz12t2GPkg110XAxEAw2WHF6g7nZIbRQ==
17631763
dependencies:
17641764
"@types/anymatch" "*"
17651765
"@types/node" "*"

0 commit comments

Comments
 (0)