@vercel/python 4.7.2 → 4.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +17 -19
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -302,9 +302,9 @@ var require_path_key = __commonJS({
|
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
|
|
305
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
305
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
306
306
|
var require_resolveCommand = __commonJS({
|
|
307
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
307
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
|
308
308
|
"use strict";
|
|
309
309
|
var path = require("path");
|
|
310
310
|
var which2 = require_which();
|
|
@@ -312,8 +312,7 @@ var require_resolveCommand = __commonJS({
|
|
|
312
312
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
313
313
|
const cwd = process.cwd();
|
|
314
314
|
const hasCustomCwd = parsed.options.cwd != null;
|
|
315
|
-
|
|
316
|
-
if (shouldSwitchCwd) {
|
|
315
|
+
if (hasCustomCwd) {
|
|
317
316
|
try {
|
|
318
317
|
process.chdir(parsed.options.cwd);
|
|
319
318
|
} catch (err) {
|
|
@@ -327,9 +326,7 @@ var require_resolveCommand = __commonJS({
|
|
|
327
326
|
});
|
|
328
327
|
} catch (e) {
|
|
329
328
|
} finally {
|
|
330
|
-
|
|
331
|
-
process.chdir(cwd);
|
|
332
|
-
}
|
|
329
|
+
process.chdir(cwd);
|
|
333
330
|
}
|
|
334
331
|
if (resolved) {
|
|
335
332
|
resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
|
|
@@ -343,9 +340,9 @@ var require_resolveCommand = __commonJS({
|
|
|
343
340
|
}
|
|
344
341
|
});
|
|
345
342
|
|
|
346
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
343
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/escape.js
|
|
347
344
|
var require_escape = __commonJS({
|
|
348
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
345
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
|
349
346
|
"use strict";
|
|
350
347
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
351
348
|
function escapeCommand(arg) {
|
|
@@ -354,8 +351,8 @@ var require_escape = __commonJS({
|
|
|
354
351
|
}
|
|
355
352
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
356
353
|
arg = `${arg}`;
|
|
357
|
-
arg = arg.replace(/(
|
|
358
|
-
arg = arg.replace(/(
|
|
354
|
+
arg = arg.replace(/(\\*)"/g, '$1$1\\"');
|
|
355
|
+
arg = arg.replace(/(\\*)$/, "$1$1");
|
|
359
356
|
arg = `"${arg}"`;
|
|
360
357
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
361
358
|
if (doubleEscapeMetaChars) {
|
|
@@ -394,9 +391,9 @@ var require_shebang_command = __commonJS({
|
|
|
394
391
|
}
|
|
395
392
|
});
|
|
396
393
|
|
|
397
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
394
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/readShebang.js
|
|
398
395
|
var require_readShebang = __commonJS({
|
|
399
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
396
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
|
400
397
|
"use strict";
|
|
401
398
|
var fs2 = require("fs");
|
|
402
399
|
var shebangCommand = require_shebang_command();
|
|
@@ -1491,9 +1488,9 @@ var require_semver = __commonJS({
|
|
|
1491
1488
|
}
|
|
1492
1489
|
});
|
|
1493
1490
|
|
|
1494
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1491
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/parse.js
|
|
1495
1492
|
var require_parse = __commonJS({
|
|
1496
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1493
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
|
1497
1494
|
"use strict";
|
|
1498
1495
|
var path = require("path");
|
|
1499
1496
|
var niceTry = require_src();
|
|
@@ -1577,9 +1574,9 @@ var require_parse = __commonJS({
|
|
|
1577
1574
|
}
|
|
1578
1575
|
});
|
|
1579
1576
|
|
|
1580
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1577
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/enoent.js
|
|
1581
1578
|
var require_enoent = __commonJS({
|
|
1582
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1579
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
|
1583
1580
|
"use strict";
|
|
1584
1581
|
var isWin = process.platform === "win32";
|
|
1585
1582
|
function notFoundError(original, syscall) {
|
|
@@ -1627,9 +1624,9 @@ var require_enoent = __commonJS({
|
|
|
1627
1624
|
}
|
|
1628
1625
|
});
|
|
1629
1626
|
|
|
1630
|
-
// ../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1627
|
+
// ../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/index.js
|
|
1631
1628
|
var require_cross_spawn = __commonJS({
|
|
1632
|
-
"../../node_modules/.pnpm/cross-spawn@6.0.
|
|
1629
|
+
"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/index.js"(exports, module2) {
|
|
1633
1630
|
"use strict";
|
|
1634
1631
|
var cp = require("child_process");
|
|
1635
1632
|
var parse = require_parse();
|
|
@@ -3093,6 +3090,7 @@ var build = async ({
|
|
|
3093
3090
|
ignore: config && typeof config.excludeFiles === "string" ? config.excludeFiles : [
|
|
3094
3091
|
".git/**",
|
|
3095
3092
|
".vercel/**",
|
|
3093
|
+
".pnpm-store/**",
|
|
3096
3094
|
"**/node_modules/**",
|
|
3097
3095
|
"**/.next/**",
|
|
3098
3096
|
"**/.nuxt/**"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.4",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/jest": "27.4.1",
|
|
20
20
|
"@types/node": "14.18.33",
|
|
21
21
|
"@types/which": "3.0.0",
|
|
22
|
-
"@vercel/build-utils": "10.
|
|
22
|
+
"@vercel/build-utils": "10.6.7",
|
|
23
23
|
"cross-env": "7.0.3",
|
|
24
24
|
"execa": "^1.0.0",
|
|
25
25
|
"fs-extra": "11.1.1",
|