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:
parent
54849deb96
commit
c060576a37
5
dist/index.js
generated
vendored
5
dist/index.js
generated
vendored
@ -29284,8 +29284,11 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|||||||
|
|
||||||
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
||||||
response.once('close', function (hadError) {
|
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
|
// 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) {
|
if (hasDataListener && !hadError) {
|
||||||
const err = new Error('Premature close');
|
const err = new Error('Premature close');
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -3105,9 +3105,9 @@ natural-compare@^1.4.0:
|
|||||||
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
||||||
|
|
||||||
node-fetch@^2.6.7:
|
node-fetch@^2.6.7:
|
||||||
version "2.6.11"
|
version "2.6.12"
|
||||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25"
|
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba"
|
||||||
integrity sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==
|
integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==
|
||||||
dependencies:
|
dependencies:
|
||||||
whatwg-url "^5.0.0"
|
whatwg-url "^5.0.0"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user