#417 — December 9, 2021
GitHub Rolling Out Enforced 2FA and More for npm Registry — Many public code package registries have suffered issues with user security in recent years, and a single compromised package can cause havoc in the npm ecosystem in particular. GitHub are, therefore, moving forward with plans for ‘enhanced login verification’ including enforced 2FA for publishers of high impact packages in early 2022. If you want to check your npm account and improve its security, now is the time!
Why You Should Check-In Your Node Dependencies — “I currently work at Google on the Chrome DevTools team and we check our node_modules folder into source control. At first this struck me as unusual, but I’ve come to believe that there are some major benefits to this approach that I think more people should consider.”
The DevSecGuide to Infrastructure as Code — Learn research on the state of IaC security, practical steps for building a DevSecOps culture, and tips for embedding automated security throughout the DevOps lifecycle. Download the guide for free.
npm 8.2.0 has been released.
GitHub is making some serious improvements to its code search functionality. There’s a waitlist if you want to try it out, though.
On Node.js Memory Limits: What You Should Know — Node.js is pretty efficient in terms of its memory use so you might never run into its limits, but it’s worth understanding how Node’s memory management works and how to handle limits and things like memory leaks before they crop up in your app.
Fighting TLS Fingerprinting with Node — For a whole variety of reasons, some sinister, many commercial, a lot of online services want to track people and their use of the Web – fingerprinting is one way to do this, and the way TLS requests are made can add to this, as demonstrated here.
Senior Backend Developer 🚀(Remote, Work from Anywhere 🏖) — We’re reimagining eCommerce with super fast headless commerce service for product storytellers. React, Node, GraphQL? Let’s talk.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
🛠 Code & Tools
graphql-request: A Minimal GraphQL Client for Node and Browsers — The target use here is small scripts and simple apps, not larger things where something like Apollo might provide the structure you need.
CSSO 5.0: A CSS Minifier with Structural Optimizations — A tool that cleans, compresses, and restructures CSS. The newly dropped v5.0 adds ES module support and CSS Selectors Level 4 support too.
node-datachannel: libdatachannel Bindings for Node.js — libdatachannel is a standalone C++17-based implementation of various WebRTC standards, as well as WebSockets, for use on POSIX platforms.
Nock: HTTP Server Mocking and Expectations Library — Let’s say you’re creating a client library that uses HTTP to hit a third party service. Nock will let you test it in isolation by mocking requests/responses.
Ink 3.2: React, but for Building Interactive CLI Apps — Build your command line apps using React-style components.
github-unstar: Unstar All Your Starred GitHub Repos — If you’ve starred far too many repos on GitHub and want to start from scratch, this quick script could help.