vercel 23.1.3-canary.49 → 23.1.3-canary.52

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.
Files changed (2) hide show
  1. package/dist/index.js +201 -130
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -217406,6 +217406,36 @@ const glob_1 = __importDefault(__nested_webpack_require_917406__(4240));
217406
217406
  const normalize_path_1 = __nested_webpack_require_917406__(6261);
217407
217407
  const lambda_1 = __nested_webpack_require_917406__(6721);
217408
217408
  const _1 = __nested_webpack_require_917406__(2855);
217409
+ // `.output` was already created by the Build Command, so we have
217410
+ // to ensure its contents don't get bundled into the Lambda. Similarily,
217411
+ // we don't want to bundle anything from `.vercel` either. Lastly,
217412
+ // Builders/Runtimes didn't have `vercel.json` or `now.json`.
217413
+ const ignoredPaths = ['.output', '.vercel', 'vercel.json', 'now.json'];
217414
+ const shouldIgnorePath = (file, ignoreFilter, ignoreFile) => {
217415
+ const isNative = ignoredPaths.some(item => {
217416
+ return file.startsWith(item);
217417
+ });
217418
+ if (!ignoreFile) {
217419
+ return isNative;
217420
+ }
217421
+ return isNative || ignoreFilter(file);
217422
+ };
217423
+ const getSourceFiles = async (workPath, ignoreFilter) => {
217424
+ const list = await glob_1.default('**', {
217425
+ cwd: workPath,
217426
+ });
217427
+ // We're not passing this as an `ignore` filter to the `glob` function above,
217428
+ // so that we can re-use exactly the same `getIgnoreFilter` method that the
217429
+ // Build Step uses (literally the same code). Note that this exclusion only applies
217430
+ // when deploying. Locally, another exclusion is needed, which is handled
217431
+ // further below in the `convertRuntimeToPlugin` function.
217432
+ for (const file in list) {
217433
+ if (shouldIgnorePath(file, ignoreFilter, true)) {
217434
+ delete list[file];
217435
+ }
217436
+ }
217437
+ return list;
217438
+ };
217409
217439
  /**
217410
217440
  * Convert legacy Runtime to a Plugin.
217411
217441
  * @param buildRuntime - a legacy build() function from a Runtime
@@ -217415,29 +217445,25 @@ const _1 = __nested_webpack_require_917406__(2855);
217415
217445
  function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217416
217446
  // This `build()` signature should match `plugin.build()` signature in `vercel build`.
217417
217447
  return async function build({ workPath }) {
217418
- const opts = { cwd: workPath };
217419
- const files = await glob_1.default('**', opts);
217420
- // `.output` was already created by the Build Command, so we have
217421
- // to ensure its contents don't get bundled into the Lambda. Similarily,
217422
- // we don't want to bundle anything from `.vercel` either. Lastly,
217423
- // Builders/Runtimes didn't have `vercel.json` or `now.json`.
217424
- const ignoredPaths = ['.output', '.vercel', 'vercel.json', 'now.json'];
217425
217448
  // We also don't want to provide any files to Runtimes that were ignored
217426
217449
  // through `.vercelignore` or `.nowignore`, because the Build Step does the same.
217427
217450
  const ignoreFilter = await _1.getIgnoreFilter(workPath);
217428
- // We're not passing this as an `ignore` filter to the `glob` function above,
217429
- // so that we can re-use exactly the same `getIgnoreFilter` method that the
217430
- // Build Step uses (literally the same code).
217431
- for (const file in files) {
217432
- const isNative = ignoredPaths.some(item => {
217433
- return file.startsWith(item);
217434
- });
217435
- if (isNative || ignoreFilter(file)) {
217436
- delete files[file];
217451
+ // Retrieve the files that are currently available on the File System,
217452
+ // before the Legacy Runtime has even started to build.
217453
+ const sourceFilesPreBuild = await getSourceFiles(workPath, ignoreFilter);
217454
+ // Instead of doing another `glob` to get all the matching source files,
217455
+ // we'll filter the list of existing files down to only the ones
217456
+ // that are matching the entrypoint pattern, so we're first creating
217457
+ // a clean new list to begin.
217458
+ const entrypoints = Object.assign({}, sourceFilesPreBuild);
217459
+ const entrypointMatch = new RegExp(`^api/.*${ext}$`);
217460
+ // Up next, we'll strip out the files from the list of entrypoints
217461
+ // that aren't actually considered entrypoints.
217462
+ for (const file in entrypoints) {
217463
+ if (!entrypointMatch.test(file)) {
217464
+ delete entrypoints[file];
217437
217465
  }
217438
217466
  }
217439
- const entrypointPattern = `api/**/*${ext}`;
217440
- const entrypoints = await glob_1.default(entrypointPattern, opts);
217441
217467
  const pages = {};
217442
217468
  const pluginName = packageName.replace('vercel-plugin-', '');
217443
217469
  const traceDir = path_1.join(workPath, `.output`, `inputs`,
@@ -217449,7 +217475,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217449
217475
  await fs_extra_1.default.ensureDir(traceDir);
217450
217476
  for (const entrypoint of Object.keys(entrypoints)) {
217451
217477
  const { output } = await buildRuntime({
217452
- files,
217478
+ files: sourceFilesPreBuild,
217453
217479
  entrypoint,
217454
217480
  workPath,
217455
217481
  config: {
@@ -217459,8 +217485,23 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217459
217485
  avoidTopLevelInstall: true,
217460
217486
  },
217461
217487
  });
217488
+ // Legacy Runtimes tend to pollute the `workPath` with compiled results,
217489
+ // because the `workPath` used to be a place that was a place where they could
217490
+ // just put anything, but nowadays it's the working directory of the `vercel build`
217491
+ // command, which is the place where the developer keeps their source files,
217492
+ // so we don't want to pollute this space unnecessarily. That means we have to clean
217493
+ // up files that were created by the build, which is done further below.
217494
+ const sourceFilesAfterBuild = await getSourceFiles(workPath, ignoreFilter);
217495
+ // Further down, we will need the filename of the Lambda handler
217496
+ // for placing it inside `server/pages/api`, but because Legacy Runtimes
217497
+ // don't expose the filename directly, we have to construct it
217498
+ // from the handler name, and then find the matching file further below,
217499
+ // because we don't yet know its extension here.
217500
+ const handler = output.handler;
217501
+ const handlerMethod = handler.split('.').reverse()[0];
217502
+ const handlerFileName = handler.replace(`.${handlerMethod}`, '');
217462
217503
  pages[entrypoint] = {
217463
- handler: output.handler,
217504
+ handler: handler,
217464
217505
  runtime: output.runtime,
217465
217506
  memory: output.memory,
217466
217507
  maxDuration: output.maxDuration,
@@ -217469,12 +217510,42 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217469
217510
  };
217470
217511
  // @ts-ignore This symbol is a private API
217471
217512
  const lambdaFiles = output[lambda_1.FILES_SYMBOL];
217513
+ // When deploying, the `files` that are passed to the Legacy Runtimes already
217514
+ // have certain files that are ignored stripped, but locally, that list of
217515
+ // files isn't used by the Legacy Runtimes, so we need to apply the filters
217516
+ // to the outputs that they are returning instead.
217517
+ for (const file in lambdaFiles) {
217518
+ if (shouldIgnorePath(file, ignoreFilter, false)) {
217519
+ delete lambdaFiles[file];
217520
+ }
217521
+ }
217522
+ const handlerFilePath = Object.keys(lambdaFiles).find(item => {
217523
+ return path_1.parse(item).name === handlerFileName;
217524
+ });
217525
+ const handlerFileOrigin = lambdaFiles[handlerFilePath || ''].fsPath;
217526
+ if (!handlerFileOrigin) {
217527
+ throw new Error(`Could not find a handler file. Please ensure that the list of \`files\` defined for the returned \`Lambda\` contains a file with the name ${handlerFileName} (+ any extension).`);
217528
+ }
217472
217529
  const entry = path_1.join(workPath, '.output', 'server', 'pages', entrypoint);
217473
217530
  await fs_extra_1.default.ensureDir(path_1.dirname(entry));
217474
- await linkOrCopy(files[entrypoint].fsPath, entry);
217531
+ await linkOrCopy(handlerFileOrigin, entry);
217532
+ const toRemove = [];
217533
+ // You can find more details about this at the point where the
217534
+ // `sourceFilesAfterBuild` is created originally.
217535
+ for (const file in sourceFilesAfterBuild) {
217536
+ if (!sourceFilesPreBuild[file]) {
217537
+ const path = sourceFilesAfterBuild[file].fsPath;
217538
+ toRemove.push(fs_extra_1.default.remove(path));
217539
+ }
217540
+ }
217541
+ await Promise.all(toRemove);
217475
217542
  const tracedFiles = [];
217476
217543
  Object.entries(lambdaFiles).forEach(async ([relPath, file]) => {
217477
217544
  const newPath = path_1.join(traceDir, relPath);
217545
+ // The handler was already moved into position above.
217546
+ if (relPath === handlerFilePath) {
217547
+ return;
217548
+ }
217478
217549
  tracedFiles.push({ absolutePath: newPath, relativePath: relPath });
217479
217550
  if (file.fsPath) {
217480
217551
  await linkOrCopy(file.fsPath, newPath);
@@ -217490,9 +217561,9 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217490
217561
  const nft = path_1.join(workPath, '.output', 'server', 'pages', `${entrypoint}.nft.json`);
217491
217562
  const json = JSON.stringify({
217492
217563
  version: 1,
217493
- files: tracedFiles.map(f => ({
217494
- input: normalize_path_1.normalizePath(path_1.relative(nft, f.absolutePath)),
217495
- output: normalize_path_1.normalizePath(f.relativePath),
217564
+ files: tracedFiles.map(file => ({
217565
+ input: normalize_path_1.normalizePath(path_1.relative(nft, file.absolutePath)),
217566
+ output: normalize_path_1.normalizePath(file.relativePath),
217496
217567
  })),
217497
217568
  });
217498
217569
  await fs_extra_1.default.ensureDir(path_1.dirname(nft));
@@ -217585,12 +217656,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
217585
217656
  /***/ }),
217586
217657
 
217587
217658
  /***/ 1868:
217588
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_925701__) => {
217659
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_929696__) => {
217589
217660
 
217590
217661
  "use strict";
217591
217662
 
217592
217663
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217593
- const _1 = __nested_webpack_require_925701__(2855);
217664
+ const _1 = __nested_webpack_require_929696__(2855);
217594
217665
  function debug(message, ...additional) {
217595
217666
  if (_1.getPlatformEnv('BUILDER_DEBUG')) {
217596
217667
  console.log(message, ...additional);
@@ -217602,7 +217673,7 @@ exports.default = debug;
217602
217673
  /***/ }),
217603
217674
 
217604
217675
  /***/ 4246:
217605
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_926086__) {
217676
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_930081__) {
217606
217677
 
217607
217678
  "use strict";
217608
217679
 
@@ -217611,11 +217682,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217611
217682
  };
217612
217683
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217613
217684
  exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
217614
- const minimatch_1 = __importDefault(__nested_webpack_require_926086__(9566));
217615
- const semver_1 = __nested_webpack_require_926086__(2879);
217616
- const path_1 = __nested_webpack_require_926086__(5622);
217617
- const frameworks_1 = __importDefault(__nested_webpack_require_926086__(8438));
217618
- const _1 = __nested_webpack_require_926086__(2855);
217685
+ const minimatch_1 = __importDefault(__nested_webpack_require_930081__(9566));
217686
+ const semver_1 = __nested_webpack_require_930081__(2879);
217687
+ const path_1 = __nested_webpack_require_930081__(5622);
217688
+ const frameworks_1 = __importDefault(__nested_webpack_require_930081__(8438));
217689
+ const _1 = __nested_webpack_require_930081__(2855);
217619
217690
  const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
217620
217691
  // We need to sort the file paths by alphabet to make
217621
217692
  // sure the routes stay in the same order e.g. for deduping
@@ -218674,7 +218745,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
218674
218745
  /***/ }),
218675
218746
 
218676
218747
  /***/ 2397:
218677
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_965470__) {
218748
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_969465__) {
218678
218749
 
218679
218750
  "use strict";
218680
218751
 
@@ -218682,8 +218753,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218682
218753
  return (mod && mod.__esModule) ? mod : { "default": mod };
218683
218754
  };
218684
218755
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218685
- const assert_1 = __importDefault(__nested_webpack_require_965470__(2357));
218686
- const into_stream_1 = __importDefault(__nested_webpack_require_965470__(6130));
218756
+ const assert_1 = __importDefault(__nested_webpack_require_969465__(2357));
218757
+ const into_stream_1 = __importDefault(__nested_webpack_require_969465__(6130));
218687
218758
  class FileBlob {
218688
218759
  constructor({ mode = 0o100644, contentType, data }) {
218689
218760
  assert_1.default(typeof mode === 'number');
@@ -218715,7 +218786,7 @@ exports.default = FileBlob;
218715
218786
  /***/ }),
218716
218787
 
218717
218788
  /***/ 9331:
218718
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_966922__) {
218789
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_970917__) {
218719
218790
 
218720
218791
  "use strict";
218721
218792
 
@@ -218723,11 +218794,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218723
218794
  return (mod && mod.__esModule) ? mod : { "default": mod };
218724
218795
  };
218725
218796
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218726
- const assert_1 = __importDefault(__nested_webpack_require_966922__(2357));
218727
- const fs_extra_1 = __importDefault(__nested_webpack_require_966922__(5392));
218728
- const multistream_1 = __importDefault(__nested_webpack_require_966922__(8179));
218729
- const path_1 = __importDefault(__nested_webpack_require_966922__(5622));
218730
- const async_sema_1 = __importDefault(__nested_webpack_require_966922__(5758));
218797
+ const assert_1 = __importDefault(__nested_webpack_require_970917__(2357));
218798
+ const fs_extra_1 = __importDefault(__nested_webpack_require_970917__(5392));
218799
+ const multistream_1 = __importDefault(__nested_webpack_require_970917__(8179));
218800
+ const path_1 = __importDefault(__nested_webpack_require_970917__(5622));
218801
+ const async_sema_1 = __importDefault(__nested_webpack_require_970917__(5758));
218731
218802
  const semaToPreventEMFILE = new async_sema_1.default(20);
218732
218803
  class FileFsRef {
218733
218804
  constructor({ mode = 0o100644, contentType, fsPath }) {
@@ -218793,7 +218864,7 @@ exports.default = FileFsRef;
218793
218864
  /***/ }),
218794
218865
 
218795
218866
  /***/ 5187:
218796
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_969726__) {
218867
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973721__) {
218797
218868
 
218798
218869
  "use strict";
218799
218870
 
@@ -218801,11 +218872,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218801
218872
  return (mod && mod.__esModule) ? mod : { "default": mod };
218802
218873
  };
218803
218874
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218804
- const assert_1 = __importDefault(__nested_webpack_require_969726__(2357));
218805
- const node_fetch_1 = __importDefault(__nested_webpack_require_969726__(2197));
218806
- const multistream_1 = __importDefault(__nested_webpack_require_969726__(8179));
218807
- const async_retry_1 = __importDefault(__nested_webpack_require_969726__(3691));
218808
- const async_sema_1 = __importDefault(__nested_webpack_require_969726__(5758));
218875
+ const assert_1 = __importDefault(__nested_webpack_require_973721__(2357));
218876
+ const node_fetch_1 = __importDefault(__nested_webpack_require_973721__(2197));
218877
+ const multistream_1 = __importDefault(__nested_webpack_require_973721__(8179));
218878
+ const async_retry_1 = __importDefault(__nested_webpack_require_973721__(3691));
218879
+ const async_sema_1 = __importDefault(__nested_webpack_require_973721__(5758));
218809
218880
  const semaToDownloadFromS3 = new async_sema_1.default(5);
218810
218881
  class BailableError extends Error {
218811
218882
  constructor(...args) {
@@ -218886,7 +218957,7 @@ exports.default = FileRef;
218886
218957
  /***/ }),
218887
218958
 
218888
218959
  /***/ 1611:
218889
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973127__) {
218960
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977122__) {
218890
218961
 
218891
218962
  "use strict";
218892
218963
 
@@ -218895,10 +218966,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218895
218966
  };
218896
218967
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218897
218968
  exports.isSymbolicLink = void 0;
218898
- const path_1 = __importDefault(__nested_webpack_require_973127__(5622));
218899
- const debug_1 = __importDefault(__nested_webpack_require_973127__(1868));
218900
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_973127__(9331));
218901
- const fs_extra_1 = __nested_webpack_require_973127__(5392);
218969
+ const path_1 = __importDefault(__nested_webpack_require_977122__(5622));
218970
+ const debug_1 = __importDefault(__nested_webpack_require_977122__(1868));
218971
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_977122__(9331));
218972
+ const fs_extra_1 = __nested_webpack_require_977122__(5392);
218902
218973
  const S_IFMT = 61440; /* 0170000 type of file */
218903
218974
  const S_IFLNK = 40960; /* 0120000 symbolic link */
218904
218975
  function isSymbolicLink(mode) {
@@ -218960,14 +219031,14 @@ exports.default = download;
218960
219031
  /***/ }),
218961
219032
 
218962
219033
  /***/ 3838:
218963
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_975952__) => {
219034
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_979947__) => {
218964
219035
 
218965
219036
  "use strict";
218966
219037
 
218967
219038
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218968
- const path_1 = __nested_webpack_require_975952__(5622);
218969
- const os_1 = __nested_webpack_require_975952__(2087);
218970
- const fs_extra_1 = __nested_webpack_require_975952__(5392);
219039
+ const path_1 = __nested_webpack_require_979947__(5622);
219040
+ const os_1 = __nested_webpack_require_979947__(2087);
219041
+ const fs_extra_1 = __nested_webpack_require_979947__(5392);
218971
219042
  async function getWritableDirectory() {
218972
219043
  const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
218973
219044
  const directory = path_1.join(os_1.tmpdir(), name);
@@ -218980,7 +219051,7 @@ exports.default = getWritableDirectory;
218980
219051
  /***/ }),
218981
219052
 
218982
219053
  /***/ 4240:
218983
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976532__) {
219054
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980527__) {
218984
219055
 
218985
219056
  "use strict";
218986
219057
 
@@ -218988,13 +219059,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218988
219059
  return (mod && mod.__esModule) ? mod : { "default": mod };
218989
219060
  };
218990
219061
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218991
- const path_1 = __importDefault(__nested_webpack_require_976532__(5622));
218992
- const assert_1 = __importDefault(__nested_webpack_require_976532__(2357));
218993
- const glob_1 = __importDefault(__nested_webpack_require_976532__(1104));
218994
- const util_1 = __nested_webpack_require_976532__(1669);
218995
- const fs_extra_1 = __nested_webpack_require_976532__(5392);
218996
- const normalize_path_1 = __nested_webpack_require_976532__(6261);
218997
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_976532__(9331));
219062
+ const path_1 = __importDefault(__nested_webpack_require_980527__(5622));
219063
+ const assert_1 = __importDefault(__nested_webpack_require_980527__(2357));
219064
+ const glob_1 = __importDefault(__nested_webpack_require_980527__(1104));
219065
+ const util_1 = __nested_webpack_require_980527__(1669);
219066
+ const fs_extra_1 = __nested_webpack_require_980527__(5392);
219067
+ const normalize_path_1 = __nested_webpack_require_980527__(6261);
219068
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_980527__(9331));
218998
219069
  const vanillaGlob = util_1.promisify(glob_1.default);
218999
219070
  async function glob(pattern, opts, mountpoint) {
219000
219071
  let options;
@@ -219040,7 +219111,7 @@ exports.default = glob;
219040
219111
  /***/ }),
219041
219112
 
219042
219113
  /***/ 7903:
219043
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_978728__) {
219114
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982723__) {
219044
219115
 
219045
219116
  "use strict";
219046
219117
 
@@ -219049,9 +219120,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219049
219120
  };
219050
219121
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219051
219122
  exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
219052
- const semver_1 = __nested_webpack_require_978728__(2879);
219053
- const errors_1 = __nested_webpack_require_978728__(3983);
219054
- const debug_1 = __importDefault(__nested_webpack_require_978728__(1868));
219123
+ const semver_1 = __nested_webpack_require_982723__(2879);
219124
+ const errors_1 = __nested_webpack_require_982723__(3983);
219125
+ const debug_1 = __importDefault(__nested_webpack_require_982723__(1868));
219055
219126
  const allOptions = [
219056
219127
  { major: 14, range: '14.x', runtime: 'nodejs14.x' },
219057
219128
  { major: 12, range: '12.x', runtime: 'nodejs12.x' },
@@ -219145,7 +219216,7 @@ exports.normalizePath = normalizePath;
219145
219216
  /***/ }),
219146
219217
 
219147
219218
  /***/ 7792:
219148
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982596__) {
219219
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986591__) {
219149
219220
 
219150
219221
  "use strict";
219151
219222
 
@@ -219154,9 +219225,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219154
219225
  };
219155
219226
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219156
219227
  exports.readConfigFile = void 0;
219157
- const js_yaml_1 = __importDefault(__nested_webpack_require_982596__(6540));
219158
- const toml_1 = __importDefault(__nested_webpack_require_982596__(9434));
219159
- const fs_extra_1 = __nested_webpack_require_982596__(5392);
219228
+ const js_yaml_1 = __importDefault(__nested_webpack_require_986591__(6540));
219229
+ const toml_1 = __importDefault(__nested_webpack_require_986591__(9434));
219230
+ const fs_extra_1 = __nested_webpack_require_986591__(5392);
219160
219231
  async function readFileOrNull(file) {
219161
219232
  try {
219162
219233
  const data = await fs_extra_1.readFile(file);
@@ -219211,7 +219282,7 @@ exports.default = rename;
219211
219282
  /***/ }),
219212
219283
 
219213
219284
  /***/ 1442:
219214
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_984389__) {
219285
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988384__) {
219215
219286
 
219216
219287
  "use strict";
219217
219288
 
@@ -219220,14 +219291,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219220
219291
  };
219221
219292
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219222
219293
  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;
219223
- const assert_1 = __importDefault(__nested_webpack_require_984389__(2357));
219224
- const fs_extra_1 = __importDefault(__nested_webpack_require_984389__(5392));
219225
- const path_1 = __importDefault(__nested_webpack_require_984389__(5622));
219226
- const debug_1 = __importDefault(__nested_webpack_require_984389__(1868));
219227
- const cross_spawn_1 = __importDefault(__nested_webpack_require_984389__(7618));
219228
- const util_1 = __nested_webpack_require_984389__(1669);
219229
- const errors_1 = __nested_webpack_require_984389__(3983);
219230
- const node_version_1 = __nested_webpack_require_984389__(7903);
219294
+ const assert_1 = __importDefault(__nested_webpack_require_988384__(2357));
219295
+ const fs_extra_1 = __importDefault(__nested_webpack_require_988384__(5392));
219296
+ const path_1 = __importDefault(__nested_webpack_require_988384__(5622));
219297
+ const debug_1 = __importDefault(__nested_webpack_require_988384__(1868));
219298
+ const cross_spawn_1 = __importDefault(__nested_webpack_require_988384__(7618));
219299
+ const util_1 = __nested_webpack_require_988384__(1669);
219300
+ const errors_1 = __nested_webpack_require_988384__(3983);
219301
+ const node_version_1 = __nested_webpack_require_988384__(7903);
219231
219302
  function spawnAsync(command, args, opts = {}) {
219232
219303
  return new Promise((resolve, reject) => {
219233
219304
  const stderrLogs = [];
@@ -219538,7 +219609,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
219538
219609
  /***/ }),
219539
219610
 
219540
219611
  /***/ 2560:
219541
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_998379__) {
219612
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1002374__) {
219542
219613
 
219543
219614
  "use strict";
219544
219615
 
@@ -219546,7 +219617,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219546
219617
  return (mod && mod.__esModule) ? mod : { "default": mod };
219547
219618
  };
219548
219619
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219549
- const end_of_stream_1 = __importDefault(__nested_webpack_require_998379__(687));
219620
+ const end_of_stream_1 = __importDefault(__nested_webpack_require_1002374__(687));
219550
219621
  function streamToBuffer(stream) {
219551
219622
  return new Promise((resolve, reject) => {
219552
219623
  const buffers = [];
@@ -219575,7 +219646,7 @@ exports.default = streamToBuffer;
219575
219646
  /***/ }),
219576
219647
 
219577
219648
  /***/ 1148:
219578
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_999447__) {
219649
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1003442__) {
219579
219650
 
219580
219651
  "use strict";
219581
219652
 
@@ -219583,9 +219654,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219583
219654
  return (mod && mod.__esModule) ? mod : { "default": mod };
219584
219655
  };
219585
219656
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219586
- const path_1 = __importDefault(__nested_webpack_require_999447__(5622));
219587
- const fs_extra_1 = __importDefault(__nested_webpack_require_999447__(5392));
219588
- const ignore_1 = __importDefault(__nested_webpack_require_999447__(3556));
219657
+ const path_1 = __importDefault(__nested_webpack_require_1003442__(5622));
219658
+ const fs_extra_1 = __importDefault(__nested_webpack_require_1003442__(5392));
219659
+ const ignore_1 = __importDefault(__nested_webpack_require_1003442__(3556));
219589
219660
  function isCodedError(error) {
219590
219661
  return (error !== null &&
219591
219662
  error !== undefined &&
@@ -219642,7 +219713,7 @@ exports.default = default_1;
219642
219713
  /***/ }),
219643
219714
 
219644
219715
  /***/ 2855:
219645
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1001829__) {
219716
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1005824__) {
219646
219717
 
219647
219718
  "use strict";
219648
219719
 
@@ -219673,29 +219744,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219673
219744
  };
219674
219745
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219675
219746
  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;
219676
- const crypto_1 = __nested_webpack_require_1001829__(6417);
219677
- const file_blob_1 = __importDefault(__nested_webpack_require_1001829__(2397));
219747
+ const crypto_1 = __nested_webpack_require_1005824__(6417);
219748
+ const file_blob_1 = __importDefault(__nested_webpack_require_1005824__(2397));
219678
219749
  exports.FileBlob = file_blob_1.default;
219679
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_1001829__(9331));
219750
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_1005824__(9331));
219680
219751
  exports.FileFsRef = file_fs_ref_1.default;
219681
- const file_ref_1 = __importDefault(__nested_webpack_require_1001829__(5187));
219752
+ const file_ref_1 = __importDefault(__nested_webpack_require_1005824__(5187));
219682
219753
  exports.FileRef = file_ref_1.default;
219683
- const lambda_1 = __nested_webpack_require_1001829__(6721);
219754
+ const lambda_1 = __nested_webpack_require_1005824__(6721);
219684
219755
  Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
219685
219756
  Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
219686
219757
  Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
219687
- const prerender_1 = __nested_webpack_require_1001829__(2850);
219758
+ const prerender_1 = __nested_webpack_require_1005824__(2850);
219688
219759
  Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
219689
- const download_1 = __importStar(__nested_webpack_require_1001829__(1611));
219760
+ const download_1 = __importStar(__nested_webpack_require_1005824__(1611));
219690
219761
  exports.download = download_1.default;
219691
219762
  Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
219692
- const get_writable_directory_1 = __importDefault(__nested_webpack_require_1001829__(3838));
219763
+ const get_writable_directory_1 = __importDefault(__nested_webpack_require_1005824__(3838));
219693
219764
  exports.getWriteableDirectory = get_writable_directory_1.default;
219694
- const glob_1 = __importDefault(__nested_webpack_require_1001829__(4240));
219765
+ const glob_1 = __importDefault(__nested_webpack_require_1005824__(4240));
219695
219766
  exports.glob = glob_1.default;
219696
- const rename_1 = __importDefault(__nested_webpack_require_1001829__(6718));
219767
+ const rename_1 = __importDefault(__nested_webpack_require_1005824__(6718));
219697
219768
  exports.rename = rename_1.default;
219698
- const run_user_scripts_1 = __nested_webpack_require_1001829__(1442);
219769
+ const run_user_scripts_1 = __nested_webpack_require_1005824__(1442);
219699
219770
  Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
219700
219771
  Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
219701
219772
  Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
@@ -219712,38 +219783,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
219712
219783
  Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
219713
219784
  Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
219714
219785
  Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
219715
- const node_version_1 = __nested_webpack_require_1001829__(7903);
219786
+ const node_version_1 = __nested_webpack_require_1005824__(7903);
219716
219787
  Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
219717
219788
  Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
219718
- const errors_1 = __nested_webpack_require_1001829__(3983);
219719
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1001829__(2560));
219789
+ const errors_1 = __nested_webpack_require_1005824__(3983);
219790
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1005824__(2560));
219720
219791
  exports.streamToBuffer = stream_to_buffer_1.default;
219721
- const should_serve_1 = __importDefault(__nested_webpack_require_1001829__(2564));
219792
+ const should_serve_1 = __importDefault(__nested_webpack_require_1005824__(2564));
219722
219793
  exports.shouldServe = should_serve_1.default;
219723
- const debug_1 = __importDefault(__nested_webpack_require_1001829__(1868));
219794
+ const debug_1 = __importDefault(__nested_webpack_require_1005824__(1868));
219724
219795
  exports.debug = debug_1.default;
219725
- const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1001829__(1148));
219796
+ const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1005824__(1148));
219726
219797
  exports.getIgnoreFilter = get_ignore_filter_1.default;
219727
- var detect_builders_1 = __nested_webpack_require_1001829__(4246);
219798
+ var detect_builders_1 = __nested_webpack_require_1005824__(4246);
219728
219799
  Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
219729
219800
  Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
219730
219801
  Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
219731
219802
  Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
219732
- var detect_framework_1 = __nested_webpack_require_1001829__(5224);
219803
+ var detect_framework_1 = __nested_webpack_require_1005824__(5224);
219733
219804
  Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
219734
- var filesystem_1 = __nested_webpack_require_1001829__(461);
219805
+ var filesystem_1 = __nested_webpack_require_1005824__(461);
219735
219806
  Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
219736
- var read_config_file_1 = __nested_webpack_require_1001829__(7792);
219807
+ var read_config_file_1 = __nested_webpack_require_1005824__(7792);
219737
219808
  Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
219738
- var normalize_path_1 = __nested_webpack_require_1001829__(6261);
219809
+ var normalize_path_1 = __nested_webpack_require_1005824__(6261);
219739
219810
  Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
219740
- var convert_runtime_to_plugin_1 = __nested_webpack_require_1001829__(7276);
219811
+ var convert_runtime_to_plugin_1 = __nested_webpack_require_1005824__(7276);
219741
219812
  Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
219742
219813
  Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
219743
219814
  Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
219744
- __exportStar(__nested_webpack_require_1001829__(2416), exports);
219745
- __exportStar(__nested_webpack_require_1001829__(5748), exports);
219746
- __exportStar(__nested_webpack_require_1001829__(3983), exports);
219815
+ __exportStar(__nested_webpack_require_1005824__(2416), exports);
219816
+ __exportStar(__nested_webpack_require_1005824__(5748), exports);
219817
+ __exportStar(__nested_webpack_require_1005824__(3983), exports);
219747
219818
  /**
219748
219819
  * Helper function to support both `@vercel` and legacy `@now` official Runtimes.
219749
219820
  */
@@ -219796,7 +219867,7 @@ exports.getInputHash = getInputHash;
219796
219867
  /***/ }),
219797
219868
 
219798
219869
  /***/ 6721:
219799
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012807__) {
219870
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1016802__) {
219800
219871
 
219801
219872
  "use strict";
219802
219873
 
@@ -219805,13 +219876,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219805
219876
  };
219806
219877
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219807
219878
  exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
219808
- const assert_1 = __importDefault(__nested_webpack_require_1012807__(2357));
219809
- const async_sema_1 = __importDefault(__nested_webpack_require_1012807__(5758));
219810
- const yazl_1 = __nested_webpack_require_1012807__(1223);
219811
- const minimatch_1 = __importDefault(__nested_webpack_require_1012807__(9566));
219812
- const fs_extra_1 = __nested_webpack_require_1012807__(5392);
219813
- const download_1 = __nested_webpack_require_1012807__(1611);
219814
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1012807__(2560));
219879
+ const assert_1 = __importDefault(__nested_webpack_require_1016802__(2357));
219880
+ const async_sema_1 = __importDefault(__nested_webpack_require_1016802__(5758));
219881
+ const yazl_1 = __nested_webpack_require_1016802__(1223);
219882
+ const minimatch_1 = __importDefault(__nested_webpack_require_1016802__(9566));
219883
+ const fs_extra_1 = __nested_webpack_require_1016802__(5392);
219884
+ const download_1 = __nested_webpack_require_1016802__(1611);
219885
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1016802__(2560));
219815
219886
  exports.FILES_SYMBOL = Symbol('files');
219816
219887
  class Lambda {
219817
219888
  constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
@@ -220040,12 +220111,12 @@ exports.buildsSchema = {
220040
220111
  /***/ }),
220041
220112
 
220042
220113
  /***/ 2564:
220043
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1021317__) => {
220114
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1025312__) => {
220044
220115
 
220045
220116
  "use strict";
220046
220117
 
220047
220118
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220048
- const path_1 = __nested_webpack_require_1021317__(5622);
220119
+ const path_1 = __nested_webpack_require_1025312__(5622);
220049
220120
  function shouldServe({ entrypoint, files, requestPath, }) {
220050
220121
  requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
220051
220122
  entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
@@ -220282,7 +220353,7 @@ module.exports = __webpack_require__(78761);
220282
220353
  /******/ var __webpack_module_cache__ = {};
220283
220354
  /******/
220284
220355
  /******/ // The require function
220285
- /******/ function __nested_webpack_require_1121052__(moduleId) {
220356
+ /******/ function __nested_webpack_require_1125047__(moduleId) {
220286
220357
  /******/ // Check if module is in cache
220287
220358
  /******/ if(__webpack_module_cache__[moduleId]) {
220288
220359
  /******/ return __webpack_module_cache__[moduleId].exports;
@@ -220297,7 +220368,7 @@ module.exports = __webpack_require__(78761);
220297
220368
  /******/ // Execute the module function
220298
220369
  /******/ var threw = true;
220299
220370
  /******/ try {
220300
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1121052__);
220371
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1125047__);
220301
220372
  /******/ threw = false;
220302
220373
  /******/ } finally {
220303
220374
  /******/ if(threw) delete __webpack_module_cache__[moduleId];
@@ -220310,11 +220381,11 @@ module.exports = __webpack_require__(78761);
220310
220381
  /************************************************************************/
220311
220382
  /******/ /* webpack/runtime/compat */
220312
220383
  /******/
220313
- /******/ __nested_webpack_require_1121052__.ab = __dirname + "/";/************************************************************************/
220384
+ /******/ __nested_webpack_require_1125047__.ab = __dirname + "/";/************************************************************************/
220314
220385
  /******/ // module exports must be returned from runtime so entry inlining is disabled
220315
220386
  /******/ // startup
220316
220387
  /******/ // Load entry module and return exports
220317
- /******/ return __nested_webpack_require_1121052__(2855);
220388
+ /******/ return __nested_webpack_require_1125047__(2855);
220318
220389
  /******/ })()
220319
220390
  ;
220320
220391
 
@@ -271075,7 +271146,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
271075
271146
  /***/ ((module) => {
271076
271147
 
271077
271148
  "use strict";
271078
- module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.49\",\"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.28\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.1\",\"@vercel/ruby\":\"1.2.8-canary.6\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.7\",\"vercel-plugin-node\":\"1.12.2-canary.20\"},\"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/frameworks\":\"0.5.1-canary.16\",\"@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\":\"a64ed13a4041b1abc156731ee6f37a09f7ebb7c8\"}");
271149
+ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.52\",\"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.31\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.1\",\"@vercel/ruby\":\"1.2.8-canary.6\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.7\",\"vercel-plugin-node\":\"1.12.2-canary.23\"},\"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/frameworks\":\"0.5.1-canary.16\",\"@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\":\"6f4a1b527ba01973490e1fb2e4c48ccb2841cd86\"}");
271079
271150
 
271080
271151
  /***/ }),
271081
271152
 
@@ -271091,7 +271162,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
271091
271162
  /***/ ((module) => {
271092
271163
 
271093
271164
  "use strict";
271094
- module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.29\",\"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.28\",\"@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\"}}");
271165
+ module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.32\",\"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.31\",\"@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\":\"6f4a1b527ba01973490e1fb2e4c48ccb2841cd86\"}");
271095
271166
 
271096
271167
  /***/ }),
271097
271168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "23.1.3-canary.49",
3
+ "version": "23.1.3-canary.52",
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.28",
46
+ "@vercel/build-utils": "2.12.3-canary.31",
47
47
  "@vercel/go": "1.2.4-canary.4",
48
48
  "@vercel/node": "1.12.2-canary.7",
49
49
  "@vercel/python": "2.1.2-canary.1",
50
50
  "@vercel/ruby": "1.2.8-canary.6",
51
51
  "update-notifier": "4.1.0",
52
52
  "vercel-plugin-middleware": "0.0.0-canary.7",
53
- "vercel-plugin-node": "1.12.2-canary.20"
53
+ "vercel-plugin-node": "1.12.2-canary.23"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@next/env": "11.1.2",
@@ -184,5 +184,5 @@
184
184
  "<rootDir>/test/**/*.test.ts"
185
185
  ]
186
186
  },
187
- "gitHead": "a64ed13a4041b1abc156731ee6f37a09f7ebb7c8"
187
+ "gitHead": "6f4a1b527ba01973490e1fb2e4c48ccb2841cd86"
188
188
  }