src: update NODE_MODULE_VERSION to 141

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/59805
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Michaël Zasso 2025-09-08 09:20:43 +02:00
parent acce2e8f87
commit 801ae26fa3
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 141,"runtime": "node", "variant": "v8_14.1", "versions": "25.0.0-pre" },
{ "modules": 140,"runtime": "electron", "variant": "electron", "versions": "39" },
{ "modules": 139,"runtime": "electron", "variant": "electron", "versions": "38" },
{ "modules": 138,"runtime": "node", "variant": "v8_13.7", "versions": "25.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 138
#define NODE_MODULE_VERSION 141
#endif
// The NAPI_VERSION supported by the runtime. This is the inclusive range of