vercel 23.1.3-canary.54 → 23.1.3-canary.58

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 +246 -143
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -217473,6 +217473,8 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217473
217473
  // need to be able to easily inspect the output.
217474
217474
  `api-routes-${pluginName}`);
217475
217475
  await fs_extra_1.default.ensureDir(traceDir);
217476
+ let newPathsRuntime = new Set();
217477
+ let linkersRuntime = [];
217476
217478
  for (const entrypoint of Object.keys(entrypoints)) {
217477
217479
  const { output } = await buildRuntime({
217478
217480
  files: sourceFilesPreBuild,
@@ -217492,22 +217494,6 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217492
217494
  // so we don't want to pollute this space unnecessarily. That means we have to clean
217493
217495
  // up files that were created by the build, which is done further below.
217494
217496
  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}`, '');
217503
- pages[entrypoint] = {
217504
- handler: handler,
217505
- runtime: output.runtime,
217506
- memory: output.memory,
217507
- maxDuration: output.maxDuration,
217508
- environment: output.environment,
217509
- allowQuery: output.allowQuery,
217510
- };
217511
217497
  // @ts-ignore This symbol is a private API
217512
217498
  const lambdaFiles = output[lambda_1.FILES_SYMBOL];
217513
217499
  // When deploying, the `files` that are passed to the Legacy Runtimes already
@@ -217519,46 +217505,122 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217519
217505
  delete lambdaFiles[file];
217520
217506
  }
217521
217507
  }
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
- }
217529
- const entry = path_1.join(workPath, '.output', 'server', 'pages', entrypoint);
217508
+ let handlerFileBase = output.handler;
217509
+ let handlerFile = lambdaFiles[handlerFileBase];
217510
+ const { handler } = output;
217511
+ const handlerMethod = handler.split('.').pop();
217512
+ const handlerFileName = handler.replace(`.${handlerMethod}`, '');
217513
+ // For compiled languages, the launcher file for the Lambda generated
217514
+ // by the Legacy Runtime matches the `handler` defined for it, but for
217515
+ // interpreted languages, the `handler` consists of the launcher file name
217516
+ // without an extension, plus the name of the method inside of that file
217517
+ // that should be invoked, so we have to construct the file path explicitly.
217518
+ if (!handlerFile) {
217519
+ handlerFileBase = handlerFileName + ext;
217520
+ handlerFile = lambdaFiles[handlerFileBase];
217521
+ }
217522
+ if (!handlerFile || !handlerFile.fsPath) {
217523
+ throw new Error(`Could not find a handler file. Please ensure that \`files\` for the returned \`Lambda\` contains an \`FileFsRef\` named "${handlerFileBase}" with a valid \`fsPath\`.`);
217524
+ }
217525
+ const handlerExtName = path_1.extname(handlerFile.fsPath);
217526
+ const entryRoot = path_1.join(workPath, '.output', 'server', 'pages');
217527
+ const entryBase = path_1.basename(entrypoint).replace(ext, handlerExtName);
217528
+ const entryPath = path_1.join(path_1.dirname(entrypoint), entryBase);
217529
+ const entry = path_1.join(entryRoot, entryPath);
217530
+ // We never want to link here, only copy, because the launcher
217531
+ // file often has the same name for every entrypoint, which means that
217532
+ // every build for every entrypoint overwrites the launcher of the previous
217533
+ // one, so linking would end with a broken reference.
217530
217534
  await fs_extra_1.default.ensureDir(path_1.dirname(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
+ await fs_extra_1.default.copy(handlerFile.fsPath, entry);
217536
+ const newFilesEntrypoint = [];
217537
+ const newDirectoriesEntrypoint = [];
217538
+ const preBuildFiles = Object.values(sourceFilesPreBuild).map(file => {
217539
+ return file.fsPath;
217540
+ });
217541
+ // Generate a list of directories and files that weren't present
217542
+ // before the entrypoint was processed by the Legacy Runtime, so
217543
+ // that we can perform a cleanup later. We need to divide into files
217544
+ // and directories because only cleaning up files might leave empty
217545
+ // directories, and listing directories separately also speeds up the
217546
+ // build because we can just delete them, which wipes all of their nested
217547
+ // paths, instead of iterating through all files that should be deleted.
217535
217548
  for (const file in sourceFilesAfterBuild) {
217536
217549
  if (!sourceFilesPreBuild[file]) {
217537
217550
  const path = sourceFilesAfterBuild[file].fsPath;
217538
- toRemove.push(fs_extra_1.default.remove(path));
217551
+ const dirPath = path_1.dirname(path);
217552
+ // If none of the files that were present before the entrypoint
217553
+ // was processed are contained within the directory we're looking
217554
+ // at right now, then we know it's a newly added directory
217555
+ // and it can therefore be removed later on.
217556
+ const isNewDir = !preBuildFiles.some(filePath => {
217557
+ return path_1.dirname(filePath).startsWith(dirPath);
217558
+ });
217559
+ // Check out the list of tracked directories that were
217560
+ // newly added and see if one of them contains the path
217561
+ // we're looking at.
217562
+ const hasParentDir = newDirectoriesEntrypoint.some(dir => {
217563
+ return path.startsWith(dir);
217564
+ });
217565
+ // If we have already tracked a directory that was newly
217566
+ // added that sits above the file or directory that we're
217567
+ // looking at, we don't need to add more entries to the list
217568
+ // because when the parent will get removed in the future,
217569
+ // all of its children (and therefore the path we're looking at)
217570
+ // will automatically get removed anyways.
217571
+ if (hasParentDir) {
217572
+ continue;
217573
+ }
217574
+ if (isNewDir) {
217575
+ newDirectoriesEntrypoint.push(dirPath);
217576
+ }
217577
+ else {
217578
+ newFilesEntrypoint.push(path);
217579
+ }
217539
217580
  }
217540
217581
  }
217541
- await Promise.all(toRemove);
217542
217582
  const tracedFiles = [];
217543
- Object.entries(lambdaFiles).forEach(async ([relPath, file]) => {
217583
+ const linkers = Object.entries(lambdaFiles).map(async ([relPath, file]) => {
217544
217584
  const newPath = path_1.join(traceDir, relPath);
217545
217585
  // The handler was already moved into position above.
217546
- if (relPath === handlerFilePath) {
217586
+ if (relPath === handlerFileBase) {
217547
217587
  return;
217548
217588
  }
217549
217589
  tracedFiles.push({ absolutePath: newPath, relativePath: relPath });
217550
- if (file.fsPath) {
217551
- await linkOrCopy(file.fsPath, newPath);
217590
+ const { fsPath, type } = file;
217591
+ if (fsPath) {
217592
+ await fs_extra_1.default.ensureDir(path_1.dirname(newPath));
217593
+ const isNewFile = newFilesEntrypoint.includes(fsPath);
217594
+ const isInsideNewDirectory = newDirectoriesEntrypoint.some(dirPath => {
217595
+ return fsPath.startsWith(dirPath);
217596
+ });
217597
+ // With this, we're making sure that files in the `workPath` that existed
217598
+ // before the Legacy Runtime was invoked (source files) are linked from
217599
+ // `.output` instead of copying there (the latter only happens if linking fails),
217600
+ // which is the fastest solution. However, files that are created fresh
217601
+ // by the Legacy Runtimes are always copied, because their link destinations
217602
+ // are likely to be overwritten every time an entrypoint is processed by
217603
+ // the Legacy Runtime. This is likely to overwrite the destination on subsequent
217604
+ // runs, but that's also how `workPath` used to work originally, without
217605
+ // the File System API (meaning that there was one `workPath` for all entrypoints).
217606
+ if (isNewFile || isInsideNewDirectory) {
217607
+ _1.debug(`Copying from ${fsPath} to ${newPath}`);
217608
+ await fs_extra_1.default.copy(fsPath, newPath);
217609
+ }
217610
+ else {
217611
+ await linkOrCopy(fsPath, newPath);
217612
+ }
217552
217613
  }
217553
- else if (file.type === 'FileBlob') {
217614
+ else if (type === 'FileBlob') {
217554
217615
  const { data, mode } = file;
217555
217616
  await fs_extra_1.default.writeFile(newPath, data, { mode });
217556
217617
  }
217557
217618
  else {
217558
- throw new Error(`Unknown file type: ${file.type}`);
217619
+ throw new Error(`Unknown file type: ${type}`);
217559
217620
  }
217560
217621
  });
217561
- const nft = path_1.join(workPath, '.output', 'server', 'pages', `${entrypoint}.nft.json`);
217622
+ linkersRuntime = linkersRuntime.concat(linkers);
217623
+ const nft = `${entry}.nft.json`;
217562
217624
  const json = JSON.stringify({
217563
217625
  version: 1,
217564
217626
  files: tracedFiles.map(file => ({
@@ -217568,7 +217630,48 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217568
217630
  });
217569
217631
  await fs_extra_1.default.ensureDir(path_1.dirname(nft));
217570
217632
  await fs_extra_1.default.writeFile(nft, json);
217633
+ // Extend the list of directories and files that were created by the
217634
+ // Legacy Runtime with the list of directories and files that were
217635
+ // created for the entrypoint that was just processed above.
217636
+ newPathsRuntime = new Set([
217637
+ ...newPathsRuntime,
217638
+ ...newFilesEntrypoint,
217639
+ ...newDirectoriesEntrypoint,
217640
+ ]);
217641
+ // Add an entry that will later on be added to the `functions-manifest.json`
217642
+ // file that is placed inside of the `.output` directory.
217643
+ pages[normalize_path_1.normalizePath(entryPath)] = {
217644
+ // Because the underlying file used as a handler was placed
217645
+ // inside `.output/server/pages/api`, it no longer has the name it originally
217646
+ // had and is now named after the API Route that it's responsible for,
217647
+ // so we have to adjust the name of the Lambda handler accordingly.
217648
+ handler: handler.replace(handlerFileName, path_1.parse(entry).name),
217649
+ runtime: output.runtime,
217650
+ memory: output.memory,
217651
+ maxDuration: output.maxDuration,
217652
+ environment: output.environment,
217653
+ allowQuery: output.allowQuery,
217654
+ };
217571
217655
  }
217656
+ // Instead of of waiting for all of the linking to be done for every
217657
+ // entrypoint before processing the next one, we immediately handle all
217658
+ // of them one after the other, while then waiting for the linking
217659
+ // to finish right here, before we clean up newly created files below.
217660
+ await Promise.all(linkersRuntime);
217661
+ // A list of all the files that were created by the Legacy Runtime,
217662
+ // which we'd like to remove from the File System.
217663
+ const toRemove = Array.from(newPathsRuntime).map(path => {
217664
+ _1.debug(`Removing ${path} as part of cleanup`);
217665
+ return fs_extra_1.default.remove(path);
217666
+ });
217667
+ // Once all the entrypoints have been processed, we'd like to
217668
+ // remove all the files from `workPath` that originally weren't present
217669
+ // before the Legacy Runtime began running, because the `workPath`
217670
+ // is nowadays the directory in which the user keeps their source code, since
217671
+ // we're no longer running separate parallel builds for every Legacy Runtime.
217672
+ await Promise.all(toRemove);
217673
+ // Add any Serverless Functions that were exposed by the Legacy Runtime
217674
+ // to the `functions-manifest.json` file provided in `.output`.
217572
217675
  await updateFunctionsManifest({ workPath, pages });
217573
217676
  };
217574
217677
  }
@@ -217656,12 +217759,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
217656
217759
  /***/ }),
217657
217760
 
217658
217761
  /***/ 1868:
217659
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_929712__) => {
217762
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_936452__) => {
217660
217763
 
217661
217764
  "use strict";
217662
217765
 
217663
217766
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217664
- const _1 = __nested_webpack_require_929712__(2855);
217767
+ const _1 = __nested_webpack_require_936452__(2855);
217665
217768
  function debug(message, ...additional) {
217666
217769
  if (_1.getPlatformEnv('BUILDER_DEBUG')) {
217667
217770
  console.log(message, ...additional);
@@ -217673,7 +217776,7 @@ exports.default = debug;
217673
217776
  /***/ }),
217674
217777
 
217675
217778
  /***/ 4246:
217676
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_930097__) {
217779
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_936837__) {
217677
217780
 
217678
217781
  "use strict";
217679
217782
 
@@ -217682,11 +217785,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217682
217785
  };
217683
217786
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217684
217787
  exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
217685
- const minimatch_1 = __importDefault(__nested_webpack_require_930097__(9566));
217686
- const semver_1 = __nested_webpack_require_930097__(2879);
217687
- const path_1 = __nested_webpack_require_930097__(5622);
217688
- const frameworks_1 = __importDefault(__nested_webpack_require_930097__(8438));
217689
- const _1 = __nested_webpack_require_930097__(2855);
217788
+ const minimatch_1 = __importDefault(__nested_webpack_require_936837__(9566));
217789
+ const semver_1 = __nested_webpack_require_936837__(2879);
217790
+ const path_1 = __nested_webpack_require_936837__(5622);
217791
+ const frameworks_1 = __importDefault(__nested_webpack_require_936837__(8438));
217792
+ const _1 = __nested_webpack_require_936837__(2855);
217690
217793
  const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
217691
217794
  // We need to sort the file paths by alphabet to make
217692
217795
  // sure the routes stay in the same order e.g. for deduping
@@ -218745,7 +218848,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
218745
218848
  /***/ }),
218746
218849
 
218747
218850
  /***/ 2397:
218748
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_969481__) {
218851
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976221__) {
218749
218852
 
218750
218853
  "use strict";
218751
218854
 
@@ -218753,8 +218856,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218753
218856
  return (mod && mod.__esModule) ? mod : { "default": mod };
218754
218857
  };
218755
218858
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218756
- const assert_1 = __importDefault(__nested_webpack_require_969481__(2357));
218757
- const into_stream_1 = __importDefault(__nested_webpack_require_969481__(6130));
218859
+ const assert_1 = __importDefault(__nested_webpack_require_976221__(2357));
218860
+ const into_stream_1 = __importDefault(__nested_webpack_require_976221__(6130));
218758
218861
  class FileBlob {
218759
218862
  constructor({ mode = 0o100644, contentType, data }) {
218760
218863
  assert_1.default(typeof mode === 'number');
@@ -218786,7 +218889,7 @@ exports.default = FileBlob;
218786
218889
  /***/ }),
218787
218890
 
218788
218891
  /***/ 9331:
218789
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_970933__) {
218892
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977673__) {
218790
218893
 
218791
218894
  "use strict";
218792
218895
 
@@ -218794,11 +218897,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218794
218897
  return (mod && mod.__esModule) ? mod : { "default": mod };
218795
218898
  };
218796
218899
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218797
- const assert_1 = __importDefault(__nested_webpack_require_970933__(2357));
218798
- const fs_extra_1 = __importDefault(__nested_webpack_require_970933__(5392));
218799
- const multistream_1 = __importDefault(__nested_webpack_require_970933__(8179));
218800
- const path_1 = __importDefault(__nested_webpack_require_970933__(5622));
218801
- const async_sema_1 = __importDefault(__nested_webpack_require_970933__(5758));
218900
+ const assert_1 = __importDefault(__nested_webpack_require_977673__(2357));
218901
+ const fs_extra_1 = __importDefault(__nested_webpack_require_977673__(5392));
218902
+ const multistream_1 = __importDefault(__nested_webpack_require_977673__(8179));
218903
+ const path_1 = __importDefault(__nested_webpack_require_977673__(5622));
218904
+ const async_sema_1 = __importDefault(__nested_webpack_require_977673__(5758));
218802
218905
  const semaToPreventEMFILE = new async_sema_1.default(20);
218803
218906
  class FileFsRef {
218804
218907
  constructor({ mode = 0o100644, contentType, fsPath }) {
@@ -218864,7 +218967,7 @@ exports.default = FileFsRef;
218864
218967
  /***/ }),
218865
218968
 
218866
218969
  /***/ 5187:
218867
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973737__) {
218970
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980477__) {
218868
218971
 
218869
218972
  "use strict";
218870
218973
 
@@ -218872,11 +218975,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218872
218975
  return (mod && mod.__esModule) ? mod : { "default": mod };
218873
218976
  };
218874
218977
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218875
- const assert_1 = __importDefault(__nested_webpack_require_973737__(2357));
218876
- const node_fetch_1 = __importDefault(__nested_webpack_require_973737__(2197));
218877
- const multistream_1 = __importDefault(__nested_webpack_require_973737__(8179));
218878
- const async_retry_1 = __importDefault(__nested_webpack_require_973737__(3691));
218879
- const async_sema_1 = __importDefault(__nested_webpack_require_973737__(5758));
218978
+ const assert_1 = __importDefault(__nested_webpack_require_980477__(2357));
218979
+ const node_fetch_1 = __importDefault(__nested_webpack_require_980477__(2197));
218980
+ const multistream_1 = __importDefault(__nested_webpack_require_980477__(8179));
218981
+ const async_retry_1 = __importDefault(__nested_webpack_require_980477__(3691));
218982
+ const async_sema_1 = __importDefault(__nested_webpack_require_980477__(5758));
218880
218983
  const semaToDownloadFromS3 = new async_sema_1.default(5);
218881
218984
  class BailableError extends Error {
218882
218985
  constructor(...args) {
@@ -218957,7 +219060,7 @@ exports.default = FileRef;
218957
219060
  /***/ }),
218958
219061
 
218959
219062
  /***/ 1611:
218960
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977138__) {
219063
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983878__) {
218961
219064
 
218962
219065
  "use strict";
218963
219066
 
@@ -218966,10 +219069,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218966
219069
  };
218967
219070
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218968
219071
  exports.isSymbolicLink = void 0;
218969
- const path_1 = __importDefault(__nested_webpack_require_977138__(5622));
218970
- const debug_1 = __importDefault(__nested_webpack_require_977138__(1868));
218971
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_977138__(9331));
218972
- const fs_extra_1 = __nested_webpack_require_977138__(5392);
219072
+ const path_1 = __importDefault(__nested_webpack_require_983878__(5622));
219073
+ const debug_1 = __importDefault(__nested_webpack_require_983878__(1868));
219074
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_983878__(9331));
219075
+ const fs_extra_1 = __nested_webpack_require_983878__(5392);
218973
219076
  const S_IFMT = 61440; /* 0170000 type of file */
218974
219077
  const S_IFLNK = 40960; /* 0120000 symbolic link */
218975
219078
  function isSymbolicLink(mode) {
@@ -219031,14 +219134,14 @@ exports.default = download;
219031
219134
  /***/ }),
219032
219135
 
219033
219136
  /***/ 3838:
219034
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_979963__) => {
219137
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_986703__) => {
219035
219138
 
219036
219139
  "use strict";
219037
219140
 
219038
219141
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219039
- const path_1 = __nested_webpack_require_979963__(5622);
219040
- const os_1 = __nested_webpack_require_979963__(2087);
219041
- const fs_extra_1 = __nested_webpack_require_979963__(5392);
219142
+ const path_1 = __nested_webpack_require_986703__(5622);
219143
+ const os_1 = __nested_webpack_require_986703__(2087);
219144
+ const fs_extra_1 = __nested_webpack_require_986703__(5392);
219042
219145
  async function getWritableDirectory() {
219043
219146
  const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
219044
219147
  const directory = path_1.join(os_1.tmpdir(), name);
@@ -219051,7 +219154,7 @@ exports.default = getWritableDirectory;
219051
219154
  /***/ }),
219052
219155
 
219053
219156
  /***/ 4240:
219054
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980543__) {
219157
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987283__) {
219055
219158
 
219056
219159
  "use strict";
219057
219160
 
@@ -219059,13 +219162,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219059
219162
  return (mod && mod.__esModule) ? mod : { "default": mod };
219060
219163
  };
219061
219164
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219062
- const path_1 = __importDefault(__nested_webpack_require_980543__(5622));
219063
- const assert_1 = __importDefault(__nested_webpack_require_980543__(2357));
219064
- const glob_1 = __importDefault(__nested_webpack_require_980543__(1104));
219065
- const util_1 = __nested_webpack_require_980543__(1669);
219066
- const fs_extra_1 = __nested_webpack_require_980543__(5392);
219067
- const normalize_path_1 = __nested_webpack_require_980543__(6261);
219068
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_980543__(9331));
219165
+ const path_1 = __importDefault(__nested_webpack_require_987283__(5622));
219166
+ const assert_1 = __importDefault(__nested_webpack_require_987283__(2357));
219167
+ const glob_1 = __importDefault(__nested_webpack_require_987283__(1104));
219168
+ const util_1 = __nested_webpack_require_987283__(1669);
219169
+ const fs_extra_1 = __nested_webpack_require_987283__(5392);
219170
+ const normalize_path_1 = __nested_webpack_require_987283__(6261);
219171
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_987283__(9331));
219069
219172
  const vanillaGlob = util_1.promisify(glob_1.default);
219070
219173
  async function glob(pattern, opts, mountpoint) {
219071
219174
  let options;
@@ -219111,7 +219214,7 @@ exports.default = glob;
219111
219214
  /***/ }),
219112
219215
 
219113
219216
  /***/ 7903:
219114
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982739__) {
219217
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_989479__) {
219115
219218
 
219116
219219
  "use strict";
219117
219220
 
@@ -219120,9 +219223,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219120
219223
  };
219121
219224
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219122
219225
  exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
219123
- const semver_1 = __nested_webpack_require_982739__(2879);
219124
- const errors_1 = __nested_webpack_require_982739__(3983);
219125
- const debug_1 = __importDefault(__nested_webpack_require_982739__(1868));
219226
+ const semver_1 = __nested_webpack_require_989479__(2879);
219227
+ const errors_1 = __nested_webpack_require_989479__(3983);
219228
+ const debug_1 = __importDefault(__nested_webpack_require_989479__(1868));
219126
219229
  const allOptions = [
219127
219230
  { major: 14, range: '14.x', runtime: 'nodejs14.x' },
219128
219231
  { major: 12, range: '12.x', runtime: 'nodejs12.x' },
@@ -219216,7 +219319,7 @@ exports.normalizePath = normalizePath;
219216
219319
  /***/ }),
219217
219320
 
219218
219321
  /***/ 7792:
219219
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986607__) {
219322
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_993347__) {
219220
219323
 
219221
219324
  "use strict";
219222
219325
 
@@ -219225,9 +219328,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219225
219328
  };
219226
219329
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219227
219330
  exports.readConfigFile = void 0;
219228
- const js_yaml_1 = __importDefault(__nested_webpack_require_986607__(6540));
219229
- const toml_1 = __importDefault(__nested_webpack_require_986607__(9434));
219230
- const fs_extra_1 = __nested_webpack_require_986607__(5392);
219331
+ const js_yaml_1 = __importDefault(__nested_webpack_require_993347__(6540));
219332
+ const toml_1 = __importDefault(__nested_webpack_require_993347__(9434));
219333
+ const fs_extra_1 = __nested_webpack_require_993347__(5392);
219231
219334
  async function readFileOrNull(file) {
219232
219335
  try {
219233
219336
  const data = await fs_extra_1.readFile(file);
@@ -219282,7 +219385,7 @@ exports.default = rename;
219282
219385
  /***/ }),
219283
219386
 
219284
219387
  /***/ 1442:
219285
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988400__) {
219388
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_995140__) {
219286
219389
 
219287
219390
  "use strict";
219288
219391
 
@@ -219291,14 +219394,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219291
219394
  };
219292
219395
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219293
219396
  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;
219294
- const assert_1 = __importDefault(__nested_webpack_require_988400__(2357));
219295
- const fs_extra_1 = __importDefault(__nested_webpack_require_988400__(5392));
219296
- const path_1 = __importDefault(__nested_webpack_require_988400__(5622));
219297
- const debug_1 = __importDefault(__nested_webpack_require_988400__(1868));
219298
- const cross_spawn_1 = __importDefault(__nested_webpack_require_988400__(7618));
219299
- const util_1 = __nested_webpack_require_988400__(1669);
219300
- const errors_1 = __nested_webpack_require_988400__(3983);
219301
- const node_version_1 = __nested_webpack_require_988400__(7903);
219397
+ const assert_1 = __importDefault(__nested_webpack_require_995140__(2357));
219398
+ const fs_extra_1 = __importDefault(__nested_webpack_require_995140__(5392));
219399
+ const path_1 = __importDefault(__nested_webpack_require_995140__(5622));
219400
+ const debug_1 = __importDefault(__nested_webpack_require_995140__(1868));
219401
+ const cross_spawn_1 = __importDefault(__nested_webpack_require_995140__(7618));
219402
+ const util_1 = __nested_webpack_require_995140__(1669);
219403
+ const errors_1 = __nested_webpack_require_995140__(3983);
219404
+ const node_version_1 = __nested_webpack_require_995140__(7903);
219302
219405
  function spawnAsync(command, args, opts = {}) {
219303
219406
  return new Promise((resolve, reject) => {
219304
219407
  const stderrLogs = [];
@@ -219609,7 +219712,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
219609
219712
  /***/ }),
219610
219713
 
219611
219714
  /***/ 2560:
219612
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1002390__) {
219715
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1009130__) {
219613
219716
 
219614
219717
  "use strict";
219615
219718
 
@@ -219617,7 +219720,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219617
219720
  return (mod && mod.__esModule) ? mod : { "default": mod };
219618
219721
  };
219619
219722
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219620
- const end_of_stream_1 = __importDefault(__nested_webpack_require_1002390__(687));
219723
+ const end_of_stream_1 = __importDefault(__nested_webpack_require_1009130__(687));
219621
219724
  function streamToBuffer(stream) {
219622
219725
  return new Promise((resolve, reject) => {
219623
219726
  const buffers = [];
@@ -219646,7 +219749,7 @@ exports.default = streamToBuffer;
219646
219749
  /***/ }),
219647
219750
 
219648
219751
  /***/ 1148:
219649
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1003458__) {
219752
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1010198__) {
219650
219753
 
219651
219754
  "use strict";
219652
219755
 
@@ -219654,9 +219757,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219654
219757
  return (mod && mod.__esModule) ? mod : { "default": mod };
219655
219758
  };
219656
219759
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219657
- const path_1 = __importDefault(__nested_webpack_require_1003458__(5622));
219658
- const fs_extra_1 = __importDefault(__nested_webpack_require_1003458__(5392));
219659
- const ignore_1 = __importDefault(__nested_webpack_require_1003458__(3556));
219760
+ const path_1 = __importDefault(__nested_webpack_require_1010198__(5622));
219761
+ const fs_extra_1 = __importDefault(__nested_webpack_require_1010198__(5392));
219762
+ const ignore_1 = __importDefault(__nested_webpack_require_1010198__(3556));
219660
219763
  function isCodedError(error) {
219661
219764
  return (error !== null &&
219662
219765
  error !== undefined &&
@@ -219713,7 +219816,7 @@ exports.default = default_1;
219713
219816
  /***/ }),
219714
219817
 
219715
219818
  /***/ 2855:
219716
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1005840__) {
219819
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012580__) {
219717
219820
 
219718
219821
  "use strict";
219719
219822
 
@@ -219744,29 +219847,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219744
219847
  };
219745
219848
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219746
219849
  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;
219747
- const crypto_1 = __nested_webpack_require_1005840__(6417);
219748
- const file_blob_1 = __importDefault(__nested_webpack_require_1005840__(2397));
219850
+ const crypto_1 = __nested_webpack_require_1012580__(6417);
219851
+ const file_blob_1 = __importDefault(__nested_webpack_require_1012580__(2397));
219749
219852
  exports.FileBlob = file_blob_1.default;
219750
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_1005840__(9331));
219853
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_1012580__(9331));
219751
219854
  exports.FileFsRef = file_fs_ref_1.default;
219752
- const file_ref_1 = __importDefault(__nested_webpack_require_1005840__(5187));
219855
+ const file_ref_1 = __importDefault(__nested_webpack_require_1012580__(5187));
219753
219856
  exports.FileRef = file_ref_1.default;
219754
- const lambda_1 = __nested_webpack_require_1005840__(6721);
219857
+ const lambda_1 = __nested_webpack_require_1012580__(6721);
219755
219858
  Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
219756
219859
  Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
219757
219860
  Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
219758
- const prerender_1 = __nested_webpack_require_1005840__(2850);
219861
+ const prerender_1 = __nested_webpack_require_1012580__(2850);
219759
219862
  Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
219760
- const download_1 = __importStar(__nested_webpack_require_1005840__(1611));
219863
+ const download_1 = __importStar(__nested_webpack_require_1012580__(1611));
219761
219864
  exports.download = download_1.default;
219762
219865
  Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
219763
- const get_writable_directory_1 = __importDefault(__nested_webpack_require_1005840__(3838));
219866
+ const get_writable_directory_1 = __importDefault(__nested_webpack_require_1012580__(3838));
219764
219867
  exports.getWriteableDirectory = get_writable_directory_1.default;
219765
- const glob_1 = __importDefault(__nested_webpack_require_1005840__(4240));
219868
+ const glob_1 = __importDefault(__nested_webpack_require_1012580__(4240));
219766
219869
  exports.glob = glob_1.default;
219767
- const rename_1 = __importDefault(__nested_webpack_require_1005840__(6718));
219870
+ const rename_1 = __importDefault(__nested_webpack_require_1012580__(6718));
219768
219871
  exports.rename = rename_1.default;
219769
- const run_user_scripts_1 = __nested_webpack_require_1005840__(1442);
219872
+ const run_user_scripts_1 = __nested_webpack_require_1012580__(1442);
219770
219873
  Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
219771
219874
  Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
219772
219875
  Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
@@ -219783,38 +219886,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
219783
219886
  Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
219784
219887
  Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
219785
219888
  Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
219786
- const node_version_1 = __nested_webpack_require_1005840__(7903);
219889
+ const node_version_1 = __nested_webpack_require_1012580__(7903);
219787
219890
  Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
219788
219891
  Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
219789
- const errors_1 = __nested_webpack_require_1005840__(3983);
219790
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1005840__(2560));
219892
+ const errors_1 = __nested_webpack_require_1012580__(3983);
219893
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1012580__(2560));
219791
219894
  exports.streamToBuffer = stream_to_buffer_1.default;
219792
- const should_serve_1 = __importDefault(__nested_webpack_require_1005840__(2564));
219895
+ const should_serve_1 = __importDefault(__nested_webpack_require_1012580__(2564));
219793
219896
  exports.shouldServe = should_serve_1.default;
219794
- const debug_1 = __importDefault(__nested_webpack_require_1005840__(1868));
219897
+ const debug_1 = __importDefault(__nested_webpack_require_1012580__(1868));
219795
219898
  exports.debug = debug_1.default;
219796
- const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1005840__(1148));
219899
+ const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1012580__(1148));
219797
219900
  exports.getIgnoreFilter = get_ignore_filter_1.default;
219798
- var detect_builders_1 = __nested_webpack_require_1005840__(4246);
219901
+ var detect_builders_1 = __nested_webpack_require_1012580__(4246);
219799
219902
  Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
219800
219903
  Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
219801
219904
  Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
219802
219905
  Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
219803
- var detect_framework_1 = __nested_webpack_require_1005840__(5224);
219906
+ var detect_framework_1 = __nested_webpack_require_1012580__(5224);
219804
219907
  Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
219805
- var filesystem_1 = __nested_webpack_require_1005840__(461);
219908
+ var filesystem_1 = __nested_webpack_require_1012580__(461);
219806
219909
  Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
219807
- var read_config_file_1 = __nested_webpack_require_1005840__(7792);
219910
+ var read_config_file_1 = __nested_webpack_require_1012580__(7792);
219808
219911
  Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
219809
- var normalize_path_1 = __nested_webpack_require_1005840__(6261);
219912
+ var normalize_path_1 = __nested_webpack_require_1012580__(6261);
219810
219913
  Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
219811
- var convert_runtime_to_plugin_1 = __nested_webpack_require_1005840__(7276);
219914
+ var convert_runtime_to_plugin_1 = __nested_webpack_require_1012580__(7276);
219812
219915
  Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
219813
219916
  Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
219814
219917
  Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
219815
- __exportStar(__nested_webpack_require_1005840__(2416), exports);
219816
- __exportStar(__nested_webpack_require_1005840__(5748), exports);
219817
- __exportStar(__nested_webpack_require_1005840__(3983), exports);
219918
+ __exportStar(__nested_webpack_require_1012580__(2416), exports);
219919
+ __exportStar(__nested_webpack_require_1012580__(5748), exports);
219920
+ __exportStar(__nested_webpack_require_1012580__(3983), exports);
219818
219921
  /**
219819
219922
  * Helper function to support both `@vercel` and legacy `@now` official Runtimes.
219820
219923
  */
@@ -219867,7 +219970,7 @@ exports.getInputHash = getInputHash;
219867
219970
  /***/ }),
219868
219971
 
219869
219972
  /***/ 6721:
219870
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1016818__) {
219973
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1023558__) {
219871
219974
 
219872
219975
  "use strict";
219873
219976
 
@@ -219876,13 +219979,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219876
219979
  };
219877
219980
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219878
219981
  exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
219879
- const assert_1 = __importDefault(__nested_webpack_require_1016818__(2357));
219880
- const async_sema_1 = __importDefault(__nested_webpack_require_1016818__(5758));
219881
- const yazl_1 = __nested_webpack_require_1016818__(1223);
219882
- const minimatch_1 = __importDefault(__nested_webpack_require_1016818__(9566));
219883
- const fs_extra_1 = __nested_webpack_require_1016818__(5392);
219884
- const download_1 = __nested_webpack_require_1016818__(1611);
219885
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1016818__(2560));
219982
+ const assert_1 = __importDefault(__nested_webpack_require_1023558__(2357));
219983
+ const async_sema_1 = __importDefault(__nested_webpack_require_1023558__(5758));
219984
+ const yazl_1 = __nested_webpack_require_1023558__(1223);
219985
+ const minimatch_1 = __importDefault(__nested_webpack_require_1023558__(9566));
219986
+ const fs_extra_1 = __nested_webpack_require_1023558__(5392);
219987
+ const download_1 = __nested_webpack_require_1023558__(1611);
219988
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1023558__(2560));
219886
219989
  exports.FILES_SYMBOL = Symbol('files');
219887
219990
  class Lambda {
219888
219991
  constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
@@ -220111,12 +220214,12 @@ exports.buildsSchema = {
220111
220214
  /***/ }),
220112
220215
 
220113
220216
  /***/ 2564:
220114
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1025328__) => {
220217
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1032068__) => {
220115
220218
 
220116
220219
  "use strict";
220117
220220
 
220118
220221
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220119
- const path_1 = __nested_webpack_require_1025328__(5622);
220222
+ const path_1 = __nested_webpack_require_1032068__(5622);
220120
220223
  function shouldServe({ entrypoint, files, requestPath, }) {
220121
220224
  requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
220122
220225
  entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
@@ -220353,7 +220456,7 @@ module.exports = __webpack_require__(78761);
220353
220456
  /******/ var __webpack_module_cache__ = {};
220354
220457
  /******/
220355
220458
  /******/ // The require function
220356
- /******/ function __nested_webpack_require_1125063__(moduleId) {
220459
+ /******/ function __nested_webpack_require_1131803__(moduleId) {
220357
220460
  /******/ // Check if module is in cache
220358
220461
  /******/ if(__webpack_module_cache__[moduleId]) {
220359
220462
  /******/ return __webpack_module_cache__[moduleId].exports;
@@ -220368,7 +220471,7 @@ module.exports = __webpack_require__(78761);
220368
220471
  /******/ // Execute the module function
220369
220472
  /******/ var threw = true;
220370
220473
  /******/ try {
220371
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1125063__);
220474
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1131803__);
220372
220475
  /******/ threw = false;
220373
220476
  /******/ } finally {
220374
220477
  /******/ if(threw) delete __webpack_module_cache__[moduleId];
@@ -220381,11 +220484,11 @@ module.exports = __webpack_require__(78761);
220381
220484
  /************************************************************************/
220382
220485
  /******/ /* webpack/runtime/compat */
220383
220486
  /******/
220384
- /******/ __nested_webpack_require_1125063__.ab = __dirname + "/";/************************************************************************/
220487
+ /******/ __nested_webpack_require_1131803__.ab = __dirname + "/";/************************************************************************/
220385
220488
  /******/ // module exports must be returned from runtime so entry inlining is disabled
220386
220489
  /******/ // startup
220387
220490
  /******/ // Load entry module and return exports
220388
- /******/ return __nested_webpack_require_1125063__(2855);
220491
+ /******/ return __nested_webpack_require_1131803__(2855);
220389
220492
  /******/ })()
220390
220493
  ;
220391
220494
 
@@ -271217,7 +271320,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
271217
271320
  /***/ ((module) => {
271218
271321
 
271219
271322
  "use strict";
271220
- module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.54\",\"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.32\",\"@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.8\",\"vercel-plugin-node\":\"1.12.2-canary.24\"},\"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\":\"5ccb98300786813cb17201a25854b365889fbb6d\"}");
271323
+ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.58\",\"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.35\",\"@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.10-canary.0\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.11\",\"vercel-plugin-node\":\"1.12.2-canary.27\"},\"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\":\"2c3ddffaacb370eb4c0893815b3bc7417f92d432\"}");
271221
271324
 
271222
271325
  /***/ }),
271223
271326
 
@@ -271233,7 +271336,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
271233
271336
  /***/ ((module) => {
271234
271337
 
271235
271338
  "use strict";
271236
- module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.33\",\"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.32\",\"@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\"}}");
271339
+ module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.36\",\"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.35\",\"@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\":\"2c3ddffaacb370eb4c0893815b3bc7417f92d432\"}");
271237
271340
 
271238
271341
  /***/ }),
271239
271342
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "23.1.3-canary.54",
3
+ "version": "23.1.3-canary.58",
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.32",
46
+ "@vercel/build-utils": "2.12.3-canary.35",
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
- "@vercel/ruby": "1.2.8-canary.6",
50
+ "@vercel/ruby": "1.2.10-canary.0",
51
51
  "update-notifier": "4.1.0",
52
- "vercel-plugin-middleware": "0.0.0-canary.8",
53
- "vercel-plugin-node": "1.12.2-canary.24"
52
+ "vercel-plugin-middleware": "0.0.0-canary.11",
53
+ "vercel-plugin-node": "1.12.2-canary.27"
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": "5ccb98300786813cb17201a25854b365889fbb6d"
187
+ "gitHead": "2c3ddffaacb370eb4c0893815b3bc7417f92d432"
188
188
  }