Socket
Socket
Sign inDemoInstall

edge-runtime

Package Overview
Dependencies
11
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

6

dist/server/create-handler.js

@@ -10,4 +10,4 @@ "use strict";

const pretty_ms_1 = __importDefault(require("pretty-ms"));
const http_status_1 = __importDefault(require("http-status"));
const time_span_1 = __importDefault(require("time-span"));
const http_1 = require("http");
/**

@@ -52,3 +52,3 @@ * Creates an HHTP handler that can be used to create a Node.js HTTP server.

.match(/[a-zA-Z]+|[0-9]+/g)) === null || _a === void 0 ? void 0 : _a.join(' ')}`;
const code = `${res.statusCode} ${http_status_1.default[res.statusCode]}`;
const code = `${res.statusCode} ${http_1.STATUS_CODES[res.statusCode]}`;
(_b = options.logger) === null || _b === void 0 ? void 0 : _b.debug(`${subject} → ${code} in ${time}`);

@@ -58,3 +58,3 @@ res.end();

finally {
if (!res.finished) {
if (!res.writableEnded) {
res.end();

@@ -61,0 +61,0 @@ }

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

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

@@ -31,3 +31,2 @@ "bin": {

"exit-hook": "2.2.1",
"http-status": "1.5.3",
"mri": "1.2.0",

@@ -34,0 +33,0 @@ "picocolors": "1.0.0",

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