
Node.js v14.0 was released this week, becoming the Current release. That means that in six months, by the end of October 2020, it will be moved to Active LTS (long-term-support) status and will be ready for general use.
Node.js v14.0.0 was updated to use V8 8.1, which brings support for the latest JS features. In this article, I would like to do a recap of those exciting features.
If you are a JS developer you probably ran into code where you need to check if an object property is null or undefined before accessing it, like in the following code:
…
Theasync_hooks module provides an API to track asynchronous resources in Node.js. An async resource is an object with a callback function associated with it. Because of Node’s nature, almost all things happening under the hood in Node.js are asynchronous calls, and a lot of these async resources are created.
Examples of async resources are Promises, Timeouts, Immediates (when calling setImmediate), TickObject (when calling process.nextTick), TCPWRAP (when creating a server).
You can find the full list of async resources in the Async Hooks docs.
Before deep-diving into useful examples, let’s do a quick overview of the Async Hooks API.
The API…

In the beginning there was only Waterfall and chaos. But then Agile was created and with it new processes and tools rose from the ashes. DevOps, Continuous Integration, Continuous Delivery, Continuous Deployment, Automation, Alice and Bob. Everything was beauty and perfection. Almost.
One day, Alice and Bob were in the Garden of the Web. There were many trees in the garden but one was special. It was the Tree of Code. It had good O(1) code and malicious code. Alice and Bob executed the malicious code. Suddenly, the perfect web was not so perfect, it was full of vulnerabilities. From…

The number nine in OWASP Top 10 Application Security Risks for 2017 is “Using Components with Known Vulnerabilities”.
In my team, we take security very seriously so we started to use snyk. Snyk is a tool that helps you find, fix and prevent vulnerabilities in the dependencies that you use in your project.
In a nutshell, snyk CLI has these useful commands:
snyk test — to scan your dependencies for known vulnerabilities.
snyk wizard — goes through each vulnerability found and asks you how to address it (upgrade dependency, patch it or ignore the vulnerability)
snyk protect — will apply…

Senior full-stack developer and security champion at the Nielsen Marketing Cloud.