terser 4.6.2 → 4.6.3

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v4.6.3
4
+
5
+ - Annotations such as `/*#__NOINLINE__*/` and `/*#__PURE__*/` may now be preserved using the `preserve_annotations` output option
6
+ - A TypeScript definition update for the `keep_quoted` output option.
7
+
3
8
  ## v4.6.2
4
9
 
5
10
  - A bug where functions were inlined into other functions with scope conflicts has been fixed.
package/README.md CHANGED
@@ -1023,6 +1023,8 @@ can pass additional arguments that control the code output:
1023
1023
  - `2` -- always use double quotes
1024
1024
  - `3` -- always use the original quotes
1025
1025
 
1026
+ - `preserve_annotations` -- (default `false`) -- Preserve [Terser annotations](#annotations) in the output.
1027
+
1026
1028
  - `safari10` (default `false`) -- set this option to `true` to work around
1027
1029
  the [Safari 10/11 await bug](https://bugs.webkit.org/show_bug.cgi?id=176685).
1028
1030
  See also: the `safari10` [mangle option](#mangle-options).