GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib,test: update in preparation for linter update · nodejs/node@552e25c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • buffer.js
    • readline.js
  • test/parallel
    • test-http-destroyed-socket-write2.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/buffer.js‎

Copy file name to clipboardExpand all lines: lib/buffer.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ function byteLength(string, encoding) {
263263
case 'ascii':
264264
case 'binary':
265265
// Deprecated
266+
// eslint-disable-next-line no-fallthrough
266267
case 'raw':
267268
case 'raws':
268269
return len;
Collapse file

‎lib/readline.js‎

Copy file name to clipboardExpand all lines: lib/readline.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ exports.emitKeypressEvents = emitKeypressEvents;
977977
*/
978978

979979
// Regexes used for ansi escape code splitting
980+
// eslint-disable-next-line no-control-regex
980981
const metaKeyCodeReAnywhere = /(?:\x1b)([a-zA-Z0-9])/;
981982
const functionKeyCodeReAnywhere = new RegExp('(?:\x1b+)(O|N|\\[|\\[\\[)(?:' + [
982983
'(\\d+)(?:;(\\d+))?([~^$])',
Collapse file

‎test/parallel/test-http-destroyed-socket-write2.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-destroyed-socket-write2.js
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,17 @@ server.listen(common.PORT, function() {
2929
switch (er.code) {
3030
// This is the expected case
3131
case 'ECONNRESET':
32-
// On windows this sometimes manifests as ECONNABORTED
32+
break;
33+
34+
// On Windows, this sometimes manifests as ECONNABORTED
3335
case 'ECONNABORTED':
36+
break;
37+
3438
// This test is timing sensitive so an EPIPE is not out of the question.
3539
// It should be infrequent, given the 50 ms timeout, but not impossible.
3640
case 'EPIPE':
3741
break;
42+
3843
default:
3944
assert.strictEqual(er.code,
4045
'ECONNRESET',

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.