@@ -40,6 +40,8 @@ import "../_chunks/_utils.mjs"; | ||
| if (nodeRes.destroyed) { | ||
| stream.destroy(); | ||
| stream.destroy?.(); | ||
| return; | ||
| } | ||
| return pipeline(stream, nodeRes).catch(() => {}); | ||
| if (typeof stream.on === "function" && typeof stream.destroy === "function") return pipeline(stream, nodeRes).catch(() => {}); | ||
| stream.pipe(nodeRes); | ||
| return new Promise((resolve) => nodeRes.on("close", resolve)); | ||
| } | ||
@@ -46,0 +48,0 @@ function streamBody(stream, nodeRes) { |
+1
-1
@@ -187,3 +187,3 @@ import { a as green, c as url, i as gray, l as yellow, n as bold, o as magenta, r as cyan, s as red } from "./_chunks/_utils.mjs"; | ||
| name: "srvx", | ||
| version: "0.11.9", | ||
| version: "0.11.10", | ||
| description: "Universal Server." | ||
@@ -190,0 +190,0 @@ }; |
+1
-1
| { | ||
| "name": "srvx", | ||
| "version": "0.11.10", | ||
| "version": "0.11.11", | ||
| "description": "Universal Server.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://srvx.h3.dev", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
115649
0.14%2555
0.08%