Skip to content
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

[v12.x backport] module: improve support of data: URLs #37859

Merged
merged 2 commits into from Mar 29, 2021

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Mar 22, 2021

Backport of #37392.

I've also included #37394 which simply adds decodeURIComponent to primordials, but we could also leave it out and use it from the global object.

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v12.x labels Mar 22, 2021
@aduh95 aduh95 requested a review from richardlau March 22, 2021 11:24
@nodejs-github-bot
Copy link
Collaborator

@richardlau
Copy link
Member

cc @nodejs/lts Any concerns with adding URI handling functions to primordials in 12.x?

@nodejs-github-bot
Copy link
Collaborator

PR-URL: nodejs#37394
Backport-PR-URL: nodejs#37859
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Add support for loading modules using percent-encoded URLs.

PR-URL: nodejs#37392
Backport-PR-URL: nodejs#37859
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
@richardlau richardlau merged commit 7b0ed4b into nodejs:v12.x-staging Mar 29, 2021
@aduh95 aduh95 deleted the backport-data-url-v12.x branch March 29, 2021 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants