src: update NODE_MODULE_VERSION to 129

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
Michaël Zasso 2024-08-07 16:23:02 +02:00
parent 1dfa3b8255
commit e945bd9525
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 128, "runtime":"electron", "variant": "electron", "versions": "32" },
{ "modules": 127, "runtime":"node", "variant": "v8_12.4", "versions": "22.0.0" },
{ "modules": 129,"runtime": "node", "variant": "v8_12.8", "versions": "23.0.0-pre" },
{ "modules": 128,"runtime": "electron", "variant": "electron", "versions": "32" },
{ "modules": 127,"runtime": "node", "variant": "v8_12.4", "versions": "22.0.0" },
{ "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" },

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 127
#define NODE_MODULE_VERSION 129
#endif
// The NAPI_VERSION supported by the runtime. This is the inclusive range of