This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
File URL normalization changes #558
Closed
Description
I've just added nodejs/node#35477 to the agenda which is new WhatWG URL resolution changes.
I'm temporarily blocking that as it has effects on the modules system.
As an example, we have the following before and after:
new URL('////path/to/file.js', 'file:');
// Before the PR -> file:///path/to/file.js
// After the PR -> file:////path/to/file.js
This in turn may affect module registry identity as the same module could be loaded twice in this way (if it were imported via import '///path/to/file.js'
and import '/path/to/file.js'
say).
It would be useful to discuss some of these cases further before landing there.
Metadata
Metadata
Assignees
Labels
No labels