Comparing version 4.6.10 to 4.6.11
@@ -39,3 +39,3 @@ "use strict"; | ||
const debug = (0, node_util_1.debuglog)('urllib:HttpClient'); | ||
exports.VERSION = '4.6.10'; | ||
exports.VERSION = '4.6.11'; | ||
// 'node-urllib/4.0.0 Node.js/18.19.0 (darwin; x64)' | ||
@@ -42,0 +42,0 @@ exports.HEADER_USER_AGENT = `node-urllib/${exports.VERSION} Node.js/${process.version.substring(1)} (${process.platform}; ${process.arch})`; |
@@ -103,3 +103,3 @@ import type { Readable, Writable } from 'node:stream'; | ||
beforeRequest?: (...args: any[]) => void; | ||
/** Accept `gzip, br` response content and auto decode it, default is `true`. */ | ||
/** Accept `gzip, br` response content and auto decode it, default is `false`. */ | ||
compressed?: boolean; | ||
@@ -106,0 +106,0 @@ /** |
@@ -33,3 +33,3 @@ import diagnosticsChannel from 'node:diagnostics_channel'; | ||
const debug = debuglog('urllib:HttpClient'); | ||
export const VERSION = '4.6.10'; | ||
export const VERSION = '4.6.11'; | ||
// 'node-urllib/4.0.0 Node.js/18.19.0 (darwin; x64)' | ||
@@ -36,0 +36,0 @@ export const HEADER_USER_AGENT = `node-urllib/${VERSION} Node.js/${process.version.substring(1)} (${process.platform}; ${process.arch})`; |
@@ -103,3 +103,3 @@ import type { Readable, Writable } from 'node:stream'; | ||
beforeRequest?: (...args: any[]) => void; | ||
/** Accept `gzip, br` response content and auto decode it, default is `true`. */ | ||
/** Accept `gzip, br` response content and auto decode it, default is `false`. */ | ||
compressed?: boolean; | ||
@@ -106,0 +106,0 @@ /** |
{ | ||
"name": "urllib", | ||
"version": "4.6.10" | ||
"version": "4.6.11" | ||
} |
{ | ||
"name": "urllib", | ||
"version": "4.6.10", | ||
"version": "4.6.11", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "tag": "latest" |
@@ -76,3 +76,3 @@ # urllib | ||
- ***streaming*** Boolean - let you get the `res` object when request connected, default `false`. alias `customResponse` | ||
- ***compressed*** Boolean - Accept `gzip, br` response content and auto decode it, default is `true`. | ||
- ***compressed*** Boolean - Accept `gzip, br` response content and auto decode it, default is `false`. | ||
- ***timing*** Boolean - Enable timing or not, default is `true`. | ||
@@ -79,0 +79,0 @@ - ***socketPath*** String | null - request a unix socket service, default is `null`. |
@@ -108,3 +108,3 @@ import type { Readable, Writable } from 'node:stream'; | ||
beforeRequest?: (...args: any[]) => void; | ||
/** Accept `gzip, br` response content and auto decode it, default is `true`. */ | ||
/** Accept `gzip, br` response content and auto decode it, default is `false`. */ | ||
compressed?: boolean; | ||
@@ -111,0 +111,0 @@ /** |
420146