Skip to content

Commit

Permalink
url: stop exporting originFor()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
TimothyGu authored and evanlucas committed Jan 31, 2017
1 parent 1e0294c commit b48b80f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,6 @@ function urlToOptions(url) {

exports.URL = URL;
exports.URLSearchParams = URLSearchParams;
exports.originFor = originFor;
exports.domainToASCII = domainToASCII;
exports.domainToUnicode = domainToUnicode;
exports.encodeAuth = encodeAuth;
Expand Down
1 change: 0 additions & 1 deletion lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ exports.resolveObject = urlResolveObject;
exports.format = urlFormat;
exports.URL = internalUrl.URL;
exports.URLSearchParams = internalUrl.URLSearchParams;
exports.originFor = internalUrl.originFor;
exports.domainToASCII = internalUrl.domainToASCII;
exports.domainToUnicode = internalUrl.domainToUnicode;

Expand Down
37 changes: 0 additions & 37 deletions test/parallel/test-util-inspect-tuple-origin.js

This file was deleted.

0 comments on commit b48b80f

Please sign in to comment.