Skip to content

Conversation

@richardlau
Copy link
Member

When extracting the module version from src/node_version.h, ignore the line:

#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION

This will pick up the default value from the header as the official Node.js builds do not define NODE_EMBEDDER_MODULE_VERSION.

Fixes: #20
Refs: nodejs/node#49279

When extracting the module version from `src/node_version.h`, ignore
the line:
#define NODE_MODULE_VERSION NODE_EMBEDDER_MODULE_VERSION

This will pick up the default value from the header as the official
Node.js builds do not define `NODE_EMBEDDER_MODULE_VERSION`.

Fixes: nodejs#20
Refs: nodejs/node#49279
@richardlau richardlau merged commit 3c31920 into nodejs:main Oct 16, 2023
@richardlau richardlau deleted the modversion branch October 16, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

modules shows NODE_EMBEDDER_MODULE_VERSION

2 participants