Skip to content

Commit 3b43c7b

Browse files
authored
build: update tsec and drop corresponding postinstall patch (#24837)
Updates tsec and drops the corresponding postinstall patch that we added when we updated to Bazel v5. See: google/tsec#25
1 parent 626d09c commit 3b43c7b

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
@@ -210,7 +210,7 @@
210210
"stylelint": "^14.5.0",
211211
"terser": "^5.10.0",
212212
"ts-node": "^10.4.0",
213-
"tsec": "0.2.1",
213+
"tsec": "0.2.2",
214214
"tsickle": "0.39.1",
215215
"tslint": "^6.1.3",
216216
"tsutils": "^3.21.0",

tools/postinstall/apply-patches.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const chalk = require('chalk');
1414
* Version of the post install patch. Needs to be incremented when
1515
* existing patches or edits have been modified.
1616
*/
17-
const PATCH_VERSION = 15;
17+
const PATCH_VERSION = 16;
1818

1919
/** Path to the project directory. */
2020
const projectDir = path.join(__dirname, '../..');
@@ -55,9 +55,6 @@ function applyPatches() {
5555
// Switches the devmode output for Angular Bazel to ES2020 target and module.
5656
applyPatch(path.join(__dirname, './devmode-es2020-bazel.patch'));
5757

58-
// Workaround until https://github.com/google/tsec/pull/25 is available.
59-
searchAndReplace('@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');
60-
6158
// More info in https://github.com/angular/angular/pull/33786
6259
shelljs.rm('-rf', [
6360
'node_modules/rxjs/add/',

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14165,10 +14165,10 @@ ts-node@^10.4.0:
1416514165
v8-compile-cache-lib "^3.0.0"
1416614166
yn "3.1.1"
1416714167

14168-
tsec@0.2.1:
14169-
version "0.2.1"
14170-
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.1.tgz#017423174b2be54f26da5cb7591dc7035996086b"
14171-
integrity sha512-RP9vhbRbRI9VH4CfOlQvo5W9HdfiPKq0gdiUOWI5oKmLaZKNFN8CsPwBfT5ySmhnKNwmmAS/BtY3WoTfABwwig==
14168+
tsec@0.2.2:
14169+
version "0.2.2"
14170+
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.2.tgz#d86d771215fb09a5e226f2b252a1c038c7fa17ca"
14171+
integrity sha512-gKm+nnIKcE9xtrJw2cIJFjfuDGK0AvH3r4RayTEIkUvja/s9z9GPFgcSdEaapm6N10KrmWWcLjsHlKmH2tqzMw==
1417214172
dependencies:
1417314173
glob "^7.1.1"
1417414174
minimatch "^3.0.3"

0 commit comments

Comments
 (0)