1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85{
"name": "fetch-nodeshim",
"version": "0.3.0",
"description": "A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)",
"author": "Phil Pluckthun <phil@kitten.sh>",
"source": "./src/index.ts",
"main": "./dist/minifetch",
"module": "./dist/minifetch.mjs",
"types": "./dist/minifetch.d.ts",
"files": [
"LICENSE.md",
"README.md",
"CHANGELOG.md",
"dist/"
],
"scripts": {
"test": "vitest test",
"test:run": "vitest test --run",
"build": "rollup -c ./scripts/rollup.config.mjs",
"postbuild": "tsc --noEmit ./dist/minifetch.d.ts",
"check": "tsc --noEmit",
"check:node18": "tsc --noEmit -p ./tsconfig-node18.json",
"check:node20": "tsc --noEmit -p ./tsconfig-node20.json",
"check:all": "run-s check check:node18 check:node20",
"clean": "rimraf dist node_modules/.cache",
"prepublishOnly": "run-s clean build check:all test:run",
"prepare": "node ./scripts/prepare.js || true",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"changeset:publish": "changeset publish"
},
"exports": {
".": {
"types": "./dist/minifetch.d.ts",
"import": "./dist/minifetch.mjs",
"require": "./dist/minifetch.js",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts,json,md}": "prettier --write"
},
"keywords": [],
"license": "MIT",
"repository": "https://github.com/kitten/fetch-nodeshim",
"bugs": {
"url": "https://github.com/kitten/fetch-nodeshim/issues"
},
"devDependencies": {
"@babel/plugin-transform-block-scoping": "^7.25.9",
"@babel/plugin-transform-typescript": "^7.26.7",
"@changesets/cli": "^2.27.1",
"@changesets/get-github-info": "^0.6.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@types-internal/node-18": "npm:@types/node@^18.19.0",
"@types-internal/node-20": "npm:@types/node@^20.17.0",
"@types/node": "^22.12.0",
"busboy": "^0.3.1",
"dotenv": "^16.4.7",
"form-data": "^4.0.1",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.32.1",
"rollup-plugin-cjs-check": "^1.0.3",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.7.3",
"undici-types": "^6.20.0",
"vitest": "^3.0.4"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}