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.4 to 1.6.2-canary.5

1

dist/babel.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compile = void 0;
const babel = require('@babel/core'); // eslint-disable-line @typescript-eslint/no-var-requires

@@ -4,0 +5,0 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bridge = void 0;
const http_1 = require("http");

@@ -4,0 +5,0 @@ /**

14

dist/dev-server.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.onDevRequest = exports.rawBody = void 0;
const entrypoint = process.env.NOW_DEV_ENTRYPOINT;
delete process.env.NOW_DEV_ENTRYPOINT;
const tsconfig = process.env.NOW_DEV_TSCONFIG;
delete process.env.NOW_DEV_TSCONFIG;
if (!entrypoint) {
throw new Error('`NOW_DEV_ENTRYPOINT` must be defined');
}
const ts_node_1 = require("ts-node");

@@ -22,2 +30,3 @@ // Use the project's version of TypeScript if available,

},
project: tsconfig || undefined,
transpileOnly: true,

@@ -37,7 +46,2 @@ });

async function main() {
const entrypoint = process.env.NOW_DEV_ENTRYPOINT;
delete process.env.NOW_DEV_ENTRYPOINT;
if (!entrypoint) {
throw new Error('`NOW_DEV_ENTRYPOINT` must be defined');
}
const config = JSON.parse(process.env.NOW_DEV_CONFIG || '{}');

@@ -44,0 +48,0 @@ delete process.env.NOW_DEV_CONFIG;

@@ -655,2 +655,3 @@ module.exports =

Object.defineProperty(exports, "__esModule", { value: true });
exports.createServerWithHelpers = exports.sendError = exports.ApiError = void 0;
const http_1 = __webpack_require__(605);

@@ -657,0 +658,0 @@ function getBodyParser(req, body) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAwsLauncher = exports.makeAwsLauncher = exports.getNowLauncher = exports.makeNowLauncher = void 0;
const url_1 = require("url");

@@ -110,3 +111,3 @@ const http_1 = require("http");

for (const [key, value] of Object.entries(query)) {
if (!Array.isArray(value)) {
if (typeof value === 'string') {
queryStringParameters[key] = value;

@@ -113,0 +114,0 @@ }

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.register = void 0;
const path_1 = require("path");

@@ -8,0 +9,0 @@ const build_utils_1 = __importDefault(require("./build-utils"));

{
"name": "@vercel/node",
"version": "1.6.2-canary.4",
"version": "1.6.2-canary.5",
"license": "MIT",

@@ -24,3 +24,3 @@ "main": "./dist/index",

"ts-node": "8.9.1",
"typescript": "3.8.3"
"typescript": "3.9.3"
},

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

},
"gitHead": "081b3fd3db01ad2252036fb3a2503e14868103fe"
"gitHead": "c80bb37e8d66eac83da40746cf1a15ba42d216d8"
}

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

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