Skip to content

Commit 27fa612

Browse files
committed
new version; also for now only ban publishing on high security vulnerabilities
1 parent 0a3281a commit 27fa612

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

lib/test/websocket/websocket-proxy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe("Example of proxying over HTTP and WebSockets", () => {
7373
client.close();
7474
});
7575

76-
const LATENCY = 1000;
76+
const LATENCY = 2000;
7777
const COUNT = 250;
7878
it(`Serial test ${COUNT} times proxy server`, async () => {
7979
const t = Date.now();

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-proxy-3",
3-
"version": "1.22.0",
3+
"version": "1.23.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/sagemathinc/http-proxy-3.git"
@@ -56,11 +56,11 @@
5656
},
5757
"scripts": {
5858
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm exec vitest run",
59-
"test-all": "pnpm audit && TEST_EXTERNAL_REVERSE_PROXY=yes pnpm test --pool threads --poolOptions.threads.singleThread",
59+
"test-all": "pnpm audit --audit-level=high && TEST_EXTERNAL_REVERSE_PROXY=yes pnpm test --pool threads --poolOptions.threads.singleThread",
6060
"test-dual-path": "pnpm test-native && pnpm test-fetch",
6161
"test-native": "echo '🔧 Testing native HTTP code path...' && NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm exec vitest run",
6262
"test-fetch": "echo '🚀 Testing fetch code path...' && NODE_TLS_REJECT_UNAUTHORIZED=0 FORCE_FETCH_PATH=true pnpm exec vitest run",
63-
"test-versions": "bash -c '. \"$NVM_DIR/nvm.sh\" && nvm use 20 && pnpm test && nvm use 22 && pnpm test && nvm use 24 && pnpm test'",
63+
"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'",
6464
"clean": "rm -rf dist node_modules",
6565
"build": "pnpm exec tsc --build",
6666
"make": "pnpm clean && pnpm install && pnpm build && pnpm test",

pnpm-lock.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
onlyBuiltDependencies:
22
- core-js
3+
- esbuild
34

45
overrides:
56
brace-expansion@>=1.0.0 <=1.1.11: '>=1.1.12'
67
brace-expansion@>=2.0.0 <=2.0.1: '>=2.0.2'
78
form-data@>=4.0.0 <4.0.4: '>=4.0.4'
89
on-headers@<1.1.0: '>=1.1.0'
10+
vite@>=7.1.0 <=7.1.10: '>=7.1.11'
911
vite@>=7.1.0 <=7.1.4: '>=7.1.5'
1012

1113
shellEmulator: true

0 commit comments

Comments
 (0)