Skip to content

Commit

Permalink
Correct changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
LongTengDao authored and marijnh committed Aug 14, 2019
1 parent 10ee6b3 commit 4547bd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions acorn/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Disallow binding `let` in patterns.

### New features

Support bigint syntax with `ecmaVersion` >= 10.
Support bigint syntax with `ecmaVersion` >= 11.

Support dynamic `import` syntax with `ecmaVersion` >= 10.
Support dynamic `import` syntax with `ecmaVersion` >= 11.

Upgrade to Unicode version 12.

Expand Down
7 changes: 4 additions & 3 deletions acorn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ Options can be provided by passing a second argument, which should be
an object containing any of these fields:

- **ecmaVersion**: Indicates the ECMAScript version to parse. Must be
either 3, 5, 6 (2015), 7 (2016), 8 (2017), 9 (2018) or 10 (2019, partial
support). This influences support for strict mode, the set of
reserved words, and support for new syntax features. Default is 10.
either 3, 5, 6 (2015), 7 (2016), 8 (2017), 9 (2018), 10 (2019) or 11
(2020, partial support). This influences support for strict mode,
the set of reserved words, and support for new syntax features.
Default is 10.

**NOTE**: Only 'stage 4' (finalized) ECMAScript features are being
implemented by Acorn. Other proposed new features can be implemented
Expand Down
2 changes: 1 addition & 1 deletion acorn/dist/acorn.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare namespace acorn {
}

interface Options {
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 2015 | 2016 | 2017 | 2018 | 2019
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020
sourceType?: 'script' | 'module'
onInsertedSemicolon?: (lastTokEnd: number, lastTokEndLoc?: Position) => void
onTrailingComma?: (lastTokEnd: number, lastTokEndLoc?: Position) => void
Expand Down

0 comments on commit 4547bd1

Please sign in to comment.