Skip to content

registry: fix importModule base dir for exports subpaths#5465

Merged
knolleary merged 1 commit intonode-red:masterfrom
yuan-cloud:fix/registry-import-exports-subpath
Jan 26, 2026
Merged

registry: fix importModule base dir for exports subpaths#5465
knolleary merged 1 commit intonode-red:masterfrom
yuan-cloud:fix/registry-import-exports-subpath

Conversation

@yuan-cloud
Copy link
Copy Markdown
Contributor

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

Tests:

  • npx mocha test/unit/@node-red/registry/lib/externalModules_spec.js
  • npm test: 2799 passing, 61 pending, 1 failing (unrelated: test/nodes/core/storage/23-watch_spec.js watch-node assertion)

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Jan 25, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: yuan-cloud / name: Yuan Liu (39e4d85)

@knolleary knolleary merged commit bf1f753 into node-red:master Jan 26, 2026
5 checks passed
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.

RED.import (importModule) cannot correctly handle aliased exports

2 participants