terser 4.7.0 → 4.8.0

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.

Potentially problematic release.


This version of terser might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v4.8.0
4
+
5
+ - Support for numeric separators (`million = 1_000_000`) was added.
6
+ - Assigning properties to a class is now assumed to be pure.
7
+ - Fixed bug where `yield` wasn't considered a valid property key in generators.
8
+
3
9
  ## v4.7.0
4
10
 
5
11
  - A bug was fixed where an arrow function would have the wrong size
package/README.md CHANGED
@@ -1317,6 +1317,7 @@ To allow for better optimizations, the compiler makes various assumptions:
1317
1317
  `Object.defineProperty()`, `Object.defineProperties()`, `Object.freeze()`,
1318
1318
  `Object.preventExtensions()` or `Object.seal()`).
1319
1319
  - `document.all` is not `== null`
1320
+ - Assigning properties to a class doesn't have side effects and does not throw.
1320
1321
 
1321
1322
  ### Build Tools and Adaptors using Terser
1322
1323