🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More →
Socket
Book a DemoSign in
Socket

@vercel/node

Package Overview
Dependencies
Maintainers
3
Versions
432
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/node - npm Package Compare versions

Comparing version
5.7.13
to
5.7.15
+11
-2
dist/dev-server.mjs

@@ -884,3 +884,2 @@ var __create = Object.create;

import { PassThrough } from "stream";
import { parse as parseURL } from "url";
import { parse as parseQS } from "querystring";

@@ -924,3 +923,13 @@ import etag from "etag";

return function parseQuery() {
return parseURL(url, true).query;
const urlObj = new URL(url, "http://localhost");
const query = {};
urlObj.searchParams.forEach((value, key) => {
const existing = query[key];
if (existing !== void 0) {
query[key] = Array.isArray(existing) ? [...existing, value] : [existing, value];
} else {
query[key] = value;
}
});
return query;
};

@@ -927,0 +936,0 @@ }

+5
-5
{
"name": "@vercel/node",
"version": "5.7.13",
"version": "5.7.15",
"license": "Apache-2.0",

@@ -35,5 +35,5 @@ "main": "./dist/index",

"undici": "5.28.4",
"@vercel/error-utils": "2.0.3",
"@vercel/static-config": "3.2.0",
"@vercel/build-utils": "13.20.0"
"@vercel/error-utils": "2.1.0",
"@vercel/build-utils": "13.21.0",
"@vercel/static-config": "3.3.0"
},

@@ -63,3 +63,3 @@ "devDependencies": {

"vitest": "^2.0.1",
"@vercel/functions": "3.4.4"
"@vercel/functions": "3.5.0"
},

@@ -66,0 +66,0 @@ "scripts": {

Sorry, the diff of this file is too big to display