From 01fd048c6e315c8c254c2f05075be2c4ec5c15c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 8 Apr 2022 17:09:55 +0200 Subject: [PATCH] src: update NODE_MODULE_VERSION to 108 Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 10.1. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: https://github.com/nodejs/node/pull/42657 Reviewed-By: Darshan Sen Reviewed-By: Richard Lau Reviewed-By: Jiawen Geng Reviewed-By: Michael Dawson --- doc/abi_version_registry.json | 1 + src/node_version.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/abi_version_registry.json b/doc/abi_version_registry.json index 8f7690c283cc04..096fd42611911e 100644 --- a/doc/abi_version_registry.json +++ b/doc/abi_version_registry.json @@ -1,5 +1,6 @@ { "NODE_MODULE_VERSION": [ + { "modules": 108,"runtime": "node", "variant": "v8_10.1", "versions": "18.0.0-pre" }, { "modules": 107,"runtime": "electron", "variant": "electron", "versions": "20" }, { "modules": 106,"runtime": "electron", "variant": "electron", "versions": "19" }, { "modules": 105,"runtime": "node", "variant": "v8_9.8", "versions": "18.0.0-pre" }, diff --git a/src/node_version.h b/src/node_version.h index 05128631b72368..d5b5e66e65104a 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -89,7 +89,7 @@ * version matching should open a pull request to reserve a number in this * registry. */ -#define NODE_MODULE_VERSION 105 +#define NODE_MODULE_VERSION 108 // The NAPI_VERSION provided by this version of the runtime. This is the version // which the Node binary being built supports.