@pureq/pureq 1.1.9 → 1.1.10
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/package.json +27 -27
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pureq/pureq",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "Functional, immutable, and type-safe HTTP client layer with middleware composition.",
|
|
5
|
-
"main": "./dist/
|
|
6
|
-
"types": "./dist/
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"types": "./dist/
|
|
10
|
-
"import": "./dist/
|
|
11
|
-
"default": "./dist/
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./node": {
|
|
14
|
-
"types": "./dist/
|
|
15
|
-
"import": "./dist/
|
|
16
|
-
"default": "./dist/
|
|
14
|
+
"types": "./dist/node/index.d.ts",
|
|
15
|
+
"import": "./dist/node/index.js",
|
|
16
|
+
"default": "./dist/node/index.js"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
@@ -22,6 +22,23 @@
|
|
|
22
22
|
"directories": {
|
|
23
23
|
"doc": "docs"
|
|
24
24
|
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc",
|
|
27
|
+
"typecheck": "tsc --noEmit",
|
|
28
|
+
"benchmark": "tsx ./scripts/benchmark.ts",
|
|
29
|
+
"test:browser": "vitest run tests/browser-runtime.smoke.test.ts --environment jsdom",
|
|
30
|
+
"test:edge": "esbuild scripts/edge-smoke-entry.ts --bundle --format=iife --platform=browser --outfile=.tmp/edge-smoke.bundle.js && node ./scripts/run-edge-smoke.mjs",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"test:unit": "vitest run tests --exclude tests/*.integration.test.ts --exclude tests/*.contract.test.ts --exclude tests/*.stress.test.ts --exclude tests/traffic-load.test.ts --exclude tests/resilience-shock.test.ts --exclude tests/chaos-heavy.test.ts --exclude tests/invariant-fuzz.test.ts",
|
|
34
|
+
"test:integration": "vitest run tests/client.integration.test.ts",
|
|
35
|
+
"test:contract": "vitest run tests/public-api.contract.test.ts",
|
|
36
|
+
"test:stress": "vitest run tests/retry.stress.test.ts",
|
|
37
|
+
"test:heavy": "vitest run tests/traffic-load.test.ts tests/resilience-shock.test.ts tests/retry.stress.test.ts tests/chaos-heavy.test.ts tests/invariant-fuzz.test.ts",
|
|
38
|
+
"test:nightly": "npm run test:heavy",
|
|
39
|
+
"test:ci": "npm run test:unit && npm run test:integration && npm run test:contract && npm run test:stress && npm run typecheck",
|
|
40
|
+
"test:ci:full": "npm run test:ci && npm run test:heavy"
|
|
41
|
+
},
|
|
25
42
|
"keywords": [
|
|
26
43
|
"http",
|
|
27
44
|
"fetch",
|
|
@@ -51,22 +68,5 @@
|
|
|
51
68
|
"tsx": "^4.20.6",
|
|
52
69
|
"typescript": "^6.0.2",
|
|
53
70
|
"vitest": "^3.2.4"
|
|
54
|
-
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"build": "tsc",
|
|
57
|
-
"typecheck": "tsc --noEmit",
|
|
58
|
-
"benchmark": "tsx ./scripts/benchmark.ts",
|
|
59
|
-
"test:browser": "vitest run tests/browser-runtime.smoke.test.ts --environment jsdom",
|
|
60
|
-
"test:edge": "esbuild scripts/edge-smoke-entry.ts --bundle --format=iife --platform=browser --outfile=.tmp/edge-smoke.bundle.js && node ./scripts/run-edge-smoke.mjs",
|
|
61
|
-
"test": "vitest run",
|
|
62
|
-
"test:watch": "vitest",
|
|
63
|
-
"test:unit": "vitest run tests --exclude tests/*.integration.test.ts --exclude tests/*.contract.test.ts --exclude tests/*.stress.test.ts --exclude tests/traffic-load.test.ts --exclude tests/resilience-shock.test.ts --exclude tests/chaos-heavy.test.ts --exclude tests/invariant-fuzz.test.ts",
|
|
64
|
-
"test:integration": "vitest run tests/client.integration.test.ts",
|
|
65
|
-
"test:contract": "vitest run tests/public-api.contract.test.ts",
|
|
66
|
-
"test:stress": "vitest run tests/retry.stress.test.ts",
|
|
67
|
-
"test:heavy": "vitest run tests/traffic-load.test.ts tests/resilience-shock.test.ts tests/retry.stress.test.ts tests/chaos-heavy.test.ts tests/invariant-fuzz.test.ts",
|
|
68
|
-
"test:nightly": "npm run test:heavy",
|
|
69
|
-
"test:ci": "npm run test:unit && npm run test:integration && npm run test:contract && npm run test:stress && npm run typecheck",
|
|
70
|
-
"test:ci:full": "npm run test:ci && npm run test:heavy"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|