Skip to content

Commit 4547bd1

Browse files
LongTengDaomarijnh
authored andcommitted
Correct changelog
1 parent 10ee6b3 commit 4547bd1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

acorn/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Disallow binding `let` in patterns.
3030

3131
### New features
3232

33-
Support bigint syntax with `ecmaVersion` >= 10.
33+
Support bigint syntax with `ecmaVersion` >= 11.
3434

35-
Support dynamic `import` syntax with `ecmaVersion` >= 10.
35+
Support dynamic `import` syntax with `ecmaVersion` >= 11.
3636

3737
Upgrade to Unicode version 12.
3838

acorn/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ Options can be provided by passing a second argument, which should be
5252
an object containing any of these fields:
5353

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

5960
**NOTE**: Only 'stage 4' (finalized) ECMAScript features are being
6061
implemented by Acorn. Other proposed new features can be implemented

acorn/dist/acorn.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare namespace acorn {
1212
}
1313

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

0 commit comments

Comments
 (0)