terser 5.2.1 → 5.3.0

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v5.3.0
4
+
5
+ - Fixed a crash when compressing object spreads in some cases
6
+ - Fixed compiletime evaluation of optional chains (caused typeof a?.b to always return "object")
7
+ - domprops has been updated to contain every single possible prop
8
+
3
9
  ## v5.2.1
4
10
 
5
11
  - The parse step now doesn't accept an `ecma` option, so that all ES code is accepted.
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- UglifyJS is released under the BSD license:
1
+ Terser is released under the BSD license:
2
2
 
3
3
  Copyright 2012-2018 (c) Mihai Bazon <mihai.bazon@gmail.com>
4
4
 
package/README.md CHANGED
@@ -411,7 +411,7 @@ Browser loading is also supported:
411
411
 
412
412
  There is a single async high level function, **`async minify(code, options)`**,
413
413
  which will perform all minification [phases](#minify-options) in a configurable
414
- manner. By default `minify()` will enable the options [`compress`](#compress-options)
414
+ manner. There is no synchronous function, but this functionality can be achieved with a package like [deasync](https://github.com/abbr/deasync). By default `minify()` will enable the options [`compress`](#compress-options)
415
415
  and [`mangle`](#mangle-options). Example:
416
416
  ```javascript
417
417
  var code = "function add(first, second) { return first + second; }";