Skip to content

Commit

Permalink
Update to ECMAScript 2020 (11th Edition)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 14, 2024
1 parent c42c79c commit bc6f37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ npm install strtok3
### Compatibility

Module: version 7 migrated from [CommonJS](https://en.wikipedia.org/wiki/CommonJS) to [pure ECMAScript Module (ESM)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
JavaScript is compliant with [ECMAScript 2019 (ES10)](https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_%E2%80%93_ECMAScript_2019).
Requires Node.js ≥ 16 engine.
JavaScript is compliant with [ECMAScript 2020 (11th Edition)](https://en.wikipedia.org/wiki/ECMAScript_version_history#11th_Edition_%E2%80%93_ECMAScript_2020).
Requires [Node.js ≥ 16](https://nodejs.org/en/about/previous-releases) engine, but can also be used with a module bundler in a browser.

## API

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"inlineSources": false,
"module": "node16",
"moduleResolution": "node16",
"target": "ES2019",
"target": "ES2020",
"esModuleInterop": true,
"strict": true,
"verbatimModuleSyntax": true
Expand Down

0 comments on commit bc6f37e

Please sign in to comment.