chore(deps): lock file maintenance (#1331)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
renovate[bot]
2023-06-29 21:06:16 +00:00
committed by GitHub
parent 54849deb96
commit c060576a37
3 changed files with 8 additions and 5 deletions

5
dist/index.js generated vendored
View File

@@ -29284,8 +29284,11 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
response.once('close', function (hadError) {
// tests for socket presence, as in some situations the
// the 'socket' event is not triggered for the request
// (happens in deno), avoids `TypeError`
// if a data listener is still present we didn't end cleanly
const hasDataListener = socket.listenerCount('data') > 0;
const hasDataListener = socket && socket.listenerCount('data') > 0;
if (hasDataListener && !hadError) {
const err = new Error('Premature close');

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long