vercel 23.1.3-canary.51 → 23.1.3-canary.55

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 +344 -131
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -217420,6 +217420,22 @@ const shouldIgnorePath = (file, ignoreFilter, ignoreFile) => {
217420
217420
  }
217421
217421
  return isNative || ignoreFilter(file);
217422
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
+ };
217423
217439
  /**
217424
217440
  * Convert legacy Runtime to a Plugin.
217425
217441
  * @param buildRuntime - a legacy build() function from a Runtime
@@ -217429,22 +217445,25 @@ const shouldIgnorePath = (file, ignoreFilter, ignoreFile) => {
217429
217445
  function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217430
217446
  // This `build()` signature should match `plugin.build()` signature in `vercel build`.
217431
217447
  return async function build({ workPath }) {
217432
- const opts = { cwd: workPath };
217433
- const files = await glob_1.default('**', opts);
217434
217448
  // We also don't want to provide any files to Runtimes that were ignored
217435
217449
  // through `.vercelignore` or `.nowignore`, because the Build Step does the same.
217436
217450
  const ignoreFilter = await _1.getIgnoreFilter(workPath);
217437
- // We're not passing this as an `ignore` filter to the `glob` function above,
217438
- // so that we can re-use exactly the same `getIgnoreFilter` method that the
217439
- // Build Step uses (literally the same code). Note that this exclusion only applies
217440
- // when deploying. Locally, another exclusion further below is needed.
217441
- for (const file in files) {
217442
- if (shouldIgnorePath(file, ignoreFilter, true)) {
217443
- 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];
217444
217465
  }
217445
217466
  }
217446
- const entrypointPattern = `api/**/*${ext}`;
217447
- const entrypoints = await glob_1.default(entrypointPattern, opts);
217448
217467
  const pages = {};
217449
217468
  const pluginName = packageName.replace('vercel-plugin-', '');
217450
217469
  const traceDir = path_1.join(workPath, `.output`, `inputs`,
@@ -217454,9 +217473,11 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217454
217473
  // need to be able to easily inspect the output.
217455
217474
  `api-routes-${pluginName}`);
217456
217475
  await fs_extra_1.default.ensureDir(traceDir);
217476
+ let newPathsRuntime = new Set();
217477
+ let linkersRuntime = [];
217457
217478
  for (const entrypoint of Object.keys(entrypoints)) {
217458
217479
  const { output } = await buildRuntime({
217459
- files,
217480
+ files: sourceFilesPreBuild,
217460
217481
  entrypoint,
217461
217482
  workPath,
217462
217483
  config: {
@@ -217466,8 +217487,23 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217466
217487
  avoidTopLevelInstall: true,
217467
217488
  },
217468
217489
  });
217490
+ // Legacy Runtimes tend to pollute the `workPath` with compiled results,
217491
+ // because the `workPath` used to be a place that was a place where they could
217492
+ // just put anything, but nowadays it's the working directory of the `vercel build`
217493
+ // command, which is the place where the developer keeps their source files,
217494
+ // so we don't want to pollute this space unnecessarily. That means we have to clean
217495
+ // up files that were created by the build, which is done further below.
217496
+ const sourceFilesAfterBuild = await getSourceFiles(workPath, ignoreFilter);
217497
+ // Further down, we will need the filename of the Lambda handler
217498
+ // for placing it inside `server/pages/api`, but because Legacy Runtimes
217499
+ // don't expose the filename directly, we have to construct it
217500
+ // from the handler name, and then find the matching file further below,
217501
+ // because we don't yet know its extension here.
217502
+ const handler = output.handler;
217503
+ const handlerMethod = handler.split('.').reverse()[0];
217504
+ const handlerFileName = handler.replace(`.${handlerMethod}`, '');
217469
217505
  pages[entrypoint] = {
217470
- handler: output.handler,
217506
+ handler: handler,
217471
217507
  runtime: output.runtime,
217472
217508
  memory: output.memory,
217473
217509
  maxDuration: output.maxDuration,
@@ -217485,35 +217521,141 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217485
217521
  delete lambdaFiles[file];
217486
217522
  }
217487
217523
  }
217524
+ const handlerFilePath = Object.keys(lambdaFiles).find(item => {
217525
+ return path_1.parse(item).name === handlerFileName;
217526
+ });
217527
+ const handlerFileOrigin = lambdaFiles[handlerFilePath || ''].fsPath;
217528
+ if (!handlerFileOrigin) {
217529
+ 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).`);
217530
+ }
217488
217531
  const entry = path_1.join(workPath, '.output', 'server', 'pages', entrypoint);
217489
217532
  await fs_extra_1.default.ensureDir(path_1.dirname(entry));
217490
- await linkOrCopy(files[entrypoint].fsPath, entry);
217533
+ await linkOrCopy(handlerFileOrigin, entry);
217534
+ const newFilesEntrypoint = [];
217535
+ const newDirectoriesEntrypoint = [];
217536
+ const preBuildFiles = Object.values(sourceFilesPreBuild).map(file => {
217537
+ return file.fsPath;
217538
+ });
217539
+ // Generate a list of directories and files that weren't present
217540
+ // before the entrypoint was processed by the Legacy Runtime, so
217541
+ // that we can perform a cleanup later. We need to divide into files
217542
+ // and directories because only cleaning up files might leave empty
217543
+ // directories, and listing directories separately also speeds up the
217544
+ // build because we can just delete them, which wipes all of their nested
217545
+ // paths, instead of iterating through all files that should be deleted.
217546
+ for (const file in sourceFilesAfterBuild) {
217547
+ if (!sourceFilesPreBuild[file]) {
217548
+ const path = sourceFilesAfterBuild[file].fsPath;
217549
+ const dirPath = path_1.dirname(path);
217550
+ // If none of the files that were present before the entrypoint
217551
+ // was processed are contained within the directory we're looking
217552
+ // at right now, then we know it's a newly added directory
217553
+ // and it can therefore be removed later on.
217554
+ const isNewDir = !preBuildFiles.some(filePath => {
217555
+ return path_1.dirname(filePath).startsWith(dirPath);
217556
+ });
217557
+ // Check out the list of tracked directories that were
217558
+ // newly added and see if one of them contains the path
217559
+ // we're looking at.
217560
+ const hasParentDir = newDirectoriesEntrypoint.some(dir => {
217561
+ return path.startsWith(dir);
217562
+ });
217563
+ // If we have already tracked a directory that was newly
217564
+ // added that sits above the file or directory that we're
217565
+ // looking at, we don't need to add more entries to the list
217566
+ // because when the parent will get removed in the future,
217567
+ // all of its children (and therefore the path we're looking at)
217568
+ // will automatically get removed anyways.
217569
+ if (hasParentDir) {
217570
+ continue;
217571
+ }
217572
+ if (isNewDir) {
217573
+ newDirectoriesEntrypoint.push(dirPath);
217574
+ }
217575
+ else {
217576
+ newFilesEntrypoint.push(path);
217577
+ }
217578
+ }
217579
+ }
217491
217580
  const tracedFiles = [];
217492
- Object.entries(lambdaFiles).forEach(async ([relPath, file]) => {
217581
+ const linkers = Object.entries(lambdaFiles).map(async ([relPath, file]) => {
217493
217582
  const newPath = path_1.join(traceDir, relPath);
217583
+ // The handler was already moved into position above.
217584
+ if (relPath === handlerFilePath) {
217585
+ return;
217586
+ }
217494
217587
  tracedFiles.push({ absolutePath: newPath, relativePath: relPath });
217495
- if (file.fsPath) {
217496
- await linkOrCopy(file.fsPath, newPath);
217588
+ const { fsPath, type } = file;
217589
+ if (fsPath) {
217590
+ await fs_extra_1.default.ensureDir(path_1.dirname(newPath));
217591
+ const isNewFile = newFilesEntrypoint.includes(fsPath);
217592
+ const isInsideNewDirectory = newDirectoriesEntrypoint.some(dirPath => {
217593
+ return fsPath.startsWith(dirPath);
217594
+ });
217595
+ // With this, we're making sure that files in the `workPath` that existed
217596
+ // before the Legacy Runtime was invoked (source files) are linked from
217597
+ // `.output` instead of copying there (the latter only happens if linking fails),
217598
+ // which is the fastest solution. However, files that are created fresh
217599
+ // by the Legacy Runtimes are always copied, because their link destinations
217600
+ // are likely to be overwritten every time an entrypoint is processed by
217601
+ // the Legacy Runtime. This is likely to overwrite the destination on subsequent
217602
+ // runs, but that's also how `workPath` used to work originally, without
217603
+ // the File System API (meaning that there was one `workPath` for all entrypoints).
217604
+ if (isNewFile || isInsideNewDirectory) {
217605
+ _1.debug(`Copying from ${fsPath} to ${newPath}`);
217606
+ await fs_extra_1.default.copy(fsPath, newPath);
217607
+ }
217608
+ else {
217609
+ await linkOrCopy(fsPath, newPath);
217610
+ }
217497
217611
  }
217498
- else if (file.type === 'FileBlob') {
217612
+ else if (type === 'FileBlob') {
217499
217613
  const { data, mode } = file;
217500
217614
  await fs_extra_1.default.writeFile(newPath, data, { mode });
217501
217615
  }
217502
217616
  else {
217503
- throw new Error(`Unknown file type: ${file.type}`);
217617
+ throw new Error(`Unknown file type: ${type}`);
217504
217618
  }
217505
217619
  });
217620
+ linkersRuntime = linkersRuntime.concat(linkers);
217506
217621
  const nft = path_1.join(workPath, '.output', 'server', 'pages', `${entrypoint}.nft.json`);
217507
217622
  const json = JSON.stringify({
217508
217623
  version: 1,
217509
- files: tracedFiles.map(f => ({
217510
- input: normalize_path_1.normalizePath(path_1.relative(nft, f.absolutePath)),
217511
- output: normalize_path_1.normalizePath(f.relativePath),
217624
+ files: tracedFiles.map(file => ({
217625
+ input: normalize_path_1.normalizePath(path_1.relative(path_1.dirname(nft), file.absolutePath)),
217626
+ output: normalize_path_1.normalizePath(file.relativePath),
217512
217627
  })),
217513
217628
  });
217514
217629
  await fs_extra_1.default.ensureDir(path_1.dirname(nft));
217515
217630
  await fs_extra_1.default.writeFile(nft, json);
217631
+ // Extend the list of directories and files that were created by the
217632
+ // Legacy Runtime with the list of directories and files that were
217633
+ // created for the entrypoint that was just processed above.
217634
+ newPathsRuntime = new Set([
217635
+ ...newPathsRuntime,
217636
+ ...newFilesEntrypoint,
217637
+ ...newDirectoriesEntrypoint,
217638
+ ]);
217516
217639
  }
217640
+ // Instead of of waiting for all of the linking to be done for every
217641
+ // entrypoint before processing the next one, we immediately handle all
217642
+ // of them one after the other, while then waiting for the linking
217643
+ // to finish right here, before we clean up newly created files below.
217644
+ await Promise.all(linkersRuntime);
217645
+ // A list of all the files that were created by the Legacy Runtime,
217646
+ // which we'd like to remove from the File System.
217647
+ const toRemove = Array.from(newPathsRuntime).map(path => {
217648
+ _1.debug(`Removing ${path} as part of cleanup`);
217649
+ return fs_extra_1.default.remove(path);
217650
+ });
217651
+ // Once all the entrypoints have been processed, we'd like to
217652
+ // remove all the files from `workPath` that originally weren't present
217653
+ // before the Legacy Runtime began running, because the `workPath`
217654
+ // is nowadays the directory in which the user keeps their source code, since
217655
+ // we're no longer running separate parallel builds for every Legacy Runtime.
217656
+ await Promise.all(toRemove);
217657
+ // Add any Serverless Functions that were exposed by the Legacy Runtime
217658
+ // to the `functions-manifest.json` file provided in `.output`.
217517
217659
  await updateFunctionsManifest({ workPath, pages });
217518
217660
  };
217519
217661
  }
@@ -217601,12 +217743,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
217601
217743
  /***/ }),
217602
217744
 
217603
217745
  /***/ 1868:
217604
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_926448__) => {
217746
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_935237__) => {
217605
217747
 
217606
217748
  "use strict";
217607
217749
 
217608
217750
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217609
- const _1 = __nested_webpack_require_926448__(2855);
217751
+ const _1 = __nested_webpack_require_935237__(2855);
217610
217752
  function debug(message, ...additional) {
217611
217753
  if (_1.getPlatformEnv('BUILDER_DEBUG')) {
217612
217754
  console.log(message, ...additional);
@@ -217618,7 +217760,7 @@ exports.default = debug;
217618
217760
  /***/ }),
217619
217761
 
217620
217762
  /***/ 4246:
217621
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_926833__) {
217763
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_935622__) {
217622
217764
 
217623
217765
  "use strict";
217624
217766
 
@@ -217627,11 +217769,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217627
217769
  };
217628
217770
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217629
217771
  exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
217630
- const minimatch_1 = __importDefault(__nested_webpack_require_926833__(9566));
217631
- const semver_1 = __nested_webpack_require_926833__(2879);
217632
- const path_1 = __nested_webpack_require_926833__(5622);
217633
- const frameworks_1 = __importDefault(__nested_webpack_require_926833__(8438));
217634
- const _1 = __nested_webpack_require_926833__(2855);
217772
+ const minimatch_1 = __importDefault(__nested_webpack_require_935622__(9566));
217773
+ const semver_1 = __nested_webpack_require_935622__(2879);
217774
+ const path_1 = __nested_webpack_require_935622__(5622);
217775
+ const frameworks_1 = __importDefault(__nested_webpack_require_935622__(8438));
217776
+ const _1 = __nested_webpack_require_935622__(2855);
217635
217777
  const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
217636
217778
  // We need to sort the file paths by alphabet to make
217637
217779
  // sure the routes stay in the same order e.g. for deduping
@@ -218690,7 +218832,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
218690
218832
  /***/ }),
218691
218833
 
218692
218834
  /***/ 2397:
218693
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_966217__) {
218835
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_975006__) {
218694
218836
 
218695
218837
  "use strict";
218696
218838
 
@@ -218698,8 +218840,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218698
218840
  return (mod && mod.__esModule) ? mod : { "default": mod };
218699
218841
  };
218700
218842
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218701
- const assert_1 = __importDefault(__nested_webpack_require_966217__(2357));
218702
- const into_stream_1 = __importDefault(__nested_webpack_require_966217__(6130));
218843
+ const assert_1 = __importDefault(__nested_webpack_require_975006__(2357));
218844
+ const into_stream_1 = __importDefault(__nested_webpack_require_975006__(6130));
218703
218845
  class FileBlob {
218704
218846
  constructor({ mode = 0o100644, contentType, data }) {
218705
218847
  assert_1.default(typeof mode === 'number');
@@ -218731,7 +218873,7 @@ exports.default = FileBlob;
218731
218873
  /***/ }),
218732
218874
 
218733
218875
  /***/ 9331:
218734
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_967669__) {
218876
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976458__) {
218735
218877
 
218736
218878
  "use strict";
218737
218879
 
@@ -218739,11 +218881,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218739
218881
  return (mod && mod.__esModule) ? mod : { "default": mod };
218740
218882
  };
218741
218883
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218742
- const assert_1 = __importDefault(__nested_webpack_require_967669__(2357));
218743
- const fs_extra_1 = __importDefault(__nested_webpack_require_967669__(5392));
218744
- const multistream_1 = __importDefault(__nested_webpack_require_967669__(8179));
218745
- const path_1 = __importDefault(__nested_webpack_require_967669__(5622));
218746
- const async_sema_1 = __importDefault(__nested_webpack_require_967669__(5758));
218884
+ const assert_1 = __importDefault(__nested_webpack_require_976458__(2357));
218885
+ const fs_extra_1 = __importDefault(__nested_webpack_require_976458__(5392));
218886
+ const multistream_1 = __importDefault(__nested_webpack_require_976458__(8179));
218887
+ const path_1 = __importDefault(__nested_webpack_require_976458__(5622));
218888
+ const async_sema_1 = __importDefault(__nested_webpack_require_976458__(5758));
218747
218889
  const semaToPreventEMFILE = new async_sema_1.default(20);
218748
218890
  class FileFsRef {
218749
218891
  constructor({ mode = 0o100644, contentType, fsPath }) {
@@ -218809,7 +218951,7 @@ exports.default = FileFsRef;
218809
218951
  /***/ }),
218810
218952
 
218811
218953
  /***/ 5187:
218812
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_970473__) {
218954
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979262__) {
218813
218955
 
218814
218956
  "use strict";
218815
218957
 
@@ -218817,11 +218959,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218817
218959
  return (mod && mod.__esModule) ? mod : { "default": mod };
218818
218960
  };
218819
218961
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218820
- const assert_1 = __importDefault(__nested_webpack_require_970473__(2357));
218821
- const node_fetch_1 = __importDefault(__nested_webpack_require_970473__(2197));
218822
- const multistream_1 = __importDefault(__nested_webpack_require_970473__(8179));
218823
- const async_retry_1 = __importDefault(__nested_webpack_require_970473__(3691));
218824
- const async_sema_1 = __importDefault(__nested_webpack_require_970473__(5758));
218962
+ const assert_1 = __importDefault(__nested_webpack_require_979262__(2357));
218963
+ const node_fetch_1 = __importDefault(__nested_webpack_require_979262__(2197));
218964
+ const multistream_1 = __importDefault(__nested_webpack_require_979262__(8179));
218965
+ const async_retry_1 = __importDefault(__nested_webpack_require_979262__(3691));
218966
+ const async_sema_1 = __importDefault(__nested_webpack_require_979262__(5758));
218825
218967
  const semaToDownloadFromS3 = new async_sema_1.default(5);
218826
218968
  class BailableError extends Error {
218827
218969
  constructor(...args) {
@@ -218902,7 +219044,7 @@ exports.default = FileRef;
218902
219044
  /***/ }),
218903
219045
 
218904
219046
  /***/ 1611:
218905
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973874__) {
219047
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982663__) {
218906
219048
 
218907
219049
  "use strict";
218908
219050
 
@@ -218911,10 +219053,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218911
219053
  };
218912
219054
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218913
219055
  exports.isSymbolicLink = void 0;
218914
- const path_1 = __importDefault(__nested_webpack_require_973874__(5622));
218915
- const debug_1 = __importDefault(__nested_webpack_require_973874__(1868));
218916
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_973874__(9331));
218917
- const fs_extra_1 = __nested_webpack_require_973874__(5392);
219056
+ const path_1 = __importDefault(__nested_webpack_require_982663__(5622));
219057
+ const debug_1 = __importDefault(__nested_webpack_require_982663__(1868));
219058
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_982663__(9331));
219059
+ const fs_extra_1 = __nested_webpack_require_982663__(5392);
218918
219060
  const S_IFMT = 61440; /* 0170000 type of file */
218919
219061
  const S_IFLNK = 40960; /* 0120000 symbolic link */
218920
219062
  function isSymbolicLink(mode) {
@@ -218976,14 +219118,14 @@ exports.default = download;
218976
219118
  /***/ }),
218977
219119
 
218978
219120
  /***/ 3838:
218979
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_976699__) => {
219121
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_985488__) => {
218980
219122
 
218981
219123
  "use strict";
218982
219124
 
218983
219125
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218984
- const path_1 = __nested_webpack_require_976699__(5622);
218985
- const os_1 = __nested_webpack_require_976699__(2087);
218986
- const fs_extra_1 = __nested_webpack_require_976699__(5392);
219126
+ const path_1 = __nested_webpack_require_985488__(5622);
219127
+ const os_1 = __nested_webpack_require_985488__(2087);
219128
+ const fs_extra_1 = __nested_webpack_require_985488__(5392);
218987
219129
  async function getWritableDirectory() {
218988
219130
  const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
218989
219131
  const directory = path_1.join(os_1.tmpdir(), name);
@@ -218996,7 +219138,7 @@ exports.default = getWritableDirectory;
218996
219138
  /***/ }),
218997
219139
 
218998
219140
  /***/ 4240:
218999
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977279__) {
219141
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986068__) {
219000
219142
 
219001
219143
  "use strict";
219002
219144
 
@@ -219004,13 +219146,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219004
219146
  return (mod && mod.__esModule) ? mod : { "default": mod };
219005
219147
  };
219006
219148
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219007
- const path_1 = __importDefault(__nested_webpack_require_977279__(5622));
219008
- const assert_1 = __importDefault(__nested_webpack_require_977279__(2357));
219009
- const glob_1 = __importDefault(__nested_webpack_require_977279__(1104));
219010
- const util_1 = __nested_webpack_require_977279__(1669);
219011
- const fs_extra_1 = __nested_webpack_require_977279__(5392);
219012
- const normalize_path_1 = __nested_webpack_require_977279__(6261);
219013
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_977279__(9331));
219149
+ const path_1 = __importDefault(__nested_webpack_require_986068__(5622));
219150
+ const assert_1 = __importDefault(__nested_webpack_require_986068__(2357));
219151
+ const glob_1 = __importDefault(__nested_webpack_require_986068__(1104));
219152
+ const util_1 = __nested_webpack_require_986068__(1669);
219153
+ const fs_extra_1 = __nested_webpack_require_986068__(5392);
219154
+ const normalize_path_1 = __nested_webpack_require_986068__(6261);
219155
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_986068__(9331));
219014
219156
  const vanillaGlob = util_1.promisify(glob_1.default);
219015
219157
  async function glob(pattern, opts, mountpoint) {
219016
219158
  let options;
@@ -219056,7 +219198,7 @@ exports.default = glob;
219056
219198
  /***/ }),
219057
219199
 
219058
219200
  /***/ 7903:
219059
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979475__) {
219201
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988264__) {
219060
219202
 
219061
219203
  "use strict";
219062
219204
 
@@ -219065,9 +219207,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219065
219207
  };
219066
219208
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219067
219209
  exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
219068
- const semver_1 = __nested_webpack_require_979475__(2879);
219069
- const errors_1 = __nested_webpack_require_979475__(3983);
219070
- const debug_1 = __importDefault(__nested_webpack_require_979475__(1868));
219210
+ const semver_1 = __nested_webpack_require_988264__(2879);
219211
+ const errors_1 = __nested_webpack_require_988264__(3983);
219212
+ const debug_1 = __importDefault(__nested_webpack_require_988264__(1868));
219071
219213
  const allOptions = [
219072
219214
  { major: 14, range: '14.x', runtime: 'nodejs14.x' },
219073
219215
  { major: 12, range: '12.x', runtime: 'nodejs12.x' },
@@ -219161,7 +219303,7 @@ exports.normalizePath = normalizePath;
219161
219303
  /***/ }),
219162
219304
 
219163
219305
  /***/ 7792:
219164
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983343__) {
219306
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992132__) {
219165
219307
 
219166
219308
  "use strict";
219167
219309
 
@@ -219170,9 +219312,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219170
219312
  };
219171
219313
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219172
219314
  exports.readConfigFile = void 0;
219173
- const js_yaml_1 = __importDefault(__nested_webpack_require_983343__(6540));
219174
- const toml_1 = __importDefault(__nested_webpack_require_983343__(9434));
219175
- const fs_extra_1 = __nested_webpack_require_983343__(5392);
219315
+ const js_yaml_1 = __importDefault(__nested_webpack_require_992132__(6540));
219316
+ const toml_1 = __importDefault(__nested_webpack_require_992132__(9434));
219317
+ const fs_extra_1 = __nested_webpack_require_992132__(5392);
219176
219318
  async function readFileOrNull(file) {
219177
219319
  try {
219178
219320
  const data = await fs_extra_1.readFile(file);
@@ -219227,7 +219369,7 @@ exports.default = rename;
219227
219369
  /***/ }),
219228
219370
 
219229
219371
  /***/ 1442:
219230
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_985136__) {
219372
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_993925__) {
219231
219373
 
219232
219374
  "use strict";
219233
219375
 
@@ -219236,14 +219378,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219236
219378
  };
219237
219379
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219238
219380
  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;
219239
- const assert_1 = __importDefault(__nested_webpack_require_985136__(2357));
219240
- const fs_extra_1 = __importDefault(__nested_webpack_require_985136__(5392));
219241
- const path_1 = __importDefault(__nested_webpack_require_985136__(5622));
219242
- const debug_1 = __importDefault(__nested_webpack_require_985136__(1868));
219243
- const cross_spawn_1 = __importDefault(__nested_webpack_require_985136__(7618));
219244
- const util_1 = __nested_webpack_require_985136__(1669);
219245
- const errors_1 = __nested_webpack_require_985136__(3983);
219246
- const node_version_1 = __nested_webpack_require_985136__(7903);
219381
+ const assert_1 = __importDefault(__nested_webpack_require_993925__(2357));
219382
+ const fs_extra_1 = __importDefault(__nested_webpack_require_993925__(5392));
219383
+ const path_1 = __importDefault(__nested_webpack_require_993925__(5622));
219384
+ const debug_1 = __importDefault(__nested_webpack_require_993925__(1868));
219385
+ const cross_spawn_1 = __importDefault(__nested_webpack_require_993925__(7618));
219386
+ const util_1 = __nested_webpack_require_993925__(1669);
219387
+ const errors_1 = __nested_webpack_require_993925__(3983);
219388
+ const node_version_1 = __nested_webpack_require_993925__(7903);
219247
219389
  function spawnAsync(command, args, opts = {}) {
219248
219390
  return new Promise((resolve, reject) => {
219249
219391
  const stderrLogs = [];
@@ -219554,7 +219696,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
219554
219696
  /***/ }),
219555
219697
 
219556
219698
  /***/ 2560:
219557
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_999126__) {
219699
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1007915__) {
219558
219700
 
219559
219701
  "use strict";
219560
219702
 
@@ -219562,7 +219704,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219562
219704
  return (mod && mod.__esModule) ? mod : { "default": mod };
219563
219705
  };
219564
219706
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219565
- const end_of_stream_1 = __importDefault(__nested_webpack_require_999126__(687));
219707
+ const end_of_stream_1 = __importDefault(__nested_webpack_require_1007915__(687));
219566
219708
  function streamToBuffer(stream) {
219567
219709
  return new Promise((resolve, reject) => {
219568
219710
  const buffers = [];
@@ -219591,7 +219733,7 @@ exports.default = streamToBuffer;
219591
219733
  /***/ }),
219592
219734
 
219593
219735
  /***/ 1148:
219594
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1000194__) {
219736
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1008983__) {
219595
219737
 
219596
219738
  "use strict";
219597
219739
 
@@ -219599,9 +219741,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219599
219741
  return (mod && mod.__esModule) ? mod : { "default": mod };
219600
219742
  };
219601
219743
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219602
- const path_1 = __importDefault(__nested_webpack_require_1000194__(5622));
219603
- const fs_extra_1 = __importDefault(__nested_webpack_require_1000194__(5392));
219604
- const ignore_1 = __importDefault(__nested_webpack_require_1000194__(3556));
219744
+ const path_1 = __importDefault(__nested_webpack_require_1008983__(5622));
219745
+ const fs_extra_1 = __importDefault(__nested_webpack_require_1008983__(5392));
219746
+ const ignore_1 = __importDefault(__nested_webpack_require_1008983__(3556));
219605
219747
  function isCodedError(error) {
219606
219748
  return (error !== null &&
219607
219749
  error !== undefined &&
@@ -219658,7 +219800,7 @@ exports.default = default_1;
219658
219800
  /***/ }),
219659
219801
 
219660
219802
  /***/ 2855:
219661
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1002576__) {
219803
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011365__) {
219662
219804
 
219663
219805
  "use strict";
219664
219806
 
@@ -219689,29 +219831,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219689
219831
  };
219690
219832
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219691
219833
  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;
219692
- const crypto_1 = __nested_webpack_require_1002576__(6417);
219693
- const file_blob_1 = __importDefault(__nested_webpack_require_1002576__(2397));
219834
+ const crypto_1 = __nested_webpack_require_1011365__(6417);
219835
+ const file_blob_1 = __importDefault(__nested_webpack_require_1011365__(2397));
219694
219836
  exports.FileBlob = file_blob_1.default;
219695
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_1002576__(9331));
219837
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_1011365__(9331));
219696
219838
  exports.FileFsRef = file_fs_ref_1.default;
219697
- const file_ref_1 = __importDefault(__nested_webpack_require_1002576__(5187));
219839
+ const file_ref_1 = __importDefault(__nested_webpack_require_1011365__(5187));
219698
219840
  exports.FileRef = file_ref_1.default;
219699
- const lambda_1 = __nested_webpack_require_1002576__(6721);
219841
+ const lambda_1 = __nested_webpack_require_1011365__(6721);
219700
219842
  Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
219701
219843
  Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
219702
219844
  Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
219703
- const prerender_1 = __nested_webpack_require_1002576__(2850);
219845
+ const prerender_1 = __nested_webpack_require_1011365__(2850);
219704
219846
  Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
219705
- const download_1 = __importStar(__nested_webpack_require_1002576__(1611));
219847
+ const download_1 = __importStar(__nested_webpack_require_1011365__(1611));
219706
219848
  exports.download = download_1.default;
219707
219849
  Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
219708
- const get_writable_directory_1 = __importDefault(__nested_webpack_require_1002576__(3838));
219850
+ const get_writable_directory_1 = __importDefault(__nested_webpack_require_1011365__(3838));
219709
219851
  exports.getWriteableDirectory = get_writable_directory_1.default;
219710
- const glob_1 = __importDefault(__nested_webpack_require_1002576__(4240));
219852
+ const glob_1 = __importDefault(__nested_webpack_require_1011365__(4240));
219711
219853
  exports.glob = glob_1.default;
219712
- const rename_1 = __importDefault(__nested_webpack_require_1002576__(6718));
219854
+ const rename_1 = __importDefault(__nested_webpack_require_1011365__(6718));
219713
219855
  exports.rename = rename_1.default;
219714
- const run_user_scripts_1 = __nested_webpack_require_1002576__(1442);
219856
+ const run_user_scripts_1 = __nested_webpack_require_1011365__(1442);
219715
219857
  Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
219716
219858
  Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
219717
219859
  Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
@@ -219728,38 +219870,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
219728
219870
  Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
219729
219871
  Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
219730
219872
  Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
219731
- const node_version_1 = __nested_webpack_require_1002576__(7903);
219873
+ const node_version_1 = __nested_webpack_require_1011365__(7903);
219732
219874
  Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
219733
219875
  Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
219734
- const errors_1 = __nested_webpack_require_1002576__(3983);
219735
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1002576__(2560));
219876
+ const errors_1 = __nested_webpack_require_1011365__(3983);
219877
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1011365__(2560));
219736
219878
  exports.streamToBuffer = stream_to_buffer_1.default;
219737
- const should_serve_1 = __importDefault(__nested_webpack_require_1002576__(2564));
219879
+ const should_serve_1 = __importDefault(__nested_webpack_require_1011365__(2564));
219738
219880
  exports.shouldServe = should_serve_1.default;
219739
- const debug_1 = __importDefault(__nested_webpack_require_1002576__(1868));
219881
+ const debug_1 = __importDefault(__nested_webpack_require_1011365__(1868));
219740
219882
  exports.debug = debug_1.default;
219741
- const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1002576__(1148));
219883
+ const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1011365__(1148));
219742
219884
  exports.getIgnoreFilter = get_ignore_filter_1.default;
219743
- var detect_builders_1 = __nested_webpack_require_1002576__(4246);
219885
+ var detect_builders_1 = __nested_webpack_require_1011365__(4246);
219744
219886
  Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
219745
219887
  Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
219746
219888
  Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
219747
219889
  Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
219748
- var detect_framework_1 = __nested_webpack_require_1002576__(5224);
219890
+ var detect_framework_1 = __nested_webpack_require_1011365__(5224);
219749
219891
  Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
219750
- var filesystem_1 = __nested_webpack_require_1002576__(461);
219892
+ var filesystem_1 = __nested_webpack_require_1011365__(461);
219751
219893
  Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
219752
- var read_config_file_1 = __nested_webpack_require_1002576__(7792);
219894
+ var read_config_file_1 = __nested_webpack_require_1011365__(7792);
219753
219895
  Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
219754
- var normalize_path_1 = __nested_webpack_require_1002576__(6261);
219896
+ var normalize_path_1 = __nested_webpack_require_1011365__(6261);
219755
219897
  Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
219756
- var convert_runtime_to_plugin_1 = __nested_webpack_require_1002576__(7276);
219898
+ var convert_runtime_to_plugin_1 = __nested_webpack_require_1011365__(7276);
219757
219899
  Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
219758
219900
  Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
219759
219901
  Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
219760
- __exportStar(__nested_webpack_require_1002576__(2416), exports);
219761
- __exportStar(__nested_webpack_require_1002576__(5748), exports);
219762
- __exportStar(__nested_webpack_require_1002576__(3983), exports);
219902
+ __exportStar(__nested_webpack_require_1011365__(2416), exports);
219903
+ __exportStar(__nested_webpack_require_1011365__(5748), exports);
219904
+ __exportStar(__nested_webpack_require_1011365__(3983), exports);
219763
219905
  /**
219764
219906
  * Helper function to support both `@vercel` and legacy `@now` official Runtimes.
219765
219907
  */
@@ -219812,7 +219954,7 @@ exports.getInputHash = getInputHash;
219812
219954
  /***/ }),
219813
219955
 
219814
219956
  /***/ 6721:
219815
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1013554__) {
219957
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1022343__) {
219816
219958
 
219817
219959
  "use strict";
219818
219960
 
@@ -219821,13 +219963,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219821
219963
  };
219822
219964
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219823
219965
  exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
219824
- const assert_1 = __importDefault(__nested_webpack_require_1013554__(2357));
219825
- const async_sema_1 = __importDefault(__nested_webpack_require_1013554__(5758));
219826
- const yazl_1 = __nested_webpack_require_1013554__(1223);
219827
- const minimatch_1 = __importDefault(__nested_webpack_require_1013554__(9566));
219828
- const fs_extra_1 = __nested_webpack_require_1013554__(5392);
219829
- const download_1 = __nested_webpack_require_1013554__(1611);
219830
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1013554__(2560));
219966
+ const assert_1 = __importDefault(__nested_webpack_require_1022343__(2357));
219967
+ const async_sema_1 = __importDefault(__nested_webpack_require_1022343__(5758));
219968
+ const yazl_1 = __nested_webpack_require_1022343__(1223);
219969
+ const minimatch_1 = __importDefault(__nested_webpack_require_1022343__(9566));
219970
+ const fs_extra_1 = __nested_webpack_require_1022343__(5392);
219971
+ const download_1 = __nested_webpack_require_1022343__(1611);
219972
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1022343__(2560));
219831
219973
  exports.FILES_SYMBOL = Symbol('files');
219832
219974
  class Lambda {
219833
219975
  constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
@@ -220056,12 +220198,12 @@ exports.buildsSchema = {
220056
220198
  /***/ }),
220057
220199
 
220058
220200
  /***/ 2564:
220059
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1022064__) => {
220201
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1030853__) => {
220060
220202
 
220061
220203
  "use strict";
220062
220204
 
220063
220205
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220064
- const path_1 = __nested_webpack_require_1022064__(5622);
220206
+ const path_1 = __nested_webpack_require_1030853__(5622);
220065
220207
  function shouldServe({ entrypoint, files, requestPath, }) {
220066
220208
  requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
220067
220209
  entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
@@ -220298,7 +220440,7 @@ module.exports = __webpack_require__(78761);
220298
220440
  /******/ var __webpack_module_cache__ = {};
220299
220441
  /******/
220300
220442
  /******/ // The require function
220301
- /******/ function __nested_webpack_require_1121799__(moduleId) {
220443
+ /******/ function __nested_webpack_require_1130588__(moduleId) {
220302
220444
  /******/ // Check if module is in cache
220303
220445
  /******/ if(__webpack_module_cache__[moduleId]) {
220304
220446
  /******/ return __webpack_module_cache__[moduleId].exports;
@@ -220313,7 +220455,7 @@ module.exports = __webpack_require__(78761);
220313
220455
  /******/ // Execute the module function
220314
220456
  /******/ var threw = true;
220315
220457
  /******/ try {
220316
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1121799__);
220458
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1130588__);
220317
220459
  /******/ threw = false;
220318
220460
  /******/ } finally {
220319
220461
  /******/ if(threw) delete __webpack_module_cache__[moduleId];
@@ -220326,11 +220468,11 @@ module.exports = __webpack_require__(78761);
220326
220468
  /************************************************************************/
220327
220469
  /******/ /* webpack/runtime/compat */
220328
220470
  /******/
220329
- /******/ __nested_webpack_require_1121799__.ab = __dirname + "/";/************************************************************************/
220471
+ /******/ __nested_webpack_require_1130588__.ab = __dirname + "/";/************************************************************************/
220330
220472
  /******/ // module exports must be returned from runtime so entry inlining is disabled
220331
220473
  /******/ // startup
220332
220474
  /******/ // Load entry module and return exports
220333
- /******/ return __nested_webpack_require_1121799__(2855);
220475
+ /******/ return __nested_webpack_require_1130588__(2855);
220334
220476
  /******/ })()
220335
220477
  ;
220336
220478
 
@@ -250549,8 +250691,12 @@ async function main(client) {
250549
250691
  // We cannot rely on the `framework` alone, as it might be a static export,
250550
250692
  // and the current build might use a differnt project that's not in the settings.
250551
250693
  const isNextOutput = Boolean(dotNextDir);
250552
- const outputDir = isNextOutput ? OUTPUT_DIR : path_1.join(OUTPUT_DIR, 'static');
250553
- const distDir = dotNextDir ||
250694
+ const nextExport = await getNextExportStatus(dotNextDir);
250695
+ const outputDir = isNextOutput && !nextExport ? OUTPUT_DIR : path_1.join(OUTPUT_DIR, 'static');
250696
+ const distDir = ((nextExport === null || nextExport === void 0 ? void 0 : nextExport.exportDetail.outDirectory)
250697
+ ? path_1.relative(cwd, nextExport.exportDetail.outDirectory)
250698
+ : false) ||
250699
+ dotNextDir ||
250554
250700
  userOutputDirectory ||
250555
250701
  (await framework.getFsOutputDir(cwd));
250556
250702
  await fs_extra_1.default.ensureDir(path_1.join(cwd, outputDir));
@@ -250608,7 +250754,38 @@ async function main(client) {
250608
250754
  await fs_extra_1.default.writeJSON(path_1.join(cwd, OUTPUT_DIR, 'routes-manifest.json'), routesManifest, { spaces: 2 });
250609
250755
  }
250610
250756
  // Special Next.js processing.
250611
- if (isNextOutput) {
250757
+ if (nextExport) {
250758
+ client.output.debug('Found `next export` output.');
250759
+ const htmlFiles = await build_utils_1.glob('**/*.html', path_1.join(cwd, OUTPUT_DIR, 'static'));
250760
+ if (nextExport.exportDetail.success !== true) {
250761
+ client.output.error(`Export of Next.js app failed. Please check your build logs.`);
250762
+ process.exit(1);
250763
+ }
250764
+ await fs_extra_1.default.mkdirp(path_1.join(cwd, OUTPUT_DIR, 'server', 'pages'));
250765
+ await fs_extra_1.default.mkdirp(path_1.join(cwd, OUTPUT_DIR, 'static'));
250766
+ await Promise.all(Object.keys(htmlFiles).map(async (fileName) => {
250767
+ await sema.acquire();
250768
+ const input = path_1.join(cwd, OUTPUT_DIR, 'static', fileName);
250769
+ const target = path_1.join(cwd, OUTPUT_DIR, 'server', 'pages', fileName);
250770
+ await fs_extra_1.default.mkdirp(path_1.dirname(target));
250771
+ await fs_extra_1.default.promises.rename(input, target).finally(() => {
250772
+ sema.release();
250773
+ });
250774
+ }));
250775
+ for (const file of [
250776
+ 'BUILD_ID',
250777
+ 'images-manifest.json',
250778
+ 'routes-manifest.json',
250779
+ 'build-manifest.json',
250780
+ ]) {
250781
+ const input = path_1.join(nextExport.dotNextDir, file);
250782
+ if (fs_extra_1.default.existsSync(input)) {
250783
+ // Do not use `smartCopy`, since we want to overwrite if they already exist.
250784
+ await fs_extra_1.default.copyFile(input, path_1.join(OUTPUT_DIR, file));
250785
+ }
250786
+ }
250787
+ }
250788
+ else if (isNextOutput) {
250612
250789
  // The contents of `.output/static` should be placed inside of `.output/static/_next/static`
250613
250790
  const tempStatic = '___static';
250614
250791
  await fs_extra_1.default.rename(path_1.join(cwd, OUTPUT_DIR, 'static'), path_1.join(cwd, OUTPUT_DIR, tempStatic));
@@ -250924,6 +251101,42 @@ async function resolveNftToOutput({ client, baseDir, outputDir, nftFileName, dis
250924
251101
  files: newFilesList,
250925
251102
  });
250926
251103
  }
251104
+ /**
251105
+ * Files will only exist when `next export` was used.
251106
+ */
251107
+ async function getNextExportStatus(dotNextDir) {
251108
+ if (!dotNextDir) {
251109
+ return null;
251110
+ }
251111
+ const exportDetail = await fs_extra_1.default
251112
+ .readJson(path_1.join(dotNextDir, 'export-detail.json'))
251113
+ .catch(error => {
251114
+ if (error.code === 'ENOENT') {
251115
+ return null;
251116
+ }
251117
+ throw error;
251118
+ });
251119
+ if (!exportDetail) {
251120
+ return null;
251121
+ }
251122
+ const exportMarker = await fs_extra_1.default
251123
+ .readJSON(path_1.join(dotNextDir, 'export-marker.json'))
251124
+ .catch(error => {
251125
+ if (error.code === 'ENOENT') {
251126
+ return null;
251127
+ }
251128
+ throw error;
251129
+ });
251130
+ return {
251131
+ dotNextDir,
251132
+ exportDetail,
251133
+ exportMarker: {
251134
+ trailingSlash: (exportMarker === null || exportMarker === void 0 ? void 0 : exportMarker.hasExportPathMap)
251135
+ ? exportMarker.exportTrailingSlash
251136
+ : false,
251137
+ },
251138
+ };
251139
+ }
250927
251140
 
250928
251141
 
250929
251142
  /***/ }),
@@ -271091,7 +271304,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
271091
271304
  /***/ ((module) => {
271092
271305
 
271093
271306
  "use strict";
271094
- module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.51\",\"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.30\",\"@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.22\"},\"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\":\"9227471acaa7102c0e37b338c6ebcc05cbc95486\"}");
271307
+ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.55\",\"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.33\",\"@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.9\",\"vercel-plugin-node\":\"1.12.2-canary.25\"},\"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\":\"5efd3b98deb33029180ac40b0e30df1155c1ea5d\"}");
271095
271308
 
271096
271309
  /***/ }),
271097
271310
 
@@ -271107,7 +271320,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
271107
271320
  /***/ ((module) => {
271108
271321
 
271109
271322
  "use strict";
271110
- module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.31\",\"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.30\",\"@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\":\"9227471acaa7102c0e37b338c6ebcc05cbc95486\"}");
271323
+ module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.34\",\"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.33\",\"@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\":\"5efd3b98deb33029180ac40b0e30df1155c1ea5d\"}");
271111
271324
 
271112
271325
  /***/ }),
271113
271326
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "23.1.3-canary.51",
3
+ "version": "23.1.3-canary.55",
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.30",
46
+ "@vercel/build-utils": "2.12.3-canary.33",
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
- "vercel-plugin-middleware": "0.0.0-canary.7",
53
- "vercel-plugin-node": "1.12.2-canary.22"
52
+ "vercel-plugin-middleware": "0.0.0-canary.9",
53
+ "vercel-plugin-node": "1.12.2-canary.25"
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": "9227471acaa7102c0e37b338c6ebcc05cbc95486"
187
+ "gitHead": "5efd3b98deb33029180ac40b0e30df1155c1ea5d"
188
188
  }