@vercel/node
Advanced tools
Comparing version 1.6.2-canary.4 to 1.6.2-canary.5
"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 @@ /** |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
3086880
87391
19
+ Addedtypescript@3.9.3(transitive)
- Removedtypescript@3.8.3(transitive)
Updatedtypescript@3.9.3