Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vercel/node

Package Overview
Dependencies
Maintainers
13
Versions
296
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 1.6.2-canary.0 to 1.6.2-canary.1

15

dist/bridge.js

@@ -121,5 +121,5 @@ "use strict";

}
const opts = { hostname: '127.0.0.1', port, path, method, headers };
// eslint-disable-next-line consistent-return
return new Promise((resolve, reject) => {
const opts = { hostname: '127.0.0.1', port, path, method };
const req = http_1.request(opts, res => {

@@ -154,2 +154,15 @@ const response = res;

});
for (const [name, value] of Object.entries(headers)) {
if (value === undefined) {
console.error('Skipping HTTP request header %j because value is undefined', name);
continue;
}
try {
req.setHeader(name, value);
}
catch (err) {
console.error('Skipping HTTP request header: %j', `${name}: ${value}`);
console.error(err.message);
}
}
if (body)

@@ -156,0 +169,0 @@ req.write(body);

6

package.json
{
"name": "@vercel/node",
"version": "1.6.2-canary.0",
"version": "1.6.2-canary.1",
"license": "MIT",

@@ -40,7 +40,7 @@ "main": "./dist/index",

"etag": "1.8.1",
"mkdirp-promise": "5.0.1",
"node-fetch": "2.6.0",
"source-map-support": "0.5.12",
"test-listen": "1.1.0"
},
"gitHead": "f61b36495c4c1573ede1835645e43aee0b2cd588"
}
}

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

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