undici 5.25.3 → 5.25.4
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.
- package/lib/core/connect.js +3 -1
- package/package.json +1 -2
- package/types/package.json +0 -55
package/lib/core/connect.js
CHANGED
|
@@ -13,7 +13,9 @@ let tls // include tls conditionally since it is not always available
|
|
|
13
13
|
// re-use is enabled.
|
|
14
14
|
|
|
15
15
|
let SessionCache
|
|
16
|
-
|
|
16
|
+
// FIXME: remove workaround when the Node bug is fixed
|
|
17
|
+
// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308
|
|
18
|
+
if (global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE) {
|
|
17
19
|
SessionCache = class WeakSessionCache {
|
|
18
20
|
constructor (maxCachedSessions) {
|
|
19
21
|
this._maxCachedSessions = maxCachedSessions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "undici",
|
|
3
|
-
"version": "5.25.
|
|
3
|
+
"version": "5.25.4",
|
|
4
4
|
"description": "An HTTP/1.1 client, written from scratch for Node.js",
|
|
5
5
|
"homepage": "https://undici.nodejs.org",
|
|
6
6
|
"bugs": {
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
"bench:run": "CONNECTIONS=1 node benchmarks/benchmark.js; CONNECTIONS=50 node benchmarks/benchmark.js",
|
|
94
94
|
"serve:website": "docsify serve .",
|
|
95
95
|
"prepare": "husky install",
|
|
96
|
-
"postpublish": "node scripts/update-undici-types-version.js && cd types && npm publish",
|
|
97
96
|
"fuzz": "jsfuzz test/fuzzing/fuzz.js corpus"
|
|
98
97
|
},
|
|
99
98
|
"devDependencies": {
|
package/types/package.json
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "undici-types",
|
|
3
|
-
"version": "5.25.1",
|
|
4
|
-
"description": "A stand-alone types package for Undici",
|
|
5
|
-
"homepage": "https://undici.nodejs.org",
|
|
6
|
-
"bugs": {
|
|
7
|
-
"url": "https://github.com/nodejs/undici/issues"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/nodejs/undici.git"
|
|
12
|
-
},
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"types": "index.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"*.d.ts"
|
|
17
|
-
],
|
|
18
|
-
"contributors": [
|
|
19
|
-
{
|
|
20
|
-
"name": "Daniele Belardi",
|
|
21
|
-
"url": "https://github.com/dnlup",
|
|
22
|
-
"author": true
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "Ethan Arrowood",
|
|
26
|
-
"url": "https://github.com/ethan-arrowood",
|
|
27
|
-
"author": true
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "Matteo Collina",
|
|
31
|
-
"url": "https://github.com/mcollina",
|
|
32
|
-
"author": true
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "Matthew Aitken",
|
|
36
|
-
"url": "https://github.com/KhafraDev",
|
|
37
|
-
"author": true
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "Robert Nagy",
|
|
41
|
-
"url": "https://github.com/ronag",
|
|
42
|
-
"author": true
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "Szymon Marczak",
|
|
46
|
-
"url": "https://github.com/szmarczak",
|
|
47
|
-
"author": true
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "Tomas Della Vedova",
|
|
51
|
-
"url": "https://github.com/delvedor",
|
|
52
|
-
"author": true
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}
|