diff --git a/package.json b/package.json index 6028cea5a..42738bdd3 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@angular/benchpress": "0.3.0", "@angular/build": "20.0.0-next.1", "@babel/core": "^7.16.0", - "@babel/plugin-proposal-async-generator-functions": "^7.20.1", + "@babel/plugin-transform-async-generator-functions": "^7.26.8", "@bazel/buildifier": "6.3.3", "@bazel/concatjs": "5.8.1", "@bazel/esbuild": "5.8.1", diff --git a/shared-scripts/angular-optimization/BUILD.bazel b/shared-scripts/angular-optimization/BUILD.bazel index b2729ad3b..97a75f797 100644 --- a/shared-scripts/angular-optimization/BUILD.bazel +++ b/shared-scripts/angular-optimization/BUILD.bazel @@ -26,6 +26,6 @@ js_library( "@npm//@angular/build", "@npm//@angular/compiler-cli", "@npm//@babel/core", - "@npm//@babel/plugin-proposal-async-generator-functions", + "@npm//@babel/plugin-transform-async-generator-functions", ], ) diff --git a/shared-scripts/angular-optimization/esbuild-plugin.mjs b/shared-scripts/angular-optimization/esbuild-plugin.mjs index e79184bf8..6825ba752 100644 --- a/shared-scripts/angular-optimization/esbuild-plugin.mjs +++ b/shared-scripts/angular-optimization/esbuild-plugin.mjs @@ -36,7 +36,7 @@ export async function createEsbuildAngularOptimizePlugin(opts, additionalBabelPl if (opts.downlevelAsyncGeneratorsIfPresent) { downlevelAsyncGeneratorPlugin = ( - await import('@babel/plugin-proposal-async-generator-functions') + await import('@babel/plugin-transform-async-generator-functions') ).default.default; } diff --git a/yarn.lock b/yarn.lock index 8fb04b83d..7f0fbbaa8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -241,7 +241,7 @@ __metadata: "@angular/platform-browser-dynamic": "npm:20.0.0-next.2" "@angular/router": "npm:20.0.0-next.2" "@babel/core": "npm:^7.16.0" - "@babel/plugin-proposal-async-generator-functions": "npm:^7.20.1" + "@babel/plugin-transform-async-generator-functions": "npm:^7.26.8" "@bazel/bazelisk": "npm:^1.11.0" "@bazel/buildifier": "npm:6.3.3" "@bazel/concatjs": "npm:5.8.1" @@ -687,7 +687,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:7.26.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.23.9": +"@babel/core@npm:7.26.10": version: 7.26.10 resolution: "@babel/core@npm:7.26.10" dependencies: @@ -710,7 +710,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:7.26.9": +"@babel/core@npm:7.26.9, @babel/core@npm:^7.12.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.23.9": version: 7.26.9 resolution: "@babel/core@npm:7.26.9" dependencies: @@ -733,7 +733,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.26.10, @babel/generator@npm:^7.26.9": +"@babel/generator@npm:^7.26.10": version: 7.26.10 resolution: "@babel/generator@npm:7.26.10" dependencies: @@ -746,6 +746,19 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/generator@npm:7.26.9" + dependencies: + "@babel/parser": "npm:^7.26.9" + "@babel/types": "npm:^7.26.9" + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" + jsesc: "npm:^3.0.2" + checksum: 10c0/6b78872128205224a9a9761b9ea7543a9a7902a04b82fc2f6801ead4de8f59056bab3fd17b1f834ca7b049555fc4c79234b9a6230dd9531a06525306050becad + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:7.25.9, @babel/helper-annotate-as-pure@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" @@ -768,15 +781,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.18.9": - version: 7.24.7 - resolution: "@babel/helper-environment-visitor@npm:7.24.7" - dependencies: - "@babel/types": "npm:^7.24.7" - checksum: 10c0/36ece78882b5960e2d26abf13cf15ff5689bf7c325b10a2895a74a499e712de0d305f8d78bb382dd3c05cfba7e47ec98fe28aab5674243e0625cd38438dd0b2d - languageName: node - linkType: hard - "@babel/helper-module-imports@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-module-imports@npm:7.25.9" @@ -800,14 +804,14 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.8.0": +"@babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.26.5": version: 7.26.5 resolution: "@babel/helper-plugin-utils@npm:7.26.5" checksum: 10c0/cdaba71d4b891aa6a8dfbe5bac2f94effb13e5fa4c2c487667fdbaa04eae059b78b28d85a885071f45f7205aeb56d16759e1bed9c118b94b16e4720ef1ab0f65 languageName: node linkType: hard -"@babel/helper-remap-async-to-generator@npm:^7.18.9": +"@babel/helper-remap-async-to-generator@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-remap-async-to-generator@npm:7.25.9" dependencies: @@ -861,7 +865,7 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.26.10, @babel/helpers@npm:^7.26.9": +"@babel/helpers@npm:^7.26.10": version: 7.26.10 resolution: "@babel/helpers@npm:7.26.10" dependencies: @@ -871,39 +875,35 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.26.9": - version: 7.26.10 - resolution: "@babel/parser@npm:7.26.10" +"@babel/helpers@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/helpers@npm:7.26.9" dependencies: - "@babel/types": "npm:^7.26.10" - bin: - parser: ./bin/babel-parser.js - checksum: 10c0/c47f5c0f63cd12a663e9dc94a635f9efbb5059d98086a92286d7764357c66bceba18ccbe79333e01e9be3bfb8caba34b3aaebfd8e62c3d5921c8cf907267be75 + "@babel/template": "npm:^7.26.9" + "@babel/types": "npm:^7.26.9" + checksum: 10c0/3d4dbc4a33fe4181ed810cac52318b578294745ceaec07e2f6ecccf6cda55d25e4bfcea8f085f333bf911c9e1fc13320248dd1d5315ab47ad82ce1077410df05 languageName: node linkType: hard -"@babel/plugin-proposal-async-generator-functions@npm:^7.20.1": - version: 7.20.7 - resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.20.7" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/parser@npm:7.26.9" dependencies: - "@babel/helper-environment-visitor": "npm:^7.18.9" - "@babel/helper-plugin-utils": "npm:^7.20.2" - "@babel/helper-remap-async-to-generator": "npm:^7.18.9" - "@babel/plugin-syntax-async-generators": "npm:^7.8.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/0f4bc01805704ae4840536acc9888c50a32250e9188d025063bd17fe77ed171a12361c3dc83ce99664dcd73aec612accb8da95b0d8b825c854931b2860c0bfb5 + "@babel/types": "npm:^7.26.9" + bin: + parser: ./bin/babel-parser.js + checksum: 10c0/4b9ef3c9a0d4c328e5e5544f50fe8932c36f8a2c851e7f14a85401487cd3da75cad72c2e1bcec1eac55599a6bbb2fdc091f274c4fcafa6bdd112d4915ff087fc languageName: node linkType: hard -"@babel/plugin-syntax-async-generators@npm:^7.8.4": - version: 7.8.4 - resolution: "@babel/plugin-syntax-async-generators@npm:7.8.4" +"@babel/parser@npm:^7.26.10": + version: 7.26.10 + resolution: "@babel/parser@npm:7.26.10" dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/d13efb282838481348c71073b6be6245b35d4f2f964a8f71e4174f235009f929ef7613df25f8d2338e2d3e44bc4265a9f8638c6aaa136d7a61fe95985f9725c8 + "@babel/types": "npm:^7.26.10" + bin: + parser: ./bin/babel-parser.js + checksum: 10c0/c47f5c0f63cd12a663e9dc94a635f9efbb5059d98086a92286d7764357c66bceba18ccbe79333e01e9be3bfb8caba34b3aaebfd8e62c3d5921c8cf907267be75 languageName: node linkType: hard @@ -918,6 +918,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-generator-functions@npm:^7.26.8": + version: 7.26.8 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.26.8" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.26.5" + "@babel/helper-remap-async-to-generator": "npm:^7.25.9" + "@babel/traverse": "npm:^7.26.8" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 10c0/f6fefce963fe2e6268dde1958975d7adbce65fba94ca6f4bc554c90da03104ad1dd2e66d03bc0462da46868498428646e30b03a218ef0e5a84bfc87a7e375cec + languageName: node + linkType: hard + "@babel/template@npm:^7.25.9, @babel/template@npm:^7.26.9": version: 7.26.9 resolution: "@babel/template@npm:7.26.9" @@ -929,7 +942,22 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.9": +"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/traverse@npm:7.26.9" + dependencies: + "@babel/code-frame": "npm:^7.26.2" + "@babel/generator": "npm:^7.26.9" + "@babel/parser": "npm:^7.26.9" + "@babel/template": "npm:^7.26.9" + "@babel/types": "npm:^7.26.9" + debug: "npm:^4.3.1" + globals: "npm:^11.1.0" + checksum: 10c0/51dd57fa39ea34d04816806bfead04c74f37301269d24c192d1406dc6e244fea99713b3b9c5f3e926d9ef6aa9cd5c062ad4f2fc1caa9cf843d5e864484ac955e + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.26.10, @babel/traverse@npm:^7.26.8": version: 7.26.10 resolution: "@babel/traverse@npm:7.26.10" dependencies: @@ -944,7 +972,17 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.26.9": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/types@npm:7.26.9" + dependencies: + "@babel/helper-string-parser": "npm:^7.25.9" + "@babel/helper-validator-identifier": "npm:^7.25.9" + checksum: 10c0/999c56269ba00e5c57aa711fbe7ff071cd6990bafd1b978341ea7572cc78919986e2aa6ee51dacf4b6a7a6fa63ba4eb3f1a03cf55eee31b896a56d068b895964 + languageName: node + linkType: hard + +"@babel/types@npm:^7.26.10": version: 7.26.10 resolution: "@babel/types@npm:7.26.10" dependencies: @@ -2565,6 +2603,17 @@ __metadata: languageName: node linkType: hard +"@microsoft/api-extractor-model@npm:7.30.3": + version: 7.30.3 + resolution: "@microsoft/api-extractor-model@npm:7.30.3" + dependencies: + "@microsoft/tsdoc": "npm:~0.15.1" + "@microsoft/tsdoc-config": "npm:~0.17.1" + "@rushstack/node-core-library": "npm:5.11.0" + checksum: 10c0/2c6f41435bc927470ae90325955d12f5d19a8aa58fab2a5ebe6b7c4eaa5b84288d65b6abec40703f68275a0702b01fdce1850067b0631ca8c0e24a72dfa3b13a + languageName: node + linkType: hard + "@microsoft/api-extractor-model@npm:7.30.4": version: 7.30.4 resolution: "@microsoft/api-extractor-model@npm:7.30.4" @@ -2576,7 +2625,7 @@ __metadata: languageName: node linkType: hard -"@microsoft/api-extractor@npm:7.52.1, @microsoft/api-extractor@npm:^7.24.2": +"@microsoft/api-extractor@npm:7.52.1": version: 7.52.1 resolution: "@microsoft/api-extractor@npm:7.52.1" dependencies: @@ -2599,6 +2648,29 @@ __metadata: languageName: node linkType: hard +"@microsoft/api-extractor@npm:^7.24.2": + version: 7.50.1 + resolution: "@microsoft/api-extractor@npm:7.50.1" + dependencies: + "@microsoft/api-extractor-model": "npm:7.30.3" + "@microsoft/tsdoc": "npm:~0.15.1" + "@microsoft/tsdoc-config": "npm:~0.17.1" + "@rushstack/node-core-library": "npm:5.11.0" + "@rushstack/rig-package": "npm:0.5.3" + "@rushstack/terminal": "npm:0.15.0" + "@rushstack/ts-command-line": "npm:4.23.5" + lodash: "npm:~4.17.15" + minimatch: "npm:~3.0.3" + resolve: "npm:~1.22.1" + semver: "npm:~7.5.4" + source-map: "npm:~0.6.1" + typescript: "npm:5.7.3" + bin: + api-extractor: bin/api-extractor + checksum: 10c0/b73be3cdd234163f23d86fa8b5072c5a1078fe9befa4afb4ce147e5de79270e72bd4a0293dc03e786cb9755f9dc7f00b99fc5bceea373978b9665528386f8187 + languageName: node + linkType: hard + "@microsoft/tsdoc-config@npm:~0.17.1": version: 0.17.1 resolution: "@microsoft/tsdoc-config@npm:0.17.1" @@ -3907,6 +3979,27 @@ __metadata: languageName: node linkType: hard +"@rushstack/node-core-library@npm:5.11.0": + version: 5.11.0 + resolution: "@rushstack/node-core-library@npm:5.11.0" + dependencies: + ajv: "npm:~8.13.0" + ajv-draft-04: "npm:~1.0.0" + ajv-formats: "npm:~3.0.1" + fs-extra: "npm:~11.3.0" + import-lazy: "npm:~4.0.0" + jju: "npm:~1.4.0" + resolve: "npm:~1.22.1" + semver: "npm:~7.5.4" + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/7de70fdfa0274ce2fd5e2617c38156143172d852730d03ffb7cfec9ebd6f1bbbc595b81527a189956ee89fe419d9e7d51ffaeaa2d0ee2fc2deae7d24531b7ffb + languageName: node + linkType: hard + "@rushstack/node-core-library@npm:5.12.0": version: 5.12.0 resolution: "@rushstack/node-core-library@npm:5.12.0" @@ -3938,6 +4031,21 @@ __metadata: languageName: node linkType: hard +"@rushstack/terminal@npm:0.15.0": + version: 0.15.0 + resolution: "@rushstack/terminal@npm:0.15.0" + dependencies: + "@rushstack/node-core-library": "npm:5.11.0" + supports-color: "npm:~8.1.1" + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/44e23353e8a4b8024d10d01b9a05fd8d736ddbe2d595a12bfcd290c27842fef156e2471f5e61eed62bad733bd692ba261f1e642c2b1547a0009927805e74e2a6 + languageName: node + linkType: hard + "@rushstack/terminal@npm:0.15.1": version: 0.15.1 resolution: "@rushstack/terminal@npm:0.15.1" @@ -3953,6 +4061,18 @@ __metadata: languageName: node linkType: hard +"@rushstack/ts-command-line@npm:4.23.5": + version: 4.23.5 + resolution: "@rushstack/ts-command-line@npm:4.23.5" + dependencies: + "@rushstack/terminal": "npm:0.15.0" + "@types/argparse": "npm:1.0.38" + argparse: "npm:~1.0.9" + string-argv: "npm:~0.3.1" + checksum: 10c0/8c4330620658227bb7af27031d720a826f6a8b92f281cc433393c52968475fddc0031d86477f1676377878130b926b2efb7893edb2d73cdb1fa23444b792e88a + languageName: node + linkType: hard + "@rushstack/ts-command-line@npm:4.23.6": version: 4.23.6 resolution: "@rushstack/ts-command-line@npm:4.23.6" @@ -4657,7 +4777,16 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:*, @types/ws@npm:8.18.0": +"@types/ws@npm:*": + version: 8.5.14 + resolution: "@types/ws@npm:8.5.14" + dependencies: + "@types/node": "npm:*" + checksum: 10c0/be88a0b6252f939cb83340bd1b4d450287f752c19271195cd97564fd94047259a9bb8c31c585a61b69d8a1b069a99df9dd804db0132d3359c54d3890c501416a + languageName: node + linkType: hard + +"@types/ws@npm:8.18.0": version: 8.18.0 resolution: "@types/ws@npm:8.18.0" dependencies: @@ -14399,6 +14528,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:5.7.3": + version: 5.7.3 + resolution: "typescript@npm:5.7.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/b7580d716cf1824736cc6e628ab4cd8b51877408ba2be0869d2866da35ef8366dd6ae9eb9d0851470a39be17cbd61df1126f9e211d8799d764ea7431d5435afa + languageName: node + linkType: hard + "typescript@npm:5.8.2": version: 5.8.2 resolution: "typescript@npm:5.8.2" @@ -14409,6 +14548,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A5.7.3#optional!builtin": + version: 5.7.3 + resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=5786d5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/6fd7e0ed3bf23a81246878c613423730c40e8bdbfec4c6e4d7bf1b847cbb39076e56ad5f50aa9d7ebd89877999abaee216002d3f2818885e41c907caaa192cc4 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A5.8.2#optional!builtin": version: 5.8.2 resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin::version=5.8.2&hash=5786d5"