Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/server

Package Overview
Dependencies
Maintainers
1
Versions
736
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/server - npm Package Compare versions

Comparing version 0.4.16 to 0.4.17-alpha-20221122092534-3f9764b

types.d.ts

2

index.d.ts
/// <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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc