http-proxy-3
Version:
Modern rewrite of http-proxy
73 lines • 2.5 kB
JSON
{
"name": "http-proxy-3",
"version": "1.23.2",
"repository": {
"type": "git",
"url": "https://github.com/sagemathinc/http-proxy-3.git"
},
"description": "Modern rewrite of http-proxy",
"author": "William Stein <wstein@sagemath.com>",
"contributors": [
"Charlie Robbins <charlie.robbins@gmail.com>",
"Jimb Esser (https://github.com/Jimbly/)",
"jcrugzz <jcrugzz@gmail.com>"
],
"main": "dist/lib/index.js",
"files": [
"dist/lib/http-proxy",
"dist/lib/index.js",
"dist/lib/index.d.ts"
],
"dependencies": {
"debug": "^4.4.0",
"follow-redirects": "^1.15.9"
},
"devDependencies": {
"@types/async": "^3.2.24",
"@types/body-parser": "^1.19.6",
"@types/compression": "^1.8.1",
"@types/concat-stream": "^2.0.3",
"@types/connect": "^3.4.38",
"@types/debug": "^4.1.12",
"@types/express": "^5.0.3",
"@types/follow-redirects": "^1.14.4",
"@types/node": "^22.15.12",
"@types/node-fetch": "^2.6.12",
"@types/ws": "^8.18.1",
"async": "^3.2.6",
"auto-changelog": "^2.5.0",
"better-sse": "^0.14.1",
"body-parser": "^2.2.0",
"compression": "^1.8.0",
"concat-stream": "^2.0.0",
"connect": "^3.7.0",
"eventsource": "^3.0.7",
"express": "^5.1.0",
"get-port": "^7.1.0",
"https-proxy-agent": "^7.0.6",
"node-fetch": "^2.7.0",
"semver": "^7.7.1",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"typescript": "^5.8.3",
"undici": "^7.16.0",
"vitest": "^4.0.9",
"ws": "^8.18.2"
},
"engines": {
"node": ">=18"
},
"license": "MIT",
"scripts": {
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm exec vitest run",
"test-all": "pnpm audit --audit-level=high && TEST_EXTERNAL_REVERSE_PROXY=yes pnpm test --pool threads",
"test-dual-path": "pnpm test-native && pnpm test-fetch",
"test-native": "echo '🔧 Testing native HTTP code path...' && NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm exec vitest run",
"test-fetch": "echo '🚀 Testing fetch code path...' && NODE_TLS_REJECT_UNAUTHORIZED=0 FORCE_FETCH_PATH=true pnpm exec vitest run",
"test-versions": "bash -c '. \"$NVM_DIR/nvm.sh\" && nvm use 20 && pnpm test && nvm use 22 && pnpm test && nvm use 24 && pnpm test && nvm use 25 && pnpm test'",
"clean": "rm -rf dist node_modules",
"build": "pnpm exec tsc --build",
"make": "pnpm clean && pnpm install && pnpm build && pnpm test",
"tsc": "pnpm exec tsc --watch --pretty --preserveWatchOutput"
}
}