mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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:
2 files changed
+3
-7
No files matched your search
+2
-6
@@ -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
@@ -30,7 +30,7 @@ const {
|
||||
|
||||
const {
|
||||
immediateInfo,
|
||||
toggleImmediateRef
|
||||
toggleImmediateRef,
|
||||
} = internalBinding('timers');
|
||||
const L = require('internal/linkedlist');
|
||||
const {
|
||||
|
||||
Reference in new issue
Block a user