Socket
Socket
Sign inDemoInstall

edge-runtime

Package Overview
Dependencies
12
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.9 to 2.5.10

13

dist/server/run-server.js

@@ -10,2 +10,3 @@ "use strict";

const http_1 = __importDefault(require("http"));
const util_1 = require("util");
/**

@@ -22,14 +23,6 @@ * This helper will create a handler based on the given options and then

const url = await (0, async_listen_1.default)(server, options);
const closeServer = (0, util_1.promisify)(server.close.bind(server));
return {
url: String(url),
close: async () => {
await waitUntil();
await new Promise((resolve, reject) => {
return server.close((err) => {
if (err)
reject(err);
resolve();
});
});
},
close: () => Promise.all([waitUntil(), closeServer()]).then(() => void 0),
waitUntil,

@@ -36,0 +29,0 @@ };

@@ -5,3 +5,3 @@ {

"homepage": "https://edge-runtime.vercel.app/packages/runtime",
"version": "2.5.9",
"version": "2.5.10",
"main": "dist/index.js",

@@ -8,0 +8,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc