Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukeed
Copy link
Owner

@lukeed lukeed commented Oct 27, 2021

This is done in a way that supports both ESM loader hook designs. It's duplicative, but luckily A) it's not much code in the first place; and B) it works πŸ˜†

IMO it's really important to support both designs right now, because while fresh 16.x installations (and presumably everything else going forward) will only use/need the new load hook, alllllll previous 14 and 16 versions that people may be using use the old design.

At some future point – once the API design & probably when there's a 16 LTS version – I can remove the old loader hooks and cut a new major version that raises/restricts the engines requirement.

Closes #13

@lukeed lukeed merged commit b483e40 into master Oct 27, 2021
@lukeed lukeed deleted the fix/loader-api branch October 27, 2021 02:22
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.

New loader hooks api

2 participants