Comparing version 3.27.0 to 3.27.1
@@ -71,3 +71,3 @@ "use strict"; | ||
} | ||
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.27.0'); | ||
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.27.1'); | ||
function getFileName(stream) { | ||
@@ -494,2 +494,4 @@ const filePath = stream.path; | ||
} | ||
// Ensure the previous response is consumed as we re-use the same variable | ||
await response.body.arrayBuffer(); | ||
response = await (0, undici_1.request)(requestUrl, requestOptions); | ||
@@ -496,0 +498,0 @@ } |
@@ -65,3 +65,3 @@ import diagnosticsChannel from 'node:diagnostics_channel'; | ||
} | ||
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.27.0'); | ||
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.27.1'); | ||
function getFileName(stream) { | ||
@@ -488,2 +488,4 @@ const filePath = stream.path; | ||
} | ||
// Ensure the previous response is consumed as we re-use the same variable | ||
await response.body.arrayBuffer(); | ||
response = await undiciRequest(requestUrl, requestOptions); | ||
@@ -490,0 +492,0 @@ } |
{ | ||
"name": "urllib", | ||
"version": "3.27.0" | ||
"version": "3.27.1" | ||
} |
{ | ||
"name": "urllib", | ||
"version": "3.27.0", | ||
"version": "3.27.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -584,2 +584,4 @@ import diagnosticsChannel from 'node:diagnostics_channel'; | ||
} | ||
// Ensure the previous response is consumed as we re-use the same variable | ||
await response.body.arrayBuffer(); | ||
response = await undiciRequest(requestUrl, requestOptions as UndiciRequestOption); | ||
@@ -586,0 +588,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222887
4779