Skip to content

Commit eededd1

Browse files
panvatargos
authored andcommitted
url: make URL.parse enumerable
PR-URL: #53720 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 6e13a7b commit eededd1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/internal/url.js

+6
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,12 @@ ObjectDefineProperties(URL, {
11591159
writable: true,
11601160
enumerable: true,
11611161
},
1162+
parse: {
1163+
__proto__: null,
1164+
configurable: true,
1165+
writable: true,
1166+
enumerable: true,
1167+
},
11621168
});
11631169

11641170
function installObjectURLMethods() {

0 commit comments

Comments
 (0)