Tags: kpirateone/acorn
Tags
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-----
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.
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.
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-----
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.
PreviousNext