proxy-chain 3.0.1-beta.7 → 3.0.1-beta.8

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.
Files changed (1) hide show
  1. package/package.json +10 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proxy-chain",
3
- "version": "3.0.1-beta.7",
3
+ "version": "3.0.1-beta.8",
4
4
  "description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -51,7 +51,13 @@
51
51
  "devDependencies": {
52
52
  "@apify/eslint-config": "^1.0.0",
53
53
  "@apify/tsconfig": "^0.1.0",
54
+ "@types/basic-auth": "^1.1.8",
55
+ "@types/body-parser": "^1.19.6",
56
+ "@types/express": "^4.17.25",
54
57
  "@types/node": "^20.19.29",
58
+ "@types/request": "^2.48.13",
59
+ "@types/underscore": "^1.13.0",
60
+ "@types/ws": "^8.18.1",
55
61
  "@vitest/coverage-v8": "^4.1.11",
56
62
  "basic-auth": "^2.0.1",
57
63
  "basic-auth-parser": "^0.0.2",
@@ -83,13 +89,13 @@
83
89
  "build:watch": "tsc -w",
84
90
  "build": "tsc",
85
91
  "clean": "rimraf dist",
86
- "local-proxy": "tsx test/utils/run_locally.js",
92
+ "local-proxy": "tsx test/utils/run_locally.ts",
87
93
  "test": "vitest run --coverage",
88
94
  "test:unit": "vitest run --project unit",
89
95
  "test:e2e": "vitest run --project e2e --coverage",
90
96
  "test:bun": "bun --bun run vitest run --project unit",
91
97
  "test:bun:e2e:full": "cross-env NODE_OPTIONS=--insecure-http-parser bun --bun run vitest run --project e2e",
92
- "test:bun:e2e:compatible": "pnpm run test:bun:e2e:full test/e2e/tcp_tunnel.js -t 'throws error'",
98
+ "test:bun:e2e:compatible": "pnpm run test:bun:e2e:full test/e2e/tcp_tunnel.ts -t 'throws error'",
93
99
  "test:bun:all": "pnpm run test:bun && pnpm run test:bun:e2e:full",
94
100
  "test:bun:supported": "pnpm run test:bun && pnpm run test:bun:e2e:compatible",
95
101
  "docker:build": "docker build --tag proxy-chain-tests --file test/Dockerfile .",
@@ -101,6 +107,7 @@
101
107
  "test:docker:bun:e2e:full": "pnpm run docker:build && pnpm run docker:run -- test:bun:e2e:full",
102
108
  "test:docker:bun:full": "pnpm run docker:build && pnpm run docker:run -- test:bun:all",
103
109
  "test:docker:all": "bash scripts/test-docker-all.sh",
110
+ "type-check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
104
111
  "lint": "eslint .",
105
112
  "lint:fix": "eslint . --fix"
106
113
  }