Uh oh!
There was an error while loading. Please reload this page.
bootstrap: use internal.url instead of url - #49649
Conversation
nodejs-github-bot
commented
Sep 14, 2023
Review requested:
|
I think we should keep it. The reason why it's here is to include |
LiviaMedeiros
commented
Sep 14, 2023
Is there performance difference between importing it unconditionally here, and explicit import in user-provided snapshot code? |
aduh95
commented
Sep 14, 2023
What do you mean "popular module"? I think the goal is to bootstrap all the builtin modules so they're in the snapshot, unfortunately not all of them are snapshotable. |
LiviaMedeiros
commented
Sep 14, 2023
Ah, I was under impression from that we only pre-require modules that are necessary for loading process that happens in 100% cases.If we want to include all possible builtins in snapshot, it indeed must stay. |
Refs: #49590 (comment)
Not sure if it might break any binary compatibility that would cause high semverness, or cause any significant regression.
cc @nodejs/process