[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

· One min read

Version 4.3.1 is out!

Here's what's new:

  • Fixed an issue from 4.3.0 where any block scope within a for loop erroneously had its parent set to the function scopee
  • Fixed an issue where compressing IIFEs with argument expansions would result in some parameters becoming undefined
  • addEventListener options argument's properties are now part of the DOM properties list.

· One min read

Version 4.3.0 is out!

Here's what's new:

  • Do not drop computed object keys with side effects
  • Functions passed to other functions in calls are now wrapped in parentheses by default, which speeds up loading most modules
  • Objects with computed properties are now less likely to be hoisted
  • Speed and memory efficiency optimizations
  • Fixed scoping issues with try and switch

· One min read

Version 4.2.1 is out!

Here's what's new:

  • Minor refactors
  • Fixed a bug similar to #369 in collapse_vars
  • Functions can no longer be inlined into a place where they're going to be compared with themselves.
  • reduce_funcs option is now legacy, as using reduce_vars without reduce_funcs caused some weird corner cases. As a result, it is now implied in reduce_vars and can't be turned off without turning off reduce_vars.
  • Bug which would cause a random stack overflow has now been fixed.

· One min read

Version 4.2.0 is out!

Here's what's new:

  • When the source map URL is inline, don't write it to a file.
  • Fixed output parens when a lambda literal is the tag on a tagged template string.
  • The mangle.properties.undeclared option was added. This enables the property mangler to mangle properties of variables which can be found in the name cache, but whose properties are not known to this Terser run.
  • The v8 bug where the toString and source representations of regexes like RegExp("\\\n") includes an actual newline is now fixed.
  • Now we're guaranteed to not have duplicate comments in the output
  • Domprops updates

· One min read

Yay! This is officially the first blog post!

From this point on we will be using this section to announce terser releases and changelogs. There will also be some other types of posts so be sure to check it out!

Meanwhile feel free to see our new website with full terser documentation and an awesome REPL!