1{ 2 "name": "undici", 3 "version": "5.26.3", 4 "description": "An HTTP/1.1 client, written from scratch for Node.js", 5 "homepage": "https://undici.nodejs.org", 6 "bugs": { 7 "url": "https://github.com/nodejs/undici/issues" 8 }, 9 "repository": { 10 "type": "git", 11 "url": "git+https://github.com/nodejs/undici.git" 12 }, 13 "license": "MIT", 14 "contributors": [ 15 { 16 "name": "Daniele Belardi", 17 "url": "https://github.com/dnlup", 18 "author": true 19 }, 20 { 21 "name": "Ethan Arrowood", 22 "url": "https://github.com/ethan-arrowood", 23 "author": true 24 }, 25 { 26 "name": "Matteo Collina", 27 "url": "https://github.com/mcollina", 28 "author": true 29 }, 30 { 31 "name": "Matthew Aitken", 32 "url": "https://github.com/KhafraDev", 33 "author": true 34 }, 35 { 36 "name": "Robert Nagy", 37 "url": "https://github.com/ronag", 38 "author": true 39 }, 40 { 41 "name": "Szymon Marczak", 42 "url": "https://github.com/szmarczak", 43 "author": true 44 }, 45 { 46 "name": "Tomas Della Vedova", 47 "url": "https://github.com/delvedor", 48 "author": true 49 } 50 ], 51 "keywords": [ 52 "fetch", 53 "http", 54 "https", 55 "promise", 56 "request", 57 "curl", 58 "wget", 59 "xhr", 60 "whatwg" 61 ], 62 "main": "index.js", 63 "types": "index.d.ts", 64 "files": [ 65 "*.d.ts", 66 "index.js", 67 "index-fetch.js", 68 "lib", 69 "types", 70 "docs", 71 "scripts/esbuild-build.mjs" 72 ], 73 "scripts": { 74 "build:node": "node scripts/esbuild-build.mjs", 75 "prebuild:wasm": "node build/wasm.js --prebuild", 76 "build:wasm": "node build/wasm.js --docker", 77 "lint": "standard | snazzy", 78 "lint:fix": "standard --fix | snazzy", 79 "test": "node scripts/generate-pem && npm run test:tap && npm run test:node-fetch && npm run test:fetch && npm run test:cookies && npm run test:wpt && npm run test:websocket && npm run test:jest && npm run test:typescript", 80 "test:cookies": "node scripts/verifyVersion 16 || tap test/cookie/*.js", 81 "test:node-fetch": "node scripts/verifyVersion.js 16 || mocha --exit test/node-fetch", 82 "test:fetch": "node scripts/verifyVersion.js 16 || (npm run build:node && tap --expose-gc test/fetch/*.js && tap test/webidl/*.js)", 83 "test:jest": "node scripts/verifyVersion.js 14 || jest", 84 "test:tap": "tap test/*.js test/diagnostics-channel/*.js", 85 "test:tdd": "tap test/*.js test/diagnostics-channel/*.js -w", 86 "test:typescript": "node scripts/verifyVersion.js 14 || tsd && tsc --skipLibCheck test/imports/undici-import.ts", 87 "test:websocket": "node scripts/verifyVersion.js 18 || tap test/websocket/*.js", 88 "test:wpt": "node scripts/verifyVersion 18 || (node test/wpt/start-fetch.mjs && node test/wpt/start-FileAPI.mjs && node test/wpt/start-mimesniff.mjs && node test/wpt/start-xhr.mjs && node --no-warnings test/wpt/start-websockets.mjs)", 89 "coverage": "nyc --reporter=text --reporter=html npm run test", 90 "coverage:ci": "nyc --reporter=lcov npm run test", 91 "bench": "PORT=3042 concurrently -k -s first npm:bench:server npm:bench:run", 92 "bench:server": "node benchmarks/server.js", 93 "prebench:run": "node benchmarks/wait.js", 94 "bench:run": "CONNECTIONS=1 node benchmarks/benchmark.js; CONNECTIONS=50 node benchmarks/benchmark.js", 95 "serve:website": "docsify serve .", 96 "prepare": "husky install", 97 "fuzz": "jsfuzz test/fuzzing/fuzz.js corpus" 98 }, 99 "devDependencies": { 100 "@sinonjs/fake-timers": "^11.1.0", 101 "@types/node": "^18.0.3", 102 "abort-controller": "^3.0.0", 103 "atomic-sleep": "^1.0.0", 104 "chai": "^4.3.4", 105 "chai-as-promised": "^7.1.1", 106 "chai-iterator": "^3.0.2", 107 "chai-string": "^1.5.0", 108 "concurrently": "^8.0.1", 109 "cronometro": "^1.0.5", 110 "delay": "^5.0.0", 111 "dns-packet": "^5.4.0", 112 "docsify-cli": "^4.4.3", 113 "esbuild": "^0.19.4", 114 "form-data": "^4.0.0", 115 "formdata-node": "^4.3.1", 116 "https-pem": "^3.0.0", 117 "husky": "^8.0.1", 118 "import-fresh": "^3.3.0", 119 "jest": "^29.0.2", 120 "jsdom": "^22.1.0", 121 "jsfuzz": "^1.0.15", 122 "mocha": "^10.0.0", 123 "p-timeout": "^3.2.0", 124 "pre-commit": "^1.2.2", 125 "proxy": "^1.0.2", 126 "proxyquire": "^2.1.3", 127 "semver": "^7.5.4", 128 "sinon": "^16.1.0", 129 "snazzy": "^9.0.0", 130 "standard": "^17.0.0", 131 "table": "^6.8.0", 132 "tap": "^16.1.0", 133 "tsd": "^0.29.0", 134 "typescript": "^5.0.2", 135 "wait-on": "^7.0.1", 136 "ws": "^8.11.0" 137 }, 138 "engines": { 139 "node": ">=14.0" 140 }, 141 "standard": { 142 "env": [ 143 "mocha" 144 ], 145 "ignore": [ 146 "lib/llhttp/constants.js", 147 "lib/llhttp/utils.js", 148 "test/wpt/tests" 149 ] 150 }, 151 "tsd": { 152 "directory": "test/types", 153 "compilerOptions": { 154 "esModuleInterop": true, 155 "lib": [ 156 "esnext" 157 ] 158 } 159 }, 160 "jest": { 161 "testMatch": [ 162 "<rootDir>/test/jest/**" 163 ] 164 }, 165 "dependencies": { 166 "@fastify/busboy": "^2.0.0" 167 } 168} 169