Hey folks, JP from Gemnasium here for our monthly npm digest!
If you want to get this in your inbox monthly, you can subscriber with the little popup at the bottom left or just here. Also, if you’re interested, we have similar blog posts for Ruby, Python and PHP.
So, what’s new and worth your time this month?
HUGE release for Chai.
- It’s faster, thanks to the rewritten deep equality code.
- The behavior of
deephas changed and is now only for deep equality. For nested assertions, use the
- better error messages, that are more explicit, and will help you better to fix typos and mistakes, too.
- The doc has been rewritten for the most part.
There are a bunch more features, breaking changes and bug fixes. They’re all detailed in the changelog just here.
It’s a fresh release that got pushed this week. It comes with seven new rules added (array-element-newline, semi-style, padding-line-between-statements, for-direction, switch-colon-spacing, array-bracket-newline and, no-buffer-constructor), and some have been deprecated.
webpack 2.6 and 3.0 RC
Version 2.6 adds a
webpackMode comment option for
output.chunkLoadTimeout. It also has a few bugfixes.
Version 3, on the other hand, has few new features, bugfixes, and some internal changes.
There are breaking changes, though:
node_modulesno longer mangle to ~ in stats
output.libraryExportto select an export for the library
There were also some performance improvements, timeout for HMR requests is configurable and a few more things.
There’s not a lot to say, but as it’s pretty popular package on Gemnasium, we thought we would mention that this new version targets UglifyJS 3. If you need to stick with Uglify JS, you should stay on gulp-uglify 2.
There’s also a few breaking changes, all detailed here.
This version is only for Node.js 6+ and comes with an overhauled way to work with event handler properties and attributes to better follow the spec.
The jsdom team also upgraded parse5 from v1 to v3, which improved HTML parsing.
There’s a TON of things, if you use jsdom, go review all the changes now. It’s a better version of itself but also has some breaking changes, partially due to the upgrade of parse5.
Want to blog here and be exposed to thousands of developers?
Would you like to blog on Gemnasium’s blog and be exposed to thousands of people? We’re looking for some guest bloggers. Send me a quick mail at email@example.com or use the little chat widget at the bottom right and we can chat about the details.