Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

Appearance settings

Commit b48b80f

Browse filesBrowse files
TimothyGuevanlucas
authored andcommitted
url: stop exporting originFor()
PR-URL: #10955 Fixes: #10800 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 1e0294c commit b48b80f
Copy full SHA for b48b80f

File tree

Expand file treeCollapse file tree

3 files changed

+0
-39
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+0
-39
lines changed
Open diff view settings
Collapse file

‎lib/internal/url.js‎

Copy file name to clipboardExpand all lines: lib/internal/url.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,6 @@ function urlToOptions(url) {
10461046

10471047
exports.URL = URL;
10481048
exports.URLSearchParams = URLSearchParams;
1049-
exports.originFor = originFor;
10501049
exports.domainToASCII = domainToASCII;
10511050
exports.domainToUnicode = domainToUnicode;
10521051
exports.encodeAuth = encodeAuth;
Collapse file

‎lib/url.js‎

Copy file name to clipboardExpand all lines: lib/url.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ exports.resolveObject = urlResolveObject;
1818
exports.format = urlFormat;
1919
exports.URL = internalUrl.URL;
2020
exports.URLSearchParams = internalUrl.URLSearchParams;
21-
exports.originFor = internalUrl.originFor;
2221
exports.domainToASCII = internalUrl.domainToASCII;
2322
exports.domainToUnicode = internalUrl.domainToUnicode;
2423

Collapse file

‎test/parallel/test-util-inspect-tuple-origin.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect-tuple-origin.js
-37Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.