Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

File URL normalization changes #558

Closed
guybedford opened this issue Oct 5, 2020 · 1 comment
Closed

File URL normalization changes #558

guybedford opened this issue Oct 5, 2020 · 1 comment

Comments

@guybedford
Copy link
Contributor

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.

@bmeck
Copy link
Member

bmeck commented Oct 5, 2020

I'd note that this does impact other areas like policies and whatever decisions we make should likely be documented and agreed upon across the whole project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants