add change-note

This commit is contained in:
erik-krogh
2022-09-22 13:11:49 +02:00
parent ccae0933c7
commit f404f1ddce

View File

@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* Improved how the JavaScript parser handles ambiguities between plain JavaScript and dialects such as Flow and E4X that use the same file extension. The parser now prefers plain JavaScript if possible, falling back to dialects only if the source code can not be parsed as plain JavaScript. Previously, there were rare cases where parsing would fail because the parser would erroneously attempt to parse dialect-specific syntax in a regular JavaScript file.