Skip to content

Commit 9a46ba5

Browse files
committed
build: update dependency webpack-subresource-integrity to v5
1 parent db43fd4 commit 9a46ba5

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
"webpack-dev-middleware": "5.0.0",
228228
"webpack-dev-server": "3.11.2",
229229
"webpack-merge": "5.8.0",
230-
"webpack-subresource-integrity": "1.5.2",
230+
"webpack-subresource-integrity": "5.0.0",
231231
"zone.js": "^0.11.3"
232232
}
233233
}

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"webpack-dev-middleware": "5.0.0",
7171
"webpack-dev-server": "3.11.2",
7272
"webpack-merge": "5.8.0",
73-
"webpack-subresource-integrity": "1.5.2"
73+
"webpack-subresource-integrity": "5.0.0"
7474
},
7575
"peerDependencies": {
7676
"@angular/compiler-cli": "^13.0.0 || ^13.0.0-next",

packages/angular_devkit/build_angular/src/webpack/configs/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
import * as webpack from 'webpack';
10+
import { SubresourceIntegrityPlugin } from 'webpack-subresource-integrity';
1011
import { WebpackConfigOptions } from '../../utils/build-options';
1112
import { CommonJsUsageWarnPlugin } from '../plugins';
1213
import { getSourceMapDevTool } from '../utils/helpers';
@@ -30,7 +31,6 @@ export function getBrowserConfig(wco: WebpackConfigOptions): webpack.Configurati
3031
} = buildOptions.sourceMap;
3132

3233
if (subresourceIntegrity) {
33-
const SubresourceIntegrityPlugin = require('webpack-subresource-integrity');
3434
extraPlugins.push(
3535
new SubresourceIntegrityPlugin({
3636
hashFuncNames: ['sha384'],

yarn.lock

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@
115115

116116
"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#56655ed6ccf24b7f3ad6b9ccdd1ef2896c7fa9f4":
117117
version "0.0.0"
118-
uid "56655ed6ccf24b7f3ad6b9ccdd1ef2896c7fa9f4"
119-
resolved "https://github.com/angular/dev-infra-private-builds.git#56655ed6ccf24b7f3ad6b9ccdd1ef2896c7fa9f4"
118+
resolved "https://github.com/angular/dev-infra-private-builds.git#07e66e5326f46481bfa4fb96446b2707e787ab41"
120119
dependencies:
121120
"@actions/core" "^1.4.0"
122121
"@actions/github" "^5.0.0"
@@ -9764,7 +9763,6 @@ [email protected], sass@^1.32.8:
97649763

97659764
"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.6.4-linux.tar.gz":
97669765
version "0.0.0"
9767-
uid "992e2cb0d91e54b27a4f5bbd2049f3b774718115"
97689766
resolved "https://saucelabs.com/downloads/sc-4.6.4-linux.tar.gz#992e2cb0d91e54b27a4f5bbd2049f3b774718115"
97699767

97709768
saucelabs@^1.5.0:
@@ -11048,6 +11046,11 @@ type@^2.5.0:
1104811046
resolved "https://registry.yarnpkg.com/type/-/type-2.5.0.tgz#0a2e78c2e77907b252abe5f298c1b01c63f0db3d"
1104911047
integrity sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==
1105011048

11049+
typed-assert@^1.0.8:
11050+
version "1.0.8"
11051+
resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.8.tgz#4bf9f1ce7f3f974d09c3afd7c68d12e1391a233c"
11052+
integrity sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==
11053+
1105111054
typed-graphqlify@^3.1.1:
1105211055
version "3.1.4"
1105311056
resolved "https://registry.yarnpkg.com/typed-graphqlify/-/typed-graphqlify-3.1.4.tgz#f5e494cd78bb87a4284df8c34b8f29617596aaec"
@@ -11537,7 +11540,7 @@ [email protected]:
1153711540
clone-deep "^4.0.1"
1153811541
wildcard "^2.0.0"
1153911542

11540-
webpack-sources@^1.2.0, webpack-sources@^1.3.0:
11543+
webpack-sources@^1.2.0:
1154111544
version "1.4.3"
1154211545
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
1154311546
integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==
@@ -11550,12 +11553,12 @@ webpack-sources@^3.2.0:
1155011553
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.0.tgz#b16973bcf844ebcdb3afde32eda1c04d0b90f89d"
1155111554
integrity sha512-fahN08Et7P9trej8xz/Z7eRu8ltyiygEo/hnRi9KqBUs80KeDcnf96ZJo++ewWd84fEf3xSX9bp4ZS9hbw0OBw==
1155211555

11553-
webpack-subresource-integrity@1.5.2:
11554-
version "1.5.2"
11555-
resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-1.5.2.tgz#e40b6578d3072e2d24104975249c52c66e9a743e"
11556-
integrity sha512-GBWYBoyalbo5YClwWop9qe6Zclp8CIXYGIz12OPclJhIrSplDxs1Ls1JDMH8xBPPrg1T6ISaTW9Y6zOrwEiAzw==
11556+
webpack-subresource-integrity@5.0.0:
11557+
version "5.0.0"
11558+
resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-5.0.0.tgz#8268b9cc1a229a8f8129ca9eeb59cde52185b6b1"
11559+
integrity sha512-x9514FpLRydO+UAQ8DY4aLtCjxmdLkuQVcDFN1kGzuusREYJ1B0rzk/iIlWiL6dnvrhEGFj2+UsdxDkP8Z4UKg==
1155711560
dependencies:
11558-
webpack-sources "^1.3.0"
11561+
typed-assert "^1.0.8"
1155911562

1156011563
[email protected], webpack@^5.1.0:
1156111564
version "5.51.1"

0 commit comments

Comments
 (0)