Skip to content

add import attributes to the normalize function - #1349

Merged
saghul merged 1 commit into
quickjs-ng:masterfrom
tangramdotdev:normalize-func-import-attributes
Feb 13, 2026
Merged

saghul merged 1 commit into
quickjs-ng:masterfrom
tangramdotdev:normalize-func-import-attributes

Conversation

@nitsky

@nitsky nitsky commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Currently, only module loading has access to import attributes, but according to the ES spec, import attributes are allowed to affect resolution as well. This PR adds JSModuleNormalizeFunc2 so you can provide a normalize function that takes import attributes.

@saghul
saghul merged commit 72ba50f into quickjs-ng:master Feb 13, 2026
121 of 122 checks passed
rkd77 pushed a commit to rkd77/quickjs that referenced this pull request Feb 13, 2026
mochaaP pushed a commit to mcha-forks/quickjs that referenced this pull request May 20, 2026
@nitsky
nitsky deleted the normalize-func-import-attributes branch October 4, 2026 18:11
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