Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lib: fix trailing commas and leftover function from rebasing
  • Loading branch information
danielleadams committed Apr 11, 2023
commit 2de9651d3a6b6e9ad8f402c931d9a115528134cc
8 changes: 2 additions & 6 deletions lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const {
kPathStart,
kPort,
kQuery,
kSchemeStart
kSchemeStart,
} = internalBinding('url');

const {
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const {

const {
immediateInfo,
toggleImmediateRef
toggleImmediateRef,
} = internalBinding('timers');
const L = require('internal/linkedlist');
const {
Expand Down