urllib 3.18.1-beta.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,7 +73,7 @@ class HttpClientRequestTimeoutError extends Error {
|
|
73
73
|
Error.captureStackTrace(this, this.constructor);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.
|
76
|
+
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.19.0');
|
77
77
|
function getFileName(stream) {
|
78
78
|
const filePath = stream.path;
|
79
79
|
if (filePath) {
|
package/dist/esm/HttpClient.js
CHANGED
@@ -67,7 +67,7 @@ class HttpClientRequestTimeoutError extends Error {
|
|
67
67
|
Error.captureStackTrace(this, this.constructor);
|
68
68
|
}
|
69
69
|
}
|
70
|
-
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.
|
70
|
+
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.19.0');
|
71
71
|
function getFileName(stream) {
|
72
72
|
const filePath = stream.path;
|
73
73
|
if (filePath) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "urllib",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.19.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"tag": "latest"
|
6
6
|
},
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"lint": "eslint src test --ext .ts --cache",
|
52
52
|
"prebuild": "npm run clean",
|
53
53
|
"build": "tsc --version && tshy && npm run build:version",
|
54
|
-
"postbuild": "rm -rf
|
54
|
+
"postbuild": "rm -rf *.tsbuildinfo",
|
55
55
|
"build:version": "node ./scripts/replace_urllib_version.js",
|
56
56
|
"build:cjs:test": "cd test/cjs && rm -rf node_modules && npm link ../.. && node index.js",
|
57
57
|
"build:esm:test": "cd test/esm && rm -rf node_modules && npm link ../.. && node index.js",
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"test": "npm run lint && vitest run",
|
64
64
|
"test-keepalive": "cross-env TEST_KEEPALIVE_COUNT=50 vitest run --test-timeout 180000 keep-alive-header.test.ts",
|
65
65
|
"cov": "vitest run --coverage",
|
66
|
-
"ci": "npm run lint && npm run cov &&
|
66
|
+
"ci": "npm run lint && npm run cov && node scripts/build_test.js",
|
67
67
|
"contributor": "git-contributor",
|
68
68
|
"clean": "rm -rf dist",
|
69
69
|
"prepublishOnly": "npm run build"
|