Skip to content

Commit f1cc4a6

Browse files
devversionatscott
authored andcommitted
build: update tsec and drop corresponding postinstall patch (angular#45767)
Updates tsec and drops the corresponding postinstall patch that we added when we updated to Bazel v5. See: google/tsec#25 PR Close angular#45767
1 parent 9d755fa commit f1cc4a6

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

aio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"timezone-mock": "^1.1.3",
178178
"tree-kill": "^1.1.0",
179179
"ts-node": "^10.0.0",
180-
"tsec": "^0.2.0",
180+
"tsec": "^0.2.2",
181181
"tslint": "~6.1.3",
182182
"typescript": "~4.6.2",
183183
"uglify-js": "^3.13.3",

aio/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12006,7 +12006,7 @@ tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0:
1200612006
minimist "^1.2.6"
1200712007
strip-bom "^3.0.0"
1200812008

12009-
tsec@^0.2.0:
12009+
tsec@^0.2.2:
1201012010
version "0.2.2"
1201112011
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.2.tgz#d86d771215fb09a5e226f2b252a1c038c7fa17ca"
1201212012
integrity sha512-gKm+nnIKcE9xtrJw2cIJFjfuDGK0AvH3r4RayTEIkUvja/s9z9GPFgcSdEaapm6N10KrmWWcLjsHlKmH2tqzMw==

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
"semver": "^7.3.5",
209209
"send": "^0.18.0",
210210
"ts-node": "^10.0.0",
211-
"tsec": "0.2.1",
211+
"tsec": "0.2.2",
212212
"tslint-eslint-rules": "5.4.0",
213213
"tslint-no-toplevel-property-access": "0.0.2",
214214
"typed-graphqlify": "^3.1.1",

tools/postinstall-patches.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ for (const [fileName, patches] of ngDevPatches.entries()) {
139139
}
140140
}
141141

142-
// Workaround until tsec is compatible with `rules_nodejs` v5.
143-
// TODO: Remove when https://github.com/google/tsec/pull/25 is available.
144-
sed('-i', '@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');
145-
146142
log('\n# patch: delete d.ts files referring to rxjs-compat');
147143
// more info in https://github.com/angular/angular/pull/33786
148144
rm('-rf', [

yarn.lock

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@
318318

319319
"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#3ff6a9e935cf0d1a8694e7f5842e5e538da64030":
320320
version "0.0.0-129a5ccbcc73d7ca960d8c166d7400bf2e94cd3d"
321-
uid "3ff6a9e935cf0d1a8694e7f5842e5e538da64030"
322321
resolved "https://github.com/angular/dev-infra-private-builds.git#3ff6a9e935cf0d1a8694e7f5842e5e538da64030"
323322
dependencies:
324323
"@angular-devkit/build-angular" "14.0.0-next.6"
@@ -13734,7 +13733,6 @@ sass@1.49.9:
1373413733

1373513734
"sauce-connect@https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz":
1373613735
version "0.0.0"
13737-
uid e5d7f82ad98251a653d1b0537f1103e49eda5e11
1373813736
resolved "https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz#e5d7f82ad98251a653d1b0537f1103e49eda5e11"
1373913737

1374013738
saucelabs@7.1.3, saucelabs@^1.5.0, saucelabs@^4.6.3:
@@ -15257,10 +15255,10 @@ ts-node@^10.0.0:
1525715255
v8-compile-cache-lib "^3.0.0"
1525815256
yn "3.1.1"
1525915257

15260-
tsec@0.2.1:
15261-
version "0.2.1"
15262-
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.1.tgz#017423174b2be54f26da5cb7591dc7035996086b"
15263-
integrity sha512-RP9vhbRbRI9VH4CfOlQvo5W9HdfiPKq0gdiUOWI5oKmLaZKNFN8CsPwBfT5ySmhnKNwmmAS/BtY3WoTfABwwig==
15258+
tsec@0.2.2:
15259+
version "0.2.2"
15260+
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.2.tgz#d86d771215fb09a5e226f2b252a1c038c7fa17ca"
15261+
integrity sha512-gKm+nnIKcE9xtrJw2cIJFjfuDGK0AvH3r4RayTEIkUvja/s9z9GPFgcSdEaapm6N10KrmWWcLjsHlKmH2tqzMw==
1526415262
dependencies:
1526515263
glob "^7.1.1"
1526615264
minimatch "^3.0.3"

0 commit comments

Comments
 (0)