src: update NODE_MODULE_VERSION to 126

Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 12.3.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/52293
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso 2024-04-08 11:32:03 +02:00 committed by Node.js GitHub Bot
parent 1878453eb7
commit 6f54390ba9
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 126,"runtime": "node", "variant": "v8_12.3", "versions": "22.0.0-pre" },
{ "modules": 125,"runtime": "electron", "variant": "electron", "versions": "31" },
{ "modules": 124,"runtime": "node", "variant": "v8_12.2", "versions": "22.0.0-pre" },
{ "modules": 123,"runtime": "electron", "variant": "electron", "versions": "30" },

View File

@ -95,7 +95,7 @@
#if defined(NODE_EMBEDDER_MODULE_VERSION)
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION
#else
#define NODE_MODULE_VERSION 124
#define NODE_MODULE_VERSION 126
#endif
// The NAPI_VERSION supported by the runtime. This is the inclusive range of