vercel 28.16.11 → 28.16.13
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 +6 -126
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -44763,100 +44763,6 @@ var eos = function(stream, opts, callback) {
|
|
44763
44763
|
|
44764
44764
|
module.exports = eos;
|
44765
44765
|
|
44766
|
-
/***/ }),
|
44767
|
-
|
44768
|
-
/***/ 11235:
|
44769
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
44770
|
-
|
44771
|
-
var once = __webpack_require__(11924);
|
44772
|
-
|
44773
|
-
var noop = function() {};
|
44774
|
-
|
44775
|
-
var isRequest = function(stream) {
|
44776
|
-
return stream.setHeader && typeof stream.abort === 'function';
|
44777
|
-
};
|
44778
|
-
|
44779
|
-
var isChildProcess = function(stream) {
|
44780
|
-
return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3
|
44781
|
-
};
|
44782
|
-
|
44783
|
-
var eos = function(stream, opts, callback) {
|
44784
|
-
if (typeof opts === 'function') return eos(stream, null, opts);
|
44785
|
-
if (!opts) opts = {};
|
44786
|
-
|
44787
|
-
callback = once(callback || noop);
|
44788
|
-
|
44789
|
-
var ws = stream._writableState;
|
44790
|
-
var rs = stream._readableState;
|
44791
|
-
var readable = opts.readable || (opts.readable !== false && stream.readable);
|
44792
|
-
var writable = opts.writable || (opts.writable !== false && stream.writable);
|
44793
|
-
|
44794
|
-
var onlegacyfinish = function() {
|
44795
|
-
if (!stream.writable) onfinish();
|
44796
|
-
};
|
44797
|
-
|
44798
|
-
var onfinish = function() {
|
44799
|
-
writable = false;
|
44800
|
-
if (!readable) callback.call(stream);
|
44801
|
-
};
|
44802
|
-
|
44803
|
-
var onend = function() {
|
44804
|
-
readable = false;
|
44805
|
-
if (!writable) callback.call(stream);
|
44806
|
-
};
|
44807
|
-
|
44808
|
-
var onexit = function(exitCode) {
|
44809
|
-
callback.call(stream, exitCode ? new Error('exited with error code: ' + exitCode) : null);
|
44810
|
-
};
|
44811
|
-
|
44812
|
-
var onerror = function(err) {
|
44813
|
-
callback.call(stream, err);
|
44814
|
-
};
|
44815
|
-
|
44816
|
-
var onclose = function() {
|
44817
|
-
if (readable && !(rs && rs.ended)) return callback.call(stream, new Error('premature close'));
|
44818
|
-
if (writable && !(ws && ws.ended)) return callback.call(stream, new Error('premature close'));
|
44819
|
-
};
|
44820
|
-
|
44821
|
-
var onrequest = function() {
|
44822
|
-
stream.req.on('finish', onfinish);
|
44823
|
-
};
|
44824
|
-
|
44825
|
-
if (isRequest(stream)) {
|
44826
|
-
stream.on('complete', onfinish);
|
44827
|
-
stream.on('abort', onclose);
|
44828
|
-
if (stream.req) onrequest();
|
44829
|
-
else stream.on('request', onrequest);
|
44830
|
-
} else if (writable && !ws) { // legacy streams
|
44831
|
-
stream.on('end', onlegacyfinish);
|
44832
|
-
stream.on('close', onlegacyfinish);
|
44833
|
-
}
|
44834
|
-
|
44835
|
-
if (isChildProcess(stream)) stream.on('exit', onexit);
|
44836
|
-
|
44837
|
-
stream.on('end', onend);
|
44838
|
-
stream.on('finish', onfinish);
|
44839
|
-
if (opts.error !== false) stream.on('error', onerror);
|
44840
|
-
stream.on('close', onclose);
|
44841
|
-
|
44842
|
-
return function() {
|
44843
|
-
stream.removeListener('complete', onfinish);
|
44844
|
-
stream.removeListener('abort', onclose);
|
44845
|
-
stream.removeListener('request', onrequest);
|
44846
|
-
if (stream.req) stream.req.removeListener('finish', onfinish);
|
44847
|
-
stream.removeListener('end', onlegacyfinish);
|
44848
|
-
stream.removeListener('close', onlegacyfinish);
|
44849
|
-
stream.removeListener('finish', onfinish);
|
44850
|
-
stream.removeListener('exit', onexit);
|
44851
|
-
stream.removeListener('end', onend);
|
44852
|
-
stream.removeListener('error', onerror);
|
44853
|
-
stream.removeListener('close', onclose);
|
44854
|
-
};
|
44855
|
-
};
|
44856
|
-
|
44857
|
-
module.exports = eos;
|
44858
|
-
|
44859
|
-
|
44860
44766
|
/***/ }),
|
44861
44767
|
|
44862
44768
|
/***/ 68912:
|
@@ -123344,7 +123250,7 @@ module.exports = pump
|
|
123344
123250
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
123345
123251
|
|
123346
123252
|
var once = __webpack_require__(11924)
|
123347
|
-
var eos = __webpack_require__(
|
123253
|
+
var eos = __webpack_require__(68912)
|
123348
123254
|
var fs = __webpack_require__(35747) // we only need fs to get the ReadStream and WriteStream prototypes
|
123349
123255
|
|
123350
123256
|
var noop = function () {}
|
@@ -209461,7 +209367,7 @@ separator = false, // Puts a blank separator between each choice
|
|
209461
209367
|
cancel = 'end', // Whether the `cancel` option will be at the `start` or the `end`,
|
209462
209368
|
eraseFinalAnswer = false, // If true, the line with the final answer that inquirer prints will be erased before returning
|
209463
209369
|
}) {
|
209464
|
-
__webpack_require__(
|
209370
|
+
__webpack_require__(13017);
|
209465
209371
|
let biggestLength = 0;
|
209466
209372
|
let selected;
|
209467
209373
|
// First calculate the biggest length
|
@@ -209525,34 +209431,6 @@ eraseFinalAnswer = false, // If true, the line with the final answer that inquir
|
|
209525
209431
|
exports.default = list;
|
209526
209432
|
|
209527
209433
|
|
209528
|
-
/***/ }),
|
209529
|
-
|
209530
|
-
/***/ 2966:
|
209531
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
209532
|
-
|
209533
|
-
"use strict";
|
209534
|
-
|
209535
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
209536
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
209537
|
-
};
|
209538
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
209539
|
-
const chalk_1 = __importDefault(__webpack_require__(90877));
|
209540
|
-
const inquirer_1 = __importDefault(__webpack_require__(13863));
|
209541
|
-
// Here we patch inquirer to use a `>` instead of the ugly green `?`
|
209542
|
-
/* eslint-disable no-multiple-empty-lines, no-var, no-undef, no-eq-null, eqeqeq, semi */
|
209543
|
-
const getQuestion = function () {
|
209544
|
-
var message = `${chalk_1.default.bold(`> ${this.opt.message}`)} `;
|
209545
|
-
// Append the default if available, and if question isn't answered
|
209546
|
-
if (this.opt.default != null && this.status !== 'answered') {
|
209547
|
-
message += chalk_1.default.dim(`(${this.opt.default}) `);
|
209548
|
-
}
|
209549
|
-
return message;
|
209550
|
-
};
|
209551
|
-
/* eslint-enable */
|
209552
|
-
inquirer_1.default.prompt.prompts.input.prototype.getQuestion = getQuestion;
|
209553
|
-
inquirer_1.default.prompt.prompts.list.prototype.getQuestion = getQuestion;
|
209554
|
-
|
209555
|
-
|
209556
209434
|
/***/ }),
|
209557
209435
|
|
209558
209436
|
/***/ 13017:
|
@@ -209633,7 +209511,9 @@ function listRender(choices, pointer) {
|
|
209633
209511
|
}
|
209634
209512
|
let isSelected = i - separatorOffset === pointer;
|
209635
209513
|
let line = (isSelected ? '● ' : '○ ') + choice.name;
|
209636
|
-
|
209514
|
+
if (isSelected) {
|
209515
|
+
line = chalk_1.default.cyan(line);
|
209516
|
+
}
|
209637
209517
|
output += line + ' \n';
|
209638
209518
|
});
|
209639
209519
|
return output.replace(/\n$/, '');
|
@@ -214166,7 +214046,7 @@ module.exports = JSON.parse("[[[0,44],\"disallowed_STD3_valid\"],[[45,46],\"vali
|
|
214166
214046
|
/***/ ((module) => {
|
214167
214047
|
|
214168
214048
|
"use strict";
|
214169
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.16.
|
214049
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.16.13\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest --env node --verbose --bail\",\"test-unit\":\"pnpm test test/unit/\",\"test-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-dev\":\"pnpm test test/dev/\",\"coverage\":\"codecov\",\"build\":\"ts-node ./scripts/build.ts\",\"dev\":\"ts-node ./src/index.ts\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 14\"},\"dependencies\":{\"@vercel/build-utils\":\"6.3.2\",\"@vercel/go\":\"2.3.9\",\"@vercel/hydrogen\":\"0.0.55\",\"@vercel/next\":\"3.6.4\",\"@vercel/node\":\"2.9.10\",\"@vercel/python\":\"3.1.51\",\"@vercel/redwood\":\"1.1.7\",\"@vercel/remix\":\"1.6.0\",\"@vercel/ruby\":\"1.3.68\",\"@vercel/static-build\":\"1.3.14\"},\"devDependencies\":{\"@alex_neo/jest-expect-message\":\"1.0.5\",\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@swc/core\":\"1.2.218\",\"@tootallnate/once\":\"1.1.2\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/ini\":\"1.3.31\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.4.1\",\"@types/jest-expect-message\":\"1.0.3\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"14.18.33\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/psl\":\"1.1.0\",\"@types/qs\":\"6.9.7\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@types/yauzl-promise\":\"2.1.0\",\"@vercel/client\":\"12.4.2\",\"@vercel/error-utils\":\"1.0.8\",\"@vercel/frameworks\":\"1.3.2\",\"@vercel/fs-detectors\":\"3.8.2\",\"@vercel/fun\":\"1.0.4\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/routing-utils\":\"2.1.10\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"4.3.2\",\"ansi-regex\":\"5.0.1\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"find-up\":\"4.1.0\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"git-last-commit\":\"1.0.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"ini\":\"3.0.0\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.1.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jest-matcher-utils\":\"29.3.1\",\"jsonlines\":\"0.1.1\",\"line-async-iterator\":\"3.0.0\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"6.0.1\",\"stripe\":\"5.1.0\",\"supports-hyperlinks\":\"2.2.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-node\":\"10.9.1\",\"typescript\":\"4.9.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\",\"yauzl-promise\":\"2.1.3\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]}}");
|
214170
214050
|
|
214171
214051
|
/***/ }),
|
214172
214052
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.16.
|
3
|
+
"version": "28.16.13",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -44,11 +44,11 @@
|
|
44
44
|
"@vercel/build-utils": "6.3.2",
|
45
45
|
"@vercel/go": "2.3.9",
|
46
46
|
"@vercel/hydrogen": "0.0.55",
|
47
|
-
"@vercel/next": "3.6.
|
47
|
+
"@vercel/next": "3.6.4",
|
48
48
|
"@vercel/node": "2.9.10",
|
49
49
|
"@vercel/python": "3.1.51",
|
50
50
|
"@vercel/redwood": "1.1.7",
|
51
|
-
"@vercel/remix": "1.
|
51
|
+
"@vercel/remix": "1.6.0",
|
52
52
|
"@vercel/ruby": "1.3.68",
|
53
53
|
"@vercel/static-build": "1.3.14"
|
54
54
|
},
|
@@ -194,5 +194,5 @@
|
|
194
194
|
"<rootDir>/test/**/*.test.ts"
|
195
195
|
]
|
196
196
|
},
|
197
|
-
"gitHead": "
|
197
|
+
"gitHead": "a92c68e0ffc4d91fc2e11e703da445c285f0c926"
|
198
198
|
}
|