[v12.x backport] module: improve support of data: URLs by aduh95 · Pull Request #37859 · nodejs/node

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

@richardlau

Copy link

Member

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

aduh95 added 2 commits

March 29, 2021 12:33
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 force-pushed the backport-data-url-v12.x branch from 3f6e97e to 7b0ed4b Compare

March 29, 2021 11:48

@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

Reviewers

@richardlau richardlau richardlau approved these changes

Assignees

No one assigned

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

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@aduh95 @nodejs-github-bot @richardlau