Skip to content

add url parse export #65

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

Merged
merged 1 commit into from
Jan 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nodelibs/browser/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ var Url = h.Url;
var format = h.format;
var resolve = h.resolve;
var resolveObject = h.resolveObject;
var parse = h.parse;

const _URL = h.URL;

Expand Down Expand Up @@ -801,4 +802,4 @@ function pathToFileURL(filepath) {
return outURL;
}

export { _URL as URL, Url, h as default, fileURLToPath, format, pathToFileURL, resolve, resolveObject };
export { _URL as URL, Url, h as default, fileURLToPath, format, parse, pathToFileURL, resolve, resolveObject };
1 change: 1 addition & 0 deletions src-browser/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export var Url = url.Url;
export var format = url.format;
export var resolve = url.resolve;
export var resolveObject = url.resolveObject;
export var parse = url.parse;

const _URL = url.URL;
export { _URL as URL }
Expand Down