-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Open
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loadersperformanceIssues and PRs related to the performance of Node.js.Issues and PRs related to the performance of Node.js.
Description
Follow the following steps:
touch buggy-bug.mjs- Update
lib/internal/url.jsand add a console.log toURLclass constructor - Run the script with
out/Release/node buggy-bug.mjs
Output:
➜ node git:(main) ✗ out/Release/node buggy-bug.mjs
{
input: 'file:///Users/yagiz/Developer/node/buggy-bug.mjs',
base: undefined
}
{
input: 'file:///Users/yagiz/Developer/node/buggy-bug.mjs',
base: undefined
}
{ input: 'file:///Users/yagiz/Developer/node/', base: undefined }
{
input: 'file:///Users/yagiz/Developer/node/buggy-bug.mjs',
base: undefined
}
{
input: 'file:///Users/yagiz/Developer/node/buggy-bug.mjs',
base: undefined
}
{
input: 'file:///Users/yagiz/Developer/node/buggy-bug.mjs',
base: undefined
}
cc @nodejs/loaders @nodejs/performance
mertcanaltin
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loadersperformanceIssues and PRs related to the performance of Node.js.Issues and PRs related to the performance of Node.js.