mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
url: make URL.parse enumerable
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
6e13a7ba02
commit
eededd1ca8
1 file changed
+6
@@ -1159,6 +1159,12 @@ ObjectDefineProperties(URL, {
|
||||
writable: true,
|
||||
enumerable: true,
|
||||
},
|
||||
parse: {
|
||||
__proto__: null,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
enumerable: true,
|
||||
},
|
||||
});
|
||||
|
||||
function installObjectURLMethods() {
|
||||
|
||||
Reference in new issue
Block a user