Skip to content

Tags: kpirateone/acorn

Tags

6.4.1

Toggle 6.4.1's commit message
Mark version 6.4.1

7.1.1

Toggle 7.1.1's commit message
Version 7.1.1

### Bug fixes

Treat `\8` and `\9` as invalid escapes in template strings.

Allow unicode escapes in property names that are keywords.

Don't error on an exponential operator expression as argument to `await`.

More carefully check for valid UTF16 surrogate pairs in regexp validator.-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEErLY20j+/ljvJRHotcD8b7W0zrh4FAl5brN4ACgkQcD8b7W0z
rh70VQf/cPAsu1YGNwZU8iCNAQi4BAnIW+f5ne5KUWtcYyb3gQNzpJiaStY62gJ4
NQ5C1gMxgwwv/igx8c2vKvxpAOnbcGWFTDnNPb+vR4cCl6DJuYpmKwXIdSReBnS/
nZpUIBZL+6fiKY9Zf6MZgrQ3AcPja6XsnuqyusZ3+o5/oca0snFuG/yLF9gQORyz
zB161OM8nRKnoKIDiGgPFsGIg9rX8+uV1uFUG6Z/urZMC36zUVwob7wW+WxHmZpi
f7UXShwpVS0MmKhdMUc5d4L8cyU/PQbAf1wICJD5AeMa/zQnjAGnzarosQDUgSdh
+zhWhFSMnqcRSpt5zAWb5GnJLVLzCw==
=PHaI
-----END PGP SIGNATURE-----

6.4.0

Toggle 6.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.4.0

### New features

Add a static `acorn` property to the `Parser` class that contains the entire module interface, to allow plugins to access the instance of the library that they are acting on.

7.1.0

Toggle 7.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 7.1.0

### Bug fixes

Disallow trailing object literal commas when ecmaVersion is less than 5.

### New features

Add a static `acorn` property to the `Parser` class that contains the entire module interface, to allow plugins to access the instance of the library that they are acting on.

7.0.0

Toggle 7.0.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 7.0.0

### Breaking changes

Changes the node format for dynamic imports to use the `ImportExpression` node type, as defined in [ESTree](https://github.com/estree/estree/blob/master/es2020.md#importexpression).

Makes 10 (ES2019) the default value for the `ecmaVersion` option.

6.3.0

Toggle 6.3.0's commit message
Version 6.3.0

### New features

`sourceType: "module"` can now be used even when `ecmaVersion` is less than 6, to parse module-style code that otherwise conforms to an older standard.-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEErLY20j+/ljvJRHotcD8b7W0zrh4FAl1RNEUACgkQcD8b7W0z
rh7qUQgAyfIH1YD7gTTs5sdLDECvytTNFdkUuqzkzncsT6cCR5rdZ6+UlM4g/mJH
VmteQtJcAzYbe7yMWGcZ8yGzV/CC/IzGH40M6TIN65KnkTTHLdyEmV7vzt3vSlDt
uPp7cd/6mB3caDnPIWC3gQq3y4a8mySlqyiGiu0wh2uKFkTIigV65lJiciws1SS4
SI+tiiZ0NxBNv1kx4hrltMTQZdkAJ1leZdJcqaar+QIc6aAG/YNv/jjZJyw9WcRz
QDRhzNdCXX8iYdR2h6sXWOWpjY7N6yasG3TGD0U5kgXzrRhus3EoB0Fg+afq1Imd
oOfb/+kQIiCZYFCB0O8tAudFvtHaPQ==
=KtQS
-----END PGP SIGNATURE-----

6.2.1

Toggle 6.2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.2.1

### Bug fixes

Fix bug causing Acorn to treat some characters as identifier characters that shouldn't be treated as such.

Fix issue where setting the `allowReserved` option to `"never"` allowed reserved words in some circumstances.

6.2.0

Toggle 6.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.2.0

### Bug fixes

Improve valid assignment checking in `for`/`in` and `for`/`of` loops.

Disallow binding `let` in patterns.

### New features

Support bigint syntax with `ecmaVersion` >= 10.

Support dynamic `import` syntax with `ecmaVersion` >= 10.

Upgrade to Unicode version 12.

6.1.1

Toggle 6.1.1's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.1.1

### Bug fixes

Fix bug that caused parsing default exports of with names to fail.

6.1.0

Toggle 6.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 6.1.0

### Bug fixes

Fix scope checking when redefining a `var` as a lexical binding.

### New features

Split up `parseSubscripts` to use an internal `parseSubscript` method to make it easier to extend with plugins.