GeezerVison is showing github.com — lib: fix trailing commas and leftover function from rebasing · nodejs/node@62cbddd
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/url.js +2-6Lines changed: 2 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -109,7 +109,7 @@ const { |
109 | 109 | kPathStart, |
110 | 110 | kPort, |
111 | 111 | kQuery, |
112 | | - kSchemeStart |
| 112 | + kSchemeStart, |
113 | 113 | } = internalBinding('url'); |
114 | 114 |
|
115 | 115 | const { |
@@ -641,10 +641,6 @@ function onParseHashComplete(flags, protocol, username, password, |
641 | 641 | this[context].fragment = fragment; |
642 | 642 | } |
643 | 643 |
|
644 | | -function isURLThis(self) { |
645 | | - return (self !== undefined && self !== null && self[context] !== undefined); |
646 | | -} |
647 | | - |
648 | 644 | class URL { |
649 | 645 | constructor(input, base = undefined) { |
650 | 646 | // toUSVString is not needed. |
@@ -718,7 +714,7 @@ class URL { |
718 | 714 | unicode: false, |
719 | 715 | search: true, |
720 | 716 | auth: true, |
721 | | - ...options |
| 717 | + ...options, |
722 | 718 | }; |
723 | 719 | const ctx = this[context]; |
724 | 720 | // https://url.spec.whatwg.org/#url-serializing |
|
Collapse file
Copy file name to clipboardExpand all lines: lib/timers.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -30,7 +30,7 @@ const { |
30 | 30 |
|
31 | 31 | const { |
32 | 32 | immediateInfo, |
33 | | - toggleImmediateRef |
| 33 | + toggleImmediateRef, |
34 | 34 | } = internalBinding('timers'); |
35 | 35 | const L = require('internal/linkedlist'); |
36 | 36 | const { |
|