src: update NODE_MODULE_VERSION to 131

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/54536
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso 2024-08-24 11:30:21 +02:00 committed by Node.js GitHub Bot
parent f68d7d2acc
commit 17a17164d6
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 131,"runtime": "node", "variant": "v8_12.9", "versions": "23.0.0-pre" },
{ "modules": 130,"runtime": "electron", "variant": "electron", "versions": "33" },
{ "modules": 129,"runtime": "node", "variant": "v8_12.8", "versions": "23.0.0-pre" },
{ "modules": 128,"runtime": "electron", "variant": "electron", "versions": "32" },

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