Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Node.js 10 is Now Available

Vercel News·Steven Salat·4 days ago
#Vfu5ZPvU
#vercel#node#version#engines#photo#article
Reading 0:00
15s threshold

Link to heading How to Upgrade In order to have your code invoked with Node.js 10 , you need only to add an engines field to your package.json file as follows: { "name" : "my-app" , "engines" : { "node" : "10.x" } } As you can see, we have configured 10.x as the version, instead of the exact one. This is possible because the engines property (as per the documentation ) supports semantic version ranges in its syntax. At the moment of writing, this will result in Node.js 10.15.3 being used . NOTE: The range 10.x will allow new deployments to take advantage of security updates and features released to Node.js 10 LTS . It is not possible to pin a specific version at this time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More