Skip to content

Commit d5e7a9e

Browse files
JeanMechejosephperrott
authored andcommitted
refactor(shared-scripts): Use plugin-transform-async-generator-functions (#2675)
`plugin-proposal-async-generator-functions` is unmaintained and was replaced by `plugin-transform-async-generator-functions` PR Close #2675
1 parent 78bd12c commit d5e7a9e

File tree

4 files changed

+196
-47
lines changed

4 files changed

+196
-47
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@angular/benchpress": "0.3.0",
2121
"@angular/build": "20.0.0-next.1",
2222
"@babel/core": "^7.16.0",
23-
"@babel/plugin-proposal-async-generator-functions": "^7.20.1",
23+
"@babel/plugin-transform-async-generator-functions": "^7.26.8",
2424
"@bazel/buildifier": "6.3.3",
2525
"@bazel/concatjs": "5.8.1",
2626
"@bazel/esbuild": "5.8.1",

shared-scripts/angular-optimization/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ js_library(
2626
"@npm//@angular/build",
2727
"@npm//@angular/compiler-cli",
2828
"@npm//@babel/core",
29-
"@npm//@babel/plugin-proposal-async-generator-functions",
29+
"@npm//@babel/plugin-transform-async-generator-functions",
3030
],
3131
)

shared-scripts/angular-optimization/esbuild-plugin.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function createEsbuildAngularOptimizePlugin(opts, additionalBabelPl
3636

3737
if (opts.downlevelAsyncGeneratorsIfPresent) {
3838
downlevelAsyncGeneratorPlugin = (
39-
await import('@babel/plugin-proposal-async-generator-functions')
39+
await import('@babel/plugin-transform-async-generator-functions')
4040
).default.default;
4141
}
4242

0 commit comments

Comments
 (0)