vercel 23.1.3-canary.70 → 23.1.3-canary.74

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 +825 -605
  2. package/package.json +13 -12
package/dist/index.js CHANGED
@@ -123528,11 +123528,7 @@ const pTryEach = async (array, mapper) => {
123528
123528
  throw latestError;
123529
123529
  };
123530
123530
 
123531
- const open = async (target, options) => {
123532
- if (typeof target !== 'string') {
123533
- throw new TypeError('Expected a `target`');
123534
- }
123535
-
123531
+ const baseOpen = async options => {
123536
123532
  options = {
123537
123533
  wait: false,
123538
123534
  background: false,
@@ -123542,16 +123538,17 @@ const open = async (target, options) => {
123542
123538
  };
123543
123539
 
123544
123540
  if (Array.isArray(options.app)) {
123545
- return pTryEach(options.app, singleApp => open(target, {
123541
+ return pTryEach(options.app, singleApp => baseOpen({
123546
123542
  ...options,
123547
123543
  app: singleApp
123548
123544
  }));
123549
123545
  }
123550
123546
 
123551
123547
  let {name: app, arguments: appArguments = []} = options.app || {};
123548
+ appArguments = [...appArguments];
123552
123549
 
123553
123550
  if (Array.isArray(app)) {
123554
- return pTryEach(app, appName => open(target, {
123551
+ return pTryEach(app, appName => baseOpen({
123555
123552
  ...options,
123556
123553
  app: {
123557
123554
  name: appName,
@@ -123611,9 +123608,11 @@ const open = async (target, options) => {
123611
123608
  // Double quote with double quotes to ensure the inner quotes are passed through.
123612
123609
  // Inner quotes are delimited for PowerShell interpretation with backticks.
123613
123610
  encodedArguments.push(`"\`"${app}\`""`, '-ArgumentList');
123614
- appArguments.unshift(target);
123615
- } else {
123616
- encodedArguments.push(`"${target}"`);
123611
+ if (options.target) {
123612
+ appArguments.unshift(options.target);
123613
+ }
123614
+ } else if (options.target) {
123615
+ encodedArguments.push(`"${options.target}"`);
123617
123616
  }
123618
123617
 
123619
123618
  if (appArguments.length > 0) {
@@ -123622,7 +123621,7 @@ const open = async (target, options) => {
123622
123621
  }
123623
123622
 
123624
123623
  // Using Base64-encoded command, accepted by PowerShell, to allow special characters.
123625
- target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64');
123624
+ options.target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64');
123626
123625
  } else {
123627
123626
  if (app) {
123628
123627
  command = app;
@@ -123654,7 +123653,9 @@ const open = async (target, options) => {
123654
123653
  }
123655
123654
  }
123656
123655
 
123657
- cliArguments.push(target);
123656
+ if (options.target) {
123657
+ cliArguments.push(options.target);
123658
+ }
123658
123659
 
123659
123660
  if (platform === 'darwin' && appArguments.length > 0) {
123660
123661
  cliArguments.push('--args', ...appArguments);
@@ -123682,6 +123683,36 @@ const open = async (target, options) => {
123682
123683
  return subprocess;
123683
123684
  };
123684
123685
 
123686
+ const open = (target, options) => {
123687
+ if (typeof target !== 'string') {
123688
+ throw new TypeError('Expected a `target`');
123689
+ }
123690
+
123691
+ return baseOpen({
123692
+ ...options,
123693
+ target
123694
+ });
123695
+ };
123696
+
123697
+ const openApp = (name, options) => {
123698
+ if (typeof name !== 'string') {
123699
+ throw new TypeError('Expected a `name`');
123700
+ }
123701
+
123702
+ const {arguments: appArguments = []} = options || {};
123703
+ if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
123704
+ throw new TypeError('Expected `appArguments` as Array type');
123705
+ }
123706
+
123707
+ return baseOpen({
123708
+ ...options,
123709
+ app: {
123710
+ name,
123711
+ arguments: appArguments
123712
+ }
123713
+ });
123714
+ };
123715
+
123685
123716
  function detectArchBinary(binary) {
123686
123717
  if (typeof binary === 'string' || Array.isArray(binary)) {
123687
123718
  return binary;
@@ -123713,7 +123744,7 @@ const apps = {};
123713
123744
  defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({
123714
123745
  darwin: 'google chrome',
123715
123746
  win32: 'chrome',
123716
- linux: ['google-chrome', 'google-chrome-stable']
123747
+ linux: ['google-chrome', 'google-chrome-stable', 'chromium']
123717
123748
  }, {
123718
123749
  wsl: {
123719
123750
  ia32: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe',
@@ -123732,12 +123763,13 @@ defineLazyProperty(apps, 'firefox', () => detectPlatformBinary({
123732
123763
  defineLazyProperty(apps, 'edge', () => detectPlatformBinary({
123733
123764
  darwin: 'microsoft edge',
123734
123765
  win32: 'msedge',
123735
- linux: 'microsoft-edge'
123766
+ linux: ['microsoft-edge', 'microsoft-edge-dev']
123736
123767
  }, {
123737
123768
  wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe'
123738
123769
  }));
123739
123770
 
123740
123771
  open.apps = apps;
123772
+ open.openApp = openApp;
123741
123773
 
123742
123774
  module.exports = open;
123743
123775
 
@@ -211228,7 +211260,7 @@ exports.frameworks = [
211228
211260
  {
211229
211261
  name: 'Blitz.js',
211230
211262
  slug: 'blitzjs',
211231
- demo: 'https://blitzjs.examples.vercel.com',
211263
+ demo: 'https://blitz-template.vercel.app',
211232
211264
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/blitz.svg',
211233
211265
  tagline: 'Blitz.js: The Fullstack React Framework',
211234
211266
  description: 'A brand new Blitz.js app - the result of running `npx blitz new`.',
@@ -211264,7 +211296,7 @@ exports.frameworks = [
211264
211296
  {
211265
211297
  name: 'Next.js',
211266
211298
  slug: 'nextjs',
211267
- demo: 'https://nextjs.examples.vercel.com',
211299
+ demo: 'https://nextjs-template.vercel.app',
211268
211300
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next.svg',
211269
211301
  tagline: 'Next.js makes you productive with React instantly — whether you want to build static or dynamic sites.',
211270
211302
  description: 'A Next.js app and a Serverless Function API.',
@@ -211309,10 +211341,10 @@ exports.frameworks = [
211309
211341
  {
211310
211342
  name: 'Gatsby.js',
211311
211343
  slug: 'gatsby',
211312
- demo: 'https://gatsby.examples.vercel.com',
211344
+ demo: 'https://gatsby.vercel.app',
211313
211345
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/gatsby.svg',
211314
211346
  tagline: 'Gatsby helps developers build blazing fast websites and apps with React.',
211315
- description: 'A Gatsby app, using the default starter theme and a Serverless Function API.',
211347
+ description: 'A Gatsby starter app with an API Route.',
211316
211348
  website: 'https://gatsbyjs.org',
211317
211349
  sort: 5,
211318
211350
  envPrefix: 'GATSBY_',
@@ -211391,7 +211423,7 @@ exports.frameworks = [
211391
211423
  {
211392
211424
  name: 'Remix',
211393
211425
  slug: 'remix',
211394
- demo: 'https://remix.examples.vercel.com',
211426
+ demo: 'https://remix-run-template.vercel.app',
211395
211427
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix-no-shadow.svg',
211396
211428
  tagline: 'Build Better Websites',
211397
211429
  description: 'A new Remix app — the result of running `npx create-remix`.',
@@ -211460,7 +211492,7 @@ exports.frameworks = [
211460
211492
  {
211461
211493
  name: 'Hexo',
211462
211494
  slug: 'hexo',
211463
- demo: 'https://hexo.examples.vercel.com',
211495
+ demo: 'https://hexo-template.vercel.app',
211464
211496
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/hexo.svg',
211465
211497
  tagline: 'Hexo is a fast, simple & powerful blog framework powered by Node.js.',
211466
211498
  description: 'A Hexo site, created with the Hexo CLI.',
@@ -211495,7 +211527,7 @@ exports.frameworks = [
211495
211527
  {
211496
211528
  name: 'Eleventy',
211497
211529
  slug: 'eleventy',
211498
- demo: 'https://eleventy.examples.vercel.com',
211530
+ demo: 'https://eleventy-template.vercel.app',
211499
211531
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/eleventy.svg',
211500
211532
  tagline: '11ty is a simpler static site generator written in JavaScript, created to be an alternative to Jekyll.',
211501
211533
  description: 'An Eleventy site, created with npm init.',
@@ -211531,7 +211563,7 @@ exports.frameworks = [
211531
211563
  {
211532
211564
  name: 'Docusaurus 2',
211533
211565
  slug: 'docusaurus-2',
211534
- demo: 'https://docusaurus-2.examples.vercel.com',
211566
+ demo: 'https://docusaurus-2-template.vercel.app',
211535
211567
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/docusaurus.svg',
211536
211568
  tagline: 'Docusaurus makes it easy to maintain Open Source documentation websites.',
211537
211569
  description: 'A static Docusaurus site that makes it easy to maintain OSS documentation.',
@@ -211660,7 +211692,7 @@ exports.frameworks = [
211660
211692
  {
211661
211693
  name: 'Docusaurus 1',
211662
211694
  slug: 'docusaurus',
211663
- demo: 'https://docusaurus.examples.vercel.com',
211695
+ demo: 'https://docusaurus-template.vercel.app',
211664
211696
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/docusaurus.svg',
211665
211697
  tagline: 'Docusaurus makes it easy to maintain Open Source documentation websites.',
211666
211698
  description: 'A static Docusaurus site that makes it easy to maintain OSS documentation.',
@@ -211709,7 +211741,7 @@ exports.frameworks = [
211709
211741
  {
211710
211742
  name: 'Preact',
211711
211743
  slug: 'preact',
211712
- demo: 'https://preact.examples.vercel.com',
211744
+ demo: 'https://preact-template.vercel.app',
211713
211745
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/preact.svg',
211714
211746
  tagline: 'Preact is a fast 3kB alternative to React with the same modern API.',
211715
211747
  description: 'A Preact app, created with the Preact CLI.',
@@ -211760,7 +211792,7 @@ exports.frameworks = [
211760
211792
  {
211761
211793
  name: 'SolidStart',
211762
211794
  slug: 'solidstart',
211763
- demo: 'https://solidstart.examples.vercel.com',
211795
+ demo: 'https://solid-start-template.vercel.app',
211764
211796
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/solid.svg',
211765
211797
  tagline: 'Simple and performant reactivity for building user interfaces.',
211766
211798
  description: 'A Solid app, created with SolidStart.',
@@ -211798,7 +211830,7 @@ exports.frameworks = [
211798
211830
  {
211799
211831
  name: 'Dojo',
211800
211832
  slug: 'dojo',
211801
- demo: 'https://dojo.examples.vercel.com',
211833
+ demo: 'https://dojo-template.vercel.app',
211802
211834
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/dojo.png',
211803
211835
  tagline: 'Dojo is a modern progressive, TypeScript first framework.',
211804
211836
  description: "A Dojo app, created with the Dojo CLI's cli-create-app command.",
@@ -211865,7 +211897,7 @@ exports.frameworks = [
211865
211897
  {
211866
211898
  name: 'Ember.js',
211867
211899
  slug: 'ember',
211868
- demo: 'https://ember.examples.vercel.com',
211900
+ demo: 'https://ember-template.vercel.app',
211869
211901
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ember.svg',
211870
211902
  tagline: 'Ember.js helps webapp developers be more productive out of the box.',
211871
211903
  description: 'An Ember app, created with the Ember CLI.',
@@ -211916,7 +211948,7 @@ exports.frameworks = [
211916
211948
  {
211917
211949
  name: 'Vue.js',
211918
211950
  slug: 'vue',
211919
- demo: 'https://vue.examples.vercel.com',
211951
+ demo: 'https://vue-template.vercel.app',
211920
211952
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/vue.svg',
211921
211953
  tagline: 'Vue.js is a versatile JavaScript framework that is as approachable as it is performant.',
211922
211954
  description: 'A Vue.js app, created with the Vue CLI.',
@@ -211992,7 +212024,7 @@ exports.frameworks = [
211992
212024
  {
211993
212025
  name: 'Scully',
211994
212026
  slug: 'scully',
211995
- demo: 'https://scully.examples.vercel.com',
212027
+ demo: 'https://scully-template.vercel.app',
211996
212028
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/scullyio-logo.png',
211997
212029
  tagline: 'Scully is a static site generator for Angular.',
211998
212030
  description: 'The Static Site Generator for Angular apps.',
@@ -212027,7 +212059,7 @@ exports.frameworks = [
212027
212059
  {
212028
212060
  name: 'Ionic Angular',
212029
212061
  slug: 'ionic-angular',
212030
- demo: 'https://ionic-angular.examples.vercel.com',
212062
+ demo: 'https://ionic-angular-template.vercel.app',
212031
212063
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ionic.svg',
212032
212064
  tagline: 'Ionic Angular allows you to build mobile PWAs with Angular and the Ionic Framework.',
212033
212065
  description: 'An Ionic Angular site, created with the Ionic CLI.',
@@ -212077,7 +212109,7 @@ exports.frameworks = [
212077
212109
  {
212078
212110
  name: 'Angular',
212079
212111
  slug: 'angular',
212080
- demo: 'https://angular.examples.vercel.com',
212112
+ demo: 'https://angular-template.vercel.app',
212081
212113
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/angular.svg',
212082
212114
  tagline: 'Angular is a TypeScript-based cross-platform framework from Google.',
212083
212115
  description: 'An Angular app, created with the Angular CLI.',
@@ -212142,7 +212174,7 @@ exports.frameworks = [
212142
212174
  {
212143
212175
  name: 'Polymer',
212144
212176
  slug: 'polymer',
212145
- demo: 'https://polymer.examples.vercel.com',
212177
+ demo: 'https://polymer-template.vercel.app',
212146
212178
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/polymer.svg',
212147
212179
  tagline: 'Polymer is an open-source webapps library from Google, for building using Web Components.',
212148
212180
  description: 'A Polymer app, created with the Polymer CLI.',
@@ -212205,7 +212237,7 @@ exports.frameworks = [
212205
212237
  {
212206
212238
  name: 'Svelte',
212207
212239
  slug: 'svelte',
212208
- demo: 'https://svelte.examples.vercel.com',
212240
+ demo: 'https://svelte.vercel.app',
212209
212241
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
212210
212242
  tagline: 'Svelte lets you write high performance reactive apps with significantly less boilerplate.',
212211
212243
  description: 'A basic Svelte app using the default template.',
@@ -212260,11 +212292,12 @@ exports.frameworks = [
212260
212292
  {
212261
212293
  name: 'SvelteKit',
212262
212294
  slug: 'sveltekit',
212263
- demo: 'https://sveltekit.examples.vercel.com',
212295
+ demo: 'https://sveltekit-template.vercel.app',
212264
212296
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
212265
212297
  tagline: 'SvelteKit is a framework for building web applications of all sizes.',
212266
- description: 'A SvelteKit app optimized to work for serverless.',
212298
+ description: 'A SvelteKit app optimized Edge-first.',
212267
212299
  website: 'https://kit.svelte.dev',
212300
+ envPrefix: 'VITE_',
212268
212301
  detectors: {
212269
212302
  every: [
212270
212303
  {
@@ -212294,7 +212327,7 @@ exports.frameworks = [
212294
212327
  {
212295
212328
  name: 'Ionic React',
212296
212329
  slug: 'ionic-react',
212297
- demo: 'https://ionic-react.examples.vercel.com',
212330
+ demo: 'https://ionic-react-template.vercel.app',
212298
212331
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ionic.svg',
212299
212332
  tagline: 'Ionic React allows you to build mobile PWAs with React and the Ionic Framework.',
212300
212333
  description: 'An Ionic React site, created with the Ionic CLI.',
@@ -212392,10 +212425,10 @@ exports.frameworks = [
212392
212425
  {
212393
212426
  name: 'Create React App',
212394
212427
  slug: 'create-react-app',
212395
- demo: 'https://react-functions.examples.vercel.com',
212428
+ demo: 'https://create-react-template.vercel.app',
212396
212429
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/react.svg',
212397
212430
  tagline: 'Create React App allows you to get going with React in no time.',
212398
- description: 'A React app, bootstrapped with create-react-app, and a Serverless Function API.',
212431
+ description: 'A client-side React app created with create-react-app.',
212399
212432
  website: 'https://create-react-app.dev',
212400
212433
  sort: 4,
212401
212434
  envPrefix: 'REACT_APP_',
@@ -212496,7 +212529,7 @@ exports.frameworks = [
212496
212529
  {
212497
212530
  name: 'Gridsome',
212498
212531
  slug: 'gridsome',
212499
- demo: 'https://gridsome.examples.vercel.com',
212532
+ demo: 'https://gridsome-template.vercel.app',
212500
212533
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/gridsome.svg',
212501
212534
  tagline: 'Gridsome is a Vue.js-powered framework for building websites & apps that are fast by default.',
212502
212535
  description: 'A Gridsome app, created with the Gridsome CLI.',
@@ -212531,7 +212564,7 @@ exports.frameworks = [
212531
212564
  {
212532
212565
  name: 'UmiJS',
212533
212566
  slug: 'umijs',
212534
- demo: 'https://umijs.examples.vercel.com',
212567
+ demo: 'https://umijs-template.vercel.app',
212535
212568
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/umi.svg',
212536
212569
  tagline: 'UmiJS is an extensible enterprise-level React application framework.',
212537
212570
  description: 'An UmiJS app, created using the Umi CLI.',
@@ -212582,7 +212615,7 @@ exports.frameworks = [
212582
212615
  {
212583
212616
  name: 'Sapper',
212584
212617
  slug: 'sapper',
212585
- demo: 'https://sapper.examples.vercel.com',
212618
+ demo: 'https://sapper-template.vercel.app',
212586
212619
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
212587
212620
  tagline: 'Sapper is a framework for building high-performance universal web apps with Svelte.',
212588
212621
  description: 'A Sapper app, using the Sapper template.',
@@ -212617,7 +212650,7 @@ exports.frameworks = [
212617
212650
  {
212618
212651
  name: 'Saber',
212619
212652
  slug: 'saber',
212620
- demo: 'https://saber.examples.vercel.com',
212653
+ demo: 'https://saber-template.vercel.app',
212621
212654
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/saber.svg',
212622
212655
  tagline: 'Saber is a framework for building static sites in Vue.js that supports data from any source.',
212623
212656
  description: 'A Saber site, created with npm init.',
@@ -212683,7 +212716,7 @@ exports.frameworks = [
212683
212716
  {
212684
212717
  name: 'Stencil',
212685
212718
  slug: 'stencil',
212686
- demo: 'https://stencil.examples.vercel.com',
212719
+ demo: 'https://stencil.vercel.app',
212687
212720
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/stencil.svg',
212688
212721
  tagline: 'Stencil is a powerful toolchain for building Progressive Web Apps and Design Systems.',
212689
212722
  description: 'A Stencil site, created with the Stencil CLI.',
@@ -212768,7 +212801,7 @@ exports.frameworks = [
212768
212801
  {
212769
212802
  name: 'Nuxt.js',
212770
212803
  slug: 'nuxtjs',
212771
- demo: 'https://nuxtjs.examples.vercel.com',
212804
+ demo: 'https://nuxtjs-template.vercel.app',
212772
212805
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/nuxt.svg',
212773
212806
  tagline: 'Nuxt.js is the web comprehensive framework that lets you dream big with Vue.js.',
212774
212807
  description: 'A Nuxt.js app, bootstrapped with create-nuxt-app.',
@@ -212824,7 +212857,7 @@ exports.frameworks = [
212824
212857
  {
212825
212858
  name: 'RedwoodJS',
212826
212859
  slug: 'redwoodjs',
212827
- demo: 'https://redwoodjs.examples.vercel.com',
212860
+ demo: 'https://redwood-template.vercel.app',
212828
212861
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/redwoodjs.svg',
212829
212862
  tagline: 'RedwoodJS is a full-stack framework for the Jamstack.',
212830
212863
  description: 'A RedwoodJS app, bootstraped with create-redwood-app.',
@@ -212860,7 +212893,7 @@ exports.frameworks = [
212860
212893
  {
212861
212894
  name: 'Hugo',
212862
212895
  slug: 'hugo',
212863
- demo: 'https://hugo.examples.vercel.com',
212896
+ demo: 'https://hugo-template.vercel.app',
212864
212897
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/hugo.svg',
212865
212898
  tagline: 'Hugo is the world’s fastest framework for building websites, written in Go.',
212866
212899
  description: 'A Hugo site, created with the Hugo CLI.',
@@ -212908,7 +212941,7 @@ exports.frameworks = [
212908
212941
  {
212909
212942
  name: 'Jekyll',
212910
212943
  slug: 'jekyll',
212911
- demo: 'https://jekyll.examples.vercel.com',
212944
+ demo: 'https://jekyll-template.vercel.app',
212912
212945
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/jekyll.svg',
212913
212946
  tagline: 'Jekyll makes it super easy to transform your plain text into static websites and blogs.',
212914
212947
  description: 'A Jekyll site, created with the Jekyll CLI.',
@@ -212945,7 +212978,7 @@ exports.frameworks = [
212945
212978
  {
212946
212979
  name: 'Brunch',
212947
212980
  slug: 'brunch',
212948
- demo: 'https://brunch.examples.vercel.com',
212981
+ demo: 'https://brunch-template.vercel.app',
212949
212982
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/brunch.svg',
212950
212983
  tagline: 'Brunch is a fast and simple webapp build tool with seamless incremental compilation for rapid development.',
212951
212984
  description: 'A Brunch app, created with the Brunch CLI.',
@@ -212978,7 +213011,7 @@ exports.frameworks = [
212978
213011
  {
212979
213012
  name: 'Middleman',
212980
213013
  slug: 'middleman',
212981
- demo: 'https://middleman.examples.vercel.com',
213014
+ demo: 'https://middleman-template.vercel.app',
212982
213015
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/middleman.svg',
212983
213016
  tagline: 'Middleman is a static site generator that uses all the shortcuts and tools in modern web development.',
212984
213017
  description: 'A Middleman app, created with the Middleman CLI.',
@@ -213012,7 +213045,7 @@ exports.frameworks = [
213012
213045
  {
213013
213046
  name: 'Zola',
213014
213047
  slug: 'zola',
213015
- demo: 'https://zola.examples.vercel.com',
213048
+ demo: 'https://zola-template.vercel.app',
213016
213049
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/zola.png',
213017
213050
  tagline: 'Everything you need to make a static site engine in one binary.',
213018
213051
  description: 'A Zola app, created with the "Getting Started" tutorial.',
@@ -213046,7 +213079,7 @@ exports.frameworks = [
213046
213079
  {
213047
213080
  name: 'Vite',
213048
213081
  slug: 'vite',
213049
- demo: 'https://vite.examples.vercel.com',
213082
+ demo: 'https://vite-vue-template.vercel.app',
213050
213083
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/vite.svg',
213051
213084
  tagline: 'Vite is a new breed of frontend build tool that significantly improves the frontend development experience.',
213052
213085
  description: 'A Vue.js app, created with Vite.',
@@ -213070,7 +213103,7 @@ exports.frameworks = [
213070
213103
  },
213071
213104
  devCommand: {
213072
213105
  placeholder: 'vite',
213073
- value: 'vite',
213106
+ value: 'vite --port $PORT',
213074
213107
  },
213075
213108
  outputDirectory: {
213076
213109
  value: 'dist',
@@ -213082,7 +213115,7 @@ exports.frameworks = [
213082
213115
  {
213083
213116
  name: 'Parcel',
213084
213117
  slug: 'parcel',
213085
- demo: 'https://parcel.examples.vercel.com',
213118
+ demo: 'https://parcel-template.vercel.app',
213086
213119
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/parcel.png',
213087
213120
  tagline: 'Parcel is a zero configuration build tool for the web that scales to projects of any size and complexity.',
213088
213121
  description: 'A vanilla web app built with Parcel.',
@@ -213180,7 +213213,7 @@ exports.default = def;
213180
213213
  /***/ }),
213181
213214
 
213182
213215
  /***/ 3734:
213183
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_805839__) {
213216
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_805781__) {
213184
213217
 
213185
213218
  "use strict";
213186
213219
 
@@ -213189,9 +213222,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
213189
213222
  };
213190
213223
  Object.defineProperty(exports, "__esModule", ({ value: true }));
213191
213224
  exports.readConfigFile = void 0;
213192
- const js_yaml_1 = __importDefault(__nested_webpack_require_805839__(641));
213193
- const toml_1 = __importDefault(__nested_webpack_require_805839__(9434));
213194
- const fs_1 = __nested_webpack_require_805839__(5747);
213225
+ const js_yaml_1 = __importDefault(__nested_webpack_require_805781__(641));
213226
+ const toml_1 = __importDefault(__nested_webpack_require_805781__(9434));
213227
+ const fs_1 = __nested_webpack_require_805781__(5747);
213195
213228
  const { readFile } = fs_1.promises;
213196
213229
  async function readFileOrNull(file) {
213197
213230
  try {
@@ -213240,13 +213273,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
213240
213273
  /***/ }),
213241
213274
 
213242
213275
  /***/ 641:
213243
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_807445__) => {
213276
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_807387__) => {
213244
213277
 
213245
213278
  "use strict";
213246
213279
 
213247
213280
 
213248
213281
 
213249
- var yaml = __nested_webpack_require_807445__(9633);
213282
+ var yaml = __nested_webpack_require_807387__(9633);
213250
213283
 
213251
213284
 
213252
213285
  module.exports = yaml;
@@ -213255,14 +213288,14 @@ module.exports = yaml;
213255
213288
  /***/ }),
213256
213289
 
213257
213290
  /***/ 9633:
213258
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_807619__) => {
213291
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_807561__) => {
213259
213292
 
213260
213293
  "use strict";
213261
213294
 
213262
213295
 
213263
213296
 
213264
- var loader = __nested_webpack_require_807619__(4349);
213265
- var dumper = __nested_webpack_require_807619__(8047);
213297
+ var loader = __nested_webpack_require_807561__(4349);
213298
+ var dumper = __nested_webpack_require_807561__(8047);
213266
213299
 
213267
213300
 
213268
213301
  function deprecated(name) {
@@ -213272,25 +213305,25 @@ function deprecated(name) {
213272
213305
  }
213273
213306
 
213274
213307
 
213275
- module.exports.Type = __nested_webpack_require_807619__(6876);
213276
- module.exports.Schema = __nested_webpack_require_807619__(6105);
213277
- module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_807619__(8441);
213278
- module.exports.JSON_SCHEMA = __nested_webpack_require_807619__(1486);
213279
- module.exports.CORE_SCHEMA = __nested_webpack_require_807619__(1112);
213280
- module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_807619__(596);
213281
- module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_807619__(9647);
213308
+ module.exports.Type = __nested_webpack_require_807561__(6876);
213309
+ module.exports.Schema = __nested_webpack_require_807561__(6105);
213310
+ module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_807561__(8441);
213311
+ module.exports.JSON_SCHEMA = __nested_webpack_require_807561__(1486);
213312
+ module.exports.CORE_SCHEMA = __nested_webpack_require_807561__(1112);
213313
+ module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_807561__(596);
213314
+ module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_807561__(9647);
213282
213315
  module.exports.load = loader.load;
213283
213316
  module.exports.loadAll = loader.loadAll;
213284
213317
  module.exports.safeLoad = loader.safeLoad;
213285
213318
  module.exports.safeLoadAll = loader.safeLoadAll;
213286
213319
  module.exports.dump = dumper.dump;
213287
213320
  module.exports.safeDump = dumper.safeDump;
213288
- module.exports.YAMLException = __nested_webpack_require_807619__(3237);
213321
+ module.exports.YAMLException = __nested_webpack_require_807561__(3237);
213289
213322
 
213290
213323
  // Deprecated schema names from JS-YAML 2.0.x
213291
- module.exports.MINIMAL_SCHEMA = __nested_webpack_require_807619__(8441);
213292
- module.exports.SAFE_SCHEMA = __nested_webpack_require_807619__(596);
213293
- module.exports.DEFAULT_SCHEMA = __nested_webpack_require_807619__(9647);
213324
+ module.exports.MINIMAL_SCHEMA = __nested_webpack_require_807561__(8441);
213325
+ module.exports.SAFE_SCHEMA = __nested_webpack_require_807561__(596);
213326
+ module.exports.DEFAULT_SCHEMA = __nested_webpack_require_807561__(9647);
213294
213327
 
213295
213328
  // Deprecated functions from JS-YAML 1.x.x
213296
213329
  module.exports.scan = deprecated('scan');
@@ -213369,17 +213402,17 @@ module.exports.extend = extend;
213369
213402
  /***/ }),
213370
213403
 
213371
213404
  /***/ 8047:
213372
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_810437__) => {
213405
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_810379__) => {
213373
213406
 
213374
213407
  "use strict";
213375
213408
 
213376
213409
 
213377
213410
  /*eslint-disable no-use-before-define*/
213378
213411
 
213379
- var common = __nested_webpack_require_810437__(903);
213380
- var YAMLException = __nested_webpack_require_810437__(3237);
213381
- var DEFAULT_FULL_SCHEMA = __nested_webpack_require_810437__(9647);
213382
- var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_810437__(596);
213412
+ var common = __nested_webpack_require_810379__(903);
213413
+ var YAMLException = __nested_webpack_require_810379__(3237);
213414
+ var DEFAULT_FULL_SCHEMA = __nested_webpack_require_810379__(9647);
213415
+ var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_810379__(596);
213383
213416
 
213384
213417
  var _toString = Object.prototype.toString;
213385
213418
  var _hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -214255,18 +214288,18 @@ module.exports = YAMLException;
214255
214288
  /***/ }),
214256
214289
 
214257
214290
  /***/ 4349:
214258
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_838141__) => {
214291
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_838083__) => {
214259
214292
 
214260
214293
  "use strict";
214261
214294
 
214262
214295
 
214263
214296
  /*eslint-disable max-len,no-use-before-define*/
214264
214297
 
214265
- var common = __nested_webpack_require_838141__(903);
214266
- var YAMLException = __nested_webpack_require_838141__(3237);
214267
- var Mark = __nested_webpack_require_838141__(4926);
214268
- var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_838141__(596);
214269
- var DEFAULT_FULL_SCHEMA = __nested_webpack_require_838141__(9647);
214298
+ var common = __nested_webpack_require_838083__(903);
214299
+ var YAMLException = __nested_webpack_require_838083__(3237);
214300
+ var Mark = __nested_webpack_require_838083__(4926);
214301
+ var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_838083__(596);
214302
+ var DEFAULT_FULL_SCHEMA = __nested_webpack_require_838083__(9647);
214270
214303
 
214271
214304
 
214272
214305
  var _hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -215888,13 +215921,13 @@ module.exports.safeLoad = safeLoad;
215888
215921
  /***/ }),
215889
215922
 
215890
215923
  /***/ 4926:
215891
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_882008__) => {
215924
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_881950__) => {
215892
215925
 
215893
215926
  "use strict";
215894
215927
 
215895
215928
 
215896
215929
 
215897
- var common = __nested_webpack_require_882008__(903);
215930
+ var common = __nested_webpack_require_881950__(903);
215898
215931
 
215899
215932
 
215900
215933
  function Mark(name, buffer, position, line, column) {
@@ -215972,16 +216005,16 @@ module.exports = Mark;
215972
216005
  /***/ }),
215973
216006
 
215974
216007
  /***/ 6105:
215975
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_883670__) => {
216008
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_883612__) => {
215976
216009
 
215977
216010
  "use strict";
215978
216011
 
215979
216012
 
215980
216013
  /*eslint-disable max-len*/
215981
216014
 
215982
- var common = __nested_webpack_require_883670__(903);
215983
- var YAMLException = __nested_webpack_require_883670__(3237);
215984
- var Type = __nested_webpack_require_883670__(6876);
216015
+ var common = __nested_webpack_require_883612__(903);
216016
+ var YAMLException = __nested_webpack_require_883612__(3237);
216017
+ var Type = __nested_webpack_require_883612__(6876);
215985
216018
 
215986
216019
 
215987
216020
  function compileList(schema, name, result) {
@@ -216088,7 +216121,7 @@ module.exports = Schema;
216088
216121
  /***/ }),
216089
216122
 
216090
216123
  /***/ 1112:
216091
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_886534__) => {
216124
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_886476__) => {
216092
216125
 
216093
216126
  "use strict";
216094
216127
  // Standard YAML's Core schema.
@@ -216101,12 +216134,12 @@ module.exports = Schema;
216101
216134
 
216102
216135
 
216103
216136
 
216104
- var Schema = __nested_webpack_require_886534__(6105);
216137
+ var Schema = __nested_webpack_require_886476__(6105);
216105
216138
 
216106
216139
 
216107
216140
  module.exports = new Schema({
216108
216141
  include: [
216109
- __nested_webpack_require_886534__(1486)
216142
+ __nested_webpack_require_886476__(1486)
216110
216143
  ]
216111
216144
  });
216112
216145
 
@@ -216114,7 +216147,7 @@ module.exports = new Schema({
216114
216147
  /***/ }),
216115
216148
 
216116
216149
  /***/ 9647:
216117
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_887004__) => {
216150
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_886946__) => {
216118
216151
 
216119
216152
  "use strict";
216120
216153
  // JS-YAML's default schema for `load` function.
@@ -216129,17 +216162,17 @@ module.exports = new Schema({
216129
216162
 
216130
216163
 
216131
216164
 
216132
- var Schema = __nested_webpack_require_887004__(6105);
216165
+ var Schema = __nested_webpack_require_886946__(6105);
216133
216166
 
216134
216167
 
216135
216168
  module.exports = Schema.DEFAULT = new Schema({
216136
216169
  include: [
216137
- __nested_webpack_require_887004__(596)
216170
+ __nested_webpack_require_886946__(596)
216138
216171
  ],
216139
216172
  explicit: [
216140
- __nested_webpack_require_887004__(5836),
216141
- __nested_webpack_require_887004__(6841),
216142
- __nested_webpack_require_887004__(8750)
216173
+ __nested_webpack_require_886946__(5836),
216174
+ __nested_webpack_require_886946__(6841),
216175
+ __nested_webpack_require_886946__(8750)
216143
216176
  ]
216144
216177
  });
216145
216178
 
@@ -216147,7 +216180,7 @@ module.exports = Schema.DEFAULT = new Schema({
216147
216180
  /***/ }),
216148
216181
 
216149
216182
  /***/ 596:
216150
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_887698__) => {
216183
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_887640__) => {
216151
216184
 
216152
216185
  "use strict";
216153
216186
  // JS-YAML's default schema for `safeLoad` function.
@@ -216160,22 +216193,22 @@ module.exports = Schema.DEFAULT = new Schema({
216160
216193
 
216161
216194
 
216162
216195
 
216163
- var Schema = __nested_webpack_require_887698__(6105);
216196
+ var Schema = __nested_webpack_require_887640__(6105);
216164
216197
 
216165
216198
 
216166
216199
  module.exports = new Schema({
216167
216200
  include: [
216168
- __nested_webpack_require_887698__(1112)
216201
+ __nested_webpack_require_887640__(1112)
216169
216202
  ],
216170
216203
  implicit: [
216171
- __nested_webpack_require_887698__(7028),
216172
- __nested_webpack_require_887698__(7841)
216204
+ __nested_webpack_require_887640__(7028),
216205
+ __nested_webpack_require_887640__(7841)
216173
216206
  ],
216174
216207
  explicit: [
216175
- __nested_webpack_require_887698__(8675),
216176
- __nested_webpack_require_887698__(3498),
216177
- __nested_webpack_require_887698__(679),
216178
- __nested_webpack_require_887698__(7205)
216208
+ __nested_webpack_require_887640__(8675),
216209
+ __nested_webpack_require_887640__(3498),
216210
+ __nested_webpack_require_887640__(679),
216211
+ __nested_webpack_require_887640__(7205)
216179
216212
  ]
216180
216213
  });
216181
216214
 
@@ -216183,7 +216216,7 @@ module.exports = new Schema({
216183
216216
  /***/ }),
216184
216217
 
216185
216218
  /***/ 8441:
216186
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_888410__) => {
216219
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_888352__) => {
216187
216220
 
216188
216221
  "use strict";
216189
216222
  // Standard YAML's Failsafe schema.
@@ -216193,14 +216226,14 @@ module.exports = new Schema({
216193
216226
 
216194
216227
 
216195
216228
 
216196
- var Schema = __nested_webpack_require_888410__(6105);
216229
+ var Schema = __nested_webpack_require_888352__(6105);
216197
216230
 
216198
216231
 
216199
216232
  module.exports = new Schema({
216200
216233
  explicit: [
216201
- __nested_webpack_require_888410__(5348),
216202
- __nested_webpack_require_888410__(7330),
216203
- __nested_webpack_require_888410__(293)
216234
+ __nested_webpack_require_888352__(5348),
216235
+ __nested_webpack_require_888352__(7330),
216236
+ __nested_webpack_require_888352__(293)
216204
216237
  ]
216205
216238
  });
216206
216239
 
@@ -216208,7 +216241,7 @@ module.exports = new Schema({
216208
216241
  /***/ }),
216209
216242
 
216210
216243
  /***/ 1486:
216211
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_888796__) => {
216244
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_888738__) => {
216212
216245
 
216213
216246
  "use strict";
216214
216247
  // Standard YAML's JSON schema.
@@ -216222,18 +216255,18 @@ module.exports = new Schema({
216222
216255
 
216223
216256
 
216224
216257
 
216225
- var Schema = __nested_webpack_require_888796__(6105);
216258
+ var Schema = __nested_webpack_require_888738__(6105);
216226
216259
 
216227
216260
 
216228
216261
  module.exports = new Schema({
216229
216262
  include: [
216230
- __nested_webpack_require_888796__(8441)
216263
+ __nested_webpack_require_888738__(8441)
216231
216264
  ],
216232
216265
  implicit: [
216233
- __nested_webpack_require_888796__(9074),
216234
- __nested_webpack_require_888796__(4308),
216235
- __nested_webpack_require_888796__(1167),
216236
- __nested_webpack_require_888796__(7862)
216266
+ __nested_webpack_require_888738__(9074),
216267
+ __nested_webpack_require_888738__(4308),
216268
+ __nested_webpack_require_888738__(1167),
216269
+ __nested_webpack_require_888738__(7862)
216237
216270
  ]
216238
216271
  });
216239
216272
 
@@ -216241,12 +216274,12 @@ module.exports = new Schema({
216241
216274
  /***/ }),
216242
216275
 
216243
216276
  /***/ 6876:
216244
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_889494__) => {
216277
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_889436__) => {
216245
216278
 
216246
216279
  "use strict";
216247
216280
 
216248
216281
 
216249
- var YAMLException = __nested_webpack_require_889494__(3237);
216282
+ var YAMLException = __nested_webpack_require_889436__(3237);
216250
216283
 
216251
216284
  var TYPE_CONSTRUCTOR_OPTIONS = [
216252
216285
  'kind',
@@ -216310,7 +216343,7 @@ module.exports = Type;
216310
216343
  /***/ }),
216311
216344
 
216312
216345
  /***/ 8675:
216313
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_891178__) => {
216346
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_891120__) => {
216314
216347
 
216315
216348
  "use strict";
216316
216349
 
@@ -216325,7 +216358,7 @@ try {
216325
216358
  NodeBuffer = _require('buffer').Buffer;
216326
216359
  } catch (__) {}
216327
216360
 
216328
- var Type = __nested_webpack_require_891178__(6876);
216361
+ var Type = __nested_webpack_require_891120__(6876);
216329
216362
 
216330
216363
 
216331
216364
  // [ 64, 65, 66 ] -> [ padding, CR, LF ]
@@ -216456,12 +216489,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
216456
216489
  /***/ }),
216457
216490
 
216458
216491
  /***/ 4308:
216459
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_894570__) => {
216492
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_894512__) => {
216460
216493
 
216461
216494
  "use strict";
216462
216495
 
216463
216496
 
216464
- var Type = __nested_webpack_require_894570__(6876);
216497
+ var Type = __nested_webpack_require_894512__(6876);
216465
216498
 
216466
216499
  function resolveYamlBoolean(data) {
216467
216500
  if (data === null) return false;
@@ -216499,13 +216532,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
216499
216532
  /***/ }),
216500
216533
 
216501
216534
  /***/ 7862:
216502
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_895643__) => {
216535
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_895585__) => {
216503
216536
 
216504
216537
  "use strict";
216505
216538
 
216506
216539
 
216507
- var common = __nested_webpack_require_895643__(903);
216508
- var Type = __nested_webpack_require_895643__(6876);
216540
+ var common = __nested_webpack_require_895585__(903);
216541
+ var Type = __nested_webpack_require_895585__(6876);
216509
216542
 
216510
216543
  var YAML_FLOAT_PATTERN = new RegExp(
216511
216544
  // 2.5e4, 2.5 and integers
@@ -216623,13 +216656,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
216623
216656
  /***/ }),
216624
216657
 
216625
216658
  /***/ 1167:
216626
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_898589__) => {
216659
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_898531__) => {
216627
216660
 
216628
216661
  "use strict";
216629
216662
 
216630
216663
 
216631
- var common = __nested_webpack_require_898589__(903);
216632
- var Type = __nested_webpack_require_898589__(6876);
216664
+ var common = __nested_webpack_require_898531__(903);
216665
+ var Type = __nested_webpack_require_898531__(6876);
216633
216666
 
216634
216667
  function isHexCode(c) {
216635
216668
  return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
@@ -216804,7 +216837,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
216804
216837
  /***/ }),
216805
216838
 
216806
216839
  /***/ 8750:
216807
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_902761__) => {
216840
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_902703__) => {
216808
216841
 
216809
216842
  "use strict";
216810
216843
 
@@ -216827,7 +216860,7 @@ try {
216827
216860
  if (typeof window !== 'undefined') esprima = window.esprima;
216828
216861
  }
216829
216862
 
216830
- var Type = __nested_webpack_require_902761__(6876);
216863
+ var Type = __nested_webpack_require_902703__(6876);
216831
216864
 
216832
216865
  function resolveJavascriptFunction(data) {
216833
216866
  if (data === null) return false;
@@ -216904,12 +216937,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
216904
216937
  /***/ }),
216905
216938
 
216906
216939
  /***/ 6841:
216907
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_905658__) => {
216940
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_905600__) => {
216908
216941
 
216909
216942
  "use strict";
216910
216943
 
216911
216944
 
216912
- var Type = __nested_webpack_require_905658__(6876);
216945
+ var Type = __nested_webpack_require_905600__(6876);
216913
216946
 
216914
216947
  function resolveJavascriptRegExp(data) {
216915
216948
  if (data === null) return false;
@@ -216972,12 +217005,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
216972
217005
  /***/ }),
216973
217006
 
216974
217007
  /***/ 5836:
216975
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_907329__) => {
217008
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_907271__) => {
216976
217009
 
216977
217010
  "use strict";
216978
217011
 
216979
217012
 
216980
- var Type = __nested_webpack_require_907329__(6876);
217013
+ var Type = __nested_webpack_require_907271__(6876);
216981
217014
 
216982
217015
  function resolveJavascriptUndefined() {
216983
217016
  return true;
@@ -217008,12 +217041,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
217008
217041
  /***/ }),
217009
217042
 
217010
217043
  /***/ 293:
217011
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_908000__) => {
217044
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_907942__) => {
217012
217045
 
217013
217046
  "use strict";
217014
217047
 
217015
217048
 
217016
- var Type = __nested_webpack_require_908000__(6876);
217049
+ var Type = __nested_webpack_require_907942__(6876);
217017
217050
 
217018
217051
  module.exports = new Type('tag:yaml.org,2002:map', {
217019
217052
  kind: 'mapping',
@@ -217024,12 +217057,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
217024
217057
  /***/ }),
217025
217058
 
217026
217059
  /***/ 7841:
217027
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_908292__) => {
217060
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_908234__) => {
217028
217061
 
217029
217062
  "use strict";
217030
217063
 
217031
217064
 
217032
- var Type = __nested_webpack_require_908292__(6876);
217065
+ var Type = __nested_webpack_require_908234__(6876);
217033
217066
 
217034
217067
  function resolveYamlMerge(data) {
217035
217068
  return data === '<<' || data === null;
@@ -217044,12 +217077,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
217044
217077
  /***/ }),
217045
217078
 
217046
217079
  /***/ 9074:
217047
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_908624__) => {
217080
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_908566__) => {
217048
217081
 
217049
217082
  "use strict";
217050
217083
 
217051
217084
 
217052
- var Type = __nested_webpack_require_908624__(6876);
217085
+ var Type = __nested_webpack_require_908566__(6876);
217053
217086
 
217054
217087
  function resolveYamlNull(data) {
217055
217088
  if (data === null) return true;
@@ -217086,12 +217119,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
217086
217119
  /***/ }),
217087
217120
 
217088
217121
  /***/ 3498:
217089
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_909487__) => {
217122
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_909429__) => {
217090
217123
 
217091
217124
  "use strict";
217092
217125
 
217093
217126
 
217094
- var Type = __nested_webpack_require_909487__(6876);
217127
+ var Type = __nested_webpack_require_909429__(6876);
217095
217128
 
217096
217129
  var _hasOwnProperty = Object.prototype.hasOwnProperty;
217097
217130
  var _toString = Object.prototype.toString;
@@ -217138,12 +217171,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
217138
217171
  /***/ }),
217139
217172
 
217140
217173
  /***/ 679:
217141
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_910611__) => {
217174
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_910553__) => {
217142
217175
 
217143
217176
  "use strict";
217144
217177
 
217145
217178
 
217146
- var Type = __nested_webpack_require_910611__(6876);
217179
+ var Type = __nested_webpack_require_910553__(6876);
217147
217180
 
217148
217181
  var _toString = Object.prototype.toString;
217149
217182
 
@@ -217199,12 +217232,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
217199
217232
  /***/ }),
217200
217233
 
217201
217234
  /***/ 7330:
217202
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_911797__) => {
217235
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_911739__) => {
217203
217236
 
217204
217237
  "use strict";
217205
217238
 
217206
217239
 
217207
- var Type = __nested_webpack_require_911797__(6876);
217240
+ var Type = __nested_webpack_require_911739__(6876);
217208
217241
 
217209
217242
  module.exports = new Type('tag:yaml.org,2002:seq', {
217210
217243
  kind: 'sequence',
@@ -217215,12 +217248,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
217215
217248
  /***/ }),
217216
217249
 
217217
217250
  /***/ 7205:
217218
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_912090__) => {
217251
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_912032__) => {
217219
217252
 
217220
217253
  "use strict";
217221
217254
 
217222
217255
 
217223
- var Type = __nested_webpack_require_912090__(6876);
217256
+ var Type = __nested_webpack_require_912032__(6876);
217224
217257
 
217225
217258
  var _hasOwnProperty = Object.prototype.hasOwnProperty;
217226
217259
 
@@ -217252,12 +217285,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
217252
217285
  /***/ }),
217253
217286
 
217254
217287
  /***/ 5348:
217255
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_912739__) => {
217288
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_912681__) => {
217256
217289
 
217257
217290
  "use strict";
217258
217291
 
217259
217292
 
217260
- var Type = __nested_webpack_require_912739__(6876);
217293
+ var Type = __nested_webpack_require_912681__(6876);
217261
217294
 
217262
217295
  module.exports = new Type('tag:yaml.org,2002:str', {
217263
217296
  kind: 'scalar',
@@ -217268,12 +217301,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
217268
217301
  /***/ }),
217269
217302
 
217270
217303
  /***/ 7028:
217271
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_913030__) => {
217304
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_912972__) => {
217272
217305
 
217273
217306
  "use strict";
217274
217307
 
217275
217308
 
217276
- var Type = __nested_webpack_require_913030__(6876);
217309
+ var Type = __nested_webpack_require_912972__(6876);
217277
217310
 
217278
217311
  var YAML_DATE_REGEXP = new RegExp(
217279
217312
  '^([0-9][0-9][0-9][0-9])' + // [1] year
@@ -217364,7 +217397,7 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
217364
217397
  /***/ }),
217365
217398
 
217366
217399
  /***/ 7276:
217367
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_915711__) {
217400
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_915653__) {
217368
217401
 
217369
217402
  "use strict";
217370
217403
 
@@ -217372,13 +217405,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217372
217405
  return (mod && mod.__esModule) ? mod : { "default": mod };
217373
217406
  };
217374
217407
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217375
- exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
217376
- const fs_extra_1 = __importDefault(__nested_webpack_require_915711__(5392));
217377
- const path_1 = __nested_webpack_require_915711__(5622);
217378
- const glob_1 = __importDefault(__nested_webpack_require_915711__(4240));
217379
- const normalize_path_1 = __nested_webpack_require_915711__(6261);
217380
- const lambda_1 = __nested_webpack_require_915711__(6721);
217381
- const _1 = __nested_webpack_require_915711__(2855);
217408
+ exports._experimental_updateRoutesManifest = exports._experimental_updateFunctionsManifest = exports._experimental_convertRuntimeToPlugin = void 0;
217409
+ const fs_extra_1 = __importDefault(__nested_webpack_require_915653__(5392));
217410
+ const path_1 = __nested_webpack_require_915653__(5622);
217411
+ const glob_1 = __importDefault(__nested_webpack_require_915653__(4240));
217412
+ const normalize_path_1 = __nested_webpack_require_915653__(6261);
217413
+ const _1 = __nested_webpack_require_915653__(2855);
217382
217414
  // `.output` was already created by the Build Command, so we have
217383
217415
  // to ensure its contents don't get bundled into the Lambda. Similarily,
217384
217416
  // we don't want to bundle anything from `.vercel` either. Lastly,
@@ -217415,7 +217447,7 @@ const getSourceFiles = async (workPath, ignoreFilter) => {
217415
217447
  * @param packageName - the name of the package, for example `vercel-plugin-python`
217416
217448
  * @param ext - the file extension, for example `.py`
217417
217449
  */
217418
- function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217450
+ function _experimental_convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217419
217451
  // This `build()` signature should match `plugin.build()` signature in `vercel build`.
217420
217452
  return async function build({ workPath }) {
217421
217453
  // We also don't want to provide any files to Runtimes that were ignored
@@ -217461,8 +217493,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217461
217493
  skipDownload: true,
217462
217494
  },
217463
217495
  });
217464
- // @ts-ignore This symbol is a private API
217465
- const lambdaFiles = output[lambda_1.FILES_SYMBOL];
217496
+ const lambdaFiles = output.files;
217466
217497
  // When deploying, the `files` that are passed to the Legacy Runtimes already
217467
217498
  // have certain files that are ignored stripped, but locally, that list of
217468
217499
  // files isn't used by the Legacy Runtimes, so we need to apply the filters
@@ -217593,10 +217624,10 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
217593
217624
  }
217594
217625
  // Add any Serverless Functions that were exposed by the Legacy Runtime
217595
217626
  // to the `functions-manifest.json` file provided in `.output`.
217596
- await updateFunctionsManifest({ workPath, pages });
217627
+ await _experimental_updateFunctionsManifest({ workPath, pages });
217597
217628
  };
217598
217629
  }
217599
- exports.convertRuntimeToPlugin = convertRuntimeToPlugin;
217630
+ exports._experimental_convertRuntimeToPlugin = _experimental_convertRuntimeToPlugin;
217600
217631
  async function readJson(filePath) {
217601
217632
  try {
217602
217633
  const str = await fs_extra_1.default.readFile(filePath, 'utf8');
@@ -217613,7 +217644,7 @@ async function readJson(filePath) {
217613
217644
  * If `.output/functions-manifest.json` exists, append to the pages
217614
217645
  * property. Otherwise write a new file.
217615
217646
  */
217616
- async function updateFunctionsManifest({ workPath, pages, }) {
217647
+ async function _experimental_updateFunctionsManifest({ workPath, pages, }) {
217617
217648
  const functionsManifestPath = path_1.join(workPath, '.output', 'functions-manifest.json');
217618
217649
  const functionsManifest = await readJson(functionsManifestPath);
217619
217650
  if (!functionsManifest.version)
@@ -217625,12 +217656,12 @@ async function updateFunctionsManifest({ workPath, pages, }) {
217625
217656
  }
217626
217657
  await fs_extra_1.default.writeFile(functionsManifestPath, JSON.stringify(functionsManifest));
217627
217658
  }
217628
- exports.updateFunctionsManifest = updateFunctionsManifest;
217659
+ exports._experimental_updateFunctionsManifest = _experimental_updateFunctionsManifest;
217629
217660
  /**
217630
217661
  * Append routes to the `routes-manifest.json` file.
217631
217662
  * If the file does not exist, it will be created.
217632
217663
  */
217633
- async function updateRoutesManifest({ workPath, redirects, rewrites, headers, dynamicRoutes, staticRoutes, }) {
217664
+ async function _experimental_updateRoutesManifest({ workPath, redirects, rewrites, headers, dynamicRoutes, staticRoutes, }) {
217634
217665
  const routesManifestPath = path_1.join(workPath, '.output', 'routes-manifest.json');
217635
217666
  const routesManifest = await readJson(routesManifestPath);
217636
217667
  if (!routesManifest.version)
@@ -217664,18 +217695,18 @@ async function updateRoutesManifest({ workPath, redirects, rewrites, headers, dy
217664
217695
  }
217665
217696
  await fs_extra_1.default.writeFile(routesManifestPath, JSON.stringify(routesManifest));
217666
217697
  }
217667
- exports.updateRoutesManifest = updateRoutesManifest;
217698
+ exports._experimental_updateRoutesManifest = _experimental_updateRoutesManifest;
217668
217699
 
217669
217700
 
217670
217701
  /***/ }),
217671
217702
 
217672
217703
  /***/ 1868:
217673
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_931552__) => {
217704
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_931560__) => {
217674
217705
 
217675
217706
  "use strict";
217676
217707
 
217677
217708
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217678
- const _1 = __nested_webpack_require_931552__(2855);
217709
+ const _1 = __nested_webpack_require_931560__(2855);
217679
217710
  function debug(message, ...additional) {
217680
217711
  if (_1.getPlatformEnv('BUILDER_DEBUG')) {
217681
217712
  console.log(message, ...additional);
@@ -217687,7 +217718,7 @@ exports.default = debug;
217687
217718
  /***/ }),
217688
217719
 
217689
217720
  /***/ 4246:
217690
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_931937__) {
217721
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_931945__) {
217691
217722
 
217692
217723
  "use strict";
217693
217724
 
@@ -217696,11 +217727,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
217696
217727
  };
217697
217728
  Object.defineProperty(exports, "__esModule", ({ value: true }));
217698
217729
  exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
217699
- const minimatch_1 = __importDefault(__nested_webpack_require_931937__(9566));
217700
- const semver_1 = __nested_webpack_require_931937__(2879);
217701
- const path_1 = __nested_webpack_require_931937__(5622);
217702
- const frameworks_1 = __importDefault(__nested_webpack_require_931937__(8438));
217703
- const _1 = __nested_webpack_require_931937__(2855);
217730
+ const minimatch_1 = __importDefault(__nested_webpack_require_931945__(9566));
217731
+ const semver_1 = __nested_webpack_require_931945__(2879);
217732
+ const path_1 = __nested_webpack_require_931945__(5622);
217733
+ const frameworks_1 = __importDefault(__nested_webpack_require_931945__(8438));
217734
+ const _1 = __nested_webpack_require_931945__(2855);
217704
217735
  const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
217705
217736
  // We need to sort the file paths by alphabet to make
217706
217737
  // sure the routes stay in the same order e.g. for deduping
@@ -218529,7 +218560,7 @@ function sortFilesBySegmentCount(fileA, fileB) {
218529
218560
  /***/ }),
218530
218561
 
218531
218562
  /***/ 1182:
218532
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_963914__) {
218563
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_963922__) {
218533
218564
 
218534
218565
  "use strict";
218535
218566
 
@@ -218538,8 +218569,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218538
218569
  };
218539
218570
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218540
218571
  exports.detectFileSystemAPI = void 0;
218541
- const semver_1 = __importDefault(__nested_webpack_require_963914__(2879));
218542
- const _1 = __nested_webpack_require_963914__(2855);
218572
+ const semver_1 = __importDefault(__nested_webpack_require_963922__(2879));
218573
+ const _1 = __nested_webpack_require_963922__(2855);
218543
218574
  const enableFileSystemApiFrameworks = new Set(['solidstart']);
218544
218575
  /**
218545
218576
  * If the Deployment can be built with the new File System API,
@@ -218940,7 +218971,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
218940
218971
  /***/ }),
218941
218972
 
218942
218973
  /***/ 2397:
218943
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979008__) {
218974
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979016__) {
218944
218975
 
218945
218976
  "use strict";
218946
218977
 
@@ -218948,8 +218979,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218948
218979
  return (mod && mod.__esModule) ? mod : { "default": mod };
218949
218980
  };
218950
218981
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218951
- const assert_1 = __importDefault(__nested_webpack_require_979008__(2357));
218952
- const into_stream_1 = __importDefault(__nested_webpack_require_979008__(6130));
218982
+ const assert_1 = __importDefault(__nested_webpack_require_979016__(2357));
218983
+ const into_stream_1 = __importDefault(__nested_webpack_require_979016__(6130));
218953
218984
  class FileBlob {
218954
218985
  constructor({ mode = 0o100644, contentType, data }) {
218955
218986
  assert_1.default(typeof mode === 'number');
@@ -218981,7 +219012,7 @@ exports.default = FileBlob;
218981
219012
  /***/ }),
218982
219013
 
218983
219014
  /***/ 9331:
218984
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980460__) {
219015
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980468__) {
218985
219016
 
218986
219017
  "use strict";
218987
219018
 
@@ -218989,11 +219020,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
218989
219020
  return (mod && mod.__esModule) ? mod : { "default": mod };
218990
219021
  };
218991
219022
  Object.defineProperty(exports, "__esModule", ({ value: true }));
218992
- const assert_1 = __importDefault(__nested_webpack_require_980460__(2357));
218993
- const fs_extra_1 = __importDefault(__nested_webpack_require_980460__(5392));
218994
- const multistream_1 = __importDefault(__nested_webpack_require_980460__(8179));
218995
- const path_1 = __importDefault(__nested_webpack_require_980460__(5622));
218996
- const async_sema_1 = __importDefault(__nested_webpack_require_980460__(5758));
219023
+ const assert_1 = __importDefault(__nested_webpack_require_980468__(2357));
219024
+ const fs_extra_1 = __importDefault(__nested_webpack_require_980468__(5392));
219025
+ const multistream_1 = __importDefault(__nested_webpack_require_980468__(8179));
219026
+ const path_1 = __importDefault(__nested_webpack_require_980468__(5622));
219027
+ const async_sema_1 = __importDefault(__nested_webpack_require_980468__(5758));
218997
219028
  const semaToPreventEMFILE = new async_sema_1.default(20);
218998
219029
  class FileFsRef {
218999
219030
  constructor({ mode = 0o100644, contentType, fsPath }) {
@@ -219059,7 +219090,7 @@ exports.default = FileFsRef;
219059
219090
  /***/ }),
219060
219091
 
219061
219092
  /***/ 5187:
219062
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983264__) {
219093
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983272__) {
219063
219094
 
219064
219095
  "use strict";
219065
219096
 
@@ -219067,11 +219098,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219067
219098
  return (mod && mod.__esModule) ? mod : { "default": mod };
219068
219099
  };
219069
219100
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219070
- const assert_1 = __importDefault(__nested_webpack_require_983264__(2357));
219071
- const node_fetch_1 = __importDefault(__nested_webpack_require_983264__(2197));
219072
- const multistream_1 = __importDefault(__nested_webpack_require_983264__(8179));
219073
- const async_retry_1 = __importDefault(__nested_webpack_require_983264__(3691));
219074
- const async_sema_1 = __importDefault(__nested_webpack_require_983264__(5758));
219101
+ const assert_1 = __importDefault(__nested_webpack_require_983272__(2357));
219102
+ const node_fetch_1 = __importDefault(__nested_webpack_require_983272__(2197));
219103
+ const multistream_1 = __importDefault(__nested_webpack_require_983272__(8179));
219104
+ const async_retry_1 = __importDefault(__nested_webpack_require_983272__(3691));
219105
+ const async_sema_1 = __importDefault(__nested_webpack_require_983272__(5758));
219075
219106
  const semaToDownloadFromS3 = new async_sema_1.default(5);
219076
219107
  class BailableError extends Error {
219077
219108
  constructor(...args) {
@@ -219152,7 +219183,7 @@ exports.default = FileRef;
219152
219183
  /***/ }),
219153
219184
 
219154
219185
  /***/ 1611:
219155
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986665__) {
219186
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986673__) {
219156
219187
 
219157
219188
  "use strict";
219158
219189
 
@@ -219161,10 +219192,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219161
219192
  };
219162
219193
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219163
219194
  exports.isSymbolicLink = void 0;
219164
- const path_1 = __importDefault(__nested_webpack_require_986665__(5622));
219165
- const debug_1 = __importDefault(__nested_webpack_require_986665__(1868));
219166
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_986665__(9331));
219167
- const fs_extra_1 = __nested_webpack_require_986665__(5392);
219195
+ const path_1 = __importDefault(__nested_webpack_require_986673__(5622));
219196
+ const debug_1 = __importDefault(__nested_webpack_require_986673__(1868));
219197
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_986673__(9331));
219198
+ const fs_extra_1 = __nested_webpack_require_986673__(5392);
219168
219199
  const S_IFMT = 61440; /* 0170000 type of file */
219169
219200
  const S_IFLNK = 40960; /* 0120000 symbolic link */
219170
219201
  function isSymbolicLink(mode) {
@@ -219226,14 +219257,14 @@ exports.default = download;
219226
219257
  /***/ }),
219227
219258
 
219228
219259
  /***/ 3838:
219229
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_989490__) => {
219260
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_989498__) => {
219230
219261
 
219231
219262
  "use strict";
219232
219263
 
219233
219264
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219234
- const path_1 = __nested_webpack_require_989490__(5622);
219235
- const os_1 = __nested_webpack_require_989490__(2087);
219236
- const fs_extra_1 = __nested_webpack_require_989490__(5392);
219265
+ const path_1 = __nested_webpack_require_989498__(5622);
219266
+ const os_1 = __nested_webpack_require_989498__(2087);
219267
+ const fs_extra_1 = __nested_webpack_require_989498__(5392);
219237
219268
  async function getWritableDirectory() {
219238
219269
  const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
219239
219270
  const directory = path_1.join(os_1.tmpdir(), name);
@@ -219246,7 +219277,7 @@ exports.default = getWritableDirectory;
219246
219277
  /***/ }),
219247
219278
 
219248
219279
  /***/ 4240:
219249
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_990070__) {
219280
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_990078__) {
219250
219281
 
219251
219282
  "use strict";
219252
219283
 
@@ -219254,13 +219285,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219254
219285
  return (mod && mod.__esModule) ? mod : { "default": mod };
219255
219286
  };
219256
219287
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219257
- const path_1 = __importDefault(__nested_webpack_require_990070__(5622));
219258
- const assert_1 = __importDefault(__nested_webpack_require_990070__(2357));
219259
- const glob_1 = __importDefault(__nested_webpack_require_990070__(1104));
219260
- const util_1 = __nested_webpack_require_990070__(1669);
219261
- const fs_extra_1 = __nested_webpack_require_990070__(5392);
219262
- const normalize_path_1 = __nested_webpack_require_990070__(6261);
219263
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_990070__(9331));
219288
+ const path_1 = __importDefault(__nested_webpack_require_990078__(5622));
219289
+ const assert_1 = __importDefault(__nested_webpack_require_990078__(2357));
219290
+ const glob_1 = __importDefault(__nested_webpack_require_990078__(1104));
219291
+ const util_1 = __nested_webpack_require_990078__(1669);
219292
+ const fs_extra_1 = __nested_webpack_require_990078__(5392);
219293
+ const normalize_path_1 = __nested_webpack_require_990078__(6261);
219294
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_990078__(9331));
219264
219295
  const vanillaGlob = util_1.promisify(glob_1.default);
219265
219296
  async function glob(pattern, opts, mountpoint) {
219266
219297
  let options;
@@ -219306,7 +219337,7 @@ exports.default = glob;
219306
219337
  /***/ }),
219307
219338
 
219308
219339
  /***/ 7903:
219309
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992266__) {
219340
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992274__) {
219310
219341
 
219311
219342
  "use strict";
219312
219343
 
@@ -219315,9 +219346,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219315
219346
  };
219316
219347
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219317
219348
  exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
219318
- const semver_1 = __nested_webpack_require_992266__(2879);
219319
- const errors_1 = __nested_webpack_require_992266__(3983);
219320
- const debug_1 = __importDefault(__nested_webpack_require_992266__(1868));
219349
+ const semver_1 = __nested_webpack_require_992274__(2879);
219350
+ const errors_1 = __nested_webpack_require_992274__(3983);
219351
+ const debug_1 = __importDefault(__nested_webpack_require_992274__(1868));
219321
219352
  const allOptions = [
219322
219353
  { major: 14, range: '14.x', runtime: 'nodejs14.x' },
219323
219354
  { major: 12, range: '12.x', runtime: 'nodejs12.x' },
@@ -219411,7 +219442,7 @@ exports.normalizePath = normalizePath;
219411
219442
  /***/ }),
219412
219443
 
219413
219444
  /***/ 7792:
219414
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_996134__) {
219445
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_996142__) {
219415
219446
 
219416
219447
  "use strict";
219417
219448
 
@@ -219420,9 +219451,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219420
219451
  };
219421
219452
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219422
219453
  exports.readConfigFile = void 0;
219423
- const js_yaml_1 = __importDefault(__nested_webpack_require_996134__(6540));
219424
- const toml_1 = __importDefault(__nested_webpack_require_996134__(9434));
219425
- const fs_extra_1 = __nested_webpack_require_996134__(5392);
219454
+ const js_yaml_1 = __importDefault(__nested_webpack_require_996142__(6540));
219455
+ const toml_1 = __importDefault(__nested_webpack_require_996142__(9434));
219456
+ const fs_extra_1 = __nested_webpack_require_996142__(5392);
219426
219457
  async function readFileOrNull(file) {
219427
219458
  try {
219428
219459
  const data = await fs_extra_1.readFile(file);
@@ -219477,7 +219508,7 @@ exports.default = rename;
219477
219508
  /***/ }),
219478
219509
 
219479
219510
  /***/ 1442:
219480
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_997927__) {
219511
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_997935__) {
219481
219512
 
219482
219513
  "use strict";
219483
219514
 
@@ -219485,15 +219516,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219485
219516
  return (mod && mod.__esModule) ? mod : { "default": mod };
219486
219517
  };
219487
219518
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219488
- 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;
219489
- const assert_1 = __importDefault(__nested_webpack_require_997927__(2357));
219490
- const fs_extra_1 = __importDefault(__nested_webpack_require_997927__(5392));
219491
- const path_1 = __importDefault(__nested_webpack_require_997927__(5622));
219492
- const debug_1 = __importDefault(__nested_webpack_require_997927__(1868));
219493
- const cross_spawn_1 = __importDefault(__nested_webpack_require_997927__(7618));
219494
- const util_1 = __nested_webpack_require_997927__(1669);
219495
- const errors_1 = __nested_webpack_require_997927__(3983);
219496
- const node_version_1 = __nested_webpack_require_997927__(7903);
219519
+ exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runCustomInstallCommand = exports.getEnvForPackageManager = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
219520
+ const assert_1 = __importDefault(__nested_webpack_require_997935__(2357));
219521
+ const fs_extra_1 = __importDefault(__nested_webpack_require_997935__(5392));
219522
+ const path_1 = __importDefault(__nested_webpack_require_997935__(5622));
219523
+ const debug_1 = __importDefault(__nested_webpack_require_997935__(1868));
219524
+ const cross_spawn_1 = __importDefault(__nested_webpack_require_997935__(7618));
219525
+ const util_1 = __nested_webpack_require_997935__(1669);
219526
+ const errors_1 = __nested_webpack_require_997935__(3983);
219527
+ const node_version_1 = __nested_webpack_require_997935__(7903);
219497
219528
  function spawnAsync(command, args, opts = {}) {
219498
219529
  return new Promise((resolve, reject) => {
219499
219530
  const stderrLogs = [];
@@ -219703,36 +219734,66 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
219703
219734
  const opts = { cwd: destPath, ...spawnOpts };
219704
219735
  const env = opts.env ? { ...opts.env } : { ...process.env };
219705
219736
  delete env.NODE_ENV;
219706
- opts.env = env;
219737
+ opts.env = getEnvForPackageManager({
219738
+ cliType,
219739
+ lockfileVersion,
219740
+ nodeVersion,
219741
+ env,
219742
+ });
219707
219743
  let commandArgs;
219708
219744
  if (cliType === 'npm') {
219709
219745
  opts.prettyCommand = 'npm install';
219710
219746
  commandArgs = args
219711
219747
  .filter(a => a !== '--prefer-offline')
219712
219748
  .concat(['install', '--no-audit', '--unsafe-perm']);
219713
- // If the lockfile version is 2 or greater and the node version is less than 16 than we will force npm7 to be used
219749
+ }
219750
+ else {
219751
+ opts.prettyCommand = 'yarn install';
219752
+ commandArgs = ['install', ...args];
219753
+ }
219754
+ if (process.env.NPM_ONLY_PRODUCTION) {
219755
+ commandArgs.push('--production');
219756
+ }
219757
+ return spawnAsync(cliType, commandArgs, opts);
219758
+ }
219759
+ exports.runNpmInstall = runNpmInstall;
219760
+ function getEnvForPackageManager({ cliType, lockfileVersion, nodeVersion, env, }) {
219761
+ const newEnv = { ...env };
219762
+ if (cliType === 'npm') {
219714
219763
  if (typeof lockfileVersion === 'number' &&
219715
219764
  lockfileVersion >= 2 &&
219716
219765
  ((nodeVersion === null || nodeVersion === void 0 ? void 0 : nodeVersion.major) || 0) < 16) {
219717
219766
  // Ensure that npm 7 is at the beginning of the `$PATH`
219718
- env.PATH = `/node16/bin-npm7:${env.PATH}`;
219767
+ newEnv.PATH = `/node16/bin-npm7:${env.PATH}`;
219719
219768
  console.log('Detected `package-lock.json` generated by npm 7...');
219720
219769
  }
219721
219770
  }
219722
219771
  else {
219723
- opts.prettyCommand = 'yarn install';
219724
- commandArgs = ['install', ...args];
219725
219772
  // Yarn v2 PnP mode may be activated, so force "node-modules" linker style
219726
219773
  if (!env.YARN_NODE_LINKER) {
219727
- env.YARN_NODE_LINKER = 'node-modules';
219774
+ newEnv.YARN_NODE_LINKER = 'node-modules';
219728
219775
  }
219729
219776
  }
219730
- if (process.env.NPM_ONLY_PRODUCTION) {
219731
- commandArgs.push('--production');
219732
- }
219733
- return spawnAsync(cliType, commandArgs, opts);
219777
+ return newEnv;
219734
219778
  }
219735
- exports.runNpmInstall = runNpmInstall;
219779
+ exports.getEnvForPackageManager = getEnvForPackageManager;
219780
+ async function runCustomInstallCommand({ destPath, installCommand, nodeVersion, spawnOpts, }) {
219781
+ console.log(`Running "install" command: \`${installCommand}\`...`);
219782
+ const { cliType, lockfileVersion } = await scanParentDirs(destPath);
219783
+ const env = getEnvForPackageManager({
219784
+ cliType,
219785
+ lockfileVersion,
219786
+ nodeVersion,
219787
+ env: (spawnOpts === null || spawnOpts === void 0 ? void 0 : spawnOpts.env) || {},
219788
+ });
219789
+ debug_1.default(`Running with $PATH:`, (env === null || env === void 0 ? void 0 : env.PATH) || '');
219790
+ await execCommand(installCommand, {
219791
+ ...spawnOpts,
219792
+ env,
219793
+ cwd: destPath,
219794
+ });
219795
+ }
219796
+ exports.runCustomInstallCommand = runCustomInstallCommand;
219736
219797
  async function runPackageJsonScript(destPath, scriptNames, spawnOpts) {
219737
219798
  assert_1.default(path_1.default.isAbsolute(destPath));
219738
219799
  const { packageJson, cliType, lockfileVersion } = await scanParentDirs(destPath, true);
@@ -219741,21 +219802,24 @@ async function runPackageJsonScript(destPath, scriptNames, spawnOpts) {
219741
219802
  return false;
219742
219803
  debug_1.default('Running user script...');
219743
219804
  const runScriptTime = Date.now();
219744
- const opts = { cwd: destPath, ...spawnOpts };
219745
- const env = (opts.env = { ...process.env, ...opts.env });
219805
+ const opts = {
219806
+ cwd: destPath,
219807
+ ...spawnOpts,
219808
+ env: getEnvForPackageManager({
219809
+ cliType,
219810
+ lockfileVersion,
219811
+ nodeVersion: undefined,
219812
+ env: {
219813
+ ...process.env,
219814
+ ...spawnOpts === null || spawnOpts === void 0 ? void 0 : spawnOpts.env,
219815
+ },
219816
+ }),
219817
+ };
219746
219818
  if (cliType === 'npm') {
219747
219819
  opts.prettyCommand = `npm run ${scriptName}`;
219748
- if (typeof lockfileVersion === 'number' && lockfileVersion >= 2) {
219749
- // Ensure that npm 7 is at the beginning of the `$PATH`
219750
- env.PATH = `/node16/bin-npm7:${env.PATH}`;
219751
- }
219752
219820
  }
219753
219821
  else {
219754
219822
  opts.prettyCommand = `yarn run ${scriptName}`;
219755
- // Yarn v2 PnP mode may be activated, so force "node-modules" linker style
219756
- if (!env.YARN_NODE_LINKER) {
219757
- env.YARN_NODE_LINKER = 'node-modules';
219758
- }
219759
219823
  }
219760
219824
  console.log(`Running "${opts.prettyCommand}"`);
219761
219825
  await spawnAsync(cliType, ['run', scriptName], opts);
@@ -219804,7 +219868,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
219804
219868
  /***/ }),
219805
219869
 
219806
219870
  /***/ 2560:
219807
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011917__) {
219871
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012804__) {
219808
219872
 
219809
219873
  "use strict";
219810
219874
 
@@ -219812,7 +219876,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219812
219876
  return (mod && mod.__esModule) ? mod : { "default": mod };
219813
219877
  };
219814
219878
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219815
- const end_of_stream_1 = __importDefault(__nested_webpack_require_1011917__(687));
219879
+ const end_of_stream_1 = __importDefault(__nested_webpack_require_1012804__(687));
219816
219880
  function streamToBuffer(stream) {
219817
219881
  return new Promise((resolve, reject) => {
219818
219882
  const buffers = [];
@@ -219841,7 +219905,7 @@ exports.default = streamToBuffer;
219841
219905
  /***/ }),
219842
219906
 
219843
219907
  /***/ 1148:
219844
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012985__) {
219908
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1013872__) {
219845
219909
 
219846
219910
  "use strict";
219847
219911
 
@@ -219849,9 +219913,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219849
219913
  return (mod && mod.__esModule) ? mod : { "default": mod };
219850
219914
  };
219851
219915
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219852
- const path_1 = __importDefault(__nested_webpack_require_1012985__(5622));
219853
- const fs_extra_1 = __importDefault(__nested_webpack_require_1012985__(5392));
219854
- const ignore_1 = __importDefault(__nested_webpack_require_1012985__(3556));
219916
+ const path_1 = __importDefault(__nested_webpack_require_1013872__(5622));
219917
+ const fs_extra_1 = __importDefault(__nested_webpack_require_1013872__(5392));
219918
+ const ignore_1 = __importDefault(__nested_webpack_require_1013872__(3556));
219855
219919
  function isCodedError(error) {
219856
219920
  return (error !== null &&
219857
219921
  error !== undefined &&
@@ -219908,7 +219972,7 @@ exports.default = default_1;
219908
219972
  /***/ }),
219909
219973
 
219910
219974
  /***/ 2855:
219911
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1015367__) {
219975
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1016254__) {
219912
219976
 
219913
219977
  "use strict";
219914
219978
 
@@ -219938,30 +220002,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
219938
220002
  return (mod && mod.__esModule) ? mod : { "default": mod };
219939
220003
  };
219940
220004
  Object.defineProperty(exports, "__esModule", ({ value: true }));
219941
- exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
219942
- const crypto_1 = __nested_webpack_require_1015367__(6417);
219943
- const file_blob_1 = __importDefault(__nested_webpack_require_1015367__(2397));
220005
+ exports.isStaticRuntime = exports.isOfficialRuntime = exports._experimental_updateRoutesManifest = exports._experimental_updateFunctionsManifest = exports._experimental_convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.getEnvForPackageManager = exports.runCustomInstallCommand = 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;
220006
+ exports.getPlatformEnv = void 0;
220007
+ const file_blob_1 = __importDefault(__nested_webpack_require_1016254__(2397));
219944
220008
  exports.FileBlob = file_blob_1.default;
219945
- const file_fs_ref_1 = __importDefault(__nested_webpack_require_1015367__(9331));
220009
+ const file_fs_ref_1 = __importDefault(__nested_webpack_require_1016254__(9331));
219946
220010
  exports.FileFsRef = file_fs_ref_1.default;
219947
- const file_ref_1 = __importDefault(__nested_webpack_require_1015367__(5187));
220011
+ const file_ref_1 = __importDefault(__nested_webpack_require_1016254__(5187));
219948
220012
  exports.FileRef = file_ref_1.default;
219949
- const lambda_1 = __nested_webpack_require_1015367__(6721);
220013
+ const lambda_1 = __nested_webpack_require_1016254__(6721);
219950
220014
  Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
219951
220015
  Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
219952
220016
  Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
219953
- const prerender_1 = __nested_webpack_require_1015367__(2850);
220017
+ const prerender_1 = __nested_webpack_require_1016254__(2850);
219954
220018
  Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
219955
- const download_1 = __importStar(__nested_webpack_require_1015367__(1611));
220019
+ const download_1 = __importStar(__nested_webpack_require_1016254__(1611));
219956
220020
  exports.download = download_1.default;
219957
220021
  Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
219958
- const get_writable_directory_1 = __importDefault(__nested_webpack_require_1015367__(3838));
220022
+ const get_writable_directory_1 = __importDefault(__nested_webpack_require_1016254__(3838));
219959
220023
  exports.getWriteableDirectory = get_writable_directory_1.default;
219960
- const glob_1 = __importDefault(__nested_webpack_require_1015367__(4240));
220024
+ const glob_1 = __importDefault(__nested_webpack_require_1016254__(4240));
219961
220025
  exports.glob = glob_1.default;
219962
- const rename_1 = __importDefault(__nested_webpack_require_1015367__(6718));
220026
+ const rename_1 = __importDefault(__nested_webpack_require_1016254__(6718));
219963
220027
  exports.rename = rename_1.default;
219964
- const run_user_scripts_1 = __nested_webpack_require_1015367__(1442);
220028
+ const run_user_scripts_1 = __nested_webpack_require_1016254__(1442);
219965
220029
  Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
219966
220030
  Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
219967
220031
  Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
@@ -219974,44 +220038,46 @@ Object.defineProperty(exports, "runNpmInstall", ({ enumerable: true, get: functi
219974
220038
  Object.defineProperty(exports, "runBundleInstall", ({ enumerable: true, get: function () { return run_user_scripts_1.runBundleInstall; } }));
219975
220039
  Object.defineProperty(exports, "runPipInstall", ({ enumerable: true, get: function () { return run_user_scripts_1.runPipInstall; } }));
219976
220040
  Object.defineProperty(exports, "runShellScript", ({ enumerable: true, get: function () { return run_user_scripts_1.runShellScript; } }));
220041
+ Object.defineProperty(exports, "runCustomInstallCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.runCustomInstallCommand; } }));
220042
+ Object.defineProperty(exports, "getEnvForPackageManager", ({ enumerable: true, get: function () { return run_user_scripts_1.getEnvForPackageManager; } }));
219977
220043
  Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeVersion; } }));
219978
220044
  Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
219979
220045
  Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
219980
220046
  Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
219981
- const node_version_1 = __nested_webpack_require_1015367__(7903);
220047
+ const node_version_1 = __nested_webpack_require_1016254__(7903);
219982
220048
  Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
219983
220049
  Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
219984
- const errors_1 = __nested_webpack_require_1015367__(3983);
219985
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1015367__(2560));
220050
+ const errors_1 = __nested_webpack_require_1016254__(3983);
220051
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1016254__(2560));
219986
220052
  exports.streamToBuffer = stream_to_buffer_1.default;
219987
- const should_serve_1 = __importDefault(__nested_webpack_require_1015367__(2564));
220053
+ const should_serve_1 = __importDefault(__nested_webpack_require_1016254__(2564));
219988
220054
  exports.shouldServe = should_serve_1.default;
219989
- const debug_1 = __importDefault(__nested_webpack_require_1015367__(1868));
220055
+ const debug_1 = __importDefault(__nested_webpack_require_1016254__(1868));
219990
220056
  exports.debug = debug_1.default;
219991
- const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1015367__(1148));
220057
+ const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1016254__(1148));
219992
220058
  exports.getIgnoreFilter = get_ignore_filter_1.default;
219993
- var detect_builders_1 = __nested_webpack_require_1015367__(4246);
220059
+ var detect_builders_1 = __nested_webpack_require_1016254__(4246);
219994
220060
  Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
219995
220061
  Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
219996
220062
  Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
219997
220063
  Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
219998
- var detect_file_system_api_1 = __nested_webpack_require_1015367__(1182);
220064
+ var detect_file_system_api_1 = __nested_webpack_require_1016254__(1182);
219999
220065
  Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
220000
- var detect_framework_1 = __nested_webpack_require_1015367__(5224);
220066
+ var detect_framework_1 = __nested_webpack_require_1016254__(5224);
220001
220067
  Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
220002
- var filesystem_1 = __nested_webpack_require_1015367__(461);
220068
+ var filesystem_1 = __nested_webpack_require_1016254__(461);
220003
220069
  Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
220004
- var read_config_file_1 = __nested_webpack_require_1015367__(7792);
220070
+ var read_config_file_1 = __nested_webpack_require_1016254__(7792);
220005
220071
  Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
220006
- var normalize_path_1 = __nested_webpack_require_1015367__(6261);
220072
+ var normalize_path_1 = __nested_webpack_require_1016254__(6261);
220007
220073
  Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
220008
- var convert_runtime_to_plugin_1 = __nested_webpack_require_1015367__(7276);
220009
- Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
220010
- Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
220011
- Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
220012
- __exportStar(__nested_webpack_require_1015367__(2416), exports);
220013
- __exportStar(__nested_webpack_require_1015367__(5748), exports);
220014
- __exportStar(__nested_webpack_require_1015367__(3983), exports);
220074
+ var convert_runtime_to_plugin_1 = __nested_webpack_require_1016254__(7276);
220075
+ Object.defineProperty(exports, "_experimental_convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_convertRuntimeToPlugin; } }));
220076
+ Object.defineProperty(exports, "_experimental_updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_updateFunctionsManifest; } }));
220077
+ Object.defineProperty(exports, "_experimental_updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_updateRoutesManifest; } }));
220078
+ __exportStar(__nested_webpack_require_1016254__(2416), exports);
220079
+ __exportStar(__nested_webpack_require_1016254__(5748), exports);
220080
+ __exportStar(__nested_webpack_require_1016254__(3983), exports);
220015
220081
  /**
220016
220082
  * Helper function to support both `@vercel` and legacy `@now` official Runtimes.
220017
220083
  */
@@ -220051,20 +220117,12 @@ const getPlatformEnv = (name) => {
220051
220117
  return n;
220052
220118
  };
220053
220119
  exports.getPlatformEnv = getPlatformEnv;
220054
- /**
220055
- * Helper function for generating file or directories names in `.output/inputs`
220056
- * for dependencies of files provided to the File System API.
220057
- */
220058
- const getInputHash = (source) => {
220059
- return crypto_1.createHash('sha1').update(source).digest('hex');
220060
- };
220061
- exports.getInputHash = getInputHash;
220062
220120
 
220063
220121
 
220064
220122
  /***/ }),
220065
220123
 
220066
220124
  /***/ 6721:
220067
- /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1026587__) {
220125
+ /***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1027627__) {
220068
220126
 
220069
220127
  "use strict";
220070
220128
 
@@ -220072,19 +220130,36 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
220072
220130
  return (mod && mod.__esModule) ? mod : { "default": mod };
220073
220131
  };
220074
220132
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220075
- exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
220076
- const assert_1 = __importDefault(__nested_webpack_require_1026587__(2357));
220077
- const async_sema_1 = __importDefault(__nested_webpack_require_1026587__(5758));
220078
- const yazl_1 = __nested_webpack_require_1026587__(1223);
220079
- const minimatch_1 = __importDefault(__nested_webpack_require_1026587__(9566));
220080
- const fs_extra_1 = __nested_webpack_require_1026587__(5392);
220081
- const download_1 = __nested_webpack_require_1026587__(1611);
220082
- const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1026587__(2560));
220083
- exports.FILES_SYMBOL = Symbol('files');
220133
+ exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
220134
+ const assert_1 = __importDefault(__nested_webpack_require_1027627__(2357));
220135
+ const async_sema_1 = __importDefault(__nested_webpack_require_1027627__(5758));
220136
+ const yazl_1 = __nested_webpack_require_1027627__(1223);
220137
+ const minimatch_1 = __importDefault(__nested_webpack_require_1027627__(9566));
220138
+ const fs_extra_1 = __nested_webpack_require_1027627__(5392);
220139
+ const download_1 = __nested_webpack_require_1027627__(1611);
220140
+ const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1027627__(2560));
220084
220141
  class Lambda {
220085
- constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
220142
+ constructor({ files, handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, }) {
220143
+ assert_1.default(typeof files === 'object', '"files" must be an object');
220144
+ assert_1.default(typeof handler === 'string', '"handler" is not a string');
220145
+ assert_1.default(typeof runtime === 'string', '"runtime" is not a string');
220146
+ assert_1.default(typeof environment === 'object', '"environment" is not an object');
220147
+ if (memory !== undefined) {
220148
+ assert_1.default(typeof memory === 'number', '"memory" is not a number');
220149
+ }
220150
+ if (maxDuration !== undefined) {
220151
+ assert_1.default(typeof maxDuration === 'number', '"maxDuration" is not a number');
220152
+ }
220153
+ if (allowQuery !== undefined) {
220154
+ assert_1.default(Array.isArray(allowQuery), '"allowQuery" is not an Array');
220155
+ assert_1.default(allowQuery.every(q => typeof q === 'string'), '"allowQuery" is not a string Array');
220156
+ }
220157
+ if (regions !== undefined) {
220158
+ assert_1.default(Array.isArray(regions), '"regions" is not an Array');
220159
+ assert_1.default(regions.every(r => typeof r === 'string'), '"regions" is not a string Array');
220160
+ }
220086
220161
  this.type = 'Lambda';
220087
- this.zipBuffer = zipBuffer;
220162
+ this.files = files;
220088
220163
  this.handler = handler;
220089
220164
  this.runtime = runtime;
220090
220165
  this.memory = memory;
@@ -220093,48 +220168,31 @@ class Lambda {
220093
220168
  this.allowQuery = allowQuery;
220094
220169
  this.regions = regions;
220095
220170
  }
220171
+ async createZip() {
220172
+ let { zipBuffer } = this;
220173
+ if (!zipBuffer) {
220174
+ await sema.acquire();
220175
+ try {
220176
+ zipBuffer = await createZip(this.files);
220177
+ }
220178
+ finally {
220179
+ sema.release();
220180
+ }
220181
+ }
220182
+ return zipBuffer;
220183
+ }
220096
220184
  }
220097
220185
  exports.Lambda = Lambda;
220098
220186
  const sema = new async_sema_1.default(10);
220099
220187
  const mtime = new Date(1540000000000);
220100
- async function createLambda({ files, handler, runtime, memory, maxDuration, environment = {}, allowQuery, regions, }) {
220101
- assert_1.default(typeof files === 'object', '"files" must be an object');
220102
- assert_1.default(typeof handler === 'string', '"handler" is not a string');
220103
- assert_1.default(typeof runtime === 'string', '"runtime" is not a string');
220104
- assert_1.default(typeof environment === 'object', '"environment" is not an object');
220105
- if (memory !== undefined) {
220106
- assert_1.default(typeof memory === 'number', '"memory" is not a number');
220107
- }
220108
- if (maxDuration !== undefined) {
220109
- assert_1.default(typeof maxDuration === 'number', '"maxDuration" is not a number');
220110
- }
220111
- if (allowQuery !== undefined) {
220112
- assert_1.default(Array.isArray(allowQuery), '"allowQuery" is not an Array');
220113
- assert_1.default(allowQuery.every(q => typeof q === 'string'), '"allowQuery" is not a string Array');
220114
- }
220115
- if (regions !== undefined) {
220116
- assert_1.default(Array.isArray(regions), '"regions" is not an Array');
220117
- assert_1.default(regions.every(r => typeof r === 'string'), '"regions" is not a string Array');
220118
- }
220119
- await sema.acquire();
220120
- try {
220121
- const zipBuffer = await createZip(files);
220122
- const lambda = new Lambda({
220123
- zipBuffer,
220124
- handler,
220125
- runtime,
220126
- memory,
220127
- maxDuration,
220128
- environment,
220129
- regions,
220130
- });
220131
- // @ts-ignore This symbol is a private API
220132
- lambda[exports.FILES_SYMBOL] = files;
220133
- return lambda;
220134
- }
220135
- finally {
220136
- sema.release();
220137
- }
220188
+ /**
220189
+ * @deprecated Use `new Lambda()` instead.
220190
+ */
220191
+ async function createLambda(opts) {
220192
+ const lambda = new Lambda(opts);
220193
+ // backwards compat
220194
+ lambda.zipBuffer = await lambda.createZip();
220195
+ return lambda;
220138
220196
  }
220139
220197
  exports.createLambda = createLambda;
220140
220198
  async function createZip(files) {
@@ -220169,7 +220227,7 @@ async function createZip(files) {
220169
220227
  }
220170
220228
  exports.createZip = createZip;
220171
220229
  async function getLambdaOptionsFromFunction({ sourceFile, config, }) {
220172
- if (config && config.functions) {
220230
+ if (config === null || config === void 0 ? void 0 : config.functions) {
220173
220231
  for (const [pattern, fn] of Object.entries(config.functions)) {
220174
220232
  if (sourceFile === pattern || minimatch_1.default(sourceFile, pattern)) {
220175
220233
  return {
@@ -220308,12 +220366,12 @@ exports.buildsSchema = {
220308
220366
  /***/ }),
220309
220367
 
220310
220368
  /***/ 2564:
220311
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1035097__) => {
220369
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_1036130__) => {
220312
220370
 
220313
220371
  "use strict";
220314
220372
 
220315
220373
  Object.defineProperty(exports, "__esModule", ({ value: true }));
220316
- const path_1 = __nested_webpack_require_1035097__(5622);
220374
+ const path_1 = __nested_webpack_require_1036130__(5622);
220317
220375
  function shouldServe({ entrypoint, files, requestPath, }) {
220318
220376
  requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
220319
220377
  entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
@@ -220448,14 +220506,6 @@ module.exports = __webpack_require__(27619);
220448
220506
 
220449
220507
  /***/ }),
220450
220508
 
220451
- /***/ 6417:
220452
- /***/ ((module) => {
220453
-
220454
- "use strict";
220455
- module.exports = __webpack_require__(76417);
220456
-
220457
- /***/ }),
220458
-
220459
220509
  /***/ 8614:
220460
220510
  /***/ ((module) => {
220461
220511
 
@@ -220550,7 +220600,7 @@ module.exports = __webpack_require__(78761);
220550
220600
  /******/ var __webpack_module_cache__ = {};
220551
220601
  /******/
220552
220602
  /******/ // The require function
220553
- /******/ function __nested_webpack_require_1134832__(moduleId) {
220603
+ /******/ function __nested_webpack_require_1135769__(moduleId) {
220554
220604
  /******/ // Check if module is in cache
220555
220605
  /******/ if(__webpack_module_cache__[moduleId]) {
220556
220606
  /******/ return __webpack_module_cache__[moduleId].exports;
@@ -220565,7 +220615,7 @@ module.exports = __webpack_require__(78761);
220565
220615
  /******/ // Execute the module function
220566
220616
  /******/ var threw = true;
220567
220617
  /******/ try {
220568
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1134832__);
220618
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1135769__);
220569
220619
  /******/ threw = false;
220570
220620
  /******/ } finally {
220571
220621
  /******/ if(threw) delete __webpack_module_cache__[moduleId];
@@ -220578,11 +220628,11 @@ module.exports = __webpack_require__(78761);
220578
220628
  /************************************************************************/
220579
220629
  /******/ /* webpack/runtime/compat */
220580
220630
  /******/
220581
- /******/ __nested_webpack_require_1134832__.ab = __dirname + "/";/************************************************************************/
220631
+ /******/ __nested_webpack_require_1135769__.ab = __dirname + "/";/************************************************************************/
220582
220632
  /******/ // module exports must be returned from runtime so entry inlining is disabled
220583
220633
  /******/ // startup
220584
220634
  /******/ // Load entry module and return exports
220585
- /******/ return __nested_webpack_require_1134832__(2855);
220635
+ /******/ return __nested_webpack_require_1135769__(2855);
220586
220636
  /******/ })()
220587
220637
  ;
220588
220638
 
@@ -242788,7 +242838,7 @@ exports.frameworks = [
242788
242838
  {
242789
242839
  name: 'Blitz.js',
242790
242840
  slug: 'blitzjs',
242791
- demo: 'https://blitzjs.examples.vercel.com',
242841
+ demo: 'https://blitz-template.vercel.app',
242792
242842
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/blitz.svg',
242793
242843
  tagline: 'Blitz.js: The Fullstack React Framework',
242794
242844
  description: 'A brand new Blitz.js app - the result of running `npx blitz new`.',
@@ -242824,7 +242874,7 @@ exports.frameworks = [
242824
242874
  {
242825
242875
  name: 'Next.js',
242826
242876
  slug: 'nextjs',
242827
- demo: 'https://nextjs.examples.vercel.com',
242877
+ demo: 'https://nextjs-template.vercel.app',
242828
242878
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next.svg',
242829
242879
  tagline: 'Next.js makes you productive with React instantly — whether you want to build static or dynamic sites.',
242830
242880
  description: 'A Next.js app and a Serverless Function API.',
@@ -242869,10 +242919,10 @@ exports.frameworks = [
242869
242919
  {
242870
242920
  name: 'Gatsby.js',
242871
242921
  slug: 'gatsby',
242872
- demo: 'https://gatsby.examples.vercel.com',
242922
+ demo: 'https://gatsby.vercel.app',
242873
242923
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/gatsby.svg',
242874
242924
  tagline: 'Gatsby helps developers build blazing fast websites and apps with React.',
242875
- description: 'A Gatsby app, using the default starter theme and a Serverless Function API.',
242925
+ description: 'A Gatsby starter app with an API Route.',
242876
242926
  website: 'https://gatsbyjs.org',
242877
242927
  sort: 5,
242878
242928
  envPrefix: 'GATSBY_',
@@ -242951,7 +243001,7 @@ exports.frameworks = [
242951
243001
  {
242952
243002
  name: 'Remix',
242953
243003
  slug: 'remix',
242954
- demo: 'https://remix.examples.vercel.com',
243004
+ demo: 'https://remix-run-template.vercel.app',
242955
243005
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix-no-shadow.svg',
242956
243006
  tagline: 'Build Better Websites',
242957
243007
  description: 'A new Remix app — the result of running `npx create-remix`.',
@@ -243020,7 +243070,7 @@ exports.frameworks = [
243020
243070
  {
243021
243071
  name: 'Hexo',
243022
243072
  slug: 'hexo',
243023
- demo: 'https://hexo.examples.vercel.com',
243073
+ demo: 'https://hexo-template.vercel.app',
243024
243074
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/hexo.svg',
243025
243075
  tagline: 'Hexo is a fast, simple & powerful blog framework powered by Node.js.',
243026
243076
  description: 'A Hexo site, created with the Hexo CLI.',
@@ -243055,7 +243105,7 @@ exports.frameworks = [
243055
243105
  {
243056
243106
  name: 'Eleventy',
243057
243107
  slug: 'eleventy',
243058
- demo: 'https://eleventy.examples.vercel.com',
243108
+ demo: 'https://eleventy-template.vercel.app',
243059
243109
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/eleventy.svg',
243060
243110
  tagline: '11ty is a simpler static site generator written in JavaScript, created to be an alternative to Jekyll.',
243061
243111
  description: 'An Eleventy site, created with npm init.',
@@ -243091,7 +243141,7 @@ exports.frameworks = [
243091
243141
  {
243092
243142
  name: 'Docusaurus 2',
243093
243143
  slug: 'docusaurus-2',
243094
- demo: 'https://docusaurus-2.examples.vercel.com',
243144
+ demo: 'https://docusaurus-2-template.vercel.app',
243095
243145
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/docusaurus.svg',
243096
243146
  tagline: 'Docusaurus makes it easy to maintain Open Source documentation websites.',
243097
243147
  description: 'A static Docusaurus site that makes it easy to maintain OSS documentation.',
@@ -243220,7 +243270,7 @@ exports.frameworks = [
243220
243270
  {
243221
243271
  name: 'Docusaurus 1',
243222
243272
  slug: 'docusaurus',
243223
- demo: 'https://docusaurus.examples.vercel.com',
243273
+ demo: 'https://docusaurus-template.vercel.app',
243224
243274
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/docusaurus.svg',
243225
243275
  tagline: 'Docusaurus makes it easy to maintain Open Source documentation websites.',
243226
243276
  description: 'A static Docusaurus site that makes it easy to maintain OSS documentation.',
@@ -243269,7 +243319,7 @@ exports.frameworks = [
243269
243319
  {
243270
243320
  name: 'Preact',
243271
243321
  slug: 'preact',
243272
- demo: 'https://preact.examples.vercel.com',
243322
+ demo: 'https://preact-template.vercel.app',
243273
243323
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/preact.svg',
243274
243324
  tagline: 'Preact is a fast 3kB alternative to React with the same modern API.',
243275
243325
  description: 'A Preact app, created with the Preact CLI.',
@@ -243320,7 +243370,7 @@ exports.frameworks = [
243320
243370
  {
243321
243371
  name: 'SolidStart',
243322
243372
  slug: 'solidstart',
243323
- demo: 'https://solidstart.examples.vercel.com',
243373
+ demo: 'https://solid-start-template.vercel.app',
243324
243374
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/solid.svg',
243325
243375
  tagline: 'Simple and performant reactivity for building user interfaces.',
243326
243376
  description: 'A Solid app, created with SolidStart.',
@@ -243358,7 +243408,7 @@ exports.frameworks = [
243358
243408
  {
243359
243409
  name: 'Dojo',
243360
243410
  slug: 'dojo',
243361
- demo: 'https://dojo.examples.vercel.com',
243411
+ demo: 'https://dojo-template.vercel.app',
243362
243412
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/dojo.png',
243363
243413
  tagline: 'Dojo is a modern progressive, TypeScript first framework.',
243364
243414
  description: "A Dojo app, created with the Dojo CLI's cli-create-app command.",
@@ -243425,7 +243475,7 @@ exports.frameworks = [
243425
243475
  {
243426
243476
  name: 'Ember.js',
243427
243477
  slug: 'ember',
243428
- demo: 'https://ember.examples.vercel.com',
243478
+ demo: 'https://ember-template.vercel.app',
243429
243479
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ember.svg',
243430
243480
  tagline: 'Ember.js helps webapp developers be more productive out of the box.',
243431
243481
  description: 'An Ember app, created with the Ember CLI.',
@@ -243476,7 +243526,7 @@ exports.frameworks = [
243476
243526
  {
243477
243527
  name: 'Vue.js',
243478
243528
  slug: 'vue',
243479
- demo: 'https://vue.examples.vercel.com',
243529
+ demo: 'https://vue-template.vercel.app',
243480
243530
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/vue.svg',
243481
243531
  tagline: 'Vue.js is a versatile JavaScript framework that is as approachable as it is performant.',
243482
243532
  description: 'A Vue.js app, created with the Vue CLI.',
@@ -243552,7 +243602,7 @@ exports.frameworks = [
243552
243602
  {
243553
243603
  name: 'Scully',
243554
243604
  slug: 'scully',
243555
- demo: 'https://scully.examples.vercel.com',
243605
+ demo: 'https://scully-template.vercel.app',
243556
243606
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/scullyio-logo.png',
243557
243607
  tagline: 'Scully is a static site generator for Angular.',
243558
243608
  description: 'The Static Site Generator for Angular apps.',
@@ -243587,7 +243637,7 @@ exports.frameworks = [
243587
243637
  {
243588
243638
  name: 'Ionic Angular',
243589
243639
  slug: 'ionic-angular',
243590
- demo: 'https://ionic-angular.examples.vercel.com',
243640
+ demo: 'https://ionic-angular-template.vercel.app',
243591
243641
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ionic.svg',
243592
243642
  tagline: 'Ionic Angular allows you to build mobile PWAs with Angular and the Ionic Framework.',
243593
243643
  description: 'An Ionic Angular site, created with the Ionic CLI.',
@@ -243637,7 +243687,7 @@ exports.frameworks = [
243637
243687
  {
243638
243688
  name: 'Angular',
243639
243689
  slug: 'angular',
243640
- demo: 'https://angular.examples.vercel.com',
243690
+ demo: 'https://angular-template.vercel.app',
243641
243691
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/angular.svg',
243642
243692
  tagline: 'Angular is a TypeScript-based cross-platform framework from Google.',
243643
243693
  description: 'An Angular app, created with the Angular CLI.',
@@ -243702,7 +243752,7 @@ exports.frameworks = [
243702
243752
  {
243703
243753
  name: 'Polymer',
243704
243754
  slug: 'polymer',
243705
- demo: 'https://polymer.examples.vercel.com',
243755
+ demo: 'https://polymer-template.vercel.app',
243706
243756
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/polymer.svg',
243707
243757
  tagline: 'Polymer is an open-source webapps library from Google, for building using Web Components.',
243708
243758
  description: 'A Polymer app, created with the Polymer CLI.',
@@ -243765,7 +243815,7 @@ exports.frameworks = [
243765
243815
  {
243766
243816
  name: 'Svelte',
243767
243817
  slug: 'svelte',
243768
- demo: 'https://svelte.examples.vercel.com',
243818
+ demo: 'https://svelte.vercel.app',
243769
243819
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
243770
243820
  tagline: 'Svelte lets you write high performance reactive apps with significantly less boilerplate.',
243771
243821
  description: 'A basic Svelte app using the default template.',
@@ -243820,11 +243870,12 @@ exports.frameworks = [
243820
243870
  {
243821
243871
  name: 'SvelteKit',
243822
243872
  slug: 'sveltekit',
243823
- demo: 'https://sveltekit.examples.vercel.com',
243873
+ demo: 'https://sveltekit-template.vercel.app',
243824
243874
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
243825
243875
  tagline: 'SvelteKit is a framework for building web applications of all sizes.',
243826
- description: 'A SvelteKit app optimized to work for serverless.',
243876
+ description: 'A SvelteKit app optimized Edge-first.',
243827
243877
  website: 'https://kit.svelte.dev',
243878
+ envPrefix: 'VITE_',
243828
243879
  detectors: {
243829
243880
  every: [
243830
243881
  {
@@ -243854,7 +243905,7 @@ exports.frameworks = [
243854
243905
  {
243855
243906
  name: 'Ionic React',
243856
243907
  slug: 'ionic-react',
243857
- demo: 'https://ionic-react.examples.vercel.com',
243908
+ demo: 'https://ionic-react-template.vercel.app',
243858
243909
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/ionic.svg',
243859
243910
  tagline: 'Ionic React allows you to build mobile PWAs with React and the Ionic Framework.',
243860
243911
  description: 'An Ionic React site, created with the Ionic CLI.',
@@ -243952,10 +244003,10 @@ exports.frameworks = [
243952
244003
  {
243953
244004
  name: 'Create React App',
243954
244005
  slug: 'create-react-app',
243955
- demo: 'https://react-functions.examples.vercel.com',
244006
+ demo: 'https://create-react-template.vercel.app',
243956
244007
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/react.svg',
243957
244008
  tagline: 'Create React App allows you to get going with React in no time.',
243958
- description: 'A React app, bootstrapped with create-react-app, and a Serverless Function API.',
244009
+ description: 'A client-side React app created with create-react-app.',
243959
244010
  website: 'https://create-react-app.dev',
243960
244011
  sort: 4,
243961
244012
  envPrefix: 'REACT_APP_',
@@ -244056,7 +244107,7 @@ exports.frameworks = [
244056
244107
  {
244057
244108
  name: 'Gridsome',
244058
244109
  slug: 'gridsome',
244059
- demo: 'https://gridsome.examples.vercel.com',
244110
+ demo: 'https://gridsome-template.vercel.app',
244060
244111
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/gridsome.svg',
244061
244112
  tagline: 'Gridsome is a Vue.js-powered framework for building websites & apps that are fast by default.',
244062
244113
  description: 'A Gridsome app, created with the Gridsome CLI.',
@@ -244091,7 +244142,7 @@ exports.frameworks = [
244091
244142
  {
244092
244143
  name: 'UmiJS',
244093
244144
  slug: 'umijs',
244094
- demo: 'https://umijs.examples.vercel.com',
244145
+ demo: 'https://umijs-template.vercel.app',
244095
244146
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/umi.svg',
244096
244147
  tagline: 'UmiJS is an extensible enterprise-level React application framework.',
244097
244148
  description: 'An UmiJS app, created using the Umi CLI.',
@@ -244142,7 +244193,7 @@ exports.frameworks = [
244142
244193
  {
244143
244194
  name: 'Sapper',
244144
244195
  slug: 'sapper',
244145
- demo: 'https://sapper.examples.vercel.com',
244196
+ demo: 'https://sapper-template.vercel.app',
244146
244197
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/svelte.svg',
244147
244198
  tagline: 'Sapper is a framework for building high-performance universal web apps with Svelte.',
244148
244199
  description: 'A Sapper app, using the Sapper template.',
@@ -244177,7 +244228,7 @@ exports.frameworks = [
244177
244228
  {
244178
244229
  name: 'Saber',
244179
244230
  slug: 'saber',
244180
- demo: 'https://saber.examples.vercel.com',
244231
+ demo: 'https://saber-template.vercel.app',
244181
244232
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/saber.svg',
244182
244233
  tagline: 'Saber is a framework for building static sites in Vue.js that supports data from any source.',
244183
244234
  description: 'A Saber site, created with npm init.',
@@ -244243,7 +244294,7 @@ exports.frameworks = [
244243
244294
  {
244244
244295
  name: 'Stencil',
244245
244296
  slug: 'stencil',
244246
- demo: 'https://stencil.examples.vercel.com',
244297
+ demo: 'https://stencil.vercel.app',
244247
244298
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/stencil.svg',
244248
244299
  tagline: 'Stencil is a powerful toolchain for building Progressive Web Apps and Design Systems.',
244249
244300
  description: 'A Stencil site, created with the Stencil CLI.',
@@ -244328,7 +244379,7 @@ exports.frameworks = [
244328
244379
  {
244329
244380
  name: 'Nuxt.js',
244330
244381
  slug: 'nuxtjs',
244331
- demo: 'https://nuxtjs.examples.vercel.com',
244382
+ demo: 'https://nuxtjs-template.vercel.app',
244332
244383
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/nuxt.svg',
244333
244384
  tagline: 'Nuxt.js is the web comprehensive framework that lets you dream big with Vue.js.',
244334
244385
  description: 'A Nuxt.js app, bootstrapped with create-nuxt-app.',
@@ -244384,7 +244435,7 @@ exports.frameworks = [
244384
244435
  {
244385
244436
  name: 'RedwoodJS',
244386
244437
  slug: 'redwoodjs',
244387
- demo: 'https://redwoodjs.examples.vercel.com',
244438
+ demo: 'https://redwood-template.vercel.app',
244388
244439
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/redwoodjs.svg',
244389
244440
  tagline: 'RedwoodJS is a full-stack framework for the Jamstack.',
244390
244441
  description: 'A RedwoodJS app, bootstraped with create-redwood-app.',
@@ -244420,7 +244471,7 @@ exports.frameworks = [
244420
244471
  {
244421
244472
  name: 'Hugo',
244422
244473
  slug: 'hugo',
244423
- demo: 'https://hugo.examples.vercel.com',
244474
+ demo: 'https://hugo-template.vercel.app',
244424
244475
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/hugo.svg',
244425
244476
  tagline: 'Hugo is the world’s fastest framework for building websites, written in Go.',
244426
244477
  description: 'A Hugo site, created with the Hugo CLI.',
@@ -244468,7 +244519,7 @@ exports.frameworks = [
244468
244519
  {
244469
244520
  name: 'Jekyll',
244470
244521
  slug: 'jekyll',
244471
- demo: 'https://jekyll.examples.vercel.com',
244522
+ demo: 'https://jekyll-template.vercel.app',
244472
244523
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/jekyll.svg',
244473
244524
  tagline: 'Jekyll makes it super easy to transform your plain text into static websites and blogs.',
244474
244525
  description: 'A Jekyll site, created with the Jekyll CLI.',
@@ -244505,7 +244556,7 @@ exports.frameworks = [
244505
244556
  {
244506
244557
  name: 'Brunch',
244507
244558
  slug: 'brunch',
244508
- demo: 'https://brunch.examples.vercel.com',
244559
+ demo: 'https://brunch-template.vercel.app',
244509
244560
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/brunch.svg',
244510
244561
  tagline: 'Brunch is a fast and simple webapp build tool with seamless incremental compilation for rapid development.',
244511
244562
  description: 'A Brunch app, created with the Brunch CLI.',
@@ -244538,7 +244589,7 @@ exports.frameworks = [
244538
244589
  {
244539
244590
  name: 'Middleman',
244540
244591
  slug: 'middleman',
244541
- demo: 'https://middleman.examples.vercel.com',
244592
+ demo: 'https://middleman-template.vercel.app',
244542
244593
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/middleman.svg',
244543
244594
  tagline: 'Middleman is a static site generator that uses all the shortcuts and tools in modern web development.',
244544
244595
  description: 'A Middleman app, created with the Middleman CLI.',
@@ -244572,7 +244623,7 @@ exports.frameworks = [
244572
244623
  {
244573
244624
  name: 'Zola',
244574
244625
  slug: 'zola',
244575
- demo: 'https://zola.examples.vercel.com',
244626
+ demo: 'https://zola-template.vercel.app',
244576
244627
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/zola.png',
244577
244628
  tagline: 'Everything you need to make a static site engine in one binary.',
244578
244629
  description: 'A Zola app, created with the "Getting Started" tutorial.',
@@ -244606,7 +244657,7 @@ exports.frameworks = [
244606
244657
  {
244607
244658
  name: 'Vite',
244608
244659
  slug: 'vite',
244609
- demo: 'https://vite.examples.vercel.com',
244660
+ demo: 'https://vite-vue-template.vercel.app',
244610
244661
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/vite.svg',
244611
244662
  tagline: 'Vite is a new breed of frontend build tool that significantly improves the frontend development experience.',
244612
244663
  description: 'A Vue.js app, created with Vite.',
@@ -244630,7 +244681,7 @@ exports.frameworks = [
244630
244681
  },
244631
244682
  devCommand: {
244632
244683
  placeholder: 'vite',
244633
- value: 'vite',
244684
+ value: 'vite --port $PORT',
244634
244685
  },
244635
244686
  outputDirectory: {
244636
244687
  value: 'dist',
@@ -244642,7 +244693,7 @@ exports.frameworks = [
244642
244693
  {
244643
244694
  name: 'Parcel',
244644
244695
  slug: 'parcel',
244645
- demo: 'https://parcel.examples.vercel.com',
244696
+ demo: 'https://parcel-template.vercel.app',
244646
244697
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/parcel.png',
244647
244698
  tagline: 'Parcel is a zero configuration build tool for the web that scales to projects of any size and complexity.',
244648
244699
  description: 'A vanilla web app built with Parcel.',
@@ -250305,7 +250356,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
250305
250356
  const chalk_1 = __importDefault(__webpack_require__(961));
250306
250357
  const ERRORS = __importStar(__webpack_require__(60156));
250307
250358
  const assign_alias_1 = __importDefault(__webpack_require__(30791));
250308
- const format_ns_table_1 = __importDefault(__webpack_require__(91498));
250309
250359
  const get_deployment_by_id_or_host_1 = __importDefault(__webpack_require__(71698));
250310
250360
  const get_deployment_by_alias_1 = __webpack_require__(44333);
250311
250361
  const get_scope_1 = __importDefault(__webpack_require__(73389));
@@ -250413,15 +250463,6 @@ async function set(client, opts, args) {
250413
250463
  }
250414
250464
  exports.default = set;
250415
250465
  function handleSetupDomainError(output, error) {
250416
- if (error instanceof ERRORS.DomainVerificationFailed ||
250417
- error instanceof ERRORS.DomainNsNotVerifiedForWildcard) {
250418
- const { nsVerification, domain } = error.meta;
250419
- output.error(`We could not alias since the domain ${domain} could not be verified due to the following reasons:\n`);
250420
- output.print(`Nameservers verification failed since we see a different set than the intended set:`);
250421
- output.print(`\n${format_ns_table_1.default(nsVerification.intendedNameservers, nsVerification.nameservers, { extraSpace: ' ' })}\n\n`);
250422
- output.print(' Read more: https://err.sh/vercel/domain-verification\n');
250423
- return 1;
250424
- }
250425
250466
  if (error instanceof ERRORS.DomainPermissionDenied) {
250426
250467
  output.error(`You don't have permissions over domain ${chalk_1.default.underline(error.meta.domain)} under ${chalk_1.default.bold(error.meta.context)}.`);
250427
250468
  return 1;
@@ -250534,6 +250575,344 @@ function getTargetsForAlias(args, { alias } = {}) {
250534
250575
  }
250535
250576
 
250536
250577
 
250578
+ /***/ }),
250579
+
250580
+ /***/ 76792:
250581
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
250582
+
250583
+ "use strict";
250584
+
250585
+ var __importDefault = (this && this.__importDefault) || function (mod) {
250586
+ return (mod && mod.__esModule) ? mod : { "default": mod };
250587
+ };
250588
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
250589
+ const open_1 = __importDefault(__webpack_require__(28884));
250590
+ const boxen_1 = __importDefault(__webpack_require__(30396));
250591
+ const execa_1 = __importDefault(__webpack_require__(94237));
250592
+ const pluralize_1 = __importDefault(__webpack_require__(31974));
250593
+ const inquirer_1 = __importDefault(__webpack_require__(64016));
250594
+ const path_1 = __webpack_require__(85622);
250595
+ const chalk_1 = __importDefault(__webpack_require__(961));
250596
+ const url_1 = __webpack_require__(78835);
250597
+ const sleep_1 = __importDefault(__webpack_require__(35873));
250598
+ const format_date_1 = __importDefault(__webpack_require__(17215));
250599
+ const link_1 = __importDefault(__webpack_require__(98472));
250600
+ const logo_1 = __importDefault(__webpack_require__(9829));
250601
+ const get_args_1 = __importDefault(__webpack_require__(87612));
250602
+ const pkg_name_1 = __webpack_require__(98106);
250603
+ const pkgName = pkg_name_1.getPkgName();
250604
+ const help = () => {
250605
+ console.log(`
250606
+ ${chalk_1.default.bold(`${logo_1.default} ${pkgName} bisect`)} [options]
250607
+
250608
+ ${chalk_1.default.dim('Options:')}
250609
+
250610
+ -h, --help Output usage information
250611
+ -d, --debug Debug mode [off]
250612
+ -b, --bad Known bad URL
250613
+ -g, --good Known good URL
250614
+ -o, --open Automatically open each URL in the browser
250615
+ -p, --path Subpath of the deployment URL to test
250616
+ -r, --run Test script to run for each deployment
250617
+
250618
+ ${chalk_1.default.dim('Examples:')}
250619
+
250620
+ ${chalk_1.default.gray('–')} Bisect the current project interactively
250621
+
250622
+ ${chalk_1.default.cyan(`$ ${pkgName} bisect`)}
250623
+
250624
+ ${chalk_1.default.gray('–')} Bisect with a known bad deployment
250625
+
250626
+ ${chalk_1.default.cyan(`$ ${pkgName} bisect --bad example-310pce9i0.vercel.app`)}
250627
+
250628
+ ${chalk_1.default.gray('–')} Bisect specifying a deployment that was working 3 days ago
250629
+
250630
+ ${chalk_1.default.cyan(`$ ${pkgName} bisect --good 3d`)}
250631
+
250632
+ ${chalk_1.default.gray('–')} Automated bisect with a run script
250633
+
250634
+ ${chalk_1.default.cyan(`$ ${pkgName} bisect --run ./test.sh`)}
250635
+ `);
250636
+ };
250637
+ async function main(client) {
250638
+ const { output } = client;
250639
+ const argv = get_args_1.default(client.argv.slice(2), {
250640
+ '--bad': String,
250641
+ '-b': '--bad',
250642
+ '--good': String,
250643
+ '-g': '--good',
250644
+ '--open': Boolean,
250645
+ '-o': '--open',
250646
+ '--path': String,
250647
+ '-p': '--path',
250648
+ '--run': String,
250649
+ '-r': '--run',
250650
+ });
250651
+ if (argv['--help']) {
250652
+ help();
250653
+ return 2;
250654
+ }
250655
+ let bad = argv['--bad'] ||
250656
+ (await prompt(output, `Specify a URL where the bug occurs:`));
250657
+ let good = argv['--good'] ||
250658
+ (await prompt(output, `Specify a URL where the bug does not occur:`));
250659
+ let subpath = argv['--path'] || '';
250660
+ let run = argv['--run'] || '';
250661
+ const openEnabled = argv['--open'] || false;
250662
+ if (run) {
250663
+ run = path_1.resolve(run);
250664
+ }
250665
+ if (!bad.startsWith('https://')) {
250666
+ bad = `https://${bad}`;
250667
+ }
250668
+ let parsed = url_1.parse(bad);
250669
+ if (!parsed.hostname) {
250670
+ output.error('Invalid input: no hostname provided');
250671
+ return 1;
250672
+ }
250673
+ bad = parsed.hostname;
250674
+ if (typeof parsed.path === 'string' && parsed.path !== '/') {
250675
+ if (subpath && subpath !== parsed.path) {
250676
+ output.note(`Ignoring subpath ${chalk_1.default.bold(parsed.path)} in favor of \`--path\` argument ${chalk_1.default.bold(subpath)}`);
250677
+ }
250678
+ else {
250679
+ subpath = parsed.path;
250680
+ }
250681
+ }
250682
+ const badDeploymentPromise = getDeployment(client, bad).catch(err => err);
250683
+ if (!good.startsWith('https://')) {
250684
+ good = `https://${good}`;
250685
+ }
250686
+ parsed = url_1.parse(good);
250687
+ if (!parsed.hostname) {
250688
+ output.error('Invalid input: no hostname provided');
250689
+ return 1;
250690
+ }
250691
+ good = parsed.hostname;
250692
+ if (typeof parsed.path === 'string' &&
250693
+ parsed.path !== '/' &&
250694
+ subpath &&
250695
+ subpath !== parsed.path) {
250696
+ output.note(`Ignoring subpath ${chalk_1.default.bold(parsed.path)} which does not match ${chalk_1.default.bold(subpath)}`);
250697
+ }
250698
+ const goodDeploymentPromise = getDeployment(client, good).catch(err => err);
250699
+ if (!subpath) {
250700
+ subpath = await prompt(output, `Specify the URL subpath where the bug occurs:`);
250701
+ }
250702
+ output.spinner('Retrieving deployments…');
250703
+ const [badDeployment, goodDeployment] = await Promise.all([
250704
+ badDeploymentPromise,
250705
+ goodDeploymentPromise,
250706
+ ]);
250707
+ if (badDeployment) {
250708
+ if (badDeployment instanceof Error) {
250709
+ badDeployment.message += ` "${bad}"`;
250710
+ output.prettyError(badDeployment);
250711
+ return 1;
250712
+ }
250713
+ bad = badDeployment.url;
250714
+ }
250715
+ else {
250716
+ output.error(`Failed to retrieve ${chalk_1.default.bold('bad')} Deployment: ${bad}`);
250717
+ return 1;
250718
+ }
250719
+ const { projectId } = badDeployment;
250720
+ if (goodDeployment) {
250721
+ if (goodDeployment instanceof Error) {
250722
+ goodDeployment.message += ` "${good}"`;
250723
+ output.prettyError(goodDeployment);
250724
+ return 1;
250725
+ }
250726
+ good = goodDeployment.url;
250727
+ }
250728
+ else {
250729
+ output.error(`Failed to retrieve ${chalk_1.default.bold('good')} Deployment: ${good}`);
250730
+ return 1;
250731
+ }
250732
+ if (projectId !== goodDeployment.projectId) {
250733
+ output.error(`Good and Bad deployments must be from the same Project`);
250734
+ return 1;
250735
+ }
250736
+ if (badDeployment.createdAt < goodDeployment.createdAt) {
250737
+ output.error(`Good deployment must be older than the Bad deployment`);
250738
+ return 1;
250739
+ }
250740
+ if (badDeployment.target !== goodDeployment.target) {
250741
+ output.error(`Bad deployment target "${badDeployment.target || 'preview'}" does not match good deployment target "${goodDeployment.target || 'preview'}"`);
250742
+ return 1;
250743
+ }
250744
+ // Fetch all the project's "READY" deployments with the pagination API
250745
+ let deployments = [];
250746
+ let next = badDeployment.createdAt + 1;
250747
+ do {
250748
+ const query = new url_1.URLSearchParams();
250749
+ query.set('projectId', projectId);
250750
+ if (badDeployment.target) {
250751
+ query.set('target', badDeployment.target);
250752
+ }
250753
+ query.set('limit', '100');
250754
+ query.set('state', 'READY');
250755
+ if (next) {
250756
+ query.set('until', String(next));
250757
+ }
250758
+ const res = await client.fetch(`/v6/deployments?${query}`, {
250759
+ accountId: badDeployment.ownerId,
250760
+ });
250761
+ next = res.pagination.next;
250762
+ let newDeployments = res.deployments;
250763
+ // If we have the "good" deployment in this chunk, then we're done
250764
+ for (let i = 0; i < newDeployments.length; i++) {
250765
+ if (newDeployments[i].url === good) {
250766
+ newDeployments = newDeployments.slice(0, i + 1);
250767
+ next = undefined;
250768
+ break;
250769
+ }
250770
+ }
250771
+ deployments = deployments.concat(newDeployments);
250772
+ if (next) {
250773
+ // Small sleep to avoid rate limiting
250774
+ await sleep_1.default(100);
250775
+ }
250776
+ } while (next);
250777
+ if (!deployments.length) {
250778
+ output.error('Cannot bisect because this project does not have any deployments');
250779
+ return 1;
250780
+ }
250781
+ // The first deployment is the one that was marked
250782
+ // as "bad", so that one does not need to be tested
250783
+ let lastBad = deployments.shift();
250784
+ while (deployments.length > 0) {
250785
+ // Add a blank space before the next step
250786
+ output.print('\n');
250787
+ const middleIndex = Math.floor(deployments.length / 2);
250788
+ const deployment = deployments[middleIndex];
250789
+ const rem = pluralize_1.default('deployment', deployments.length, true);
250790
+ const steps = Math.floor(Math.log2(deployments.length));
250791
+ const pSteps = pluralize_1.default('step', steps, true);
250792
+ output.log(chalk_1.default.magenta(`${chalk_1.default.bold('Bisecting:')} ${rem} left to test after this (roughly ${pSteps})`), chalk_1.default.magenta);
250793
+ const testUrl = `https://${deployment.url}${subpath}`;
250794
+ output.log(`${chalk_1.default.bold('Deployment URL:')} ${link_1.default(testUrl)}`);
250795
+ output.log(`${chalk_1.default.bold('Date:')} ${format_date_1.default(deployment.createdAt)}`);
250796
+ const commit = getCommit(deployment);
250797
+ if (commit) {
250798
+ const shortSha = commit.sha.substring(0, 7);
250799
+ const firstLine = commit.message.split('\n')[0];
250800
+ output.log(`${chalk_1.default.bold('Commit:')} [${shortSha}] ${firstLine}`);
250801
+ }
250802
+ let action;
250803
+ if (run) {
250804
+ const proc = await execa_1.default(run, [testUrl], {
250805
+ stdio: 'inherit',
250806
+ reject: false,
250807
+ env: {
250808
+ ...process.env,
250809
+ HOST: deployment.url,
250810
+ URL: testUrl,
250811
+ },
250812
+ });
250813
+ if (proc instanceof Error && typeof proc.exitCode !== 'number') {
250814
+ // Script does not exist or is not executable, so exit
250815
+ output.prettyError(proc);
250816
+ return 1;
250817
+ }
250818
+ const { exitCode } = proc;
250819
+ let color;
250820
+ if (exitCode === 0) {
250821
+ color = chalk_1.default.green;
250822
+ action = 'good';
250823
+ }
250824
+ else if (exitCode === 125) {
250825
+ action = 'skip';
250826
+ color = chalk_1.default.grey;
250827
+ }
250828
+ else {
250829
+ action = 'bad';
250830
+ color = chalk_1.default.red;
250831
+ }
250832
+ output.log(`Run script returned exit code ${chalk_1.default.bold(String(exitCode))}: ${color(action)}`);
250833
+ }
250834
+ else {
250835
+ if (openEnabled) {
250836
+ await open_1.default(testUrl);
250837
+ }
250838
+ const answer = await inquirer_1.default.prompt({
250839
+ type: 'expand',
250840
+ name: 'action',
250841
+ message: 'Select an action:',
250842
+ choices: [
250843
+ { key: 'g', name: 'Good', value: 'good' },
250844
+ { key: 'b', name: 'Bad', value: 'bad' },
250845
+ { key: 's', name: 'Skip', value: 'skip' },
250846
+ ],
250847
+ });
250848
+ action = answer.action;
250849
+ }
250850
+ if (action === 'good') {
250851
+ deployments = deployments.slice(0, middleIndex);
250852
+ }
250853
+ else if (action === 'bad') {
250854
+ lastBad = deployment;
250855
+ deployments = deployments.slice(middleIndex + 1);
250856
+ }
250857
+ else if (action === 'skip') {
250858
+ deployments.splice(middleIndex, 1);
250859
+ }
250860
+ }
250861
+ output.print('\n');
250862
+ let result = [
250863
+ chalk_1.default.bold(`The first bad deployment is: ${link_1.default(`https://${lastBad.url}`)}`),
250864
+ '',
250865
+ ` ${chalk_1.default.bold('Date:')} ${format_date_1.default(lastBad.createdAt)}`,
250866
+ ];
250867
+ const commit = getCommit(lastBad);
250868
+ if (commit) {
250869
+ const shortSha = commit.sha.substring(0, 7);
250870
+ const firstLine = commit.message.split('\n')[0];
250871
+ result.push(` ${chalk_1.default.bold('Commit:')} [${shortSha}] ${firstLine}`);
250872
+ }
250873
+ result.push(`${chalk_1.default.bold('Inspect:')} ${link_1.default(lastBad.inspectorUrl)}`);
250874
+ output.print(boxen_1.default(result.join('\n'), { padding: 1 }));
250875
+ output.print('\n');
250876
+ return 0;
250877
+ }
250878
+ exports.default = main;
250879
+ function getDeployment(client, hostname) {
250880
+ const query = new url_1.URLSearchParams();
250881
+ query.set('url', hostname);
250882
+ query.set('resolve', '1');
250883
+ query.set('noState', '1');
250884
+ return client.fetch(`/v10/deployments/get?${query}`);
250885
+ }
250886
+ function getCommit(deployment) {
250887
+ var _a, _b, _c, _d, _e, _f;
250888
+ const sha = ((_a = deployment.meta) === null || _a === void 0 ? void 0 : _a.githubCommitSha) ||
250889
+ ((_b = deployment.meta) === null || _b === void 0 ? void 0 : _b.gitlabCommitSha) ||
250890
+ ((_c = deployment.meta) === null || _c === void 0 ? void 0 : _c.bitbucketCommitSha);
250891
+ if (!sha)
250892
+ return null;
250893
+ const message = ((_d = deployment.meta) === null || _d === void 0 ? void 0 : _d.githubCommitMessage) ||
250894
+ ((_e = deployment.meta) === null || _e === void 0 ? void 0 : _e.gitlabCommitMessage) ||
250895
+ ((_f = deployment.meta) === null || _f === void 0 ? void 0 : _f.bitbucketCommitMessage);
250896
+ return { sha, message };
250897
+ }
250898
+ async function prompt(output, message) {
250899
+ // eslint-disable-next-line no-constant-condition
250900
+ while (true) {
250901
+ const { val } = await inquirer_1.default.prompt({
250902
+ type: 'input',
250903
+ name: 'val',
250904
+ message,
250905
+ });
250906
+ if (val) {
250907
+ return val;
250908
+ }
250909
+ else {
250910
+ output.error('A value must be specified');
250911
+ }
250912
+ }
250913
+ }
250914
+
250915
+
250537
250916
  /***/ }),
250538
250917
 
250539
250918
  /***/ 11004:
@@ -251796,6 +252175,7 @@ const help = () => `
251796
252175
  ${chalk_1.default.dim('Advanced')}
251797
252176
 
251798
252177
  rm | remove [id] Removes a deployment
252178
+ bisect Use binary search to find the deployment that introduced a bug
251799
252179
  domains [name] Manages your domain names
251800
252180
  projects Manages your Projects
251801
252181
  dns [name] Manages your DNS records
@@ -252566,9 +252946,10 @@ const logo_1 = __importDefault(__webpack_require__(9829));
252566
252946
  const cmd_1 = __importDefault(__webpack_require__(87350));
252567
252947
  const highlight_1 = __importDefault(__webpack_require__(8199));
252568
252948
  const dev_1 = __importDefault(__webpack_require__(27447));
252569
- const read_package_1 = __importDefault(__webpack_require__(79181));
252570
252949
  const read_config_1 = __importDefault(__webpack_require__(89735));
252950
+ const read_json_file_1 = __importDefault(__webpack_require__(16898));
252571
252951
  const pkg_name_1 = __webpack_require__(98106);
252952
+ const errors_ts_1 = __webpack_require__(60156);
252572
252953
  const COMMAND_CONFIG = {
252573
252954
  dev: ['dev'],
252574
252955
  };
@@ -252598,6 +252979,7 @@ const help = () => {
252598
252979
  `);
252599
252980
  };
252600
252981
  async function main(client) {
252982
+ var _a;
252601
252983
  if (process.env.__VERCEL_DEV_RUNNING) {
252602
252984
  client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} dev`)} must not recursively invoke itself. Check the Development Command in the Project Settings or the ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')}`);
252603
252985
  client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
@@ -252633,20 +253015,21 @@ async function main(client) {
252633
253015
  return 2;
252634
253016
  }
252635
253017
  const [dir = '.'] = args;
252636
- const nowJson = await read_config_1.default(dir);
252637
- // @ts-ignore: Because `nowJson` could be one of three different types
252638
- const hasBuilds = nowJson && nowJson.builds && nowJson.builds.length > 0;
252639
- if (!nowJson || !hasBuilds) {
252640
- const pkg = await read_package_1.default(path_1.default.join(dir, 'package.json'));
252641
- if (pkg) {
252642
- const { scripts } = pkg;
252643
- if (scripts &&
252644
- scripts.dev &&
252645
- /\b(now|vercel)\b\W+\bdev\b/.test(scripts.dev)) {
252646
- client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} dev`)} must not recursively invoke itself. Check the Development Command in the Project Settings or the ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')}`);
252647
- client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
252648
- return 1;
252649
- }
253018
+ const vercelConfig = await read_config_1.default(dir);
253019
+ const hasBuilds = vercelConfig &&
253020
+ 'builds' in vercelConfig &&
253021
+ vercelConfig.builds &&
253022
+ vercelConfig.builds.length > 0;
253023
+ if (!vercelConfig || !hasBuilds) {
253024
+ const pkg = await read_json_file_1.default(path_1.default.join(dir, 'package.json'));
253025
+ if (pkg instanceof errors_ts_1.CantParseJSONFile) {
253026
+ client.output.error('Could not parse package.json');
253027
+ return 1;
253028
+ }
253029
+ if (/\b(now|vercel)\b\W+\bdev\b/.test(((_a = pkg === null || pkg === void 0 ? void 0 : pkg.scripts) === null || _a === void 0 ? void 0 : _a.dev) || '')) {
253030
+ client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} dev`)} must not recursively invoke itself. Check the Development Command in the Project Settings or the ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')}`);
253031
+ client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
253032
+ return 1;
252650
253033
  }
252651
253034
  }
252652
253035
  if (argv._.length > 2) {
@@ -254704,6 +255087,7 @@ exports.default = new Map([
254704
255087
  ['alias', 'alias'],
254705
255088
  ['aliases', 'alias'],
254706
255089
  ['billing', 'billing'],
255090
+ ['bisect', 'bisect'],
254707
255091
  ['build', 'build'],
254708
255092
  ['cc', 'billing'],
254709
255093
  ['cert', 'certs'],
@@ -257422,8 +257806,7 @@ const main = async () => {
257422
257806
  // * a path to deploy (as in: `vercel path/`)
257423
257807
  // * a subcommand (as in: `vercel ls`)
257424
257808
  const targetOrSubcommand = argv._[2];
257425
- const isBuildOrDev = targetOrSubcommand === 'build' || targetOrSubcommand === 'dev';
257426
- if (isBuildOrDev) {
257809
+ if (targetOrSubcommand === 'build') {
257427
257810
  console.log(`${chalk_1.default.grey(`${pkg_name_1.getTitleName()} CLI ${pkg_1.default.version} ${targetOrSubcommand} (beta) — https://vercel.com/feedback`)}`);
257428
257811
  }
257429
257812
  else {
@@ -257759,6 +258142,9 @@ const main = async () => {
257759
258142
  case 'billing':
257760
258143
  func = await Promise.resolve().then(() => __importStar(__webpack_require__(94344)));
257761
258144
  break;
258145
+ case 'bisect':
258146
+ func = await Promise.resolve().then(() => __importStar(__webpack_require__(76792)));
258147
+ break;
257762
258148
  case 'build':
257763
258149
  func = await Promise.resolve().then(() => __importStar(__webpack_require__(11004)));
257764
258150
  break;
@@ -258520,7 +258906,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
258520
258906
  const ERRORS = __importStar(__webpack_require__(60156));
258521
258907
  async function getCertById(client, id) {
258522
258908
  try {
258523
- return await client.fetch(`/v5/now/certs/${id}`);
258909
+ return await client.fetch(`/v6/now/certs/${id}`);
258524
258910
  }
258525
258911
  catch (error) {
258526
258912
  if (error.code === 'cert_not_found') {
@@ -263661,7 +264047,7 @@ const chalk_1 = __importDefault(__webpack_require__(961));
263661
264047
  async function getDomain(client, contextName, domainName) {
263662
264048
  client.output.spinner(`Fetching domain ${domainName} under ${chalk_1.default.bold(contextName)}`);
263663
264049
  try {
263664
- const { domain } = await client.fetch(`/v4/domains/${domainName}`);
264050
+ const { domain } = await client.fetch(`/v5/domains/${domainName}`);
263665
264051
  return domain;
263666
264052
  }
263667
264053
  catch (error) {
@@ -264104,9 +264490,7 @@ const ERRORS = __importStar(__webpack_require__(60156));
264104
264490
  const add_domain_1 = __importDefault(__webpack_require__(41377));
264105
264491
  const maybe_get_domain_by_name_1 = __importDefault(__webpack_require__(38977));
264106
264492
  const purchase_domain_if_available_1 = __importDefault(__webpack_require__(29211));
264107
- const verify_domain_1 = __importDefault(__webpack_require__(9603));
264108
264493
  const extract_domain_1 = __importDefault(__webpack_require__(4318));
264109
- const is_wildcard_alias_1 = __importDefault(__webpack_require__(72249));
264110
264494
  async function setupDomain(output, client, alias, contextName) {
264111
264495
  const aliasDomain = extract_domain_1.default(alias);
264112
264496
  output.debug(`Trying to fetch domain ${aliasDomain} by name`);
@@ -264117,26 +264501,6 @@ async function setupDomain(output, client, alias, contextName) {
264117
264501
  if (info) {
264118
264502
  const { name: domain } = info;
264119
264503
  output.debug(`Domain ${domain} found for the given context`);
264120
- if (!info.verified || (!info.nsVerifiedAt && is_wildcard_alias_1.default(alias))) {
264121
- output.debug(`Domain ${domain} is not verified, trying to perform a verification`);
264122
- const verificationResult = await verify_domain_1.default(client, domain, contextName);
264123
- if (verificationResult instanceof ERRORS.DomainVerificationFailed) {
264124
- output.debug(`Domain ${domain} verification failed`);
264125
- return verificationResult;
264126
- }
264127
- if (!verificationResult.nsVerifiedAt && is_wildcard_alias_1.default(alias)) {
264128
- return new ERRORS.DomainNsNotVerifiedForWildcard({
264129
- domain,
264130
- nsVerification: {
264131
- intendedNameservers: verificationResult.intendedNameservers,
264132
- nameservers: verificationResult.nameservers,
264133
- },
264134
- });
264135
- }
264136
- output.debug(`Domain ${domain} successfuly verified`);
264137
- return maybe_get_domain_by_name_1.default(client, contextName, domain);
264138
- }
264139
- output.debug(`Domain ${domain} is already verified`);
264140
264504
  return info;
264141
264505
  }
264142
264506
  output.debug(`The domain ${aliasDomain} was not found, trying to purchase it`);
@@ -264159,35 +264523,12 @@ async function setupDomain(output, client, alias, contextName) {
264159
264523
  if (addResult instanceof now_error_1.NowError) {
264160
264524
  return addResult;
264161
264525
  }
264162
- if (!addResult.verified) {
264163
- const verificationResult = await verify_domain_1.default(client, domain, contextName);
264164
- if (verificationResult instanceof ERRORS.DomainVerificationFailed) {
264165
- output.debug(`Domain ${domain} was added but it couldn't be verified`);
264166
- return verificationResult;
264167
- }
264168
- output.debug(`Domain ${domain} successfuly added and manually verified`);
264169
- return verificationResult;
264170
- }
264171
264526
  output.debug(`Domain ${domain} successfuly added and automatically verified`);
264172
264527
  return addResult;
264173
264528
  }
264174
264529
  output.debug(`The domain ${aliasDomain} was successfuly purchased`);
264175
264530
  const purchasedDomain = (await maybe_get_domain_by_name_1.default(client, contextName, aliasDomain));
264176
264531
  const { name: domain } = purchasedDomain;
264177
- if (!purchasedDomain.verified) {
264178
- const verificationResult = await verify_domain_1.default(client, domain, contextName);
264179
- if (verificationResult instanceof ERRORS.DomainVerificationFailed) {
264180
- output.debug(`Domain ${domain} was purchased but verification is still pending`);
264181
- return new ERRORS.DomainVerificationFailed({
264182
- domain: verificationResult.meta.domain,
264183
- nsVerification: verificationResult.meta.nsVerification,
264184
- txtVerification: verificationResult.meta.txtVerification,
264185
- purchased: true,
264186
- });
264187
- }
264188
- output.debug(`Domain ${domain} was purchased and it was manually verified`);
264189
- return maybe_get_domain_by_name_1.default(client, contextName, domain);
264190
- }
264191
264532
  output.debug(`Domain ${domain} was purchased and it is automatically verified`);
264192
264533
  return maybe_get_domain_by_name_1.default(client, contextName, domain);
264193
264534
  }
@@ -264254,66 +264595,6 @@ async function transferInDomain(client, name, authCode, expectedPrice) {
264254
264595
  exports.default = transferInDomain;
264255
264596
 
264256
264597
 
264257
- /***/ }),
264258
-
264259
- /***/ 9603:
264260
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
264261
-
264262
- "use strict";
264263
-
264264
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
264265
- if (k2 === undefined) k2 = k;
264266
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
264267
- }) : (function(o, m, k, k2) {
264268
- if (k2 === undefined) k2 = k;
264269
- o[k2] = m[k];
264270
- }));
264271
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
264272
- Object.defineProperty(o, "default", { enumerable: true, value: v });
264273
- }) : function(o, v) {
264274
- o["default"] = v;
264275
- });
264276
- var __importStar = (this && this.__importStar) || function (mod) {
264277
- if (mod && mod.__esModule) return mod;
264278
- var result = {};
264279
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
264280
- __setModuleDefault(result, mod);
264281
- return result;
264282
- };
264283
- var __importDefault = (this && this.__importDefault) || function (mod) {
264284
- return (mod && mod.__esModule) ? mod : { "default": mod };
264285
- };
264286
- Object.defineProperty(exports, "__esModule", ({ value: true }));
264287
- const chalk_1 = __importDefault(__webpack_require__(961));
264288
- const async_retry_1 = __importDefault(__webpack_require__(15596));
264289
- const ERRORS = __importStar(__webpack_require__(60156));
264290
- async function verifyDomain(client, domainName, contextName) {
264291
- client.output.spinner(`Verifying domain ${domainName} under ${chalk_1.default.bold(contextName)}`);
264292
- try {
264293
- const { domain } = await performVerifyDomain(client, domainName);
264294
- return domain;
264295
- }
264296
- catch (error) {
264297
- if (error.code === 'verification_failed') {
264298
- return new ERRORS.DomainVerificationFailed({
264299
- purchased: false,
264300
- domain: error.name,
264301
- nsVerification: error.nsVerification,
264302
- txtVerification: error.txtVerification,
264303
- });
264304
- }
264305
- throw error;
264306
- }
264307
- }
264308
- exports.default = verifyDomain;
264309
- async function performVerifyDomain(client, domain) {
264310
- return async_retry_1.default(async () => client.fetch(`/v4/domains/${encodeURIComponent(domain)}/verify`, {
264311
- body: {},
264312
- method: 'POST',
264313
- }), { retries: 5, maxTimeout: 8000 });
264314
- }
264315
-
264316
-
264317
264598
  /***/ }),
264318
264599
 
264319
264600
  /***/ 41806:
@@ -264593,8 +264874,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
264593
264874
  return (mod && mod.__esModule) ? mod : { "default": mod };
264594
264875
  };
264595
264876
  Object.defineProperty(exports, "__esModule", ({ value: true }));
264596
- exports.DNSConflictingRecord = exports.DNSInvalidType = exports.DNSInvalidPort = exports.DNSPermissionDenied = exports.InvalidCert = exports.InvalidAliasInConfig = exports.NoAliasInConfig = exports.FileNotFound = exports.WorkingDirectoryDoesNotExist = exports.CantFindConfig = exports.ConflictingConfigFiles = exports.CantParseJSONFile = exports.CertMissing = exports.AliasInUse = exports.InvalidAlias = exports.DeploymentPermissionDenied = exports.DeploymentFailedAliasImpossible = exports.DeploymentNotReady = exports.DeploymentNotFound = exports.CertConfigurationError = exports.CertError = exports.TooManyRequests = exports.CertOrderNotFound = exports.CertsPermissionDenied = exports.CertNotFound = exports.UserAborted = exports.DomainPurchasePending = exports.DomainPaymentError = exports.UnexpectedDomainPurchaseError = exports.DomainNotTransferable = exports.DomainServiceNotAvailable = exports.DomainNotAvailable = exports.UnsupportedTLD = exports.InvalidDeploymentId = exports.NotDomainOwner = exports.InvalidDomain = exports.DomainNsNotVerifiedForWildcard = exports.DomainVerificationFailed = exports.DomainNotVerified = exports.DomainNotFound = exports.DomainRegistrationFailed = exports.InvalidTransferAuthCode = exports.SourceNotFound = exports.DomainExternal = exports.DomainPermissionDenied = exports.DomainAlreadyExists = exports.MissingUser = exports.InvalidToken = exports.TeamDeleted = exports.APIError = void 0;
264597
- exports.BuildError = exports.ConflictingPathSegment = exports.ConflictingFilePath = exports.MissingBuildScript = exports.AliasDomainConfigured = exports.ProjectNotFound = exports.BuildsRateLimited = exports.DeploymentsRateLimited = exports.MissingDotenvVarsError = exports.LambdaSizeExceededError = exports.NoBuilderCacheError = exports.InvalidMoveToken = exports.InvalidMoveDestination = exports.AccountNotFound = exports.InvalidEmail = exports.DomainMoveConflict = exports.DomainRemovalConflict = void 0;
264877
+ exports.DomainRemovalConflict = exports.DNSConflictingRecord = exports.DNSInvalidType = exports.DNSInvalidPort = exports.DNSPermissionDenied = exports.InvalidCert = exports.InvalidAliasInConfig = exports.NoAliasInConfig = exports.FileNotFound = exports.WorkingDirectoryDoesNotExist = exports.CantFindConfig = exports.ConflictingConfigFiles = exports.CantParseJSONFile = exports.CertMissing = exports.AliasInUse = exports.InvalidAlias = exports.DeploymentPermissionDenied = exports.DeploymentFailedAliasImpossible = exports.DeploymentNotReady = exports.DeploymentNotFound = exports.CertConfigurationError = exports.CertError = exports.TooManyRequests = exports.CertOrderNotFound = exports.CertsPermissionDenied = exports.CertNotFound = exports.UserAborted = exports.DomainPurchasePending = exports.DomainPaymentError = exports.UnexpectedDomainPurchaseError = exports.DomainNotTransferable = exports.DomainServiceNotAvailable = exports.DomainNotAvailable = exports.UnsupportedTLD = exports.InvalidDeploymentId = exports.NotDomainOwner = exports.InvalidDomain = exports.DomainVerificationFailed = exports.DomainNotVerified = exports.DomainNotFound = exports.DomainRegistrationFailed = exports.InvalidTransferAuthCode = exports.SourceNotFound = exports.DomainExternal = exports.DomainPermissionDenied = exports.DomainAlreadyExists = exports.MissingUser = exports.InvalidToken = exports.TeamDeleted = exports.APIError = void 0;
264878
+ exports.BuildError = exports.ConflictingPathSegment = exports.ConflictingFilePath = exports.MissingBuildScript = exports.AliasDomainConfigured = exports.ProjectNotFound = exports.BuildsRateLimited = exports.DeploymentsRateLimited = exports.MissingDotenvVarsError = exports.LambdaSizeExceededError = exports.NoBuilderCacheError = exports.InvalidMoveToken = exports.InvalidMoveDestination = exports.AccountNotFound = exports.InvalidEmail = exports.DomainMoveConflict = void 0;
264598
264879
  const bytes_1 = __importDefault(__webpack_require__(1446));
264599
264880
  const build_utils_1 = __webpack_require__(3131);
264600
264881
  const now_error_1 = __webpack_require__(43043);
@@ -264782,19 +265063,6 @@ class DomainVerificationFailed extends now_error_1.NowError {
264782
265063
  }
264783
265064
  }
264784
265065
  exports.DomainVerificationFailed = DomainVerificationFailed;
264785
- /**
264786
- * This error is returned when the domain is not verified by nameservers for wildcard alias.
264787
- */
264788
- class DomainNsNotVerifiedForWildcard extends now_error_1.NowError {
264789
- constructor({ domain, nsVerification, }) {
264790
- super({
264791
- code: 'DOMAIN_NS_NOT_VERIFIED_FOR_WILDCARD',
264792
- meta: { domain, nsVerification },
264793
- message: `The domain ${domain} is not verified by nameservers for wildcard alias.`,
264794
- });
264795
- }
264796
- }
264797
- exports.DomainNsNotVerifiedForWildcard = DomainNsNotVerifiedForWildcard;
264798
265066
  /**
264799
265067
  * Used when a domain is validated because we tried to add it to an account
264800
265068
  * via API or for any other reason.
@@ -265849,7 +266117,6 @@ const client_1 = __webpack_require__(20192);
265849
266117
  const errors_ts_1 = __webpack_require__(60156);
265850
266118
  const humanize_path_1 = __importDefault(__webpack_require__(45090));
265851
266119
  const read_json_file_1 = __importDefault(__webpack_require__(16898));
265852
- const read_package_1 = __importDefault(__webpack_require__(79181));
265853
266120
  let config;
265854
266121
  async function getConfig(output, configFile) {
265855
266122
  // If config was already read, just return it
@@ -265908,29 +266175,10 @@ async function getConfig(output, configFile) {
265908
266175
  config[client_1.fileNameSymbol] = 'now.json';
265909
266176
  return config;
265910
266177
  }
265911
- // Finally try with the package
265912
- const pkgFilePath = path_1.default.resolve(localPath, 'package.json');
265913
- const pkgConfig = await readConfigFromPackage(pkgFilePath);
265914
- if (pkgConfig instanceof errors_ts_1.CantParseJSONFile) {
265915
- return pkgConfig;
265916
- }
265917
- if (pkgConfig) {
265918
- output.debug(`Found config in package ${pkgFilePath}`);
265919
- config = pkgConfig;
265920
- config[client_1.fileNameSymbol] = 'package.json';
265921
- return config;
265922
- }
265923
266178
  // If we couldn't find the config anywhere return error
265924
- return new errors_ts_1.CantFindConfig([vercelFilePath, nowFilePath, pkgFilePath].map(humanize_path_1.default));
266179
+ return new errors_ts_1.CantFindConfig([vercelFilePath, nowFilePath].map(humanize_path_1.default));
265925
266180
  }
265926
266181
  exports.default = getConfig;
265927
- async function readConfigFromPackage(file) {
265928
- const result = await read_package_1.default(file);
265929
- if (result instanceof errors_ts_1.CantParseJSONFile) {
265930
- return result;
265931
- }
265932
- return result !== null ? result.now : null;
265933
- }
265934
266182
 
265935
266183
 
265936
266184
  /***/ }),
@@ -270497,34 +270745,6 @@ async function readFileSafe(file) {
270497
270745
  }
270498
270746
 
270499
270747
 
270500
- /***/ }),
270501
-
270502
- /***/ 79181:
270503
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
270504
-
270505
- "use strict";
270506
-
270507
- var __importDefault = (this && this.__importDefault) || function (mod) {
270508
- return (mod && mod.__esModule) ? mod : { "default": mod };
270509
- };
270510
- Object.defineProperty(exports, "__esModule", ({ value: true }));
270511
- const path_1 = __importDefault(__webpack_require__(85622));
270512
- const errors_ts_1 = __webpack_require__(60156);
270513
- const read_json_file_1 = __importDefault(__webpack_require__(16898));
270514
- async function readPackage(file) {
270515
- const pkgFilePath = file || path_1.default.resolve(process.cwd(), 'package.json');
270516
- const result = await read_json_file_1.default(pkgFilePath);
270517
- if (result instanceof errors_ts_1.CantParseJSONFile) {
270518
- return result;
270519
- }
270520
- if (result) {
270521
- return result;
270522
- }
270523
- return null;
270524
- }
270525
- exports.default = readPackage;
270526
-
270527
-
270528
270748
  /***/ }),
270529
270749
 
270530
270750
  /***/ 71494:
@@ -271377,7 +271597,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
271377
271597
  /***/ ((module) => {
271378
271598
 
271379
271599
  "use strict";
271380
- module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.70\",\"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.45\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.2\",\"@vercel/ruby\":\"1.2.10-canary.0\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.22\",\"vercel-plugin-node\":\"1.12.2-canary.37\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/client\":\"10.2.3-canary.48\",\"@vercel/frameworks\":\"0.5.1-canary.18\",\"@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\":\"ca433a467956e29b3e206034b68bd9de681145fe\"}");
271600
+ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.74\",\"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.13.1-canary.1\",\"@vercel/go\":\"1.2.4-canary.6\",\"@vercel/node\":\"1.12.2-canary.9\",\"@vercel/python\":\"2.1.2-canary.4\",\"@vercel/ruby\":\"1.2.10-canary.2\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.26\",\"vercel-plugin-node\":\"1.12.2-canary.41\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/client\":\"10.2.3-canary.52\",\"@vercel/fetch-retry\":\"5.0.3\",\"@vercel/frameworks\":\"0.5.1-canary.21\",\"@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.4.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\":\"ab1decf79da76e85f7f562d1c4ee5e5dcf4c2a17\"}");
271381
271601
 
271382
271602
  /***/ }),
271383
271603
 
@@ -271393,7 +271613,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
271393
271613
  /***/ ((module) => {
271394
271614
 
271395
271615
  "use strict";
271396
- module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.48\",\"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.45\",\"@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\":\"ca433a467956e29b3e206034b68bd9de681145fe\"}");
271616
+ module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.52\",\"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.13.1-canary.1\",\"@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\":\"ab1decf79da76e85f7f562d1c4ee5e5dcf4c2a17\"}");
271397
271617
 
271398
271618
  /***/ }),
271399
271619