terser 5.13.0 → 5.14.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 +2803 -2606
- package/lib/ast.js +34 -11
- package/lib/compress/common.js +48 -0
- package/lib/compress/index.js +23 -546
- package/lib/compress/inline.js +641 -0
- package/lib/compress/tighten-body.js +1 -1
- package/lib/minify.js +47 -14
- package/lib/output.js +17 -0
- package/lib/parse.js +67 -64
- package/lib/size.js +6 -8
- package/lib/sourcemap.js +60 -26
- package/package.json +5 -3
- package/tools/domprops.js +1 -0
- package/tools/terser.d.ts +6 -3
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v5.14.1
|
4
|
+
- keep_numbers option added to TypeScript defs (#1208)
|
5
|
+
- Fixed parsing of nested template strings (#1204)
|
6
|
+
|
7
|
+
## v5.14.0
|
8
|
+
- Switched to @jridgewell/source-map for sourcemap generation (#1190, #1181)
|
9
|
+
- Fixed source maps with non-terminated segments (#1106)
|
10
|
+
- Enabled typescript types to be imported from the package (#1194)
|
11
|
+
- Extra DOM props have been added (#1191)
|
12
|
+
- Delete the AST while generating code, as a means to save RAM
|
13
|
+
|
14
|
+
## v5.13.1
|
15
|
+
- Removed self-assignments (`varname=varname`) (closes #1081)
|
16
|
+
- Separated inlining code (for inlining things into references, or removing IIFEs)
|
17
|
+
- Allow multiple identifiers with the same name in `var` destructuring (eg `var { a, a } = x`) (#1176)
|
18
|
+
|
3
19
|
## v5.13.0
|
4
20
|
|
5
21
|
- All calls to eval() were removed (#1171, #1184)
|