You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.2 KiB

4 years ago
  1. # Changelog
  2. ## v3.17.0
  3. - More DOM properties added to --mangle-properties's DOM property list
  4. - Closed issue where if 2 functions had the same argument name, Terser would not inline them together properly
  5. - Fixed issue with `hasOwnProperty.call`
  6. - You can now list files to minify in a Terser config file
  7. - Started replacing `new Array(<number>)` with an array literal
  8. - Started using ES6 capabilities like `Set` and the `includes` method for strings and arrays
  9. ## v3.16.1
  10. - Fixed issue where Terser being imported with `import` would cause it not to work due to the `__esModule` property. (PR #254 was submitted, which was nice, but since it wasn't a pure commonJS approach I decided to go with my own solution)
  11. ## v3.16.0
  12. - No longer leaves names like Array or Object or window as a SimpleStatement (statement which is just a single expression).
  13. - Add support for sections sourcemaps (IndexedSourceMapConsumer)
  14. - Drops node.js v4 and starts using commonJS
  15. - Is now built with rollup
  16. ## v3.15.0
  17. - Inlined spread syntax (`[...[1, 2, 3], 4, 5] => [1, 2, 3, 4, 5]`) in arrays and objects.
  18. - Fixed typo in compressor warning
  19. - Fixed inline source map input bug
  20. - Fixed parsing of template literals with unnecessary escapes (Like `\\a`)