src: update NODE_MODULE_VERSION to 138

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/58064
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Michaël Zasso 2025-05-07 15:58:32 +02:00 committed by Node.js GitHub Bot
parent 21b131e93a
commit db1700e4b5
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 138,"runtime": "node", "variant": "v8_13.7", "versions": "25.0.0-pre" },
{ "modules": 137,"runtime": "node", "variant": "v8_13.6", "versions": "24.0.0" },
{ "modules": 136,"runtime": "electron", "variant": "electron", "versions": "37" },
{ "modules": 135,"runtime": "electron", "variant": "electron", "versions": "36" },

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