diff --git a/README.md b/README.md index 049b76c..4850754 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Configuration options. If not passed, default options will be used. | type | default value | |:---------------------|:--------------| -| `string` or `number` | `2022` | +| `string` or `number` | `2025` | Indicates the ECMAScript version to clone. Must be either 5, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025. diff --git a/lib/ast-properties/index.js b/lib/ast-properties/index.js index 924e319..33cbce8 100644 --- a/lib/ast-properties/index.js +++ b/lib/ast-properties/index.js @@ -14,6 +14,6 @@ const ecmaVersions = { }; module.exports = (ecmaVersion) => { - const version = ecmaVersion || 2022; + const version = ecmaVersion || 2025; return ecmaVersions[version]; };