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.10 to 0.4.11

8

index.js

@@ -148,4 +148,4 @@ 'use strict';

serverResponse.once('close', () => {
body.destroy();
resolve();
body.destroy();
});

@@ -259,5 +259,5 @@ body.pipe(serverResponse);

if (isRequestInit(initOrCtx)) {
return handleRequestWithWaitUntil(new RequestCtor(input.toString(), initOrCtx), ...restOfCtx);
return handleRequestWithWaitUntil(new RequestCtor(input, initOrCtx), ...restOfCtx);
}
return handleRequestWithWaitUntil(new RequestCtor(input.toString()), ...maybeCtx);
return handleRequestWithWaitUntil(new RequestCtor(input), ...maybeCtx);
}

@@ -276,3 +276,3 @@ return handleRequestWithWaitUntil(input, ...maybeCtx);

if (isServerResponse(initOrCtxOrRes)) {
throw new Error('Got Node response without Node request');
throw new TypeError('Got Node response without Node request');
}

@@ -279,0 +279,0 @@ // Is input a container object over Request?

{
"name": "@whatwg-node/server",
"version": "0.4.10",
"version": "0.4.11",
"description": "Fetch API compliant HTTP Server adapter",

@@ -10,3 +10,3 @@ "sideEffects": false,

"dependencies": {
"@whatwg-node/fetch": "0.4.6",
"@whatwg-node/fetch": "0.4.7",
"tslib": "^2.3.1"

@@ -13,0 +13,0 @@ },

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