Skip to content

Commit afb3b85

Browse files
committed
feat: update to 10.1.0
1 parent 667b0d3 commit afb3b85

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

types/espree/espree-tests.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ const full_options: Options = {
3434
};
3535

3636
const empty_options: Options = {};
37+
38+
const latest_options: Options = {
39+
ecmaVersion: 16,
40+
};

types/espree/index.d.cts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export interface Options {
5959
tokens?: boolean;
6060

6161
/**
62-
* Set to 3, 5 (the default), 6, 7, 8, 9, 10, 11, 12, 13, 14 or 15 to specify the version of ECMAScript syntax you want to use.
63-
* You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11), 2021 (same as 12), 2022 (same as 13), 2023 (same as 14) or 2024 (same as 15) to use the year-based naming.
62+
* Set to 3, 5 (the default), 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 or 16 to specify the version of ECMAScript syntax you want to use.
63+
* You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11), 2021 (same as 12), 2022 (same as 13), 2023 (same as 14), 2024 (same as 15) or 2025 (same as 16) to use the year-based naming.
6464
* You can also set "latest" to use the most recently supported version.
6565
*/
6666
ecmaVersion?:
@@ -76,6 +76,7 @@ export interface Options {
7676
| 13
7777
| 14
7878
| 15
79+
| 16
7980
| 2015
8081
| 2016
8182
| 2017
@@ -86,6 +87,7 @@ export interface Options {
8687
| 2022
8788
| 2023
8889
| 2024
90+
| 2025
8991
| "latest";
9092

9193
/**

types/espree/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/espree",
4-
"version": "10.0.9999",
4+
"version": "10.1.9999",
55
"type": "module",
66
"exports": {
77
".": {
@@ -14,7 +14,7 @@
1414
"https://github.com/eslint/espree"
1515
],
1616
"dependencies": {
17-
"acorn": "^8.11.3",
17+
"acorn": "^8.12.0",
1818
"eslint-visitor-keys": "^4.0.0"
1919
},
2020
"devDependencies": {

0 commit comments

Comments
 (0)