Skip to content

Commit 2cff0ce

Browse files
committed
src: update NODE_MODULE_VERSION to 122
Major V8 updates are usually API/ABI incompatible with previous versions. This commit adapts NODE_MODULE_VERSION for V8 11.9. Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md PR-URL: #50115 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 58674cd commit 2cff0ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/abi_version_registry.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"NODE_MODULE_VERSION": [
3+
{ "modules": 122,"runtime": "node", "variant": "v8_11.9", "versions": "22.0.0-pre" },
34
{ "modules": 121,"runtime": "electron", "variant": "electron", "versions": "29" },
45
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0" },
56
{ "modules": 119,"runtime": "electron", "variant": "electron", "versions": "28" },

src/node_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
#if defined(NODE_EMBEDDER_MODULE_VERSION)
9696
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION
9797
#else
98-
#define NODE_MODULE_VERSION 120
98+
#define NODE_MODULE_VERSION 122
9999
#endif
100100

101101
// The NAPI_VERSION supported by the runtime. This is the inclusive range of

0 commit comments

Comments
 (0)