@whatwg-node/server 0.0.5 → 0.0.6
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -132,6 +132,7 @@ async function sendNodeResponse({ headers, status, statusText, body }, serverRes
|
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
/// <reference lib="webworker" />
|
|
135
136
|
function createServerAdapter({ Request: RequestCtor = fetch.Request, handleRequest, baseObject, }) {
|
|
136
137
|
function fetchFn(...[input, init]) {
|
|
137
138
|
let request;
|
package/index.mjs
CHANGED
|
@@ -128,6 +128,7 @@ async function sendNodeResponse({ headers, status, statusText, body }, serverRes
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
/// <reference lib="webworker" />
|
|
131
132
|
function createServerAdapter({ Request: RequestCtor = Request, handleRequest, baseObject, }) {
|
|
132
133
|
function fetchFn(...[input, init]) {
|
|
133
134
|
let request;
|