vercel 23.1.3-canary.65 → 23.1.3-canary.69
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/README.md +1 -1
- package/dist/index.js +372 -138
- package/package.json +7 -6
package/README.md
CHANGED
@@ -34,7 +34,7 @@ Finally, [connect your Git repository to Vercel](https://vercel.com/docs/git) an
|
|
34
34
|
|
35
35
|
## Documentation
|
36
36
|
|
37
|
-
For details on how to use Vercel CLI, check out our [documentation](https://vercel.com/docs).
|
37
|
+
For details on how to use Vercel CLI, check out our [documentation](https://vercel.com/docs/cli).
|
38
38
|
|
39
39
|
## Local Development
|
40
40
|
|
package/dist/index.js
CHANGED
@@ -217476,8 +217476,12 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217476
217476
|
const locationPrefix = path_1.relative(entry, outputPath);
|
217477
217477
|
let handlerContent = await fs_extra_1.default.readFile(fsPath, encoding);
|
217478
217478
|
const importPaths = [
|
217479
|
-
// This is the full entrypoint path, like `./api/test.py
|
217480
|
-
|
217479
|
+
// This is the full entrypoint path, like `./api/test.py`. In our tests
|
217480
|
+
// Python didn't support importing from a parent directory without using different
|
217481
|
+
// code in the launcher that registers it as a location for modules and then changing
|
217482
|
+
// the importing syntax, but continuing to import it like before seems to work. If
|
217483
|
+
// other languages need this, we should consider excluding Python explicitly.
|
217484
|
+
// `./${entrypoint}`,
|
217481
217485
|
// This is the entrypoint path without extension, like `api/test`
|
217482
217486
|
entrypoint.slice(0, -ext.length),
|
217483
217487
|
];
|
@@ -217628,12 +217632,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
|
|
217628
217632
|
/***/ }),
|
217629
217633
|
|
217630
217634
|
/***/ 1868:
|
217631
|
-
/***/ ((__unused_webpack_module, exports,
|
217635
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_930171__) => {
|
217632
217636
|
|
217633
217637
|
"use strict";
|
217634
217638
|
|
217635
217639
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217636
|
-
const _1 =
|
217640
|
+
const _1 = __nested_webpack_require_930171__(2855);
|
217637
217641
|
function debug(message, ...additional) {
|
217638
217642
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217639
217643
|
console.log(message, ...additional);
|
@@ -217645,7 +217649,7 @@ exports.default = debug;
|
|
217645
217649
|
/***/ }),
|
217646
217650
|
|
217647
217651
|
/***/ 4246:
|
217648
|
-
/***/ (function(__unused_webpack_module, exports,
|
217652
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_930556__) {
|
217649
217653
|
|
217650
217654
|
"use strict";
|
217651
217655
|
|
@@ -217654,11 +217658,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217654
217658
|
};
|
217655
217659
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217656
217660
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217657
|
-
const minimatch_1 = __importDefault(
|
217658
|
-
const semver_1 =
|
217659
|
-
const path_1 =
|
217660
|
-
const frameworks_1 = __importDefault(
|
217661
|
-
const _1 =
|
217661
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_930556__(9566));
|
217662
|
+
const semver_1 = __nested_webpack_require_930556__(2879);
|
217663
|
+
const path_1 = __nested_webpack_require_930556__(5622);
|
217664
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_930556__(8438));
|
217665
|
+
const _1 = __nested_webpack_require_930556__(2855);
|
217662
217666
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217663
217667
|
// We need to sort the file paths by alphabet to make
|
217664
217668
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218484,6 +218488,187 @@ function sortFilesBySegmentCount(fileA, fileB) {
|
|
218484
218488
|
}
|
218485
218489
|
|
218486
218490
|
|
218491
|
+
/***/ }),
|
218492
|
+
|
218493
|
+
/***/ 1182:
|
218494
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_962533__) {
|
218495
|
+
|
218496
|
+
"use strict";
|
218497
|
+
|
218498
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
218499
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218500
|
+
};
|
218501
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218502
|
+
exports.detectFileSystemAPI = void 0;
|
218503
|
+
const semver_1 = __importDefault(__nested_webpack_require_962533__(2879));
|
218504
|
+
const _1 = __nested_webpack_require_962533__(2855);
|
218505
|
+
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
218506
|
+
/**
|
218507
|
+
* If the Deployment can be built with the new File System API,
|
218508
|
+
* return the new Builder. Otherwise an "Exclusion Condition"
|
218509
|
+
* was hit so return `null` builder with a `reason` for exclusion.
|
218510
|
+
*/
|
218511
|
+
async function detectFileSystemAPI({ files, projectSettings, builders, vercelConfig, pkg, tag, enableFlag = false, }) {
|
218512
|
+
const framework = projectSettings.framework || '';
|
218513
|
+
const deps = Object.assign({}, pkg === null || pkg === void 0 ? void 0 : pkg.dependencies, pkg === null || pkg === void 0 ? void 0 : pkg.devDependencies);
|
218514
|
+
const plugins = Object.keys(deps).filter(dep => dep.startsWith('vercel-plugin-'));
|
218515
|
+
const hasDotOutput = Object.keys(files).some(file => file.startsWith('.output/'));
|
218516
|
+
const hasMiddleware = Boolean(files['_middleware.js'] || files['_middleware.ts']);
|
218517
|
+
const metadata = {
|
218518
|
+
plugins,
|
218519
|
+
hasDotOutput,
|
218520
|
+
hasMiddleware,
|
218521
|
+
};
|
218522
|
+
const isEnabled = enableFlag ||
|
218523
|
+
hasMiddleware ||
|
218524
|
+
hasDotOutput ||
|
218525
|
+
enableFileSystemApiFrameworks.has(framework);
|
218526
|
+
if (!isEnabled) {
|
218527
|
+
return { metadata, fsApiBuilder: null, reason: 'Flag not enabled.' };
|
218528
|
+
}
|
218529
|
+
if ((vercelConfig === null || vercelConfig === void 0 ? void 0 : vercelConfig.builds) && vercelConfig.builds.length > 0) {
|
218530
|
+
return {
|
218531
|
+
metadata,
|
218532
|
+
fsApiBuilder: null,
|
218533
|
+
reason: 'Detected `builds` in vercel.json. Please remove it in favor of CLI plugins.',
|
218534
|
+
};
|
218535
|
+
}
|
218536
|
+
if (Object.values((vercelConfig === null || vercelConfig === void 0 ? void 0 : vercelConfig.functions) || {}).some(fn => !!fn.runtime)) {
|
218537
|
+
return {
|
218538
|
+
metadata,
|
218539
|
+
fsApiBuilder: null,
|
218540
|
+
reason: 'Detected `functions.runtime` in vercel.json. Please remove it in favor of CLI plugins.',
|
218541
|
+
};
|
218542
|
+
}
|
218543
|
+
if (process.env.HUGO_VERSION) {
|
218544
|
+
return {
|
218545
|
+
metadata,
|
218546
|
+
fsApiBuilder: null,
|
218547
|
+
reason: 'Detected `HUGO_VERSION` environment variable. Please remove it.',
|
218548
|
+
};
|
218549
|
+
}
|
218550
|
+
if (process.env.ZOLA_VERSION) {
|
218551
|
+
return {
|
218552
|
+
metadata,
|
218553
|
+
fsApiBuilder: null,
|
218554
|
+
reason: 'Detected `ZOLA_VERSION` environment variable. Please remove it.',
|
218555
|
+
};
|
218556
|
+
}
|
218557
|
+
if (process.env.GUTENBERG_VERSION) {
|
218558
|
+
return {
|
218559
|
+
metadata,
|
218560
|
+
fsApiBuilder: null,
|
218561
|
+
reason: 'Detected `GUTENBERG_VERSION` environment variable. Please remove it.',
|
218562
|
+
};
|
218563
|
+
}
|
218564
|
+
const invalidBuilder = builders.find(({ use }) => {
|
218565
|
+
const valid = _1.isOfficialRuntime('go', use) ||
|
218566
|
+
_1.isOfficialRuntime('python', use) ||
|
218567
|
+
_1.isOfficialRuntime('ruby', use) ||
|
218568
|
+
_1.isOfficialRuntime('node', use) ||
|
218569
|
+
_1.isOfficialRuntime('next', use) ||
|
218570
|
+
_1.isOfficialRuntime('static', use) ||
|
218571
|
+
_1.isOfficialRuntime('static-build', use);
|
218572
|
+
return !valid;
|
218573
|
+
});
|
218574
|
+
if (invalidBuilder) {
|
218575
|
+
return {
|
218576
|
+
metadata,
|
218577
|
+
fsApiBuilder: null,
|
218578
|
+
reason: `Detected \`${invalidBuilder.use}\` in vercel.json. Please remove it in favor of CLI plugins.`,
|
218579
|
+
};
|
218580
|
+
}
|
218581
|
+
for (const lang of ['go', 'python', 'ruby']) {
|
218582
|
+
for (const { use } of builders) {
|
218583
|
+
const plugin = 'vercel-plugin-' + lang;
|
218584
|
+
if (_1.isOfficialRuntime(lang, use) && !deps[plugin]) {
|
218585
|
+
return {
|
218586
|
+
metadata,
|
218587
|
+
fsApiBuilder: null,
|
218588
|
+
reason: `Detected \`${lang}\` Serverless Function usage without plugin \`${plugin}\`. Please run \`npm i ${plugin}\`.`,
|
218589
|
+
};
|
218590
|
+
}
|
218591
|
+
}
|
218592
|
+
}
|
218593
|
+
if (framework === 'nuxtjs' ||
|
218594
|
+
framework === 'sveltekit' ||
|
218595
|
+
framework === 'redwoodjs') {
|
218596
|
+
return {
|
218597
|
+
metadata,
|
218598
|
+
fsApiBuilder: null,
|
218599
|
+
reason: `Detected framework \`${framework}\` that only supports legacy File System API. Please contact the framework author.`,
|
218600
|
+
};
|
218601
|
+
}
|
218602
|
+
if (framework === 'nextjs' && !hasDotOutput) {
|
218603
|
+
// Use the old pipeline if a custom output directory was specified for Next.js
|
218604
|
+
// because `vercel build` cannot ensure that the directory will be in the same
|
218605
|
+
// location as `.output`, which can break imports (not just nft.json files).
|
218606
|
+
if (projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.outputDirectory) {
|
218607
|
+
return {
|
218608
|
+
metadata,
|
218609
|
+
fsApiBuilder: null,
|
218610
|
+
reason: `Detected Next.js with Output Directory \`${projectSettings.outputDirectory}\` override. Please change it back to the default.`,
|
218611
|
+
};
|
218612
|
+
}
|
218613
|
+
const nextVersion = deps['next'];
|
218614
|
+
if (!nextVersion) {
|
218615
|
+
return {
|
218616
|
+
metadata,
|
218617
|
+
fsApiBuilder: null,
|
218618
|
+
reason: `Detected Next.js in Project Settings but missing \`next\` package.json dependencies. Please run \`npm i next\`.`,
|
218619
|
+
};
|
218620
|
+
}
|
218621
|
+
// TODO: Read version from lockfile instead of package.json
|
218622
|
+
if (nextVersion !== 'latest' && nextVersion !== 'canary') {
|
218623
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(nextVersion) || '');
|
218624
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '12.0.0')) {
|
218625
|
+
return {
|
218626
|
+
metadata,
|
218627
|
+
fsApiBuilder: null,
|
218628
|
+
reason: `Detected legacy Next.js version "${nextVersion}" in package.json. Please run \`npm i next@latest\` to upgrade.`,
|
218629
|
+
};
|
218630
|
+
}
|
218631
|
+
}
|
218632
|
+
}
|
218633
|
+
if (!hasDotOutput) {
|
218634
|
+
// TODO: Read version from lockfile instead of package.json
|
218635
|
+
const vercelCliVersion = deps['vercel'];
|
218636
|
+
if (vercelCliVersion &&
|
218637
|
+
vercelCliVersion !== 'latest' &&
|
218638
|
+
vercelCliVersion !== 'canary') {
|
218639
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(vercelCliVersion) || '');
|
218640
|
+
// TODO: we might want to use '24.0.0' once its released
|
218641
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '23.1.3-canary.68')) {
|
218642
|
+
return {
|
218643
|
+
metadata,
|
218644
|
+
fsApiBuilder: null,
|
218645
|
+
reason: `Detected legacy Vercel CLI version "${vercelCliVersion}" in package.json. Please run \`npm i vercel@latest\` to upgrade.`,
|
218646
|
+
};
|
218647
|
+
}
|
218648
|
+
}
|
218649
|
+
}
|
218650
|
+
const frontendBuilder = builders.find(({ use }) => _1.isOfficialRuntime('next', use) ||
|
218651
|
+
_1.isOfficialRuntime('static', use) ||
|
218652
|
+
_1.isOfficialRuntime('static-build', use));
|
218653
|
+
const config = (frontendBuilder === null || frontendBuilder === void 0 ? void 0 : frontendBuilder.config) || {};
|
218654
|
+
const withTag = tag ? `@${tag}` : '';
|
218655
|
+
const fsApiBuilder = {
|
218656
|
+
use: `@vercelruntimes/file-system-api${withTag}`,
|
218657
|
+
src: '**',
|
218658
|
+
config: {
|
218659
|
+
...config,
|
218660
|
+
fileSystemAPI: true,
|
218661
|
+
framework: config.framework || framework || null,
|
218662
|
+
projectSettings,
|
218663
|
+
hasMiddleware,
|
218664
|
+
hasDotOutput,
|
218665
|
+
},
|
218666
|
+
};
|
218667
|
+
return { metadata, fsApiBuilder, reason: null };
|
218668
|
+
}
|
218669
|
+
exports.detectFileSystemAPI = detectFileSystemAPI;
|
218670
|
+
|
218671
|
+
|
218487
218672
|
/***/ }),
|
218488
218673
|
|
218489
218674
|
/***/ 5224:
|
@@ -218717,7 +218902,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218717
218902
|
/***/ }),
|
218718
218903
|
|
218719
218904
|
/***/ 2397:
|
218720
|
-
/***/ (function(__unused_webpack_module, exports,
|
218905
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977627__) {
|
218721
218906
|
|
218722
218907
|
"use strict";
|
218723
218908
|
|
@@ -218725,8 +218910,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218725
218910
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218726
218911
|
};
|
218727
218912
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218728
|
-
const assert_1 = __importDefault(
|
218729
|
-
const into_stream_1 = __importDefault(
|
218913
|
+
const assert_1 = __importDefault(__nested_webpack_require_977627__(2357));
|
218914
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_977627__(6130));
|
218730
218915
|
class FileBlob {
|
218731
218916
|
constructor({ mode = 0o100644, contentType, data }) {
|
218732
218917
|
assert_1.default(typeof mode === 'number');
|
@@ -218758,7 +218943,7 @@ exports.default = FileBlob;
|
|
218758
218943
|
/***/ }),
|
218759
218944
|
|
218760
218945
|
/***/ 9331:
|
218761
|
-
/***/ (function(__unused_webpack_module, exports,
|
218946
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979079__) {
|
218762
218947
|
|
218763
218948
|
"use strict";
|
218764
218949
|
|
@@ -218766,11 +218951,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218766
218951
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218767
218952
|
};
|
218768
218953
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218769
|
-
const assert_1 = __importDefault(
|
218770
|
-
const fs_extra_1 = __importDefault(
|
218771
|
-
const multistream_1 = __importDefault(
|
218772
|
-
const path_1 = __importDefault(
|
218773
|
-
const async_sema_1 = __importDefault(
|
218954
|
+
const assert_1 = __importDefault(__nested_webpack_require_979079__(2357));
|
218955
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_979079__(5392));
|
218956
|
+
const multistream_1 = __importDefault(__nested_webpack_require_979079__(8179));
|
218957
|
+
const path_1 = __importDefault(__nested_webpack_require_979079__(5622));
|
218958
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_979079__(5758));
|
218774
218959
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218775
218960
|
class FileFsRef {
|
218776
218961
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218836,7 +219021,7 @@ exports.default = FileFsRef;
|
|
218836
219021
|
/***/ }),
|
218837
219022
|
|
218838
219023
|
/***/ 5187:
|
218839
|
-
/***/ (function(__unused_webpack_module, exports,
|
219024
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_981883__) {
|
218840
219025
|
|
218841
219026
|
"use strict";
|
218842
219027
|
|
@@ -218844,11 +219029,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218844
219029
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218845
219030
|
};
|
218846
219031
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218847
|
-
const assert_1 = __importDefault(
|
218848
|
-
const node_fetch_1 = __importDefault(
|
218849
|
-
const multistream_1 = __importDefault(
|
218850
|
-
const async_retry_1 = __importDefault(
|
218851
|
-
const async_sema_1 = __importDefault(
|
219032
|
+
const assert_1 = __importDefault(__nested_webpack_require_981883__(2357));
|
219033
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_981883__(2197));
|
219034
|
+
const multistream_1 = __importDefault(__nested_webpack_require_981883__(8179));
|
219035
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_981883__(3691));
|
219036
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_981883__(5758));
|
218852
219037
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218853
219038
|
class BailableError extends Error {
|
218854
219039
|
constructor(...args) {
|
@@ -218929,7 +219114,7 @@ exports.default = FileRef;
|
|
218929
219114
|
/***/ }),
|
218930
219115
|
|
218931
219116
|
/***/ 1611:
|
218932
|
-
/***/ (function(__unused_webpack_module, exports,
|
219117
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_985284__) {
|
218933
219118
|
|
218934
219119
|
"use strict";
|
218935
219120
|
|
@@ -218938,10 +219123,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218938
219123
|
};
|
218939
219124
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218940
219125
|
exports.isSymbolicLink = void 0;
|
218941
|
-
const path_1 = __importDefault(
|
218942
|
-
const debug_1 = __importDefault(
|
218943
|
-
const file_fs_ref_1 = __importDefault(
|
218944
|
-
const fs_extra_1 =
|
219126
|
+
const path_1 = __importDefault(__nested_webpack_require_985284__(5622));
|
219127
|
+
const debug_1 = __importDefault(__nested_webpack_require_985284__(1868));
|
219128
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_985284__(9331));
|
219129
|
+
const fs_extra_1 = __nested_webpack_require_985284__(5392);
|
218945
219130
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218946
219131
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218947
219132
|
function isSymbolicLink(mode) {
|
@@ -219003,14 +219188,14 @@ exports.default = download;
|
|
219003
219188
|
/***/ }),
|
219004
219189
|
|
219005
219190
|
/***/ 3838:
|
219006
|
-
/***/ ((__unused_webpack_module, exports,
|
219191
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_988109__) => {
|
219007
219192
|
|
219008
219193
|
"use strict";
|
219009
219194
|
|
219010
219195
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219011
|
-
const path_1 =
|
219012
|
-
const os_1 =
|
219013
|
-
const fs_extra_1 =
|
219196
|
+
const path_1 = __nested_webpack_require_988109__(5622);
|
219197
|
+
const os_1 = __nested_webpack_require_988109__(2087);
|
219198
|
+
const fs_extra_1 = __nested_webpack_require_988109__(5392);
|
219014
219199
|
async function getWritableDirectory() {
|
219015
219200
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
219016
219201
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -219023,7 +219208,7 @@ exports.default = getWritableDirectory;
|
|
219023
219208
|
/***/ }),
|
219024
219209
|
|
219025
219210
|
/***/ 4240:
|
219026
|
-
/***/ (function(__unused_webpack_module, exports,
|
219211
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988689__) {
|
219027
219212
|
|
219028
219213
|
"use strict";
|
219029
219214
|
|
@@ -219031,13 +219216,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219031
219216
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219032
219217
|
};
|
219033
219218
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219034
|
-
const path_1 = __importDefault(
|
219035
|
-
const assert_1 = __importDefault(
|
219036
|
-
const glob_1 = __importDefault(
|
219037
|
-
const util_1 =
|
219038
|
-
const fs_extra_1 =
|
219039
|
-
const normalize_path_1 =
|
219040
|
-
const file_fs_ref_1 = __importDefault(
|
219219
|
+
const path_1 = __importDefault(__nested_webpack_require_988689__(5622));
|
219220
|
+
const assert_1 = __importDefault(__nested_webpack_require_988689__(2357));
|
219221
|
+
const glob_1 = __importDefault(__nested_webpack_require_988689__(1104));
|
219222
|
+
const util_1 = __nested_webpack_require_988689__(1669);
|
219223
|
+
const fs_extra_1 = __nested_webpack_require_988689__(5392);
|
219224
|
+
const normalize_path_1 = __nested_webpack_require_988689__(6261);
|
219225
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_988689__(9331));
|
219041
219226
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
219042
219227
|
async function glob(pattern, opts, mountpoint) {
|
219043
219228
|
let options;
|
@@ -219083,7 +219268,7 @@ exports.default = glob;
|
|
219083
219268
|
/***/ }),
|
219084
219269
|
|
219085
219270
|
/***/ 7903:
|
219086
|
-
/***/ (function(__unused_webpack_module, exports,
|
219271
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_990885__) {
|
219087
219272
|
|
219088
219273
|
"use strict";
|
219089
219274
|
|
@@ -219092,9 +219277,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219092
219277
|
};
|
219093
219278
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219094
219279
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
219095
|
-
const semver_1 =
|
219096
|
-
const errors_1 =
|
219097
|
-
const debug_1 = __importDefault(
|
219280
|
+
const semver_1 = __nested_webpack_require_990885__(2879);
|
219281
|
+
const errors_1 = __nested_webpack_require_990885__(3983);
|
219282
|
+
const debug_1 = __importDefault(__nested_webpack_require_990885__(1868));
|
219098
219283
|
const allOptions = [
|
219099
219284
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
219100
219285
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -219188,7 +219373,7 @@ exports.normalizePath = normalizePath;
|
|
219188
219373
|
/***/ }),
|
219189
219374
|
|
219190
219375
|
/***/ 7792:
|
219191
|
-
/***/ (function(__unused_webpack_module, exports,
|
219376
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_994753__) {
|
219192
219377
|
|
219193
219378
|
"use strict";
|
219194
219379
|
|
@@ -219197,9 +219382,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219197
219382
|
};
|
219198
219383
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219199
219384
|
exports.readConfigFile = void 0;
|
219200
|
-
const js_yaml_1 = __importDefault(
|
219201
|
-
const toml_1 = __importDefault(
|
219202
|
-
const fs_extra_1 =
|
219385
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_994753__(6540));
|
219386
|
+
const toml_1 = __importDefault(__nested_webpack_require_994753__(9434));
|
219387
|
+
const fs_extra_1 = __nested_webpack_require_994753__(5392);
|
219203
219388
|
async function readFileOrNull(file) {
|
219204
219389
|
try {
|
219205
219390
|
const data = await fs_extra_1.readFile(file);
|
@@ -219254,7 +219439,7 @@ exports.default = rename;
|
|
219254
219439
|
/***/ }),
|
219255
219440
|
|
219256
219441
|
/***/ 1442:
|
219257
|
-
/***/ (function(__unused_webpack_module, exports,
|
219442
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_996546__) {
|
219258
219443
|
|
219259
219444
|
"use strict";
|
219260
219445
|
|
@@ -219263,14 +219448,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219263
219448
|
};
|
219264
219449
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219265
219450
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
219266
|
-
const assert_1 = __importDefault(
|
219267
|
-
const fs_extra_1 = __importDefault(
|
219268
|
-
const path_1 = __importDefault(
|
219269
|
-
const debug_1 = __importDefault(
|
219270
|
-
const cross_spawn_1 = __importDefault(
|
219271
|
-
const util_1 =
|
219272
|
-
const errors_1 =
|
219273
|
-
const node_version_1 =
|
219451
|
+
const assert_1 = __importDefault(__nested_webpack_require_996546__(2357));
|
219452
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_996546__(5392));
|
219453
|
+
const path_1 = __importDefault(__nested_webpack_require_996546__(5622));
|
219454
|
+
const debug_1 = __importDefault(__nested_webpack_require_996546__(1868));
|
219455
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_996546__(7618));
|
219456
|
+
const util_1 = __nested_webpack_require_996546__(1669);
|
219457
|
+
const errors_1 = __nested_webpack_require_996546__(3983);
|
219458
|
+
const node_version_1 = __nested_webpack_require_996546__(7903);
|
219274
219459
|
function spawnAsync(command, args, opts = {}) {
|
219275
219460
|
return new Promise((resolve, reject) => {
|
219276
219461
|
const stderrLogs = [];
|
@@ -219581,7 +219766,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
219581
219766
|
/***/ }),
|
219582
219767
|
|
219583
219768
|
/***/ 2560:
|
219584
|
-
/***/ (function(__unused_webpack_module, exports,
|
219769
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1010536__) {
|
219585
219770
|
|
219586
219771
|
"use strict";
|
219587
219772
|
|
@@ -219589,7 +219774,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219589
219774
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219590
219775
|
};
|
219591
219776
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219592
|
-
const end_of_stream_1 = __importDefault(
|
219777
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1010536__(687));
|
219593
219778
|
function streamToBuffer(stream) {
|
219594
219779
|
return new Promise((resolve, reject) => {
|
219595
219780
|
const buffers = [];
|
@@ -219618,7 +219803,7 @@ exports.default = streamToBuffer;
|
|
219618
219803
|
/***/ }),
|
219619
219804
|
|
219620
219805
|
/***/ 1148:
|
219621
|
-
/***/ (function(__unused_webpack_module, exports,
|
219806
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011604__) {
|
219622
219807
|
|
219623
219808
|
"use strict";
|
219624
219809
|
|
@@ -219626,9 +219811,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219626
219811
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219627
219812
|
};
|
219628
219813
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219629
|
-
const path_1 = __importDefault(
|
219630
|
-
const fs_extra_1 = __importDefault(
|
219631
|
-
const ignore_1 = __importDefault(
|
219814
|
+
const path_1 = __importDefault(__nested_webpack_require_1011604__(5622));
|
219815
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1011604__(5392));
|
219816
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1011604__(3556));
|
219632
219817
|
function isCodedError(error) {
|
219633
219818
|
return (error !== null &&
|
219634
219819
|
error !== undefined &&
|
@@ -219685,7 +219870,7 @@ exports.default = default_1;
|
|
219685
219870
|
/***/ }),
|
219686
219871
|
|
219687
219872
|
/***/ 2855:
|
219688
|
-
/***/ (function(__unused_webpack_module, exports,
|
219873
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1013986__) {
|
219689
219874
|
|
219690
219875
|
"use strict";
|
219691
219876
|
|
@@ -219715,30 +219900,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219715
219900
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219716
219901
|
};
|
219717
219902
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219718
|
-
exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219719
|
-
const crypto_1 =
|
219720
|
-
const file_blob_1 = __importDefault(
|
219903
|
+
exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219904
|
+
const crypto_1 = __nested_webpack_require_1013986__(6417);
|
219905
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1013986__(2397));
|
219721
219906
|
exports.FileBlob = file_blob_1.default;
|
219722
|
-
const file_fs_ref_1 = __importDefault(
|
219907
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1013986__(9331));
|
219723
219908
|
exports.FileFsRef = file_fs_ref_1.default;
|
219724
|
-
const file_ref_1 = __importDefault(
|
219909
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1013986__(5187));
|
219725
219910
|
exports.FileRef = file_ref_1.default;
|
219726
|
-
const lambda_1 =
|
219911
|
+
const lambda_1 = __nested_webpack_require_1013986__(6721);
|
219727
219912
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
219728
219913
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
219729
219914
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
219730
|
-
const prerender_1 =
|
219915
|
+
const prerender_1 = __nested_webpack_require_1013986__(2850);
|
219731
219916
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
219732
|
-
const download_1 = __importStar(
|
219917
|
+
const download_1 = __importStar(__nested_webpack_require_1013986__(1611));
|
219733
219918
|
exports.download = download_1.default;
|
219734
219919
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
219735
|
-
const get_writable_directory_1 = __importDefault(
|
219920
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1013986__(3838));
|
219736
219921
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
219737
|
-
const glob_1 = __importDefault(
|
219922
|
+
const glob_1 = __importDefault(__nested_webpack_require_1013986__(4240));
|
219738
219923
|
exports.glob = glob_1.default;
|
219739
|
-
const rename_1 = __importDefault(
|
219924
|
+
const rename_1 = __importDefault(__nested_webpack_require_1013986__(6718));
|
219740
219925
|
exports.rename = rename_1.default;
|
219741
|
-
const run_user_scripts_1 =
|
219926
|
+
const run_user_scripts_1 = __nested_webpack_require_1013986__(1442);
|
219742
219927
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
219743
219928
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
219744
219929
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219755,38 +219940,40 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219755
219940
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219756
219941
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219757
219942
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219758
|
-
const node_version_1 =
|
219943
|
+
const node_version_1 = __nested_webpack_require_1013986__(7903);
|
219759
219944
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219760
219945
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219761
|
-
const errors_1 =
|
219762
|
-
const stream_to_buffer_1 = __importDefault(
|
219946
|
+
const errors_1 = __nested_webpack_require_1013986__(3983);
|
219947
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1013986__(2560));
|
219763
219948
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219764
|
-
const should_serve_1 = __importDefault(
|
219949
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_1013986__(2564));
|
219765
219950
|
exports.shouldServe = should_serve_1.default;
|
219766
|
-
const debug_1 = __importDefault(
|
219951
|
+
const debug_1 = __importDefault(__nested_webpack_require_1013986__(1868));
|
219767
219952
|
exports.debug = debug_1.default;
|
219768
|
-
const get_ignore_filter_1 = __importDefault(
|
219953
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1013986__(1148));
|
219769
219954
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
219770
|
-
var detect_builders_1 =
|
219955
|
+
var detect_builders_1 = __nested_webpack_require_1013986__(4246);
|
219771
219956
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219772
219957
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219773
219958
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219774
219959
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219775
|
-
var
|
219960
|
+
var detect_file_system_api_1 = __nested_webpack_require_1013986__(1182);
|
219961
|
+
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
219962
|
+
var detect_framework_1 = __nested_webpack_require_1013986__(5224);
|
219776
219963
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219777
|
-
var filesystem_1 =
|
219964
|
+
var filesystem_1 = __nested_webpack_require_1013986__(461);
|
219778
219965
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219779
|
-
var read_config_file_1 =
|
219966
|
+
var read_config_file_1 = __nested_webpack_require_1013986__(7792);
|
219780
219967
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219781
|
-
var normalize_path_1 =
|
219968
|
+
var normalize_path_1 = __nested_webpack_require_1013986__(6261);
|
219782
219969
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219783
|
-
var convert_runtime_to_plugin_1 =
|
219970
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_1013986__(7276);
|
219784
219971
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219785
219972
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219786
219973
|
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219787
|
-
__exportStar(
|
219788
|
-
__exportStar(
|
219789
|
-
__exportStar(
|
219974
|
+
__exportStar(__nested_webpack_require_1013986__(2416), exports);
|
219975
|
+
__exportStar(__nested_webpack_require_1013986__(5748), exports);
|
219976
|
+
__exportStar(__nested_webpack_require_1013986__(3983), exports);
|
219790
219977
|
/**
|
219791
219978
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219792
219979
|
*/
|
@@ -219839,7 +220026,7 @@ exports.getInputHash = getInputHash;
|
|
219839
220026
|
/***/ }),
|
219840
220027
|
|
219841
220028
|
/***/ 6721:
|
219842
|
-
/***/ (function(__unused_webpack_module, exports,
|
220029
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1025206__) {
|
219843
220030
|
|
219844
220031
|
"use strict";
|
219845
220032
|
|
@@ -219848,13 +220035,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219848
220035
|
};
|
219849
220036
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219850
220037
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219851
|
-
const assert_1 = __importDefault(
|
219852
|
-
const async_sema_1 = __importDefault(
|
219853
|
-
const yazl_1 =
|
219854
|
-
const minimatch_1 = __importDefault(
|
219855
|
-
const fs_extra_1 =
|
219856
|
-
const download_1 =
|
219857
|
-
const stream_to_buffer_1 = __importDefault(
|
220038
|
+
const assert_1 = __importDefault(__nested_webpack_require_1025206__(2357));
|
220039
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1025206__(5758));
|
220040
|
+
const yazl_1 = __nested_webpack_require_1025206__(1223);
|
220041
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1025206__(9566));
|
220042
|
+
const fs_extra_1 = __nested_webpack_require_1025206__(5392);
|
220043
|
+
const download_1 = __nested_webpack_require_1025206__(1611);
|
220044
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1025206__(2560));
|
219858
220045
|
exports.FILES_SYMBOL = Symbol('files');
|
219859
220046
|
class Lambda {
|
219860
220047
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -220083,12 +220270,12 @@ exports.buildsSchema = {
|
|
220083
220270
|
/***/ }),
|
220084
220271
|
|
220085
220272
|
/***/ 2564:
|
220086
|
-
/***/ ((__unused_webpack_module, exports,
|
220273
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1033716__) => {
|
220087
220274
|
|
220088
220275
|
"use strict";
|
220089
220276
|
|
220090
220277
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220091
|
-
const path_1 =
|
220278
|
+
const path_1 = __nested_webpack_require_1033716__(5622);
|
220092
220279
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
220093
220280
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
220094
220281
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -220325,7 +220512,7 @@ module.exports = __webpack_require__(78761);
|
|
220325
220512
|
/******/ var __webpack_module_cache__ = {};
|
220326
220513
|
/******/
|
220327
220514
|
/******/ // The require function
|
220328
|
-
/******/ function
|
220515
|
+
/******/ function __nested_webpack_require_1133451__(moduleId) {
|
220329
220516
|
/******/ // Check if module is in cache
|
220330
220517
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
220331
220518
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -220340,7 +220527,7 @@ module.exports = __webpack_require__(78761);
|
|
220340
220527
|
/******/ // Execute the module function
|
220341
220528
|
/******/ var threw = true;
|
220342
220529
|
/******/ try {
|
220343
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
220530
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1133451__);
|
220344
220531
|
/******/ threw = false;
|
220345
220532
|
/******/ } finally {
|
220346
220533
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -220353,11 +220540,11 @@ module.exports = __webpack_require__(78761);
|
|
220353
220540
|
/************************************************************************/
|
220354
220541
|
/******/ /* webpack/runtime/compat */
|
220355
220542
|
/******/
|
220356
|
-
/******/
|
220543
|
+
/******/ __nested_webpack_require_1133451__.ab = __dirname + "/";/************************************************************************/
|
220357
220544
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
220358
220545
|
/******/ // startup
|
220359
220546
|
/******/ // Load entry module and return exports
|
220360
|
-
/******/ return
|
220547
|
+
/******/ return __nested_webpack_require_1133451__(2855);
|
220361
220548
|
/******/ })()
|
220362
220549
|
;
|
220363
220550
|
|
@@ -238810,7 +238997,9 @@ async function hashes(files, map = new Map()) {
|
|
238810
238997
|
const h = hash(data);
|
238811
238998
|
const entry = map.get(h);
|
238812
238999
|
if (entry) {
|
238813
|
-
entry.names
|
239000
|
+
const names = new Set(entry.names);
|
239001
|
+
names.add(name);
|
239002
|
+
entry.names = [...names];
|
238814
239003
|
}
|
238815
239004
|
else {
|
238816
239005
|
map.set(h, { names: [name], data, mode });
|
@@ -239058,9 +239247,8 @@ const fetch = async (url, token, opts = {}, debugEnabled, useNodeFetch) => {
|
|
239058
239247
|
exports.fetch = fetch;
|
239059
239248
|
const isWin = process.platform.includes('win');
|
239060
239249
|
const prepareFiles = (files, clientOptions) => {
|
239061
|
-
const preparedFiles = [
|
239062
|
-
|
239063
|
-
const file = files.get(sha);
|
239250
|
+
const preparedFiles = [];
|
239251
|
+
for (const [sha, file] of files) {
|
239064
239252
|
for (const name of file.names) {
|
239065
239253
|
let fileName;
|
239066
239254
|
if (clientOptions.isDirectory) {
|
@@ -239075,15 +239263,14 @@ const prepareFiles = (files, clientOptions) => {
|
|
239075
239263
|
const segments = name.split(path_1.sep);
|
239076
239264
|
fileName = segments[segments.length - 1];
|
239077
239265
|
}
|
239078
|
-
|
239266
|
+
preparedFiles.push({
|
239079
239267
|
file: isWin ? fileName.replace(/\\/g, '/') : fileName,
|
239080
239268
|
size: file.data.byteLength || file.data.length,
|
239081
239269
|
mode: file.mode,
|
239082
239270
|
sha,
|
239083
239271
|
});
|
239084
239272
|
}
|
239085
|
-
|
239086
|
-
}, []);
|
239273
|
+
}
|
239087
239274
|
return preparedFiles;
|
239088
239275
|
};
|
239089
239276
|
exports.prepareFiles = prepareFiles;
|
@@ -250294,6 +250481,7 @@ const glob_1 = __importDefault(__webpack_require__(91104));
|
|
250294
250481
|
const path_1 = __webpack_require__(85622);
|
250295
250482
|
const pluralize_1 = __importDefault(__webpack_require__(31974));
|
250296
250483
|
const emoji_1 = __webpack_require__(41806);
|
250484
|
+
const errors_ts_1 = __webpack_require__(60156);
|
250297
250485
|
const get_args_1 = __importDefault(__webpack_require__(87612));
|
250298
250486
|
const handle_error_1 = __importDefault(__webpack_require__(70870));
|
250299
250487
|
const confirm_1 = __importDefault(__webpack_require__(33564));
|
@@ -250307,6 +250495,7 @@ const plugins_1 = __webpack_require__(13233);
|
|
250307
250495
|
const find_framework_1 = __webpack_require__(77969);
|
250308
250496
|
const link_1 = __webpack_require__(67630);
|
250309
250497
|
const project_settings_1 = __webpack_require__(42697);
|
250498
|
+
const read_json_file_1 = __importDefault(__webpack_require__(16898));
|
250310
250499
|
const pull_1 = __importDefault(__webpack_require__(6277));
|
250311
250500
|
const sema = new async_sema_1.default(16, {
|
250312
250501
|
capacity: 100,
|
@@ -250390,6 +250579,33 @@ async function main(client) {
|
|
250390
250579
|
env: { ...combinedEnv, VERCEL: '1' },
|
250391
250580
|
};
|
250392
250581
|
process.chdir(cwd);
|
250582
|
+
const pkg = await read_json_file_1.default('./package.json');
|
250583
|
+
if (pkg instanceof errors_ts_1.CantParseJSONFile) {
|
250584
|
+
throw pkg;
|
250585
|
+
}
|
250586
|
+
const vercelConfig = await read_json_file_1.default('./vercel.json');
|
250587
|
+
if (vercelConfig instanceof errors_ts_1.CantParseJSONFile) {
|
250588
|
+
throw vercelConfig;
|
250589
|
+
}
|
250590
|
+
if (!process.env.NOW_BUILDER) {
|
250591
|
+
// This validation is only necessary when
|
250592
|
+
// a user runs `vercel build` locally.
|
250593
|
+
const globFiles = await build_utils_1.glob('**', { cwd });
|
250594
|
+
const zeroConfig = await build_utils_1.detectBuilders(Object.keys(globFiles), pkg);
|
250595
|
+
const { reason } = await build_utils_1.detectFileSystemAPI({
|
250596
|
+
files: globFiles,
|
250597
|
+
projectSettings: project.settings,
|
250598
|
+
builders: zeroConfig.builders || [],
|
250599
|
+
pkg,
|
250600
|
+
vercelConfig,
|
250601
|
+
tag: '',
|
250602
|
+
enableFlag: true,
|
250603
|
+
});
|
250604
|
+
if (reason) {
|
250605
|
+
client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} build`)} failed: ${reason}`);
|
250606
|
+
return 1;
|
250607
|
+
}
|
250608
|
+
}
|
250393
250609
|
const framework = find_framework_1.findFramework(project.settings.framework);
|
250394
250610
|
// If this is undefined, we bail. If it is null, then findFramework should return "Other",
|
250395
250611
|
// so this should really never happen, but just in case....
|
@@ -251709,8 +251925,8 @@ exports.default = async (client) => {
|
|
251709
251925
|
if (!pathValidation.valid) {
|
251710
251926
|
return pathValidation.exitCode;
|
251711
251927
|
}
|
251712
|
-
const {
|
251713
|
-
const autoConfirm = argv['--confirm']
|
251928
|
+
const { path } = pathValidation;
|
251929
|
+
const autoConfirm = argv['--confirm'];
|
251714
251930
|
// deprecate --name
|
251715
251931
|
if (argv['--name']) {
|
251716
251932
|
output.print(`${emoji_1.prependEmoji(`The ${param_1.default('--name')} option is deprecated (https://vercel.link/name-flag)`, emoji_1.emoji('warning'))}\n`);
|
@@ -251748,8 +251964,7 @@ exports.default = async (client) => {
|
|
251748
251964
|
// user input.
|
251749
251965
|
const detectedProjectName = get_project_name_1.default({
|
251750
251966
|
argv,
|
251751
|
-
nowConfig: localConfig
|
251752
|
-
isFile,
|
251967
|
+
nowConfig: localConfig,
|
251753
251968
|
paths,
|
251754
251969
|
});
|
251755
251970
|
const projectOrNewProjectName = await input_project_1.default(client, org, detectedProjectName, autoConfirm);
|
@@ -251881,7 +252096,6 @@ exports.default = async (client) => {
|
|
251881
252096
|
rootDirectory,
|
251882
252097
|
quiet,
|
251883
252098
|
wantsPublic: argv['--public'] || localConfig.public,
|
251884
|
-
isFile,
|
251885
252099
|
type: null,
|
251886
252100
|
nowConfig: localConfig,
|
251887
252101
|
regions,
|
@@ -251894,7 +252108,7 @@ exports.default = async (client) => {
|
|
251894
252108
|
// Only add projectSettings for zero config deployments
|
251895
252109
|
createArgs.projectSettings = { sourceFilesOutsideRootDirectory };
|
251896
252110
|
}
|
251897
|
-
deployment = await create_deploy_1.default(client, now, contextName, [sourcePath], createArgs, org, !project
|
252111
|
+
deployment = await create_deploy_1.default(client, now, contextName, [sourcePath], createArgs, org, !project, path);
|
251898
252112
|
if (deployment.code === 'missing_project_settings') {
|
251899
252113
|
let { projectSettings, framework } = deployment;
|
251900
252114
|
if (rootDirectory) {
|
@@ -252007,7 +252221,7 @@ exports.default = async (client) => {
|
|
252007
252221
|
error_1.handleError(err);
|
252008
252222
|
return 1;
|
252009
252223
|
}
|
252010
|
-
return printDeploymentStatus(output, client, deployment, deployStamp, !argv['--no-clipboard']
|
252224
|
+
return printDeploymentStatus(output, client, deployment, deployStamp, !argv['--no-clipboard']);
|
252011
252225
|
};
|
252012
252226
|
function handleCreateDeployError(output, error, localConfig) {
|
252013
252227
|
if (error instanceof errors_ts_1.InvalidDomain) {
|
@@ -252073,7 +252287,7 @@ const addProcessEnv = async (log, env) => {
|
|
252073
252287
|
}
|
252074
252288
|
}
|
252075
252289
|
};
|
252076
|
-
const printDeploymentStatus = async (output, client, { readyState, alias: aliasList, aliasError, target, indications, url: deploymentUrl, aliasWarning, }, deployStamp, isClipboardEnabled
|
252290
|
+
const printDeploymentStatus = async (output, client, { readyState, alias: aliasList, aliasError, target, indications, url: deploymentUrl, aliasWarning, }, deployStamp, isClipboardEnabled) => {
|
252077
252291
|
indications = indications || [];
|
252078
252292
|
const isProdDeployment = target === 'production';
|
252079
252293
|
if (readyState !== 'READY') {
|
@@ -252087,7 +252301,7 @@ const printDeploymentStatus = async (output, client, { readyState, alias: aliasL
|
|
252087
252301
|
// print preview/production url
|
252088
252302
|
let previewUrl;
|
252089
252303
|
let isWildcard;
|
252090
|
-
if (
|
252304
|
+
if (Array.isArray(aliasList) && aliasList.length > 0) {
|
252091
252305
|
const previewUrlInfo = await get_preferred_preview_url_1.getPreferredPreviewURL(client, aliasList);
|
252092
252306
|
if (previewUrlInfo) {
|
252093
252307
|
isWildcard = previewUrlInfo.isWildcard;
|
@@ -261580,6 +261794,28 @@ class DevServer {
|
|
261580
261794
|
if (warnings && warnings.length > 0) {
|
261581
261795
|
warnings.forEach(warning => this.output.warn(warning.message, null, warning.link, warning.action));
|
261582
261796
|
}
|
261797
|
+
const { reason, metadata } = await build_utils_1.detectFileSystemAPI({
|
261798
|
+
files,
|
261799
|
+
builders: builders || [],
|
261800
|
+
projectSettings: projectSettings || this.projectSettings || {},
|
261801
|
+
vercelConfig,
|
261802
|
+
pkg,
|
261803
|
+
tag: '',
|
261804
|
+
enableFlag: true,
|
261805
|
+
});
|
261806
|
+
if (reason) {
|
261807
|
+
if (metadata.hasMiddleware) {
|
261808
|
+
this.output.error(`Detected middleware usage which requires the latest API. ${reason}`);
|
261809
|
+
await this.exit();
|
261810
|
+
}
|
261811
|
+
else if (metadata.plugins.length > 0) {
|
261812
|
+
this.output.error(`Detected CLI plugins which requires the latest API. ${reason}`);
|
261813
|
+
await this.exit();
|
261814
|
+
}
|
261815
|
+
else {
|
261816
|
+
this.output.warn(`Unable to use latest API. ${reason}`);
|
261817
|
+
}
|
261818
|
+
}
|
261583
261819
|
if (builders) {
|
261584
261820
|
if (this.devCommand) {
|
261585
261821
|
builders = builders.filter(filterFrontendBuilds);
|
@@ -265953,7 +266189,7 @@ exports.default = getPrefixedFlags;
|
|
265953
266189
|
|
265954
266190
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
265955
266191
|
const path_1 = __webpack_require__(85622);
|
265956
|
-
function getProjectName({ argv, nowConfig = {},
|
266192
|
+
function getProjectName({ argv, nowConfig = {}, paths = [], }) {
|
265957
266193
|
const nameCli = argv['--name'];
|
265958
266194
|
if (nameCli) {
|
265959
266195
|
return nameCli;
|
@@ -265961,9 +266197,6 @@ function getProjectName({ argv, nowConfig = {}, isFile = false, paths = [], }) {
|
|
265961
266197
|
if (nowConfig.name) {
|
265962
266198
|
return nowConfig.name;
|
265963
266199
|
}
|
265964
|
-
if (isFile || paths.length > 1) {
|
265965
|
-
return 'files';
|
265966
|
-
}
|
265967
266200
|
// Otherwise, use the name of the directory
|
265968
266201
|
return path_1.basename(paths[0] || '');
|
265969
266202
|
}
|
@@ -266786,7 +267019,7 @@ const get_project_by_id_or_name_1 = __importDefault(__webpack_require__(41123));
|
|
266786
267019
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
266787
267020
|
const errors_ts_1 = __webpack_require__(60156);
|
266788
267021
|
const slugify_1 = __importDefault(__webpack_require__(98537));
|
266789
|
-
async function inputProject(client, org, detectedProjectName, autoConfirm) {
|
267022
|
+
async function inputProject(client, org, detectedProjectName, autoConfirm = false) {
|
266790
267023
|
const { output } = client;
|
266791
267024
|
const slugifiedName = slugify_1.default(detectedProjectName);
|
266792
267025
|
// attempt to auto-detect a project to link
|
@@ -266898,7 +267131,7 @@ const path_1 = __importDefault(__webpack_require__(85622));
|
|
266898
267131
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
266899
267132
|
const inquirer_1 = __importDefault(__webpack_require__(64016));
|
266900
267133
|
const validate_paths_1 = __webpack_require__(54579);
|
266901
|
-
async function inputRootDirectory(cwd, output, autoConfirm) {
|
267134
|
+
async function inputRootDirectory(cwd, output, autoConfirm = false) {
|
266902
267135
|
if (autoConfirm) {
|
266903
267136
|
return null;
|
266904
267137
|
}
|
@@ -267856,7 +268089,6 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
267856
268089
|
withCache: undefined,
|
267857
268090
|
quiet,
|
267858
268091
|
wantsPublic: (localConfig === null || localConfig === void 0 ? void 0 : localConfig.public) || false,
|
267859
|
-
isFile,
|
267860
268092
|
nowConfig: localConfig,
|
267861
268093
|
regions: undefined,
|
267862
268094
|
meta: {},
|
@@ -267868,7 +268100,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
267868
268100
|
// Only add projectSettings for zero config deployments
|
267869
268101
|
createArgs.projectSettings = { sourceFilesOutsideRootDirectory };
|
267870
268102
|
}
|
267871
|
-
const deployment = await create_deploy_1.default(client, now, config.currentTeam || 'current user', [sourcePath], createArgs, org,
|
268103
|
+
const deployment = await create_deploy_1.default(client, now, config.currentTeam || 'current user', [sourcePath], createArgs, org, true, path);
|
267872
268104
|
if (!deployment ||
|
267873
268105
|
!('code' in deployment) ||
|
267874
268106
|
deployment.code !== 'missing_project_settings') {
|
@@ -270639,7 +270871,6 @@ const util_1 = __webpack_require__(31669);
|
|
270639
270871
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
270640
270872
|
const os_1 = __webpack_require__(12087);
|
270641
270873
|
const confirm_1 = __importDefault(__webpack_require__(33564));
|
270642
|
-
const emoji_1 = __webpack_require__(41806);
|
270643
270874
|
const humanize_path_1 = __importDefault(__webpack_require__(45090));
|
270644
270875
|
const stat = util_1.promisify(fs_1.lstat);
|
270645
270876
|
/**
|
@@ -270676,9 +270907,12 @@ async function validatePaths(output, paths) {
|
|
270676
270907
|
output.print(`${chalk_1.default.red('Error!')} Could not find ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}\n`);
|
270677
270908
|
return { valid: false, exitCode: 1 };
|
270678
270909
|
}
|
270679
|
-
|
270680
|
-
|
270681
|
-
|
270910
|
+
if (!pathStat.isDirectory()) {
|
270911
|
+
output.prettyError({
|
270912
|
+
message: 'Support for single file deployments has been removed.',
|
270913
|
+
link: 'https://vercel.link/no-single-file-deployments',
|
270914
|
+
});
|
270915
|
+
return { valid: false, exitCode: 1 };
|
270682
270916
|
}
|
270683
270917
|
// ask confirmation if the directory is home
|
270684
270918
|
if (path === os_1.homedir()) {
|
@@ -270688,7 +270922,7 @@ async function validatePaths(output, paths) {
|
|
270688
270922
|
return { valid: false, exitCode: 0 };
|
270689
270923
|
}
|
270690
270924
|
}
|
270691
|
-
return { valid: true, path
|
270925
|
+
return { valid: true, path };
|
270692
270926
|
}
|
270693
270927
|
exports.default = validatePaths;
|
270694
270928
|
|
@@ -271067,7 +271301,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
271067
271301
|
/***/ ((module) => {
|
271068
271302
|
|
271069
271303
|
"use strict";
|
271070
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
271304
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.69\",\"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\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.44\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.2\",\"@vercel/ruby\":\"1.2.10-canary.0\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.21\",\"vercel-plugin-node\":\"1.12.2-canary.36\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@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/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@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\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@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\",\"@vercel/client\":\"10.2.3-canary.47\",\"@vercel/frameworks\":\"0.5.1-canary.17\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/nft\":\"0.17.0\",\"@zeit/fun\":\"0.11.2\",\"@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\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"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\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.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.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.2.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"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-eager\":\"2.0.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"ecb44812263a03803157ad258c2f0f3cd0fc83ef\"}");
|
271071
271305
|
|
271072
271306
|
/***/ }),
|
271073
271307
|
|
@@ -271083,7 +271317,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
271083
271317
|
/***/ ((module) => {
|
271084
271318
|
|
271085
271319
|
"use strict";
|
271086
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
271320
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.47\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.1\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.44\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"querystring\":\"^0.2.0\",\"recursive-readdir\":\"2.2.2\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"ecb44812263a03803157ad258c2f0f3cd0fc83ef\"}");
|
271087
271321
|
|
271088
271322
|
/***/ }),
|
271089
271323
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "23.1.3-canary.
|
3
|
+
"version": "23.1.3-canary.69",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -43,14 +43,14 @@
|
|
43
43
|
"node": ">= 12"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@vercel/build-utils": "2.12.3-canary.
|
46
|
+
"@vercel/build-utils": "2.12.3-canary.44",
|
47
47
|
"@vercel/go": "1.2.4-canary.4",
|
48
48
|
"@vercel/node": "1.12.2-canary.7",
|
49
|
-
"@vercel/python": "2.1.2-canary.
|
49
|
+
"@vercel/python": "2.1.2-canary.2",
|
50
50
|
"@vercel/ruby": "1.2.10-canary.0",
|
51
51
|
"update-notifier": "4.1.0",
|
52
|
-
"vercel-plugin-middleware": "0.0.0-canary.
|
53
|
-
"vercel-plugin-node": "1.12.2-canary.
|
52
|
+
"vercel-plugin-middleware": "0.0.0-canary.21",
|
53
|
+
"vercel-plugin-node": "1.12.2-canary.36"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@next/env": "11.1.2",
|
@@ -90,6 +90,7 @@
|
|
90
90
|
"@types/update-notifier": "5.1.0",
|
91
91
|
"@types/which": "1.3.2",
|
92
92
|
"@types/write-json-file": "2.2.1",
|
93
|
+
"@vercel/client": "10.2.3-canary.47",
|
93
94
|
"@vercel/frameworks": "0.5.1-canary.17",
|
94
95
|
"@vercel/ncc": "0.24.0",
|
95
96
|
"@vercel/nft": "0.17.0",
|
@@ -184,5 +185,5 @@
|
|
184
185
|
"<rootDir>/test/**/*.test.ts"
|
185
186
|
]
|
186
187
|
},
|
187
|
-
"gitHead": "
|
188
|
+
"gitHead": "ecb44812263a03803157ad258c2f0f3cd0fc83ef"
|
188
189
|
}
|