@vercel/ruby 2.2.0 → 2.2.1
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 +20 -30
- 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 fs = 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();
|
|
@@ -2286,9 +2283,9 @@ var require_once = __commonJS({
|
|
|
2286
2283
|
}
|
|
2287
2284
|
});
|
|
2288
2285
|
|
|
2289
|
-
// ../../node_modules/.pnpm/end-of-stream@1.4.
|
|
2286
|
+
// ../../node_modules/.pnpm/end-of-stream@1.4.1/node_modules/end-of-stream/index.js
|
|
2290
2287
|
var require_end_of_stream = __commonJS({
|
|
2291
|
-
"../../node_modules/.pnpm/end-of-stream@1.4.
|
|
2288
|
+
"../../node_modules/.pnpm/end-of-stream@1.4.1/node_modules/end-of-stream/index.js"(exports, module2) {
|
|
2292
2289
|
var once = require_once();
|
|
2293
2290
|
var noop = function() {
|
|
2294
2291
|
};
|
|
@@ -2308,7 +2305,6 @@ var require_end_of_stream = __commonJS({
|
|
|
2308
2305
|
var rs = stream._readableState;
|
|
2309
2306
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
2310
2307
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
2311
|
-
var cancelled = false;
|
|
2312
2308
|
var onlegacyfinish = function() {
|
|
2313
2309
|
if (!stream.writable)
|
|
2314
2310
|
onfinish();
|
|
@@ -2330,14 +2326,9 @@ var require_end_of_stream = __commonJS({
|
|
|
2330
2326
|
callback.call(stream, err);
|
|
2331
2327
|
};
|
|
2332
2328
|
var onclose = function() {
|
|
2333
|
-
|
|
2334
|
-
};
|
|
2335
|
-
var onclosenexttick = function() {
|
|
2336
|
-
if (cancelled)
|
|
2337
|
-
return;
|
|
2338
|
-
if (readable && !(rs && (rs.ended && !rs.destroyed)))
|
|
2329
|
+
if (readable && !(rs && rs.ended))
|
|
2339
2330
|
return callback.call(stream, new Error("premature close"));
|
|
2340
|
-
if (writable && !(ws &&
|
|
2331
|
+
if (writable && !(ws && ws.ended))
|
|
2341
2332
|
return callback.call(stream, new Error("premature close"));
|
|
2342
2333
|
};
|
|
2343
2334
|
var onrequest = function() {
|
|
@@ -2362,7 +2353,6 @@ var require_end_of_stream = __commonJS({
|
|
|
2362
2353
|
stream.on("error", onerror);
|
|
2363
2354
|
stream.on("close", onclose);
|
|
2364
2355
|
return function() {
|
|
2365
|
-
cancelled = true;
|
|
2366
2356
|
stream.removeListener("complete", onfinish);
|
|
2367
2357
|
stream.removeListener("abort", onclose);
|
|
2368
2358
|
stream.removeListener("request", onrequest);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/ruby",
|
|
3
3
|
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index",
|
|
7
7
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@types/fs-extra": "8.0.0",
|
|
19
19
|
"@types/semver": "6.0.0",
|
|
20
20
|
"@types/which": "3.0.0",
|
|
21
|
-
"@vercel/build-utils": "
|
|
21
|
+
"@vercel/build-utils": "10.6.7",
|
|
22
22
|
"execa": "2.0.4",
|
|
23
23
|
"fs-extra": "^7.0.1",
|
|
24
24
|
"jest-junit": "16.0.0",
|