@whatwg-node/server
Advanced tools
Comparing version 0.4.6-alpha-20220924032523-08130c1 to 0.4.6-alpha-20220924032551-5533059
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package