Skip to content

Releases: hexojs/hexo-uglify

2.0.0

07 Sep 23:48
b7eb3f0
Compare
Choose a tag to compare

Breaking Changes

  • Drop Node 8, requires Node 10.13+ [#151]
  • feat: drop uglify-js [#149]
    • Completely replaced by terser, previously both uglify-js and terser are included
    • es6 option is also dropped
    • User shouldn't notice any difference as terser supports similar options and supports es6 & older syntax
      • uglify-js doesn't support newer es6 syntax

1.1.0

27 Nov 10:36
ad30bb0
Compare
Choose a tag to compare

Feature

  • Support ES6+ syntax by using Terser (#71)
    • Still defaults to UglifyJS (which doesn't support ES6)
    • To enable ES6 support,
    uglify:
      es6: true

1.0.0

27 Nov 10:31
Compare
Choose a tag to compare

Breaking change

  • Drop EOL Node 6, now requires Node 8.6 (#46)

Feature

  • Switch minimatch to micromatch, for faster exclusion operation and to support more globbing patterns (#40)

Refactor

  • Use native Object.assign() (#12)
  • Switch to eslint and drop gulp, to be inline with hexo's style (#37)

Dependencies

  • Update mocha from 2.0.1 to 6.2.0 (#6, #16, #42)
  • Update coveralls from 2.11.2 to 3.0.2 (#9)
  • Update chai from 1.9.1 to 4.2.0 (#8)
  • Update eslint from 5.16.0 to 6.1.0 (#43)
  • Update uglify-js from 2.6.0 to 3.6.0 (#36)

0.0.5

18 Nov 03:03
Compare
Choose a tag to compare

Miscellaneous

  • Updated uglify-js due to vulnerability. (#1)

0.0.4

02 Jun 22:31
Compare
Choose a tag to compare

Miscellaneous

  • Update the minimatch to 3.x to avoid Regex DDoS. fa7141e