@cacheable/net 2.0.5 → 2.0.7
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/README.md +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +8 -15
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> High Performance Network Caching for Node.js with fetch support and HTTP cache semantics
|
|
4
4
|
|
|
5
|
-
[](https://codecov.io/gh/jaredwray/cacheable)
|
|
5
|
+
[](https://codecov.io/gh/jaredwray/cacheable)
|
|
6
6
|
[](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml)
|
|
7
7
|
[](https://www.npmjs.com/package/@cacheable/net)
|
|
8
8
|
[](https://www.npmjs.com/package/@cacheable/net)
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cacheable, CacheableOptions } from 'cacheable';
|
|
2
|
-
import {
|
|
2
|
+
import { Hookified, HookifiedOptions } from 'hookified';
|
|
3
3
|
import { RequestInit, Response as Response$1 } from 'undici';
|
|
4
4
|
export { RequestInit as FetchRequestInit } from 'undici';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cacheable, CacheableOptions } from 'cacheable';
|
|
2
|
-
import {
|
|
2
|
+
import { Hookified, HookifiedOptions } from 'hookified';
|
|
3
3
|
import { RequestInit, Response as Response$1 } from 'undici';
|
|
4
4
|
export { RequestInit as FetchRequestInit } from 'undici';
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cacheable/net",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,21 +27,15 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"private": false,
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@faker-js/faker": "^10.1.0",
|
|
32
|
-
"@types/http-cache-semantics": "^4.0.4",
|
|
33
|
-
"@types/node": "^25.0.3",
|
|
34
|
-
"@vitest/coverage-v8": "^4.0.16",
|
|
35
|
-
"rimraf": "^6.1.2",
|
|
30
|
+
"@types/http-cache-semantics": "^4.2.0",
|
|
36
31
|
"tsup": "^8.5.1",
|
|
37
|
-
"typescript": "^5.9.3"
|
|
38
|
-
"vitest": "^4.0.16"
|
|
32
|
+
"typescript": "^5.9.3"
|
|
39
33
|
},
|
|
40
34
|
"dependencies": {
|
|
41
|
-
"hookified": "^1.
|
|
35
|
+
"hookified": "^1.15.1",
|
|
42
36
|
"http-cache-semantics": "^4.2.0",
|
|
43
|
-
"undici": "^7.
|
|
44
|
-
"cacheable": "^2.3.
|
|
37
|
+
"undici": "^7.24.5",
|
|
38
|
+
"cacheable": "^2.3.4"
|
|
45
39
|
},
|
|
46
40
|
"keywords": [
|
|
47
41
|
"cacheable",
|
|
@@ -76,10 +70,9 @@
|
|
|
76
70
|
],
|
|
77
71
|
"scripts": {
|
|
78
72
|
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
|
|
79
|
-
"prepublish": "pnpm build",
|
|
80
73
|
"lint": "biome check --write --error-on-warnings",
|
|
81
|
-
"test": "pnpm lint && vitest run --coverage",
|
|
82
|
-
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
|
|
74
|
+
"test": "pnpm lint && TEST_URL=http://localhost:3737 vitest run --coverage",
|
|
75
|
+
"test:ci": "biome check --error-on-warnings && TEST_URL=http://localhost:3737 vitest run --coverage",
|
|
83
76
|
"clean": "rimraf ./dist ./coverage ./node_modules"
|
|
84
77
|
}
|
|
85
78
|
}
|