---
title: "#226: npm v5.7.0 Released"
publication: "Node Weekly"
issue: 226
published_at: "2018-02-22"
canonical_url: "https://nodeweekly.com/issues/226"
---

#226: npm v5.7.0 Released

This week's Node news[Read this e-mail on the Web](http://nodeweekly.com/issues/226)

Node WeeklyFebruary 22, 2018 #226 The npm Blog 

[npm v5.7.0 Released](http://blog.npmjs.org/post/171139955345/v570)`npm install` can now automatically fix `package-lock.json` and `npm-shrinkwrap.json` files that have merge conflicts, there’s also a new [`npm ci`](https://twitter.com/maybekatz/status/966432924127019008) command.

**Update:** Be careful as [a significant issue with 5.7 has been reported](https://github.com/npm/npm/issues/19883) where 5.7 is changing filesystem permissions it shouldn't be.
 Valeri Karpov 

[Using Promise.prototype.finally in Node](http://thecodebarbarian.com/using-promise-finally-in-node-js.html)[Promise.prototype.finally()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/finally) will be arriving in ECMAScript (and therefore Node) soon - what can we use it for, and how could we implement a polyfill for the time being?
 SqreenSponsor

[Node.js Deserves Security: ‘npm install sqreen’](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=NodeWeekly%20-%20email%20-%20Node.js%20Protection)Extend your Node.js web application security with configurable plugins to protect your app and user accounts. Avoid XSS, NoSQL injections, Account Takeovers and more.

[![Sqreen\](https://copm.s3.amazonaws.com/e3b8bbba.png)](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=NodeWeekly%20-%20email%20-%20Node.js%20Protection)
 Slobodan Stojanović 

[Express.js and AWS Lambda — A Serverless Love Story](https://medium.freecodecamp.org/express-js-and-aws-lambda-a-serverless-love-story-7c77ba0eaa35)You’ve probably built an Express app, but what about taking it [_serverless_](https://serverless.email/)? [Claudia](https://claudiajs.com/) to the rescue.
 Owen Kelly 

[Wedgetail: A Simple Profiler for Node 9.5+](https://wedgetail.js.org/)A testing utility for Node modules to help you ensure your app stays performant.
 Matteo Collina 

[Video: My Node.js Process is on Fire](https://www.youtube.com/watch?v=G9Vkpe55Gu8)A brief 12 minute journey into the world of Node performance, looking at some of the available tools and optimization techniques.
 Glitch 

[You Got This: A Zine on Making Webapps with Node.js](https://glitch.com/you-got-this)A 20 page mini magazine you can view online or download. Very much aimed at new developers.


Jobs

- [Node.js Developer at X-Team (Remote)](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node-weekly-q3-18)
We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. [Join X-Team](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node-weekly-q3-18). X-Team
- [Find a Job You're Passionate About](https://www.vettery.com/tech?utm_medium=cooper-nodeweekly&utm_campaign=ad-9313&utm_source=newsletter&utm_content=grouped&utm_term=tech)
Vettery connects you directly to hiring managers at over 4,000 top companies. Make a profile today and land your dream job. Vettery

In Brief

- [Electron 2.0.0-beta.1 Released](https://electronjs.org/releases#2.0.0-beta.1) news 
Electron
- [Three Tricks for Smaller Docker Images](https://learnk8s.io/blog/smaller-docker-images) tutorial 
The main example is based around packaging a simple Node app.
Daniele Polencic
- [A Node.js Perspective on MongoDB 3.6: $lookup and $expr](http://thecodebarbarian.com/a-nodejs-perspective-on-mongodb-36-lookup-expr.html) tutorial 
MongoDB 3.6 introduces support for more sophisticated lookups with the new `$expr` operator.
Valeri Karpov
- [Nine Promising Promise Tips](https://dev.to/kepta/promising-promise-tips--c8f) tutorial 
Kushan Joshi
- [JavaScript Test Results Displayed Inline in Your Editor as You Type](https://wallabyjs.com/?utm_source=cooperpress&utm_medium=email&utm_content=nodeweekly&utm_name=nodeweekly) 
Wallaby.jsSponsor
- [A V8 Memory Quiz in 9 Questions](http://www.mattzeunert.com/2018/01/25/v8-javascript-memory-quiz.html) tutorial 
Discover some interesting details about how V8 stores values in memory.
Matt Zeunert
- [Protected Routes and Authentication with React and Node](https://medium.com/strapi/protected-routes-and-authentication-with-react-and-node-js-d31d234644cd) tutorial 
Discover how to add a basic authentication flow to a Create React App app.
Cyril Lopez
- [Gotchas When Publishing Modules in npm and Bower](https://css-tricks.com/gotchas-publishing-modules-npm-bower/) tutorial 
Kaloyan Kosev
- [Deploying a Socket.io Chat App using AWS Fargate](https://medium.com/containers-on-aws/building-a-socket-io-chat-app-and-deploying-it-using-aws-fargate-86fd7cbce13f) tutorial 
Nathan Peck
- [How to use OAuth with Express in Node](http://ranjithnair.github.io/2018/01/30/Oauth-Express.html) tutorial 
Ranjith Nair
- [Getting Started with Node Debugging in VS Code](https://www.youtube.com/watch?v=2oFKNL7vYV8) video 
A quick 8 minute video.
Microsoft
- [Adding the Storybook Style Guide to a Create React App](https://www.youtube.com/watch?v=va-JzrmaiUM) video 
Elijah Manor
- [Monitor Node.js Performance with Datadog. Try It Free](https://www.datadoghq.com/monitor-nodejs/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-NodeWeeklyS) 
DatadogSponsor
- [Fio: A Simple (TCP and Unix) Socket Relay Tool](https://github.com/gnuns/fio) code 
Gabriel Nunes
- [Carbon: Create and Share Beautiful Images of Source Code](https://github.com/dawnlabs/carbon) code 
Dawn Labs
- [Puppeteer 1.1 Released: The Headless Chrome Node API](https://github.com/GoogleChrome/puppeteer/releases/tag/v1.1.0) code 
Google Chrome Team
- [Kutt: A Modern URL Shortener App](https://github.com/thedevs-network/kutt) code 
The Devs
- [node-flif: A Node Wrapper for the FLIF Image Compressor](https://github.com/FLIF-hub/node-flif) code 
[FLIF](http://flif.info/) is a lossless image format that outperforms even PNG and WebP.
FLIF

Node Weekly is curated by [Peter Cooper](https://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? E-mail us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://nodeweekly.com/issues/226)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
