@whatwg-node/server
Advanced tools
Comparing version 0.4.16 to 0.4.17-alpha-20221122092534-3f9764b
/// <reference types="node" /> | ||
/// <reference lib="webworker" /> | ||
import type { RequestListener, ServerResponse } from 'node:http'; | ||
import { NodeRequest } from './utils'; | ||
import { FetchEvent } from './types'; | ||
export interface ServerAdapterBaseObject<TServerContext, THandleRequest extends ServerAdapterRequestHandler<TServerContext> = ServerAdapterRequestHandler<TServerContext>> { | ||
@@ -6,0 +6,0 @@ /** |
@@ -181,3 +181,2 @@ 'use strict'; | ||
/// <reference lib="webworker" /> | ||
async function handleWaitUntils(waitUntilPromises) { | ||
@@ -184,0 +183,0 @@ const waitUntils = await Promise.allSettled(waitUntilPromises); |
{ | ||
"name": "@whatwg-node/server", | ||
"version": "0.4.16", | ||
"version": "0.4.17-alpha-20221122092534-3f9764b", | ||
"description": "Fetch API compliant HTTP Server adapter", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -7,2 +7,3 @@ /// <reference types="node" /> | ||
import type { Readable } from 'node:stream'; | ||
import { FetchEvent } from './types'; | ||
export interface NodeRequest { | ||
@@ -9,0 +10,0 @@ protocol?: string; |
Sorry, the diff of this file is not supported yet
41761
7
734