vercel 28.5.0 → 28.5.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 +27 -106
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -220019,7 +220019,7 @@ exports.LocalFileSystemDetector = void 0;
|
|
220019
220019
|
const promises_1 = __importDefault(__webpack_require__(69225));
|
220020
220020
|
const path_1 = __importDefault(__webpack_require__(85622));
|
220021
220021
|
const filesystem_1 = __webpack_require__(56114);
|
220022
|
-
const error_utils_1 = __webpack_require__(
|
220022
|
+
const error_utils_1 = __webpack_require__(35772);
|
220023
220023
|
class LocalFileSystemDetector extends filesystem_1.DetectorFilesystem {
|
220024
220024
|
constructor(rootPath) {
|
220025
220025
|
super();
|
@@ -220275,34 +220275,33 @@ exports.monorepoManagers = [
|
|
220275
220275
|
},
|
220276
220276
|
},
|
220277
220277
|
},
|
220278
|
-
|
220279
|
-
|
220280
|
-
|
220281
|
-
|
220282
|
-
|
220283
|
-
|
220284
|
-
|
220285
|
-
|
220286
|
-
|
220287
|
-
|
220288
|
-
],
|
220289
|
-
},
|
220290
|
-
settings: {
|
220291
|
-
buildCommand: {
|
220292
|
-
placeholder: 'Rush default',
|
220293
|
-
value: null,
|
220294
|
-
},
|
220295
|
-
outputDirectory: {
|
220296
|
-
value: null,
|
220297
|
-
},
|
220298
|
-
installCommand: {
|
220299
|
-
placeholder: 'Rush default',
|
220278
|
+
{
|
220279
|
+
name: 'Rush',
|
220280
|
+
slug: 'rush',
|
220281
|
+
logo: 'https://api-frameworks.vercel.sh/monorepo-logos/rush.svg',
|
220282
|
+
detectors: {
|
220283
|
+
every: [
|
220284
|
+
{
|
220285
|
+
path: 'rush.json',
|
220286
|
+
},
|
220287
|
+
],
|
220300
220288
|
},
|
220301
|
-
|
220302
|
-
|
220289
|
+
settings: {
|
220290
|
+
buildCommand: {
|
220291
|
+
placeholder: 'Rush default',
|
220292
|
+
value: null,
|
220293
|
+
},
|
220294
|
+
outputDirectory: {
|
220295
|
+
value: null,
|
220296
|
+
},
|
220297
|
+
installCommand: {
|
220298
|
+
placeholder: 'Rush default',
|
220299
|
+
},
|
220300
|
+
devCommand: {
|
220301
|
+
value: null,
|
220302
|
+
},
|
220303
220303
|
},
|
220304
|
-
|
220305
|
-
}, */
|
220304
|
+
},
|
220306
220305
|
];
|
220307
220306
|
exports.default = exports.monorepoManagers;
|
220308
220307
|
//# sourceMappingURL=monorepo-managers.js.map
|
@@ -220698,84 +220697,6 @@ exports.default = exports.workspaceManagers;
|
|
220698
220697
|
|
220699
220698
|
/***/ }),
|
220700
220699
|
|
220701
|
-
/***/ 68005:
|
220702
|
-
/***/ ((__unused_webpack_module, exports) => {
|
220703
|
-
|
220704
|
-
"use strict";
|
220705
|
-
|
220706
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220707
|
-
exports.isSpawnError = exports.normalizeError = exports.errorToString = exports.isErrorLike = exports.isErrnoException = exports.isError = exports.isObject = void 0;
|
220708
|
-
/**
|
220709
|
-
* A simple type guard for objects.
|
220710
|
-
*
|
220711
|
-
* @param obj - A possible object
|
220712
|
-
*/
|
220713
|
-
const isObject = (obj) => typeof obj === 'object' && obj !== null;
|
220714
|
-
exports.isObject = isObject;
|
220715
|
-
/**
|
220716
|
-
* A type guard for `try...catch` errors.
|
220717
|
-
*
|
220718
|
-
* This function is based on:
|
220719
|
-
* https://github.com/stdlib-js/assert-is-error
|
220720
|
-
*/
|
220721
|
-
const isError = (error) => {
|
220722
|
-
if (!(0, exports.isObject)(error))
|
220723
|
-
return false;
|
220724
|
-
// Check for `Error` objects instantiated within the current global context.
|
220725
|
-
if (error instanceof Error)
|
220726
|
-
return true;
|
220727
|
-
// Walk the prototype tree until we find a matching object.
|
220728
|
-
while (error) {
|
220729
|
-
if (Object.prototype.toString.call(error) === '[object Error]')
|
220730
|
-
return true;
|
220731
|
-
error = Object.getPrototypeOf(error);
|
220732
|
-
}
|
220733
|
-
return false;
|
220734
|
-
};
|
220735
|
-
exports.isError = isError;
|
220736
|
-
const isErrnoException = (error) => {
|
220737
|
-
return (0, exports.isError)(error) && 'code' in error;
|
220738
|
-
};
|
220739
|
-
exports.isErrnoException = isErrnoException;
|
220740
|
-
/**
|
220741
|
-
* A type guard for error-like objects.
|
220742
|
-
*/
|
220743
|
-
const isErrorLike = (error) => (0, exports.isObject)(error) && 'message' in error;
|
220744
|
-
exports.isErrorLike = isErrorLike;
|
220745
|
-
/**
|
220746
|
-
* Parses errors to string, useful for getting the error message in a
|
220747
|
-
* `try...catch` statement.
|
220748
|
-
*/
|
220749
|
-
const errorToString = (error, fallback) => {
|
220750
|
-
if ((0, exports.isError)(error) || (0, exports.isErrorLike)(error))
|
220751
|
-
return error.message;
|
220752
|
-
if (typeof error === 'string')
|
220753
|
-
return error;
|
220754
|
-
return fallback ?? 'An unknown error has ocurred.';
|
220755
|
-
};
|
220756
|
-
exports.errorToString = errorToString;
|
220757
|
-
/**
|
220758
|
-
* Normalizes unknown errors to the Error type, useful for working with errors
|
220759
|
-
* in a `try...catch` statement.
|
220760
|
-
*/
|
220761
|
-
const normalizeError = (error) => {
|
220762
|
-
if ((0, exports.isError)(error))
|
220763
|
-
return error;
|
220764
|
-
const errorMessage = (0, exports.errorToString)(error);
|
220765
|
-
// Copy over additional properties if the object is error-like.
|
220766
|
-
return (0, exports.isErrorLike)(error)
|
220767
|
-
? Object.assign(new Error(errorMessage), error)
|
220768
|
-
: new Error(errorMessage);
|
220769
|
-
};
|
220770
|
-
exports.normalizeError = normalizeError;
|
220771
|
-
function isSpawnError(v) {
|
220772
|
-
return (0, exports.isErrnoException)(v) && 'spawnargs' in v;
|
220773
|
-
}
|
220774
|
-
exports.isSpawnError = isSpawnError;
|
220775
|
-
//# sourceMappingURL=index.js.map
|
220776
|
-
|
220777
|
-
/***/ }),
|
220778
|
-
|
220779
220700
|
/***/ 83532:
|
220780
220701
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
220781
220702
|
|
@@ -254532,7 +254453,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
254532
254453
|
/***/ ((module) => {
|
254533
254454
|
|
254534
254455
|
"use strict";
|
254535
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.
|
254456
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.1\",\"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 --forceExit\",\"test-unit\":\"yarn test test/unit/\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"yarn 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\":\"5.5.7\",\"@vercel/go\":\"2.2.15\",\"@vercel/hydrogen\":\"0.0.29\",\"@vercel/next\":\"3.2.11\",\"@vercel/node\":\"2.6.2\",\"@vercel/python\":\"3.1.25\",\"@vercel/redwood\":\"1.0.35\",\"@vercel/remix\":\"1.0.35\",\"@vercel/ruby\":\"1.3.41\",\"@vercel/static-build\":\"1.0.36\",\"update-notifier\":\"5.1.0\"},\"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/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@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/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.2.17\",\"@vercel/error-utils\":\"1.0.3\",\"@vercel/frameworks\":\"1.1.12\",\"@vercel/fs-detectors\":\"3.5.1\",\"@vercel/fun\":\"1.0.4\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"boxen\":\"4.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-prompt\":\"0.3.2\",\"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\",\"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\",\"jsonlines\":\"0.1.1\",\"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\":\"5.2.0\",\"stripe\":\"5.1.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.7.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\"]}}");
|
254536
254457
|
|
254537
254458
|
/***/ }),
|
254538
254459
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.5.
|
3
|
+
"version": "28.5.1",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -98,7 +98,7 @@
|
|
98
98
|
"@vercel/client": "12.2.17",
|
99
99
|
"@vercel/error-utils": "1.0.3",
|
100
100
|
"@vercel/frameworks": "1.1.12",
|
101
|
-
"@vercel/fs-detectors": "3.5.
|
101
|
+
"@vercel/fs-detectors": "3.5.1",
|
102
102
|
"@vercel/fun": "1.0.4",
|
103
103
|
"@vercel/ncc": "0.24.0",
|
104
104
|
"@zeit/source-map-support": "0.6.2",
|
@@ -193,5 +193,5 @@
|
|
193
193
|
"<rootDir>/test/**/*.test.ts"
|
194
194
|
]
|
195
195
|
},
|
196
|
-
"gitHead": "
|
196
|
+
"gitHead": "4e41c0e0a60fa443e0a0b2a9aba539d02c9ffc10"
|
197
197
|
}
|