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
713
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.0 to 0.4.1

29

index.js

@@ -269,19 +269,24 @@ 'use strict';

get: (_, prop) => {
if (adapterObj[prop]) {
if (adapterObj[prop].bind) {
return adapterObj[prop].bind(adapterObj);
const adapterProp = adapterObj[prop];
if (adapterProp) {
if (adapterProp.bind) {
return adapterProp.bind(adapterObj);
}
return adapterObj[prop];
return adapterProp;
}
if (genericRequestHandler[prop]) {
if (genericRequestHandler[prop].bind) {
return genericRequestHandler[prop].bind(genericRequestHandler);
const genericRequestHandlerProp = genericRequestHandler[prop];
if (genericRequestHandlerProp) {
if (genericRequestHandlerProp.bind) {
return genericRequestHandlerProp.bind(genericRequestHandler);
}
return genericRequestHandler[prop];
return genericRequestHandlerProp;
}
if (prop in serverAdapterBaseObject) {
if (serverAdapterBaseObject[prop].bind) {
return serverAdapterBaseObject[prop].bind(serverAdapterBaseObject);
if (serverAdapterBaseObject) {
const serverAdapterBaseObjectProp = serverAdapterBaseObject[prop];
if (serverAdapterBaseObjectProp) {
if (serverAdapterBaseObjectProp.bind) {
return serverAdapterBaseObjectProp.bind(serverAdapterBaseObject);
}
return serverAdapterBaseObjectProp;
}
return serverAdapterBaseObject[prop];
}

@@ -288,0 +293,0 @@ },

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

@@ -5,0 +5,0 @@ "sideEffects": false,

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