src: update NODE_MODULE_VERSION to 137

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Michaël Zasso 2025-04-29 08:03:17 +02:00
parent bba72e0389
commit b7b1790aaa
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": 137,"runtime": "node", "variant": "v8_13.6", "versions": "24.0.0-pre" },
{ "modules": 136,"runtime": "electron", "variant": "electron", "versions": "37" },
{ "modules": 135,"runtime": "electron", "variant": "electron", "versions": "36" },
{ "modules": 134,"runtime": "node", "variant": "v8_13.0", "versions": "24.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 134
#define NODE_MODULE_VERSION 137
#endif
// The NAPI_VERSION supported by the runtime. This is the inclusive range of