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
735
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.6-alpha-20220924032523-08130c1 to 0.4.6-alpha-20220924032551-5533059

4

index.js

@@ -127,3 +127,3 @@ 'use strict';

// Check all used functions are defined
return stream != null && stream.setHeader != null && stream.end != null && stream.once != null && stream.write != null;
return (stream != null && stream.setHeader != null && stream.end != null && stream.once != null && stream.write != null);
}

@@ -236,3 +236,3 @@ function isFetchEvent(event) {

var _a;
const serverContext = ctx.length > 1 ? Object.assign({}, ...ctx) : (ctx[0] || {});
const serverContext = ctx.length > 1 ? Object.assign({}, ...ctx) : ctx[0] || {};
if ('process' in globalThis && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a['bun']) != null) {

@@ -239,0 +239,0 @@ // This is required for bun

{
"name": "@whatwg-node/server",
"version": "0.4.6-alpha-20220924032523-08130c1",
"version": "0.4.6-alpha-20220924032551-5533059",
"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