srvx 0.9.6 → 0.9.7
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.
- package/dist/adapters/node.mjs +2 -1
- package/package.json +11 -11
package/dist/adapters/node.mjs
CHANGED
|
@@ -169,7 +169,8 @@ const NodeRequest = /* @__PURE__ */ (() => {
|
|
|
169
169
|
const PatchedRequest = class Request$1 extends NativeRequest {
|
|
170
170
|
static _srvx = true;
|
|
171
171
|
static [Symbol.hasInstance](instance) {
|
|
172
|
-
return instance instanceof NativeRequest;
|
|
172
|
+
if (this === PatchedRequest) return instance instanceof NativeRequest;
|
|
173
|
+
else return Object.prototype.isPrototypeOf.call(this.prototype, instance);
|
|
173
174
|
}
|
|
174
175
|
constructor(input, options) {
|
|
175
176
|
if (typeof input === "object" && "_request" in input) input = input._request;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "srvx",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "Universal Server API based on web platform standards. Works seamlessly with Deno, Bun and Node.js.",
|
|
5
5
|
"homepage": "https://srvx.h3.dev",
|
|
6
6
|
"repository": "h3js/srvx",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
"srvx": "link:."
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@cloudflare/workers-types": "^4.
|
|
61
|
+
"@cloudflare/workers-types": "^4.20251128.0",
|
|
62
62
|
"@hono/node-server": "^1.19.6",
|
|
63
63
|
"@mitata/counters": "^0.0.8",
|
|
64
64
|
"@mjackson/node-fetch-server": "^0.7.0",
|
|
65
|
-
"@types/bun": "^1.3.
|
|
65
|
+
"@types/bun": "^1.3.3",
|
|
66
66
|
"@types/deno": "^2.5.0",
|
|
67
67
|
"@types/express": "^5.0.5",
|
|
68
|
-
"@types/node": "^24.10.
|
|
68
|
+
"@types/node": "^24.10.1",
|
|
69
69
|
"@types/node-forge": "^1.3.14",
|
|
70
70
|
"@types/serviceworker": "^0.0.167",
|
|
71
|
-
"@vitest/coverage-v8": "^4.0.
|
|
71
|
+
"@vitest/coverage-v8": "^4.0.14",
|
|
72
72
|
"@whatwg-node/server": "^0.10.17",
|
|
73
73
|
"automd": "^0.4.2",
|
|
74
74
|
"changelogen": "^0.6.2",
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
"get-port-please": "^3.2.0",
|
|
81
81
|
"mdbox": "^0.1.1",
|
|
82
82
|
"mitata": "^1.0.34",
|
|
83
|
-
"node-forge": "^1.3.
|
|
84
|
-
"obuild": "^0.4.
|
|
85
|
-
"prettier": "^3.
|
|
86
|
-
"srvx-release": "npm:srvx
|
|
83
|
+
"node-forge": "^1.3.2",
|
|
84
|
+
"obuild": "^0.4.3",
|
|
85
|
+
"prettier": "^3.7.1",
|
|
86
|
+
"srvx-release": "npm:srvx@^0.9.6",
|
|
87
87
|
"tslib": "^2.8.1",
|
|
88
88
|
"typescript": "^5.9.3",
|
|
89
89
|
"undici": "^7.16.0",
|
|
90
|
-
"vitest": "
|
|
90
|
+
"vitest": "4.0.9"
|
|
91
91
|
},
|
|
92
|
-
"packageManager": "pnpm@10.
|
|
92
|
+
"packageManager": "pnpm@10.24.0",
|
|
93
93
|
"engines": {
|
|
94
94
|
"node": ">=20.16.0"
|
|
95
95
|
}
|