---
title: "npm v7 Series now in beta"
publication: "Node Weekly"
issue: 352
published_at: "2020-08-20"
canonical_url: "https://nodeweekly.com/issues/352"
---

This week's Node news, links, and releases.       

#352 — August 20, 2020 

[Read on the Web](https://nodeweekly.com/issues/352)   

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/dkksnnhhbjx5vbfvfqdj.jpg)](https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major)   

[npm v7 Series Now in Beta](https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major) — Isaac is back bearing good news: there’s a new major beta version of `npm`. Run `npm i -g npm@next-7` to try it now, but he notes it’s “a big one” and there are rough edges and breaking changes ahead. Trouble-free improvements are promised for the majority of users, but this post digs into the changes if you want to take care. Progress is fast with [5 beta releases](https://blog.npmjs.org/post/626817121379368960/release-v700-beta5) in the past week alone! 

Isaac Z. Schlueter   

[ts-migrate: A Tool for Migrating to TypeScript at Scale](https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-migrating-to-typescript-at-scale-cd23bfeb5cc) — Learn about how Airbnb used codemods to accelerate migration from JavaScript to TypeScript and how their new `ts-migrate` tooling ([GitHub repo](https://github.com/airbnb/ts-migrate)) can help with the process. 

Sergii Rudenko   [![\](https://copm.s3.amazonaws.com/79e15909.png)](https://scoutapm.com?utm_source=nodeweekly&utm_medium=newsletter&utm_campaign=q3) 

[Scout APM Now Available for Node.js](https://scoutapm.com?utm_source=nodeweekly&utm_medium=newsletter&utm_campaign=q3) — Scout gets developers back to coding faster. An intuitive UI streamlines real-time performance insight so you can quickly pinpoint and resolve issues before the customer ever sees them. Get started for free. 

Scout APM sponsor   

[Node.js Project Prodded to Patch Chromium XHR Bug After Developer Refuses to Let Flaw Stand](https://www.theregister.com/2020/08/18/nodejs_chromium_patch/) — Dig into this one and you might well fall down the rabbit hole, but essentially the way Chrome uses HTTP/2 can throw up [a significant issue](https://bugs.chromium.org/p/chromium/issues/detail?id=1045328#c57) with Node-based HTTP/2 servers and numerous people, including us and Thomas Claburn of The Register, have been getting emails about it to highlight the problem. [A fix](https://github.com/nodejs/node/commit/0e30c5bc261756dffaa874e4a9ef9858f16ba1d9) now appears to be in the pipeline. 

Thomas Claburn (The Register)   

[npm 6.14.8 Released](https://blog.npmjs.org/post/626732790304686080/release-6148) — _“A new v6 patch release is out with a few bug fixes from the community and dependency updates.”_ 

The npm Blog  

💻 **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) — Join the most energizing community for developers and work on projects for Riot Games, FOX, Sony, Coinbase, and more. 

X-Team   

[Get Tech Interviews This Week](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-nodeweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-88879) — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. 

Vettery  

🧑‍💻 Interested in running a job listing in this newsletter? _There's [more info here](https://booking.cooperpress.com/jobs)_. 

📗 **Tutorials**  

[Some Security Best Practices for Node](https://blog.appsignal.com/2020/08/12/security-best-practices-for-nodejs.html) — High level coverage of a variety of potential vulnerabilities or remedies in Node-powered web applications like injection attacks, HSTS, XML entity attacks, and XSS. 

Diogo Souza   

▶[Learn How to Create a Stock Trading Bot](https://www.youtube.com/watch?v=BvzTHRX-AT4) — A 25 minute screencast covering the basics of automating financial trading from Node. _Note/warning: Always take care with anything involving real money as you could lose it(!)_ 

Web Dev Profesh   

[AppSignal Automatically Instruments Apollo for Node.js Applications](https://blog.appsignal.com/2020/08/06/appsignal-now-automatically-instruments-apollo-for-nodejs-applications.html?utm_source=node-weekly-sponsored&utm_medium=email&utm_campaign=apollo-nodejs-integration&utm_content=sponsored-link) — With AppSignal’s automatic instrumentation, you get to debug GraphQL queries that seem to take a long time with ease. 

AppSignal sponsor   

[How To Scrape a Website Using Node & Puppeteer](https://www.digitalocean.com/community/tutorials/how-to-scrape-a-website-using-node-js-and-puppeteer) — A through walkthrough of building a web scraping app using both Node and Puppeteer. As always, make sure you do this in an ethical and good-mannered way. 

Gbadebo Bello   

[Migrating from Node and Express to the Jamstack: A Series](https://www.raymondcamden.com/2020/08/06/migrating-from-node-and-express-to-the-jamstack-part-1) — Some interesting insights and experiences on taking a server-rendered Node.js app and converting it to Jamstack with serverless functions and third-party services. [Part 2](https://www.raymondcamden.com/2020/08/15/migrating-from-node-and-express-to-the-jamstack-part-2), [Part 3](https://www.raymondcamden.com/2020/08/16/migrating-from-node-and-express-to-the-jamstack-part-3). 

Raymond Camden   

▶[An Overview of Higher Order Functions in JavaScript](https://www.youtube.com/watch?v=uwupKYlCId4) — A 10 minute screencast covering one aspect of functional programming in JavaScript. 

Brodey Newman   

[Writing a Game Boy Assembler in Node.js](https://medium.com/dailyjs/writing-a-game-boy-assembler-in-node-js-4063162fd931?sk=e4566dda94cd31a9555514d60b4cf8bb) — Runs through the bare basics of writing an assembler/disassembler for Nintendo’s Game Boy architecture. 

Alan Vivona  

🛠 **Tools, Resources and Libraries** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/pla2vdgxwi6vr7uxa31s.jpg)](https://mswjs.io/)   

[Mock Service Worker: API Mocking Library for Browser and Node](https://mswjs.io/) — Interestingly uses the Service Worker API to intercept requests which you can then mock. Capture outgoing requests using an Express-like routing syntax, complete with parameters, wildcards, and regexes. [GitHub repo.](https://github.com/mswjs/msw) 

Artem Zakharchenko   

[BootBot: A Facebook Messenger Bot Framework](https://github.com/Charca/bootbot) — Want to create bots that work on Facebook Messenger? BootBot gives you a modular foundation, the ability to subscribe to message events, helpers to send all supported message types, etc. See [some sample code](https://github.com/Charca/bootbot#getting-started) to see how easy it is. 

Maxi Ferreira   

[watchr: Better File System Watching for Node](https://github.com/bevry/watchr) — If you want to watch/wait for changes on the file system (including in nested directories) and get accurate detailed events for those changes, this is worth a try. 

Bevry   

[Optimize Node.js App Performance with End-To-End Tracing with Datadog APM](https://www.datadoghq.com/dg/apm/node-app-health/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-NodeWeeklyHealthB) 

Datadog sponsor   

[Prisma 2.5: A Modern Database Toolkit for Node and TypeScript](https://github.com/prisma/prisma/releases/tag/2.5.0) — Auto-generated and type-safe query builder for Node and TypeScript, as well as experimental tools for data modelling and working with data via a GUI. 

Prisma   

[Node.js Client for Google Cloud Pub/Sub](https://github.com/googleapis/nodejs-pubsub) — [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs) is Google’s managed real-time messaging service for sending and receiving messages between independent applications. 

Google   

[An Elixir API for Calling Node.js Functions](https://github.com/revelrylabs/elixir-nodejs) — I don’t do any [Elixir](https://elixir-lang.org/) (a Ruby inspired language on the Elixir VM) but if you do, this may be of use for working alongside Node. 

Revelry   

[Alibaba Midway Serverless v1.0: Node.js Serverless Tooling](https://medium.com/@uplifted_latte_kangaroo_248/alibaba-midway-serverless-v1-0-lets-building-serverless-cloud-ecosystem-with-node-js-8bfa943c4fb7) — A serverless framework used to build serverless functions with Node, **currently for Alibaba Cloud and Tencent Cloud only.** [GitHub repo.](https://github.com/midwayjs/midway) 

Midwayjs         

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
