|
1 | 1 | {
|
2 | 2 | "name": "@web-std/fetch",
|
3 |
| - "version": "3.0.3", |
4 |
| - "description": "Web compatible Fetch API implementation for node.js", |
5 |
| - "main": "./dist/index.cjs", |
6 |
| - "module": "./src/index.js", |
7 |
| - "types": "./dist/src/index.d.ts", |
| 3 | + "version": "4.0.0", |
| 4 | + "description": "Web API compatible fetch implementation", |
| 5 | + "main": "./dist/lib.node.cjs", |
| 6 | + "module": "./src/lib.node.js", |
| 7 | + "types": "./dist/src/lib.node.d.ts", |
8 | 8 | "sideEffects": false,
|
9 | 9 | "type": "module",
|
10 | 10 | "exports": {
|
11 | 11 | ".": {
|
12 |
| - "import": "./src/index.js", |
13 |
| - "require": "./dist/index.cjs", |
14 |
| - "types": "./dist/src/index.d.ts" |
| 12 | + "browser": "./src/lib.js", |
| 13 | + "require": "./dist/lib.node.cjs", |
| 14 | + "import": "./src/lib.node.js", |
| 15 | + "types": "./dist/src/lib.node.d.ts" |
15 | 16 | },
|
16 | 17 | "./package.json": "./package.json",
|
17 | 18 | "./body": {
|
|
72 | 73 | },
|
73 | 74 | "homepage": "https://github.com/web-std/io",
|
74 | 75 | "devDependencies": {
|
| 76 | + "@types/chai": "^4.3.0", |
| 77 | + "@types/mocha": "^9.1.0", |
| 78 | + "@types/chai-as-promised": "^7.1.5", |
| 79 | + "@types/chai-string": "^1.4.2", |
75 | 80 | "abort-controller": "^3.0.0",
|
76 | 81 | "abortcontroller-polyfill": "^1.7.1",
|
77 | 82 | "busboy": "^0.3.1",
|
|
0 commit comments