-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module: implement register
utility
#46826
Commits on Jun 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65111a2 - Browse repository at this point
Copy the full SHA 65111a2View commit details -
loaders: support
URL
inregister
fnSupport loaders to be registered as `URL` instance in `register` fn.
Configuration menu - View commit details
-
Copy full SHA for 29d153e - Browse repository at this point
Copy the full SHA 29d153eView commit details -
loaders: add
parentURL
as second parameterAdd `parentURL` as second parameter of `register` fn so user can decide from where his loader path or package name will be resolved.
Configuration menu - View commit details
-
Copy full SHA for 6e43af3 - Browse repository at this point
Copy the full SHA 6e43af3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b351260 - Browse repository at this point
Copy the full SHA b351260View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a0e047 - Browse repository at this point
Copy the full SHA 4a0e047View commit details -
loaders,fix: use URLs instead of paths
Use URLs instead of paths to avoid problems in Windows CI.
Configuration menu - View commit details
-
Copy full SHA for 418d568 - Browse repository at this point
Copy the full SHA 418d568View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2104d3 - Browse repository at this point
Copy the full SHA c2104d3View commit details -
test: use
URL
instances for file test caseAs mentioned by @aduh95, all tests in `test-esm-loader-programmatically.mjs` are using string literals as arguments for `register` fn. Start using URL instances for file test case.
Configuration menu - View commit details
-
Copy full SHA for 5400a6e - Browse repository at this point
Copy the full SHA 5400a6eView commit details -
fix,test: use right loaders and export it properly
Use right loaders in `node_modules` and export them properly.
Configuration menu - View commit details
-
Copy full SHA for d3a1a81 - Browse repository at this point
Copy the full SHA d3a1a81View commit details -
test: export modules from
node_modules
Export modules from `node_modules` in our loaders.
Configuration menu - View commit details
-
Copy full SHA for 9e83305 - Browse repository at this point
Copy the full SHA 9e83305View commit details -
fix,test: move real implementation of loaders
Move the implementation of `loader-load-passthru.mjs` and from `loader-resolve-passthru.mjs` to it's own file and export it in `node_modules`.
Configuration menu - View commit details
-
Copy full SHA for e485f99 - Browse repository at this point
Copy the full SHA e485f99View commit details -
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ee3823 - Browse repository at this point
Copy the full SHA 1ee3823View commit details -
Update lib/internal/modules/esm/loader.js
Co-authored-by: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0db88d8 - Browse repository at this point
Copy the full SHA 0db88d8View commit details -
The `getCwdSafe` fn it's no longer related to this PR, so we are going to create its own PR to address it.
Configuration menu - View commit details
-
Copy full SHA for cd47b14 - Browse repository at this point
Copy the full SHA cd47b14View commit details
Commits on Jun 11, 2023
-
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27f8ac7 - Browse repository at this point
Copy the full SHA 27f8ac7View commit details