vercel 23.1.3-canary.55 → 23.1.3-canary.59

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 +153 -134
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -217475,6 +217475,8 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217475
217475
  await fs_extra_1.default.ensureDir(traceDir);
217476
217476
  let newPathsRuntime = new Set();
217477
217477
  let linkersRuntime = [];
217478
+ const entryDir = path_1.join('.output', 'server', 'pages');
217479
+ const entryRoot = path_1.join(workPath, entryDir);
217478
217480
  for (const entrypoint of Object.keys(entrypoints)) {
217479
217481
  const { output } = await buildRuntime({
217480
217482
  files: sourceFilesPreBuild,
@@ -217494,22 +217496,6 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217494
217496
  // so we don't want to pollute this space unnecessarily. That means we have to clean
217495
217497
  // up files that were created by the build, which is done further below.
217496
217498
  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}`, '');
217505
- pages[entrypoint] = {
217506
- handler: handler,
217507
- runtime: output.runtime,
217508
- memory: output.memory,
217509
- maxDuration: output.maxDuration,
217510
- environment: output.environment,
217511
- allowQuery: output.allowQuery,
217512
- };
217513
217499
  // @ts-ignore This symbol is a private API
217514
217500
  const lambdaFiles = output[lambda_1.FILES_SYMBOL];
217515
217501
  // When deploying, the `files` that are passed to the Legacy Runtimes already
@@ -217521,16 +217507,33 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217521
217507
  delete lambdaFiles[file];
217522
217508
  }
217523
217509
  }
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
- }
217531
- const entry = path_1.join(workPath, '.output', 'server', 'pages', entrypoint);
217510
+ let handlerFileBase = output.handler;
217511
+ let handlerFile = lambdaFiles[handlerFileBase];
217512
+ const { handler } = output;
217513
+ const handlerMethod = handler.split('.').pop();
217514
+ const handlerFileName = handler.replace(`.${handlerMethod}`, '');
217515
+ // For compiled languages, the launcher file for the Lambda generated
217516
+ // by the Legacy Runtime matches the `handler` defined for it, but for
217517
+ // interpreted languages, the `handler` consists of the launcher file name
217518
+ // without an extension, plus the name of the method inside of that file
217519
+ // that should be invoked, so we have to construct the file path explicitly.
217520
+ if (!handlerFile) {
217521
+ handlerFileBase = handlerFileName + ext;
217522
+ handlerFile = lambdaFiles[handlerFileBase];
217523
+ }
217524
+ if (!handlerFile || !handlerFile.fsPath) {
217525
+ 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\`.`);
217526
+ }
217527
+ const handlerExtName = path_1.extname(handlerFile.fsPath);
217528
+ const entryBase = path_1.basename(entrypoint).replace(ext, handlerExtName);
217529
+ const entryPath = path_1.join(path_1.dirname(entrypoint), entryBase);
217530
+ const entry = path_1.join(entryRoot, entryPath);
217531
+ // We never want to link here, only copy, because the launcher
217532
+ // file often has the same name for every entrypoint, which means that
217533
+ // every build for every entrypoint overwrites the launcher of the previous
217534
+ // one, so linking would end with a broken reference.
217532
217535
  await fs_extra_1.default.ensureDir(path_1.dirname(entry));
217533
- await linkOrCopy(handlerFileOrigin, entry);
217536
+ await fs_extra_1.default.copy(handlerFile.fsPath, entry);
217534
217537
  const newFilesEntrypoint = [];
217535
217538
  const newDirectoriesEntrypoint = [];
217536
217539
  const preBuildFiles = Object.values(sourceFilesPreBuild).map(file => {
@@ -217581,7 +217584,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217581
217584
  const linkers = Object.entries(lambdaFiles).map(async ([relPath, file]) => {
217582
217585
  const newPath = path_1.join(traceDir, relPath);
217583
217586
  // The handler was already moved into position above.
217584
- if (relPath === handlerFilePath) {
217587
+ if (relPath === handlerFileBase) {
217585
217588
  return;
217586
217589
  }
217587
217590
  tracedFiles.push({ absolutePath: newPath, relativePath: relPath });
@@ -217618,12 +217621,14 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217618
217621
  }
217619
217622
  });
217620
217623
  linkersRuntime = linkersRuntime.concat(linkers);
217621
- const nft = path_1.join(workPath, '.output', 'server', 'pages', `${entrypoint}.nft.json`);
217624
+ const nft = `${entry}.nft.json`;
217622
217625
  const json = JSON.stringify({
217623
217626
  version: 1,
217624
217627
  files: tracedFiles.map(file => ({
217625
217628
  input: normalize_path_1.normalizePath(path_1.relative(path_1.dirname(nft), file.absolutePath)),
217626
- output: normalize_path_1.normalizePath(file.relativePath),
217629
+ // We'd like to place all the dependency files right next
217630
+ // to the final launcher file inside of the Lambda.
217631
+ output: normalize_path_1.normalizePath(path_1.join(entryDir, 'api', file.relativePath)),
217627
217632
  })),
217628
217633
  });
217629
217634
  await fs_extra_1.default.ensureDir(path_1.dirname(nft));
@@ -217636,6 +217641,20 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217636
217641
  ...newFilesEntrypoint,
217637
217642
  ...newDirectoriesEntrypoint,
217638
217643
  ]);
217644
+ // Add an entry that will later on be added to the `functions-manifest.json`
217645
+ // file that is placed inside of the `.output` directory.
217646
+ pages[normalize_path_1.normalizePath(entryPath)] = {
217647
+ // Because the underlying file used as a handler was placed
217648
+ // inside `.output/server/pages/api`, it no longer has the name it originally
217649
+ // had and is now named after the API Route that it's responsible for,
217650
+ // so we have to adjust the name of the Lambda handler accordingly.
217651
+ handler: handler.replace(handlerFileName, path_1.parse(entry).name),
217652
+ runtime: output.runtime,
217653
+ memory: output.memory,
217654
+ maxDuration: output.maxDuration,
217655
+ environment: output.environment,
217656
+ allowQuery: output.allowQuery,
217657
+ };
217639
217658
  }
217640
217659
  // Instead of of waiting for all of the linking to be done for every
217641
217660
  // entrypoint before processing the next one, we immediately handle all
@@ -217743,12 +217762,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
217743
217762
  /***/ }),
217744
217763
 
217745
217764
  /***/ 1868:
217746
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_935237__) => {
217765
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_936676__) => {
217747
217766
 
217748
217767
  "use strict";
217749
217768
 
217750
217769
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217751
- const _1 = __nested_webpack_require_935237__(2855);
217770
+ const _1 = __nested_webpack_require_936676__(2855);
217752
217771
  function debug(message, ...additional) {
217753
217772
  if (_1.getPlatformEnv('BUILDER_DEBUG')) {
217754
217773
  console.log(message, ...additional);
@@ -217760,7 +217779,7 @@ exports.default = debug;
217760
217779
  /***/ }),
217761
217780
 
217762
217781
  /***/ 4246:
217763
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_935622__) {
217782
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_937061__) {
217764
217783
 
217765
217784
  "use strict";
217766
217785
 
@@ -217769,11 +217788,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217769
217788
  };
217770
217789
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217771
217790
  exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
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);
217791
+ const minimatch_1 = __importDefault(__nested_webpack_require_937061__(9566));
217792
+ const semver_1 = __nested_webpack_require_937061__(2879);
217793
+ const path_1 = __nested_webpack_require_937061__(5622);
217794
+ const frameworks_1 = __importDefault(__nested_webpack_require_937061__(8438));
217795
+ const _1 = __nested_webpack_require_937061__(2855);
217777
217796
  const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
217778
217797
  // We need to sort the file paths by alphabet to make
217779
217798
  // sure the routes stay in the same order e.g. for deduping
@@ -218832,7 +218851,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
218832
218851
  /***/ }),
218833
218852
 
218834
218853
  /***/ 2397:
218835
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_975006__) {
218854
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976445__) {
218836
218855
 
218837
218856
  "use strict";
218838
218857
 
@@ -218840,8 +218859,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218840
218859
  return (mod && mod.__esModule) ? mod : { "default": mod };
218841
218860
  };
218842
218861
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218843
- const assert_1 = __importDefault(__nested_webpack_require_975006__(2357));
218844
- const into_stream_1 = __importDefault(__nested_webpack_require_975006__(6130));
218862
+ const assert_1 = __importDefault(__nested_webpack_require_976445__(2357));
218863
+ const into_stream_1 = __importDefault(__nested_webpack_require_976445__(6130));
218845
218864
  class FileBlob {
218846
218865
  constructor({ mode = 0o100644, contentType, data }) {
218847
218866
  assert_1.default(typeof mode === 'number');
@@ -218873,7 +218892,7 @@ exports.default = FileBlob;
218873
218892
  /***/ }),
218874
218893
 
218875
218894
  /***/ 9331:
218876
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976458__) {
218895
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977897__) {
218877
218896
 
218878
218897
  "use strict";
218879
218898
 
@@ -218881,11 +218900,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218881
218900
  return (mod && mod.__esModule) ? mod : { "default": mod };
218882
218901
  };
218883
218902
  Object.defineProperty(exports, "__esModule", ({ value: true }));
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));
218903
+ const assert_1 = __importDefault(__nested_webpack_require_977897__(2357));
218904
+ const fs_extra_1 = __importDefault(__nested_webpack_require_977897__(5392));
218905
+ const multistream_1 = __importDefault(__nested_webpack_require_977897__(8179));
218906
+ const path_1 = __importDefault(__nested_webpack_require_977897__(5622));
218907
+ const async_sema_1 = __importDefault(__nested_webpack_require_977897__(5758));
218889
218908
  const semaToPreventEMFILE = new async_sema_1.default(20);
218890
218909
  class FileFsRef {
218891
218910
  constructor({ mode = 0o100644, contentType, fsPath }) {
@@ -218951,7 +218970,7 @@ exports.default = FileFsRef;
218951
218970
  /***/ }),
218952
218971
 
218953
218972
  /***/ 5187:
218954
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979262__) {
218973
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980701__) {
218955
218974
 
218956
218975
  "use strict";
218957
218976
 
@@ -218959,11 +218978,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218959
218978
  return (mod && mod.__esModule) ? mod : { "default": mod };
218960
218979
  };
218961
218980
  Object.defineProperty(exports, "__esModule", ({ value: true }));
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));
218981
+ const assert_1 = __importDefault(__nested_webpack_require_980701__(2357));
218982
+ const node_fetch_1 = __importDefault(__nested_webpack_require_980701__(2197));
218983
+ const multistream_1 = __importDefault(__nested_webpack_require_980701__(8179));
218984
+ const async_retry_1 = __importDefault(__nested_webpack_require_980701__(3691));
218985
+ const async_sema_1 = __importDefault(__nested_webpack_require_980701__(5758));
218967
218986
  const semaToDownloadFromS3 = new async_sema_1.default(5);
218968
218987
  class BailableError extends Error {
218969
218988
  constructor(...args) {
@@ -219044,7 +219063,7 @@ exports.default = FileRef;
219044
219063
  /***/ }),
219045
219064
 
219046
219065
  /***/ 1611:
219047
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982663__) {
219066
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_984102__) {
219048
219067
 
219049
219068
  "use strict";
219050
219069
 
@@ -219053,10 +219072,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219053
219072
  };
219054
219073
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219055
219074
  exports.isSymbolicLink = void 0;
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);
219075
+ const path_1 = __importDefault(__nested_webpack_require_984102__(5622));
219076
+ const debug_1 = __importDefault(__nested_webpack_require_984102__(1868));
219077
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_984102__(9331));
219078
+ const fs_extra_1 = __nested_webpack_require_984102__(5392);
219060
219079
  const S_IFMT = 61440; /* 0170000 type of file */
219061
219080
  const S_IFLNK = 40960; /* 0120000 symbolic link */
219062
219081
  function isSymbolicLink(mode) {
@@ -219118,14 +219137,14 @@ exports.default = download;
219118
219137
  /***/ }),
219119
219138
 
219120
219139
  /***/ 3838:
219121
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_985488__) => {
219140
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_986927__) => {
219122
219141
 
219123
219142
  "use strict";
219124
219143
 
219125
219144
  Object.defineProperty(exports, "__esModule", ({ value: true }));
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);
219145
+ const path_1 = __nested_webpack_require_986927__(5622);
219146
+ const os_1 = __nested_webpack_require_986927__(2087);
219147
+ const fs_extra_1 = __nested_webpack_require_986927__(5392);
219129
219148
  async function getWritableDirectory() {
219130
219149
  const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
219131
219150
  const directory = path_1.join(os_1.tmpdir(), name);
@@ -219138,7 +219157,7 @@ exports.default = getWritableDirectory;
219138
219157
  /***/ }),
219139
219158
 
219140
219159
  /***/ 4240:
219141
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986068__) {
219160
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987507__) {
219142
219161
 
219143
219162
  "use strict";
219144
219163
 
@@ -219146,13 +219165,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219146
219165
  return (mod && mod.__esModule) ? mod : { "default": mod };
219147
219166
  };
219148
219167
  Object.defineProperty(exports, "__esModule", ({ value: true }));
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));
219168
+ const path_1 = __importDefault(__nested_webpack_require_987507__(5622));
219169
+ const assert_1 = __importDefault(__nested_webpack_require_987507__(2357));
219170
+ const glob_1 = __importDefault(__nested_webpack_require_987507__(1104));
219171
+ const util_1 = __nested_webpack_require_987507__(1669);
219172
+ const fs_extra_1 = __nested_webpack_require_987507__(5392);
219173
+ const normalize_path_1 = __nested_webpack_require_987507__(6261);
219174
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_987507__(9331));
219156
219175
  const vanillaGlob = util_1.promisify(glob_1.default);
219157
219176
  async function glob(pattern, opts, mountpoint) {
219158
219177
  let options;
@@ -219198,7 +219217,7 @@ exports.default = glob;
219198
219217
  /***/ }),
219199
219218
 
219200
219219
  /***/ 7903:
219201
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988264__) {
219220
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_989703__) {
219202
219221
 
219203
219222
  "use strict";
219204
219223
 
@@ -219207,9 +219226,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219207
219226
  };
219208
219227
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219209
219228
  exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
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));
219229
+ const semver_1 = __nested_webpack_require_989703__(2879);
219230
+ const errors_1 = __nested_webpack_require_989703__(3983);
219231
+ const debug_1 = __importDefault(__nested_webpack_require_989703__(1868));
219213
219232
  const allOptions = [
219214
219233
  { major: 14, range: '14.x', runtime: 'nodejs14.x' },
219215
219234
  { major: 12, range: '12.x', runtime: 'nodejs12.x' },
@@ -219303,7 +219322,7 @@ exports.normalizePath = normalizePath;
219303
219322
  /***/ }),
219304
219323
 
219305
219324
  /***/ 7792:
219306
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992132__) {
219325
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_993571__) {
219307
219326
 
219308
219327
  "use strict";
219309
219328
 
@@ -219312,9 +219331,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219312
219331
  };
219313
219332
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219314
219333
  exports.readConfigFile = void 0;
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);
219334
+ const js_yaml_1 = __importDefault(__nested_webpack_require_993571__(6540));
219335
+ const toml_1 = __importDefault(__nested_webpack_require_993571__(9434));
219336
+ const fs_extra_1 = __nested_webpack_require_993571__(5392);
219318
219337
  async function readFileOrNull(file) {
219319
219338
  try {
219320
219339
  const data = await fs_extra_1.readFile(file);
@@ -219369,7 +219388,7 @@ exports.default = rename;
219369
219388
  /***/ }),
219370
219389
 
219371
219390
  /***/ 1442:
219372
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_993925__) {
219391
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_995364__) {
219373
219392
 
219374
219393
  "use strict";
219375
219394
 
@@ -219378,14 +219397,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219378
219397
  };
219379
219398
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219380
219399
  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;
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);
219400
+ const assert_1 = __importDefault(__nested_webpack_require_995364__(2357));
219401
+ const fs_extra_1 = __importDefault(__nested_webpack_require_995364__(5392));
219402
+ const path_1 = __importDefault(__nested_webpack_require_995364__(5622));
219403
+ const debug_1 = __importDefault(__nested_webpack_require_995364__(1868));
219404
+ const cross_spawn_1 = __importDefault(__nested_webpack_require_995364__(7618));
219405
+ const util_1 = __nested_webpack_require_995364__(1669);
219406
+ const errors_1 = __nested_webpack_require_995364__(3983);
219407
+ const node_version_1 = __nested_webpack_require_995364__(7903);
219389
219408
  function spawnAsync(command, args, opts = {}) {
219390
219409
  return new Promise((resolve, reject) => {
219391
219410
  const stderrLogs = [];
@@ -219696,7 +219715,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
219696
219715
  /***/ }),
219697
219716
 
219698
219717
  /***/ 2560:
219699
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1007915__) {
219718
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1009354__) {
219700
219719
 
219701
219720
  "use strict";
219702
219721
 
@@ -219704,7 +219723,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219704
219723
  return (mod && mod.__esModule) ? mod : { "default": mod };
219705
219724
  };
219706
219725
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219707
- const end_of_stream_1 = __importDefault(__nested_webpack_require_1007915__(687));
219726
+ const end_of_stream_1 = __importDefault(__nested_webpack_require_1009354__(687));
219708
219727
  function streamToBuffer(stream) {
219709
219728
  return new Promise((resolve, reject) => {
219710
219729
  const buffers = [];
@@ -219733,7 +219752,7 @@ exports.default = streamToBuffer;
219733
219752
  /***/ }),
219734
219753
 
219735
219754
  /***/ 1148:
219736
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1008983__) {
219755
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1010422__) {
219737
219756
 
219738
219757
  "use strict";
219739
219758
 
@@ -219741,9 +219760,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219741
219760
  return (mod && mod.__esModule) ? mod : { "default": mod };
219742
219761
  };
219743
219762
  Object.defineProperty(exports, "__esModule", ({ value: true }));
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));
219763
+ const path_1 = __importDefault(__nested_webpack_require_1010422__(5622));
219764
+ const fs_extra_1 = __importDefault(__nested_webpack_require_1010422__(5392));
219765
+ const ignore_1 = __importDefault(__nested_webpack_require_1010422__(3556));
219747
219766
  function isCodedError(error) {
219748
219767
  return (error !== null &&
219749
219768
  error !== undefined &&
@@ -219800,7 +219819,7 @@ exports.default = default_1;
219800
219819
  /***/ }),
219801
219820
 
219802
219821
  /***/ 2855:
219803
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011365__) {
219822
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012804__) {
219804
219823
 
219805
219824
  "use strict";
219806
219825
 
@@ -219831,29 +219850,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219831
219850
  };
219832
219851
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219833
219852
  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;
219834
- const crypto_1 = __nested_webpack_require_1011365__(6417);
219835
- const file_blob_1 = __importDefault(__nested_webpack_require_1011365__(2397));
219853
+ const crypto_1 = __nested_webpack_require_1012804__(6417);
219854
+ const file_blob_1 = __importDefault(__nested_webpack_require_1012804__(2397));
219836
219855
  exports.FileBlob = file_blob_1.default;
219837
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_1011365__(9331));
219856
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_1012804__(9331));
219838
219857
  exports.FileFsRef = file_fs_ref_1.default;
219839
- const file_ref_1 = __importDefault(__nested_webpack_require_1011365__(5187));
219858
+ const file_ref_1 = __importDefault(__nested_webpack_require_1012804__(5187));
219840
219859
  exports.FileRef = file_ref_1.default;
219841
- const lambda_1 = __nested_webpack_require_1011365__(6721);
219860
+ const lambda_1 = __nested_webpack_require_1012804__(6721);
219842
219861
  Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
219843
219862
  Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
219844
219863
  Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
219845
- const prerender_1 = __nested_webpack_require_1011365__(2850);
219864
+ const prerender_1 = __nested_webpack_require_1012804__(2850);
219846
219865
  Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
219847
- const download_1 = __importStar(__nested_webpack_require_1011365__(1611));
219866
+ const download_1 = __importStar(__nested_webpack_require_1012804__(1611));
219848
219867
  exports.download = download_1.default;
219849
219868
  Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
219850
- const get_writable_directory_1 = __importDefault(__nested_webpack_require_1011365__(3838));
219869
+ const get_writable_directory_1 = __importDefault(__nested_webpack_require_1012804__(3838));
219851
219870
  exports.getWriteableDirectory = get_writable_directory_1.default;
219852
- const glob_1 = __importDefault(__nested_webpack_require_1011365__(4240));
219871
+ const glob_1 = __importDefault(__nested_webpack_require_1012804__(4240));
219853
219872
  exports.glob = glob_1.default;
219854
- const rename_1 = __importDefault(__nested_webpack_require_1011365__(6718));
219873
+ const rename_1 = __importDefault(__nested_webpack_require_1012804__(6718));
219855
219874
  exports.rename = rename_1.default;
219856
- const run_user_scripts_1 = __nested_webpack_require_1011365__(1442);
219875
+ const run_user_scripts_1 = __nested_webpack_require_1012804__(1442);
219857
219876
  Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
219858
219877
  Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
219859
219878
  Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
@@ -219870,38 +219889,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
219870
219889
  Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
219871
219890
  Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
219872
219891
  Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
219873
- const node_version_1 = __nested_webpack_require_1011365__(7903);
219892
+ const node_version_1 = __nested_webpack_require_1012804__(7903);
219874
219893
  Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
219875
219894
  Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
219876
- const errors_1 = __nested_webpack_require_1011365__(3983);
219877
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1011365__(2560));
219895
+ const errors_1 = __nested_webpack_require_1012804__(3983);
219896
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1012804__(2560));
219878
219897
  exports.streamToBuffer = stream_to_buffer_1.default;
219879
- const should_serve_1 = __importDefault(__nested_webpack_require_1011365__(2564));
219898
+ const should_serve_1 = __importDefault(__nested_webpack_require_1012804__(2564));
219880
219899
  exports.shouldServe = should_serve_1.default;
219881
- const debug_1 = __importDefault(__nested_webpack_require_1011365__(1868));
219900
+ const debug_1 = __importDefault(__nested_webpack_require_1012804__(1868));
219882
219901
  exports.debug = debug_1.default;
219883
- const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1011365__(1148));
219902
+ const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1012804__(1148));
219884
219903
  exports.getIgnoreFilter = get_ignore_filter_1.default;
219885
- var detect_builders_1 = __nested_webpack_require_1011365__(4246);
219904
+ var detect_builders_1 = __nested_webpack_require_1012804__(4246);
219886
219905
  Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
219887
219906
  Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
219888
219907
  Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
219889
219908
  Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
219890
- var detect_framework_1 = __nested_webpack_require_1011365__(5224);
219909
+ var detect_framework_1 = __nested_webpack_require_1012804__(5224);
219891
219910
  Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
219892
- var filesystem_1 = __nested_webpack_require_1011365__(461);
219911
+ var filesystem_1 = __nested_webpack_require_1012804__(461);
219893
219912
  Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
219894
- var read_config_file_1 = __nested_webpack_require_1011365__(7792);
219913
+ var read_config_file_1 = __nested_webpack_require_1012804__(7792);
219895
219914
  Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
219896
- var normalize_path_1 = __nested_webpack_require_1011365__(6261);
219915
+ var normalize_path_1 = __nested_webpack_require_1012804__(6261);
219897
219916
  Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
219898
- var convert_runtime_to_plugin_1 = __nested_webpack_require_1011365__(7276);
219917
+ var convert_runtime_to_plugin_1 = __nested_webpack_require_1012804__(7276);
219899
219918
  Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
219900
219919
  Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
219901
219920
  Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
219902
- __exportStar(__nested_webpack_require_1011365__(2416), exports);
219903
- __exportStar(__nested_webpack_require_1011365__(5748), exports);
219904
- __exportStar(__nested_webpack_require_1011365__(3983), exports);
219921
+ __exportStar(__nested_webpack_require_1012804__(2416), exports);
219922
+ __exportStar(__nested_webpack_require_1012804__(5748), exports);
219923
+ __exportStar(__nested_webpack_require_1012804__(3983), exports);
219905
219924
  /**
219906
219925
  * Helper function to support both `@vercel` and legacy `@now` official Runtimes.
219907
219926
  */
@@ -219954,7 +219973,7 @@ exports.getInputHash = getInputHash;
219954
219973
  /***/ }),
219955
219974
 
219956
219975
  /***/ 6721:
219957
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1022343__) {
219976
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1023782__) {
219958
219977
 
219959
219978
  "use strict";
219960
219979
 
@@ -219963,13 +219982,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219963
219982
  };
219964
219983
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219965
219984
  exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
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));
219985
+ const assert_1 = __importDefault(__nested_webpack_require_1023782__(2357));
219986
+ const async_sema_1 = __importDefault(__nested_webpack_require_1023782__(5758));
219987
+ const yazl_1 = __nested_webpack_require_1023782__(1223);
219988
+ const minimatch_1 = __importDefault(__nested_webpack_require_1023782__(9566));
219989
+ const fs_extra_1 = __nested_webpack_require_1023782__(5392);
219990
+ const download_1 = __nested_webpack_require_1023782__(1611);
219991
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1023782__(2560));
219973
219992
  exports.FILES_SYMBOL = Symbol('files');
219974
219993
  class Lambda {
219975
219994
  constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
@@ -220198,12 +220217,12 @@ exports.buildsSchema = {
220198
220217
  /***/ }),
220199
220218
 
220200
220219
  /***/ 2564:
220201
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1030853__) => {
220220
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1032292__) => {
220202
220221
 
220203
220222
  "use strict";
220204
220223
 
220205
220224
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220206
- const path_1 = __nested_webpack_require_1030853__(5622);
220225
+ const path_1 = __nested_webpack_require_1032292__(5622);
220207
220226
  function shouldServe({ entrypoint, files, requestPath, }) {
220208
220227
  requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
220209
220228
  entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
@@ -220440,7 +220459,7 @@ module.exports = __webpack_require__(78761);
220440
220459
  /******/ var __webpack_module_cache__ = {};
220441
220460
  /******/
220442
220461
  /******/ // The require function
220443
- /******/ function __nested_webpack_require_1130588__(moduleId) {
220462
+ /******/ function __nested_webpack_require_1132027__(moduleId) {
220444
220463
  /******/ // Check if module is in cache
220445
220464
  /******/ if(__webpack_module_cache__[moduleId]) {
220446
220465
  /******/ return __webpack_module_cache__[moduleId].exports;
@@ -220455,7 +220474,7 @@ module.exports = __webpack_require__(78761);
220455
220474
  /******/ // Execute the module function
220456
220475
  /******/ var threw = true;
220457
220476
  /******/ try {
220458
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1130588__);
220477
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1132027__);
220459
220478
  /******/ threw = false;
220460
220479
  /******/ } finally {
220461
220480
  /******/ if(threw) delete __webpack_module_cache__[moduleId];
@@ -220468,11 +220487,11 @@ module.exports = __webpack_require__(78761);
220468
220487
  /************************************************************************/
220469
220488
  /******/ /* webpack/runtime/compat */
220470
220489
  /******/
220471
- /******/ __nested_webpack_require_1130588__.ab = __dirname + "/";/************************************************************************/
220490
+ /******/ __nested_webpack_require_1132027__.ab = __dirname + "/";/************************************************************************/
220472
220491
  /******/ // module exports must be returned from runtime so entry inlining is disabled
220473
220492
  /******/ // startup
220474
220493
  /******/ // Load entry module and return exports
220475
- /******/ return __nested_webpack_require_1130588__(2855);
220494
+ /******/ return __nested_webpack_require_1132027__(2855);
220476
220495
  /******/ })()
220477
220496
  ;
220478
220497
 
@@ -271304,7 +271323,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
271304
271323
  /***/ ((module) => {
271305
271324
 
271306
271325
  "use strict";
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\"}");
271326
+ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.59\",\"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.36\",\"@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.12\",\"vercel-plugin-node\":\"1.12.2-canary.28\"},\"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\":\"1c3701628d88e82f6e0535ecdba2c5e91ce61976\"}");
271308
271327
 
271309
271328
  /***/ }),
271310
271329
 
@@ -271320,7 +271339,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
271320
271339
  /***/ ((module) => {
271321
271340
 
271322
271341
  "use strict";
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\"}");
271342
+ module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.37\",\"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.36\",\"@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\":\"1c3701628d88e82f6e0535ecdba2c5e91ce61976\"}");
271324
271343
 
271325
271344
  /***/ }),
271326
271345
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "23.1.3-canary.55",
3
+ "version": "23.1.3-canary.59",
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.33",
46
+ "@vercel/build-utils": "2.12.3-canary.36",
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.9",
53
- "vercel-plugin-node": "1.12.2-canary.25"
52
+ "vercel-plugin-middleware": "0.0.0-canary.12",
53
+ "vercel-plugin-node": "1.12.2-canary.28"
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": "5efd3b98deb33029180ac40b0e30df1155c1ea5d"
187
+ "gitHead": "1c3701628d88e82f6e0535ecdba2c5e91ce61976"
188
188
  }