terser 5.12.0 → 5.13.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 +16 -0
- package/dist/bundle.min.js +5032 -3341
- package/lib/ast.js +1686 -350
- package/lib/compress/common.js +48 -0
- package/lib/compress/evaluate.js +4 -3
- package/lib/compress/index.js +23 -546
- package/lib/compress/inline.js +641 -0
- package/lib/compress/tighten-body.js +1 -1
- package/lib/equivalent-to.js +81 -107
- package/lib/mozilla-ast.js +474 -81
- package/lib/output.js +2 -1
- package/lib/parse.js +58 -56
- package/lib/propmangle.js +1 -1
- package/lib/scope.js +22 -0
- package/lib/size.js +6 -8
- package/package.json +2 -2
- package/tools/domprops.js +11 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v5.13.1
|
4
|
+
- Removed self-assignments (`varname=varname`) (closes #1081)
|
5
|
+
- Separated inlining code (for inlining things into references, or removing IIFEs)
|
6
|
+
- Allow multiple identifiers with the same name in `var` destructuring (eg `var { a, a } = x`) (#1176)
|
7
|
+
|
8
|
+
## v5.13.0
|
9
|
+
|
10
|
+
- All calls to eval() were removed (#1171, #1184)
|
11
|
+
- `source-map` was updated to 0.8.0-beta.0 (#1164)
|
12
|
+
- NavigatorUAData was added to domprops to avoid property mangling (#1166)
|
13
|
+
|
14
|
+
## v5.12.1
|
15
|
+
|
16
|
+
- Fixed an issue with function definitions inside blocks (#1155)
|
17
|
+
- Fixed parens of `new` in some situations (closes #1159)
|
18
|
+
|
3
19
|
## v5.12.0
|
4
20
|
|
5
21
|
- `TERSER_DEBUG_DIR` environment variable
|