Skip to content

Commit

Permalink
js-tokens v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Apr 25, 2021
1 parent 45fab13 commit 69035c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
### Version 7.0.0 (2021-04-25)

- Added: Support for ES2021: The `||=`, `&&=` and `??=` operators, as well as undescores in numeric literals (`1_000`).

### Version 6.0.0 (2020-04-13)

- Changed: The main export of this module is no longer a regex (accompanied by a small helper function). Instead, the only export is a function that tokenizes JavaScript (which was the main use case of the regex). The tokenization is still powered by basically the same regex as before, but is now wrapped up in 300–400 lines of code. This is required to tokenize regex and templates correctly, and to support JSX (see below).
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020 Simon Lydell
Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Simon Lydell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion package-real.json
@@ -1,6 +1,6 @@
{
"name": "js-tokens",
"version": "6.0.0",
"version": "7.0.0",
"author": "Simon Lydell",
"license": "MIT",
"description": "Tiny JavaScript tokenizer.",
Expand Down

0 comments on commit 69035c7

Please sign in to comment.