@@ -193,6 +193,7 @@ require("@babel/parser").parse("code", {
193
193
<summary >History</summary >
194
194
| Version | Changes |
195
195
| --- | --- |
196
+ | ` v7.21.0 ` | Added ` awaitOperations ` |
196
197
| ` v7.20.0 ` | Added ` explicitResourceManagement ` , ` importReflection ` |
197
198
| ` v7.17.0 ` | Added ` regexpUnicodeSets ` , ` destructuringPrivate ` , ` decoratorAutoAccessors ` |
198
199
| ` v7.15.0 ` | Added ` hack ` to the ` proposal ` option of ` pipelineOperator ` . Moved ` topLevelAwait ` , ` privateIn ` to Latest ECMAScript features |
@@ -210,6 +211,7 @@ require("@babel/parser").parse("code", {
210
211
| Name | Code Example |
211
212
| -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
212
213
| ` asyncDoExpressions ` ([ proposal] ( https://github.com/tc39/proposal-async-do-expressions ) ) | ` async do { await requestAPI().json() } ` |
214
+ | ` awaitOperations ` ([ proposal] ( https://github.com/tc39/proposal-await.ops ) ) | ` await.all promises ` |
213
215
| ` decimal ` ([ proposal] ( https://github.com/tc39/proposal-decimal ) ) | ` 0.3m ` |
214
216
| ` decorators ` ([ proposal] ( https://github.com/tc39/proposal-decorators ) ) <br > ` decorators-legacy ` | ` @a class A {} ` |
215
217
| ` decoratorAutoAccessors ` ([ proposal] ( https://github.com/tc39/proposal-decorators ) ) | ` class Example { @reactive accessor myBool = false; } ` |
@@ -220,7 +222,7 @@ require("@babel/parser").parse("code", {
220
222
| ` functionBind ` ([ proposal] ( https://github.com/zenparsing/es-function-bind ) ) | ` a::b ` , ` ::console.log ` |
221
223
| ` importAssertions ` ([ proposal] ( https://github.com/tc39/proposal-import-assertions ) ) | ` import json from "./foo.json" assert { type: "json" }; ` |
222
224
| ` importReflection ` ([ proposal] )(https://github.com/tc39/proposal-import-reflection)) | ` import module foo from "./foo.wasm"; ` |
223
- | ` moduleBlocks ` ([ proposal] ( https://github.com/tc39/proposal-js- module-blocks ) ) | ` let m = module { export let y = 1; }; ` |
225
+ | ` moduleBlocks ` ([ proposal] ( https://github.com/tc39/proposal-module-expressions ) ) | ` let m = module { export let y = 1; }; ` |
224
226
| ` partialApplication ` ([ proposal] ( https://github.com/babel/proposals/issues/32 ) ) | ` f(?, a) ` |
225
227
| ` pipelineOperator ` ([ proposal] ( https://github.com/babel/proposals/issues/29 ) ) | <code >a | ; > b</code > |
226
228
| ` recordAndTuple ` ([ proposal] ( https://github.com/tc39/proposal-record-tuple ) ) | ` #{x: 1} ` , ` #[1, 2] ` |
0 commit comments