@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/package.json CHANGED
@@ -1,69 +1,92 @@
1
1
  {
2
2
  "name": "@d1g1tal/transportr",
3
- "version": "1.4.4",
4
- "description": "JavaScript wrapper for the Fetch API",
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
- ".": "./src/transportr.js",
8
- "./dist/*": "./dist/*"
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
- "/src"
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/chrysalis": "^2.2.1",
34
- "@d1g1tal/media-type": "^5.0.0",
35
- "@d1g1tal/subscribr": "^3.0.3"
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
- "@xmldom/xmldom": "^0.8.10",
39
- "esbuild": "^0.19.9",
40
- "esbuild-library": "^1.0.5",
41
- "eslint": "^8.56.0",
42
- "eslint-plugin-compat": "^4.2.0",
43
- "eslint-plugin-jsdoc": "^46.9.1",
44
- "jest": "^29.7.0"
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
- "defaults",
48
- "not ios_saf < 15",
49
- "not op_mini all"
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": "node ./esbuild.js",
65
- "lint": "eslint --ext .js --ignore-path .gitignore .",
66
- "test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
67
- "check": "npx package-check"
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
  }