Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude NODE_EMBEDDER_MODULE_VERSION string #23

Merged
merged 1 commit into from
Oct 16, 2023

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