Skip to content

fix: Expressly forbid deep imports through captp, far, lockdown, marshal#1907

Merged
kriskowal merged 1 commit into
masterfrom
kriskowal-forbid-deep-exports
Dec 20, 2023
Merged

fix: Expressly forbid deep imports through captp, far, lockdown, marshal#1907
kriskowal merged 1 commit into
masterfrom
kriskowal-forbid-deep-exports

Conversation

@kriskowal

Copy link
Copy Markdown
Member

To limit exposure to Hyrum’s Law, this change introduces an "exports" property to the four packages in Endo that currently lack one. Node.js 16+ and Endo’s bundler forbid deep imports to modules not expressly mentioned in "exports".

@erights erights left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kriskowal kriskowal merged commit 3699cf1 into master Dec 20, 2023
@kriskowal kriskowal deleted the kriskowal-forbid-deep-exports branch December 20, 2023 02:04
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.

2 participants