Skip to content

Conversation

@webmaster128
Copy link
Member

@webmaster128 webmaster128 commented Oct 7, 2025

@webmaster128 webmaster128 added this to the 0.37 milestone Oct 7, 2025
@webmaster128
Copy link
Member Author

Turns out this is a breaking change for any use who imports some sort of file path instead of the top level module:

[…] preventing any other entry points besides those defined in "exports". This encapsulation allows module authors to clearly define the public interface for their package.

(https://docs.npmjs.com/cli/v11/configuring-npm/package-json#exports)

Nothing wrong with that but it deserves a warning in the CHANGELOG

@webmaster128 webmaster128 merged commit 447b457 into main Oct 8, 2025
13 checks passed
@webmaster128 webmaster128 deleted the exports-in-package.json branch October 8, 2025 07:23
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