terser 4.6.3 → 4.6.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.
Potentially problematic release.
This version of terser might be problematic. Click here for more details.
- package/CHANGELOG.md +10 -0
- package/dist/bundle.min.js +1 -1
- package/dist/bundle.min.js.map +1 -1
- package/package.json +1 -1
- package/tools/terser.d.ts +8 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v4.6.4
|
4
|
+
|
5
|
+
- The `"some"` value in the `comments` output option now preserves `@lic` and other important comments when using `//`
|
6
|
+
- `</script>` is now better escaped in regex, and in comments, when using the `inline_script` output option
|
7
|
+
- Fixed an issue when transforming `new RegExp` into `/.../` when slashes are included in the source
|
8
|
+
- `AST_Node.prototype.constructor` now exists, allowing for easier debugging of crashes
|
9
|
+
- Multiple if statements with the same consequents are now collapsed
|
10
|
+
- Typescript typings improvements
|
11
|
+
- Optimizations while looking for surrogate pairs in strings
|
12
|
+
|
3
13
|
## v4.6.3
|
4
14
|
|
5
15
|
- Annotations such as `/*#__NOINLINE__*/` and `/*#__PURE__*/` may now be preserved using the `preserve_annotations` output option
|