src: update NODE_MODULE_VERSION to 122

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

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
PR-URL: https://github.com/nodejs/node/pull/50115
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Michaël Zasso 2023-12-18 11:38:54 +01:00
parent 58674cd1d8
commit 2cff0ce411
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": 122,"runtime": "node", "variant": "v8_11.9", "versions": "22.0.0-pre" },
{ "modules": 121,"runtime": "electron", "variant": "electron", "versions": "29" },
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0" },
{ "modules": 119,"runtime": "electron", "variant": "electron", "versions": "28" },

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