Skip to content

Commit

Permalink
Add moduleBlocks to parser plugins (#2451)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Feb 22, 2021
1 parent 5f2263a commit 29741d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ require("@babel/parser").parse("code", {
<summary>History</summary>
| Version | Changes |
| --- | --- |
| `v7.13.0` | Added `moduleBlocks` |
| `v7.12.0` | Added `classStaticBlock`, `moduleStringNames` |
| `v7.11.0` | Added `decimal` |
| `v7.10.0` | Added `privateIn` |
Expand All @@ -209,6 +210,7 @@ require("@babel/parser").parse("code", {
| `exportDefaultFrom` ([proposal](https://github.com/tc39/ecmascript-export-default-from)) | `export v from "mod"` |
| `functionBind` ([proposal](https://github.com/zenparsing/es-function-bind)) | `a::b`, `::console.log` |
| `importAssertions` ([proposal](https://github.com/tc39/proposal-import-assertions)) | `import json from "./foo.json" assert { type: "json" };` |
| `moduleBlocks` ([proposal](https://github.com/tc39/proposal-js-module-blocks)) | `let m = module { export let y = 1; };` |
| `moduleStringNames` ([proposal](https://github.com/tc39/ecma262/pull/2154)) | `import { "😄" as smile } from "emoji";` |
| `partialApplication` ([proposal](https://github.com/babel/proposals/issues/32)) | `f(?, a)` |
| `pipelineOperator` ([proposal](https://github.com/babel/proposals/issues/29)) | <code>a &#124;> b</code> |
Expand Down

0 comments on commit 29741d0

Please sign in to comment.