@d1g1tal/transportr 1.4.4 → 2.0.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.
- package/README.md +329 -76
- package/dist/transportr.d.ts +1799 -0
- package/dist/transportr.js +2753 -1503
- package/dist/transportr.js.map +7 -0
- package/package.json +72 -49
- package/dist/iife/transportr.js +0 -2656
- package/dist/iife/transportr.min.js +0 -3
- package/dist/iife/transportr.min.js.map +0 -7
- package/dist/transportr.min.js +0 -3
- package/dist/transportr.min.js.map +0 -7
- package/src/abort-signal.js +0 -124
- package/src/constants.js +0 -61
- package/src/http-error.js +0 -75
- package/src/http-media-type.js +0 -162
- package/src/http-request-headers.js +0 -312
- package/src/http-request-methods.js +0 -277
- package/src/http-response-headers.js +0 -350
- package/src/parameter-map.js +0 -221
- package/src/response-status.js +0 -62
- package/src/transportr.js +0 -838
package/package.json
CHANGED
|
@@ -1,69 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d1g1tal/transportr",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"author": "D1g1talEntr0py",
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"description": "JavaScript wrapper for the Fetch API and more...",
|
|
7
|
+
"homepage": "https://github.com/D1g1talEntr0py/transportr#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/D1g1talEntr0py/transportr.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/D1g1talEntr0py/transportr/issues"
|
|
14
|
+
},
|
|
15
|
+
"maintainers": [
|
|
16
|
+
{
|
|
17
|
+
"name": "D1g1talEntr0py",
|
|
18
|
+
"email": "jason.dimeo@gmail.com"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22.0.0"
|
|
23
|
+
},
|
|
5
24
|
"type": "module",
|
|
6
25
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
-
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/transportr.d.ts",
|
|
28
|
+
"import": "./dist/transportr.js"
|
|
29
|
+
}
|
|
9
30
|
},
|
|
10
31
|
"publishConfig": {
|
|
11
32
|
"access": "public"
|
|
12
33
|
},
|
|
13
34
|
"files": [
|
|
14
35
|
"/dist",
|
|
15
|
-
"
|
|
36
|
+
"README.md",
|
|
37
|
+
"LICENSE"
|
|
16
38
|
],
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/D1g1talEntr0py/transportr.git"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"Fetch",
|
|
23
|
-
"JavaScript"
|
|
24
|
-
],
|
|
25
|
-
"author": "Jason DiMeo",
|
|
26
|
-
"license": "ISC",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/D1g1talEntr0py/transportr/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/D1g1talEntr0py/transportr#readme",
|
|
31
|
-
"packageManager": "pnpm@8.13.0+sha256.fbcf256db6d06bc189e31df34b3ed61220f3ba9f78a2ca8fe7be0fce4670dbd3",
|
|
32
39
|
"dependencies": {
|
|
33
|
-
"@d1g1tal/
|
|
34
|
-
"@d1g1tal/
|
|
35
|
-
"
|
|
40
|
+
"@d1g1tal/media-type": "^6.0.4",
|
|
41
|
+
"@d1g1tal/subscribr": "^4.1.8",
|
|
42
|
+
"dompurify": "^3.3.3",
|
|
43
|
+
"jsdom": "^28.1.0"
|
|
36
44
|
},
|
|
37
45
|
"devDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"eslint-plugin
|
|
44
|
-
"
|
|
46
|
+
"@d1g1tal/tsbuild": "^1.6.0",
|
|
47
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
48
|
+
"@eslint/js": "^10.0.1",
|
|
49
|
+
"@types/jsdom": "^28.0.0",
|
|
50
|
+
"@types/node": "^25.5.0",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
52
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
53
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
54
|
+
"@vitest/ui": "^4.1.0",
|
|
55
|
+
"@xmldom/xmldom": "^0.9.8",
|
|
56
|
+
"eslint": "^10.0.3",
|
|
57
|
+
"eslint-plugin-compat": "^7.0.1",
|
|
58
|
+
"eslint-plugin-jsdoc": "^62.8.0",
|
|
59
|
+
"globals": "^17.4.0",
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"typescript-eslint": "^8.57.0",
|
|
62
|
+
"vitest": "^4.1.0"
|
|
45
63
|
},
|
|
46
64
|
"browserslist": [
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"not
|
|
65
|
+
">0.3% and not dead",
|
|
66
|
+
"defaults and fully supports es6-module",
|
|
67
|
+
"not iOS <= 16.1",
|
|
68
|
+
"node >= 19.0.0"
|
|
69
|
+
],
|
|
70
|
+
"keywords": [
|
|
71
|
+
"Fetch",
|
|
72
|
+
"HTTP",
|
|
73
|
+
"Request",
|
|
74
|
+
"Response",
|
|
75
|
+
"AbortController",
|
|
76
|
+
"Timeout",
|
|
77
|
+
"EventEmitter",
|
|
78
|
+
"Content-Type",
|
|
79
|
+
"Type-Safe",
|
|
80
|
+
"TypeScript"
|
|
50
81
|
],
|
|
51
|
-
"jest": {
|
|
52
|
-
"verbose": true,
|
|
53
|
-
"clearMocks": true,
|
|
54
|
-
"collectCoverage": true,
|
|
55
|
-
"coverageDirectory": "./tests/coverage",
|
|
56
|
-
"collectCoverageFrom": [
|
|
57
|
-
"src/**/*.js"
|
|
58
|
-
],
|
|
59
|
-
"coveragePathIgnorePatterns": [
|
|
60
|
-
"/node_modules/"
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
82
|
"scripts": {
|
|
64
|
-
"build": "
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
83
|
+
"build": "tsbuild",
|
|
84
|
+
"build:watch": "tsbuild --watch",
|
|
85
|
+
"type-check": "tsbuild --noEmit",
|
|
86
|
+
"lint": "eslint ./src",
|
|
87
|
+
"test": "vitest run",
|
|
88
|
+
"test:watch": "vitest",
|
|
89
|
+
"test:ui": "vitest --ui",
|
|
90
|
+
"test:coverage": "vitest run --coverage"
|
|
68
91
|
}
|
|
69
92
|
}
|