terser 5.16.2 → 5.16.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## v5.16.4
4
+
5
+ - Keep `(defaultArg = undefined) => ...`, because default args don't count for function length
6
+ - Prevent inlining variables into `?.` optional chains
7
+ - Avoid removing unused arguments while transforming
8
+ - Optimize iterating AST node lists
9
+ - Make sure `catch` and `finally` aren't children of `try` in the AST
10
+ - Use modern unicode property escapes (`\p{...}`) to parse identifiers when available
11
+
12
+ ## v5.16.3
13
+
14
+ - Ensure function definitions, don't assume the values of variables defined after them.
15
+
3
16
  ## v5.16.2
4
17
 
5
18
  - Fix sourcemaps with non-ascii characters (#1318)