terser 5.5.0 → 5.6.1

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,6 +1,26 @@
1
1
  # Changelog
2
2
 
3
- ## v5.4.1
3
+ ## v5.6.1
4
+
5
+ - Mark assignments to the `.prototype` of a class as pure
6
+ - Parenthesize `await` on the left of `**` (while accepting legacy non-parenthesised input)
7
+ - Avoided outputting NUL bytes in optimized RegExps, to stop the output from breaking other tools
8
+ - Added `exports` to domprops (#939)
9
+ - Fixed a crash when spreading `...this`
10
+ - Fixed the computed size of arrow functions, which improves their inlining
11
+
12
+ ## v5.6.0
13
+
14
+ - Added top-level await
15
+ - Beautify option has been removed in #895
16
+ - Private properties, getters and setters have been added in #913 and some more commits
17
+ - Docs improvements: #896, #903, #916
18
+
19
+ ## v5.5.1
20
+
21
+ - Fixed object properties with unicode surrogates on safari.
22
+
23
+ ## v5.5.0
4
24
 
5
25
  - Fixed crash when inlining uninitialized variable into template string.
6
26
  - The sourcemap for dist was removed for being too large.
package/README.md CHANGED
@@ -748,7 +748,7 @@ If you happen to need the source map as a raw object, set `sourceMap.asObject` t
748
748
 
749
749
  - `keep_classnames` (default: `false`) -- Pass `true` to prevent the compressor from
750
750
  discarding class names. Pass a regular expression to only keep class names matching
751
- that regex. See also: the `keep_classnames` [mangle option](#mangle).
751
+ that regex. See also: the `keep_classnames` [mangle option](#mangle-options).
752
752
 
753
753
  - `keep_fargs` (default: `true`) -- Prevents the compressor from discarding unused
754
754
  function arguments. You need this for code which relies on `Function.length`.
@@ -756,7 +756,7 @@ If you happen to need the source map as a raw object, set `sourceMap.asObject` t
756
756
  - `keep_fnames` (default: `false`) -- Pass `true` to prevent the
757
757
  compressor from discarding function names. Pass a regular expression to only keep
758
758
  function names matching that regex. Useful for code relying on `Function.prototype.name`.
759
- See also: the `keep_fnames` [mangle option](#mangle).
759
+ See also: the `keep_fnames` [mangle option](#mangle-options).
760
760
 
761
761
  - `keep_infinity` (default: `false`) -- Pass `true` to prevent `Infinity` from
762
762
  being compressed into `1/0`, which may cause performance issues on Chrome.