Skip to content
Myr

build: Node.js@18.10

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #5014

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent f56ce73 · Browse files · 3 files+6 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+6 added−5 removed

  • tests:+4 added−3 removed
  • other:+2 added−2 removed

3 files+6 added−5 removed

modified:.github/workflows/ci.yml+1 added-1 removed
modified:test/res.sendFile.js+4 added-3 removed
1048 unmodified lines
1049 var app = express()10501051 app.use(function(req, res){1052 res.sendfile('test/fixtures/user.html', function(err){1053 assert(!res.headersSent);1054 assert.strictEqual(req.socket.listeners('error').length, 1) // node's original handler1053 assert.ok(err)1054 assert.ok(!res.headersSent)1055 assert.strictEqual(err.message, 'broken!')1056 done();1057 });10581058 req.socket.emit('error', new Error('broken!'));1059 req.socket.destroy(new Error('broken!'))1060 });10611062 request(app)1063 .get('/')
349 unmodified lines
modified:appveyor.yml+1 added-1 removed
17 unmodified lines
18 - nodejs_version: "14.20"19 - nodejs_version: "15.14"20 - nodejs_version: "16.17"21 - nodejs_version: "17.9"22 - nodejs_version: "18.7"22 - nodejs_version: "18.10"23cache:24 - node_modules25install:26 # Install Node.js
79 unmodified lines