lib: fix trailing commas and leftover function from rebasing

PR-URL: https://github.com/nodejs/node/pull/47503
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Danielle Adams committed 2023-04-11 09:08:36 -04:00
1 parent 8ea835419e
commit 62cbddd86f
2 files changed
+3 -7

No files matched your search

+2 -6
View File
@@ -109,7 +109,7 @@ const {
kPathStart,
kPort,
kQuery,
kSchemeStart
kSchemeStart,
} = internalBinding('url');
const {
@@ -641,10 +641,6 @@ function onParseHashComplete(flags, protocol, username, password,
this[context].fragment = fragment;
}
function isURLThis(self) {
return (self !== undefined && self !== null && self[context] !== undefined);
}
class URL {
constructor(input, base = undefined) {
// toUSVString is not needed.
@@ -718,7 +714,7 @@ class URL {
unicode: false,
search: true,
auth: true,
...options
...options,
};
const ctx = this[context];
// https://url.spec.whatwg.org/#url-serializing
+1 -1
View File
@@ -30,7 +30,7 @@ const {
const {
immediateInfo,
toggleImmediateRef
toggleImmediateRef,
} = internalBinding('timers');
const L = require('internal/linkedlist');
const {