Skip to content

Conversation

@0c3d7r4
Copy link

@0c3d7r4 0c3d7r4 commented Dec 8, 2025

Ok since the original PR #904 has stalled, I've added test fixtures and addressed the comment.

[WIP] - waiting to add actual test implementation.

sgammon and others added 4 commits March 24, 2025 14:32
If a module `package.json` specifies `exports`, GraalJs will now read
them and prefer exports over standard resolution; export types can be
registered by the developer as preferred. In lieu of these types (and
as a default), the following export types are preferred, in order:

- `graaljs`
- `import` (in ESM)
- `require`
- `default`

Fixes and closes oracle#903

Relates-to: oracle#903
Signed-off-by: Sam Gammon <[email protected]>
@oracle-contributor-agreement
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Dec 8, 2025
@0c3d7r4
Copy link
Author

0c3d7r4 commented Dec 8, 2025

@imakira has also provided support for pattern-matching, and tests https://github.com/imakira/graaljs/commits/feat/js-module-exports/ ... it's clearly an in-demand feature, we should try to coordinate better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants