chore: bump basic-auth from 2.0.1 to 3.0.0 #346
check.yaml
on: pull_request
Lint
26s
E2E tests (Node.js 24)
1m 21s
Unit tests (Bun)
24s
E2E tests (Bun, compatible)
28s
Matrix: unit
Annotations
11 errors and 8 warnings
|
Lint
Process completed with exit code 2.
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy with username:password -> Upstream proxy with username only -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy with username:password -> Upstream proxy public -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Target + custom responses) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Upstream proxy with username:password -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Upstream proxy with username only -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Upstream proxy public -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> HTTP Main proxy -> Target + custom responses) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTPS -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
[e2e] test/e2e/server.ts > Server (HTTP -> Target) > handles basic authentication:
test/e2e/server.ts#L909
AssertionError: expected '<!DOCTYPE html>\n<html lang="en">\n<h…' to be 'Unauthorized' // Object.is equality
- Expected
+ Received
- Unauthorized
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Error</title>
+ </head>
+ <body>
+ <pre>TypeError: (0 , __vite_ssr_import_2__.default) is not a function<br> at TargetServer.getBasicAuth (/home/runner/work/proxy-chain/proxy-chain/test/utils/target_server.ts:120:22)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:149:13)<br> at Route.dispatch (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/route.js:119:3)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:284:15<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at read (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js:53:5)<br> at textParser (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js:34:5)<br> at Layer.handle [as handle_request] (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:328:13)<br> at /home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:286:9<br> at router.process_params (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:346:12)<br> at next (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/router/index.js:280:10)<br> at expressInit (/home/runner/work/proxy-chain/proxy-chain/node_modules/.pnpm/express@4.22.2/node_modules/express/lib/middleware/init.js:40:5)</pre>
+ </body>
+ </html>
+
❯ test/e2e/server.ts:909:43
|
|
Unit tests (Node.js 24)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit tests (Node.js 22)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit tests (Node.js 20)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit tests (Bun)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit tests (Node.js 26)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
E2E tests (Bun, compatible)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
E2E tests (Node.js 24)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|