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.9.63-alpha-20241212154840-0a0effe808a6614e0a3afd853126a38641485756 to 0.9.63-alpha-20241212160430-140b66f028923f44368e67598b6b66f47f690454

2

cjs/createServerAdapter.js

@@ -201,3 +201,3 @@ "use strict";

res.onAborted = function (cb) {
ctrl.signal.addEventListener('abort', cb);
ctrl.signal.addEventListener('abort', cb, { once: true });
};

@@ -204,0 +204,0 @@ const request = (0, uwebsockets_js_1.getRequestFromUWSRequest)({

@@ -440,3 +440,3 @@ "use strict";

deferred$.reject(abortSignal.reason);
});
}, { once: true });
response$

@@ -443,0 +443,0 @@ .then(function fetchSuccessHandler(res) {

@@ -48,3 +48,3 @@ "use strict";

stop();
});
}, { once: true });
let readableStream;

@@ -216,3 +216,3 @@ getReadableStream = () => {

}
});
}, { once: true });
return fetchResponse.body

@@ -219,0 +219,0 @@ .pipeTo(createWritableFromUWS(uwsResponse, fetchAPI), {

@@ -197,3 +197,3 @@ import { AsyncDisposableStack, DisposableSymbols } from '@whatwg-node/disposablestack';

res.onAborted = function (cb) {
ctrl.signal.addEventListener('abort', cb);
ctrl.signal.addEventListener('abort', cb, { once: true });
};

@@ -200,0 +200,0 @@ const request = getRequestFromUWSRequest({

@@ -418,3 +418,3 @@ export function isAsyncIterable(body) {

deferred$.reject(abortSignal.reason);
});
}, { once: true });
response$

@@ -421,0 +421,0 @@ .then(function fetchSuccessHandler(res) {

@@ -41,3 +41,3 @@ import { isPromise } from './utils.js';

stop();
});
}, { once: true });
let readableStream;

@@ -209,3 +209,3 @@ getReadableStream = () => {

}
});
}, { once: true });
return fetchResponse.body

@@ -212,0 +212,0 @@ .pipeTo(createWritableFromUWS(uwsResponse, fetchAPI), {

{
"name": "@whatwg-node/server",
"version": "0.9.63-alpha-20241212154840-0a0effe808a6614e0a3afd853126a38641485756",
"version": "0.9.63-alpha-20241212160430-140b66f028923f44368e67598b6b66f47f690454",
"description": "Fetch API compliant HTTP Server adapter",

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

"@whatwg-node/disposablestack": "^0.0.5",
"@whatwg-node/fetch": "0.11.0-alpha-20241212154840-0a0effe808a6614e0a3afd853126a38641485756",
"@whatwg-node/fetch": "0.11.0-alpha-20241212160430-140b66f028923f44368e67598b6b66f47f690454",
"tslib": "^2.6.3"

@@ -11,0 +11,0 @@ },

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