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.9.55-alpha-20241113153744-677b7cee4a8b32771faeb05388fe94aa2c86a4a3 to 0.9.55-alpha-20241114090114-40c4d0452f457fce9ab979f871ee009d0166b421

15

cjs/utils.js

@@ -448,4 +448,17 @@ "use strict";

}
originalCtx = {};
return {
waitUntil(promise) {
waitUntilPromises.push(promise.catch(err => console.error(err)));
},
};
}
if (Object.getPrototypeOf(originalCtx) === null ||
Object.getPrototypeOf(originalCtx).toString() === '[object Object]') {
Object.defineProperty(originalCtx, 'waitUntil', {
value(promise) {
waitUntilPromises?.push(promise.catch(err => console.error(err)));
},
});
return originalCtx;
}
const extraPropsByReceiver = new WeakMap();

@@ -452,0 +465,0 @@ const deletedPropsByReceiver = new WeakMap();

@@ -426,4 +426,17 @@ export function isAsyncIterable(body) {

}
originalCtx = {};
return {
waitUntil(promise) {
waitUntilPromises.push(promise.catch(err => console.error(err)));
},
};
}
if (Object.getPrototypeOf(originalCtx) === null ||
Object.getPrototypeOf(originalCtx).toString() === '[object Object]') {
Object.defineProperty(originalCtx, 'waitUntil', {
value(promise) {
waitUntilPromises?.push(promise.catch(err => console.error(err)));
},
});
return originalCtx;
}
const extraPropsByReceiver = new WeakMap();

@@ -430,0 +443,0 @@ const deletedPropsByReceiver = new WeakMap();

2

package.json
{
"name": "@whatwg-node/server",
"version": "0.9.55-alpha-20241113153744-677b7cee4a8b32771faeb05388fe94aa2c86a4a3",
"version": "0.9.55-alpha-20241114090114-40c4d0452f457fce9ab979f871ee009d0166b421",
"description": "Fetch API compliant HTTP Server adapter",

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

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