Skip to content

Commit

Permalink
js-tokens v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Feb 8, 2024
1 parent 7cd8a56 commit 43b47c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Version 9.0.0 (2024-02-08)

- Added: Support for ES2023: `#!` hashbang comments at the start of files.

### Version 8.0.3 (2024-02-03)

- Fixed: Extremely long string literals, template literals, regex literals, identifiers, comments, and runs of whitespace are now supported where possible. We’re talking about 10 million characters long. Previously, such long tokens could make the regex engine of the runtime give up and throw a `Maximum call stack size exceeded` or similar error. There are still a few [even more extreme such edge cases][known-failures], which I don’t think can be solved but are documented at least.
Expand Down
2 changes: 1 addition & 1 deletion package-real.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-tokens",
"version": "8.0.3",
"version": "9.0.0",
"author": "Simon Lydell",
"license": "MIT",
"description": "Tiny JavaScript tokenizer.",
Expand Down

0 comments on commit 43b47c8

Please sign in to comment.