vercel 23.1.3-canary.38 → 23.1.3-canary.39
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.
- package/dist/index.js +371 -229
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -210844,7 +210844,7 @@ exports.frameworks = [
|
|
210844
210844
|
tagline: 'Gatsby helps developers build blazing fast websites and apps with React.',
|
210845
210845
|
description: 'A Gatsby app, using the default starter theme and a Serverless Function API.',
|
210846
210846
|
website: 'https://gatsbyjs.org',
|
210847
|
-
sort:
|
210847
|
+
sort: 5,
|
210848
210848
|
envPrefix: 'GATSBY_',
|
210849
210849
|
detectors: {
|
210850
210850
|
every: [
|
@@ -210919,6 +210919,73 @@ exports.frameworks = [
|
|
210919
210919
|
},
|
210920
210920
|
cachePattern: '{.cache,public}/**',
|
210921
210921
|
},
|
210922
|
+
{
|
210923
|
+
name: 'Remix',
|
210924
|
+
slug: 'remix',
|
210925
|
+
demo: 'https://remix.examples.vercel.com',
|
210926
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix.svg',
|
210927
|
+
tagline: 'Build Better Websites',
|
210928
|
+
description: 'A new Remix app — the result of running `npx create-remix`.',
|
210929
|
+
website: 'https://remix.run',
|
210930
|
+
sort: 6,
|
210931
|
+
detectors: {
|
210932
|
+
every: [
|
210933
|
+
{
|
210934
|
+
path: 'package.json',
|
210935
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"remix":\\s*".+?"[^}]*}',
|
210936
|
+
},
|
210937
|
+
],
|
210938
|
+
},
|
210939
|
+
settings: {
|
210940
|
+
installCommand: {
|
210941
|
+
placeholder: '`yarn install` or `npm install`',
|
210942
|
+
},
|
210943
|
+
buildCommand: {
|
210944
|
+
value: 'remix build',
|
210945
|
+
placeholder: '`npm run build` or `remix build`',
|
210946
|
+
},
|
210947
|
+
devCommand: {
|
210948
|
+
value: 'remix dev',
|
210949
|
+
placeholder: 'remix dev',
|
210950
|
+
},
|
210951
|
+
outputDirectory: {
|
210952
|
+
value: 'public',
|
210953
|
+
},
|
210954
|
+
},
|
210955
|
+
dependency: 'remix',
|
210956
|
+
getFsOutputDir: async () => 'public',
|
210957
|
+
getOutputDirName: async () => 'public',
|
210958
|
+
defaultRoutes: [
|
210959
|
+
{
|
210960
|
+
src: '^/build/(.*)$',
|
210961
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
210962
|
+
continue: true,
|
210963
|
+
},
|
210964
|
+
{
|
210965
|
+
handle: 'filesystem',
|
210966
|
+
},
|
210967
|
+
{
|
210968
|
+
src: '/(.*)',
|
210969
|
+
dest: '/api',
|
210970
|
+
},
|
210971
|
+
],
|
210972
|
+
defaultRewrites: [
|
210973
|
+
{
|
210974
|
+
source: '/(.*)',
|
210975
|
+
regex: '/(.*)',
|
210976
|
+
destination: '/api',
|
210977
|
+
},
|
210978
|
+
],
|
210979
|
+
defaultHeaders: [
|
210980
|
+
{
|
210981
|
+
source: '^/build/(.*)$',
|
210982
|
+
regex: '^/build/(.*)$',
|
210983
|
+
headers: [
|
210984
|
+
{ key: 'cache-control', value: 'public, max-age=31536000, immutable' },
|
210985
|
+
],
|
210986
|
+
},
|
210987
|
+
]
|
210988
|
+
},
|
210922
210989
|
{
|
210923
210990
|
name: 'Hexo',
|
210924
210991
|
slug: 'hexo',
|
@@ -210927,7 +210994,6 @@ exports.frameworks = [
|
|
210927
210994
|
tagline: 'Hexo is a fast, simple & powerful blog framework powered by Node.js.',
|
210928
210995
|
description: 'A Hexo site, created with the Hexo CLI.',
|
210929
210996
|
website: 'https://hexo.io',
|
210930
|
-
sort: 3,
|
210931
210997
|
detectors: {
|
210932
210998
|
every: [
|
210933
210999
|
{
|
@@ -210964,7 +211030,6 @@ exports.frameworks = [
|
|
210964
211030
|
tagline: '11ty is a simpler static site generator written in JavaScript, created to be an alternative to Jekyll.',
|
210965
211031
|
description: 'An Eleventy site, created with npm init.',
|
210966
211032
|
website: 'https://www.11ty.dev',
|
210967
|
-
sort: 4,
|
210968
211033
|
detectors: {
|
210969
211034
|
every: [
|
210970
211035
|
{
|
@@ -211676,6 +211741,7 @@ exports.frameworks = [
|
|
211676
211741
|
tagline: 'Svelte lets you write high performance reactive apps with significantly less boilerplate.',
|
211677
211742
|
description: 'A basic Svelte app using the default template.',
|
211678
211743
|
website: 'https://svelte.dev',
|
211744
|
+
sort: 3,
|
211679
211745
|
detectors: {
|
211680
211746
|
every: [
|
211681
211747
|
{
|
@@ -211865,6 +211931,7 @@ exports.frameworks = [
|
|
211865
211931
|
tagline: 'Create React App allows you to get going with React in no time.',
|
211866
211932
|
description: 'A React app, bootstrapped with create-react-app, and a Serverless Function API.',
|
211867
211933
|
website: 'https://create-react-app.dev',
|
211934
|
+
sort: 4,
|
211868
211935
|
envPrefix: 'REACT_APP_',
|
211869
211936
|
detectors: {
|
211870
211937
|
some: [
|
@@ -212246,6 +212313,7 @@ exports.frameworks = [
|
|
212246
212313
|
tagline: 'Nuxt.js is the web comprehensive framework that lets you dream big with Vue.js.',
|
212247
212314
|
description: 'A Nuxt.js app, bootstrapped with create-nuxt-app.',
|
212248
212315
|
website: 'https://nuxtjs.org',
|
212316
|
+
sort: 2,
|
212249
212317
|
envPrefix: 'NUXT_ENV_',
|
212250
212318
|
detectors: {
|
212251
212319
|
every: [
|
@@ -212339,7 +212407,6 @@ exports.frameworks = [
|
|
212339
212407
|
tagline: 'Hugo is the world’s fastest framework for building websites, written in Go.',
|
212340
212408
|
description: 'A Hugo site, created with the Hugo CLI.',
|
212341
212409
|
website: 'https://gohugo.io',
|
212342
|
-
sort: 5,
|
212343
212410
|
detectors: {
|
212344
212411
|
some: [
|
212345
212412
|
{
|
@@ -212670,7 +212737,7 @@ exports.default = def;
|
|
212670
212737
|
/***/ }),
|
212671
212738
|
|
212672
212739
|
/***/ 3734:
|
212673
|
-
/***/ (function(__unused_webpack_module, exports,
|
212740
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_795929__) {
|
212674
212741
|
|
212675
212742
|
"use strict";
|
212676
212743
|
|
@@ -212679,9 +212746,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
212679
212746
|
};
|
212680
212747
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
212681
212748
|
exports.readConfigFile = void 0;
|
212682
|
-
const js_yaml_1 = __importDefault(
|
212683
|
-
const toml_1 = __importDefault(
|
212684
|
-
const fs_1 =
|
212749
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_795929__(641));
|
212750
|
+
const toml_1 = __importDefault(__nested_webpack_require_795929__(9434));
|
212751
|
+
const fs_1 = __nested_webpack_require_795929__(5747);
|
212685
212752
|
const { readFile } = fs_1.promises;
|
212686
212753
|
async function readFileOrNull(file) {
|
212687
212754
|
try {
|
@@ -212730,13 +212797,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
212730
212797
|
/***/ }),
|
212731
212798
|
|
212732
212799
|
/***/ 641:
|
212733
|
-
/***/ ((module, __unused_webpack_exports,
|
212800
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797535__) => {
|
212734
212801
|
|
212735
212802
|
"use strict";
|
212736
212803
|
|
212737
212804
|
|
212738
212805
|
|
212739
|
-
var yaml =
|
212806
|
+
var yaml = __nested_webpack_require_797535__(9633);
|
212740
212807
|
|
212741
212808
|
|
212742
212809
|
module.exports = yaml;
|
@@ -212745,14 +212812,14 @@ module.exports = yaml;
|
|
212745
212812
|
/***/ }),
|
212746
212813
|
|
212747
212814
|
/***/ 9633:
|
212748
|
-
/***/ ((module, __unused_webpack_exports,
|
212815
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797709__) => {
|
212749
212816
|
|
212750
212817
|
"use strict";
|
212751
212818
|
|
212752
212819
|
|
212753
212820
|
|
212754
|
-
var loader =
|
212755
|
-
var dumper =
|
212821
|
+
var loader = __nested_webpack_require_797709__(4349);
|
212822
|
+
var dumper = __nested_webpack_require_797709__(8047);
|
212756
212823
|
|
212757
212824
|
|
212758
212825
|
function deprecated(name) {
|
@@ -212762,25 +212829,25 @@ function deprecated(name) {
|
|
212762
212829
|
}
|
212763
212830
|
|
212764
212831
|
|
212765
|
-
module.exports.Type =
|
212766
|
-
module.exports.Schema =
|
212767
|
-
module.exports.FAILSAFE_SCHEMA =
|
212768
|
-
module.exports.JSON_SCHEMA =
|
212769
|
-
module.exports.CORE_SCHEMA =
|
212770
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
212771
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
212832
|
+
module.exports.Type = __nested_webpack_require_797709__(6876);
|
212833
|
+
module.exports.Schema = __nested_webpack_require_797709__(6105);
|
212834
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_797709__(8441);
|
212835
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_797709__(1486);
|
212836
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_797709__(1112);
|
212837
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_797709__(596);
|
212838
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_797709__(9647);
|
212772
212839
|
module.exports.load = loader.load;
|
212773
212840
|
module.exports.loadAll = loader.loadAll;
|
212774
212841
|
module.exports.safeLoad = loader.safeLoad;
|
212775
212842
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
212776
212843
|
module.exports.dump = dumper.dump;
|
212777
212844
|
module.exports.safeDump = dumper.safeDump;
|
212778
|
-
module.exports.YAMLException =
|
212845
|
+
module.exports.YAMLException = __nested_webpack_require_797709__(3237);
|
212779
212846
|
|
212780
212847
|
// Deprecated schema names from JS-YAML 2.0.x
|
212781
|
-
module.exports.MINIMAL_SCHEMA =
|
212782
|
-
module.exports.SAFE_SCHEMA =
|
212783
|
-
module.exports.DEFAULT_SCHEMA =
|
212848
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_797709__(8441);
|
212849
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_797709__(596);
|
212850
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_797709__(9647);
|
212784
212851
|
|
212785
212852
|
// Deprecated functions from JS-YAML 1.x.x
|
212786
212853
|
module.exports.scan = deprecated('scan');
|
@@ -212859,17 +212926,17 @@ module.exports.extend = extend;
|
|
212859
212926
|
/***/ }),
|
212860
212927
|
|
212861
212928
|
/***/ 8047:
|
212862
|
-
/***/ ((module, __unused_webpack_exports,
|
212929
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_800527__) => {
|
212863
212930
|
|
212864
212931
|
"use strict";
|
212865
212932
|
|
212866
212933
|
|
212867
212934
|
/*eslint-disable no-use-before-define*/
|
212868
212935
|
|
212869
|
-
var common =
|
212870
|
-
var YAMLException =
|
212871
|
-
var DEFAULT_FULL_SCHEMA =
|
212872
|
-
var DEFAULT_SAFE_SCHEMA =
|
212936
|
+
var common = __nested_webpack_require_800527__(903);
|
212937
|
+
var YAMLException = __nested_webpack_require_800527__(3237);
|
212938
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_800527__(9647);
|
212939
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_800527__(596);
|
212873
212940
|
|
212874
212941
|
var _toString = Object.prototype.toString;
|
212875
212942
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -213745,18 +213812,18 @@ module.exports = YAMLException;
|
|
213745
213812
|
/***/ }),
|
213746
213813
|
|
213747
213814
|
/***/ 4349:
|
213748
|
-
/***/ ((module, __unused_webpack_exports,
|
213815
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_828231__) => {
|
213749
213816
|
|
213750
213817
|
"use strict";
|
213751
213818
|
|
213752
213819
|
|
213753
213820
|
/*eslint-disable max-len,no-use-before-define*/
|
213754
213821
|
|
213755
|
-
var common =
|
213756
|
-
var YAMLException =
|
213757
|
-
var Mark =
|
213758
|
-
var DEFAULT_SAFE_SCHEMA =
|
213759
|
-
var DEFAULT_FULL_SCHEMA =
|
213822
|
+
var common = __nested_webpack_require_828231__(903);
|
213823
|
+
var YAMLException = __nested_webpack_require_828231__(3237);
|
213824
|
+
var Mark = __nested_webpack_require_828231__(4926);
|
213825
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_828231__(596);
|
213826
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_828231__(9647);
|
213760
213827
|
|
213761
213828
|
|
213762
213829
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -215378,13 +215445,13 @@ module.exports.safeLoad = safeLoad;
|
|
215378
215445
|
/***/ }),
|
215379
215446
|
|
215380
215447
|
/***/ 4926:
|
215381
|
-
/***/ ((module, __unused_webpack_exports,
|
215448
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_872098__) => {
|
215382
215449
|
|
215383
215450
|
"use strict";
|
215384
215451
|
|
215385
215452
|
|
215386
215453
|
|
215387
|
-
var common =
|
215454
|
+
var common = __nested_webpack_require_872098__(903);
|
215388
215455
|
|
215389
215456
|
|
215390
215457
|
function Mark(name, buffer, position, line, column) {
|
@@ -215462,16 +215529,16 @@ module.exports = Mark;
|
|
215462
215529
|
/***/ }),
|
215463
215530
|
|
215464
215531
|
/***/ 6105:
|
215465
|
-
/***/ ((module, __unused_webpack_exports,
|
215532
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_873760__) => {
|
215466
215533
|
|
215467
215534
|
"use strict";
|
215468
215535
|
|
215469
215536
|
|
215470
215537
|
/*eslint-disable max-len*/
|
215471
215538
|
|
215472
|
-
var common =
|
215473
|
-
var YAMLException =
|
215474
|
-
var Type =
|
215539
|
+
var common = __nested_webpack_require_873760__(903);
|
215540
|
+
var YAMLException = __nested_webpack_require_873760__(3237);
|
215541
|
+
var Type = __nested_webpack_require_873760__(6876);
|
215475
215542
|
|
215476
215543
|
|
215477
215544
|
function compileList(schema, name, result) {
|
@@ -215578,7 +215645,7 @@ module.exports = Schema;
|
|
215578
215645
|
/***/ }),
|
215579
215646
|
|
215580
215647
|
/***/ 1112:
|
215581
|
-
/***/ ((module, __unused_webpack_exports,
|
215648
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_876624__) => {
|
215582
215649
|
|
215583
215650
|
"use strict";
|
215584
215651
|
// Standard YAML's Core schema.
|
@@ -215591,12 +215658,12 @@ module.exports = Schema;
|
|
215591
215658
|
|
215592
215659
|
|
215593
215660
|
|
215594
|
-
var Schema =
|
215661
|
+
var Schema = __nested_webpack_require_876624__(6105);
|
215595
215662
|
|
215596
215663
|
|
215597
215664
|
module.exports = new Schema({
|
215598
215665
|
include: [
|
215599
|
-
|
215666
|
+
__nested_webpack_require_876624__(1486)
|
215600
215667
|
]
|
215601
215668
|
});
|
215602
215669
|
|
@@ -215604,7 +215671,7 @@ module.exports = new Schema({
|
|
215604
215671
|
/***/ }),
|
215605
215672
|
|
215606
215673
|
/***/ 9647:
|
215607
|
-
/***/ ((module, __unused_webpack_exports,
|
215674
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_877094__) => {
|
215608
215675
|
|
215609
215676
|
"use strict";
|
215610
215677
|
// JS-YAML's default schema for `load` function.
|
@@ -215619,17 +215686,17 @@ module.exports = new Schema({
|
|
215619
215686
|
|
215620
215687
|
|
215621
215688
|
|
215622
|
-
var Schema =
|
215689
|
+
var Schema = __nested_webpack_require_877094__(6105);
|
215623
215690
|
|
215624
215691
|
|
215625
215692
|
module.exports = Schema.DEFAULT = new Schema({
|
215626
215693
|
include: [
|
215627
|
-
|
215694
|
+
__nested_webpack_require_877094__(596)
|
215628
215695
|
],
|
215629
215696
|
explicit: [
|
215630
|
-
|
215631
|
-
|
215632
|
-
|
215697
|
+
__nested_webpack_require_877094__(5836),
|
215698
|
+
__nested_webpack_require_877094__(6841),
|
215699
|
+
__nested_webpack_require_877094__(8750)
|
215633
215700
|
]
|
215634
215701
|
});
|
215635
215702
|
|
@@ -215637,7 +215704,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
215637
215704
|
/***/ }),
|
215638
215705
|
|
215639
215706
|
/***/ 596:
|
215640
|
-
/***/ ((module, __unused_webpack_exports,
|
215707
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_877788__) => {
|
215641
215708
|
|
215642
215709
|
"use strict";
|
215643
215710
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -215650,22 +215717,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
215650
215717
|
|
215651
215718
|
|
215652
215719
|
|
215653
|
-
var Schema =
|
215720
|
+
var Schema = __nested_webpack_require_877788__(6105);
|
215654
215721
|
|
215655
215722
|
|
215656
215723
|
module.exports = new Schema({
|
215657
215724
|
include: [
|
215658
|
-
|
215725
|
+
__nested_webpack_require_877788__(1112)
|
215659
215726
|
],
|
215660
215727
|
implicit: [
|
215661
|
-
|
215662
|
-
|
215728
|
+
__nested_webpack_require_877788__(7028),
|
215729
|
+
__nested_webpack_require_877788__(7841)
|
215663
215730
|
],
|
215664
215731
|
explicit: [
|
215665
|
-
|
215666
|
-
|
215667
|
-
|
215668
|
-
|
215732
|
+
__nested_webpack_require_877788__(8675),
|
215733
|
+
__nested_webpack_require_877788__(3498),
|
215734
|
+
__nested_webpack_require_877788__(679),
|
215735
|
+
__nested_webpack_require_877788__(7205)
|
215669
215736
|
]
|
215670
215737
|
});
|
215671
215738
|
|
@@ -215673,7 +215740,7 @@ module.exports = new Schema({
|
|
215673
215740
|
/***/ }),
|
215674
215741
|
|
215675
215742
|
/***/ 8441:
|
215676
|
-
/***/ ((module, __unused_webpack_exports,
|
215743
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878500__) => {
|
215677
215744
|
|
215678
215745
|
"use strict";
|
215679
215746
|
// Standard YAML's Failsafe schema.
|
@@ -215683,14 +215750,14 @@ module.exports = new Schema({
|
|
215683
215750
|
|
215684
215751
|
|
215685
215752
|
|
215686
|
-
var Schema =
|
215753
|
+
var Schema = __nested_webpack_require_878500__(6105);
|
215687
215754
|
|
215688
215755
|
|
215689
215756
|
module.exports = new Schema({
|
215690
215757
|
explicit: [
|
215691
|
-
|
215692
|
-
|
215693
|
-
|
215758
|
+
__nested_webpack_require_878500__(5348),
|
215759
|
+
__nested_webpack_require_878500__(7330),
|
215760
|
+
__nested_webpack_require_878500__(293)
|
215694
215761
|
]
|
215695
215762
|
});
|
215696
215763
|
|
@@ -215698,7 +215765,7 @@ module.exports = new Schema({
|
|
215698
215765
|
/***/ }),
|
215699
215766
|
|
215700
215767
|
/***/ 1486:
|
215701
|
-
/***/ ((module, __unused_webpack_exports,
|
215768
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878886__) => {
|
215702
215769
|
|
215703
215770
|
"use strict";
|
215704
215771
|
// Standard YAML's JSON schema.
|
@@ -215712,18 +215779,18 @@ module.exports = new Schema({
|
|
215712
215779
|
|
215713
215780
|
|
215714
215781
|
|
215715
|
-
var Schema =
|
215782
|
+
var Schema = __nested_webpack_require_878886__(6105);
|
215716
215783
|
|
215717
215784
|
|
215718
215785
|
module.exports = new Schema({
|
215719
215786
|
include: [
|
215720
|
-
|
215787
|
+
__nested_webpack_require_878886__(8441)
|
215721
215788
|
],
|
215722
215789
|
implicit: [
|
215723
|
-
|
215724
|
-
|
215725
|
-
|
215726
|
-
|
215790
|
+
__nested_webpack_require_878886__(9074),
|
215791
|
+
__nested_webpack_require_878886__(4308),
|
215792
|
+
__nested_webpack_require_878886__(1167),
|
215793
|
+
__nested_webpack_require_878886__(7862)
|
215727
215794
|
]
|
215728
215795
|
});
|
215729
215796
|
|
@@ -215731,12 +215798,12 @@ module.exports = new Schema({
|
|
215731
215798
|
/***/ }),
|
215732
215799
|
|
215733
215800
|
/***/ 6876:
|
215734
|
-
/***/ ((module, __unused_webpack_exports,
|
215801
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_879584__) => {
|
215735
215802
|
|
215736
215803
|
"use strict";
|
215737
215804
|
|
215738
215805
|
|
215739
|
-
var YAMLException =
|
215806
|
+
var YAMLException = __nested_webpack_require_879584__(3237);
|
215740
215807
|
|
215741
215808
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
215742
215809
|
'kind',
|
@@ -215800,7 +215867,7 @@ module.exports = Type;
|
|
215800
215867
|
/***/ }),
|
215801
215868
|
|
215802
215869
|
/***/ 8675:
|
215803
|
-
/***/ ((module, __unused_webpack_exports,
|
215870
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_881268__) => {
|
215804
215871
|
|
215805
215872
|
"use strict";
|
215806
215873
|
|
@@ -215815,7 +215882,7 @@ try {
|
|
215815
215882
|
NodeBuffer = _require('buffer').Buffer;
|
215816
215883
|
} catch (__) {}
|
215817
215884
|
|
215818
|
-
var Type =
|
215885
|
+
var Type = __nested_webpack_require_881268__(6876);
|
215819
215886
|
|
215820
215887
|
|
215821
215888
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -215946,12 +216013,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
215946
216013
|
/***/ }),
|
215947
216014
|
|
215948
216015
|
/***/ 4308:
|
215949
|
-
/***/ ((module, __unused_webpack_exports,
|
216016
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_884660__) => {
|
215950
216017
|
|
215951
216018
|
"use strict";
|
215952
216019
|
|
215953
216020
|
|
215954
|
-
var Type =
|
216021
|
+
var Type = __nested_webpack_require_884660__(6876);
|
215955
216022
|
|
215956
216023
|
function resolveYamlBoolean(data) {
|
215957
216024
|
if (data === null) return false;
|
@@ -215989,13 +216056,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
215989
216056
|
/***/ }),
|
215990
216057
|
|
215991
216058
|
/***/ 7862:
|
215992
|
-
/***/ ((module, __unused_webpack_exports,
|
216059
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_885733__) => {
|
215993
216060
|
|
215994
216061
|
"use strict";
|
215995
216062
|
|
215996
216063
|
|
215997
|
-
var common =
|
215998
|
-
var Type =
|
216064
|
+
var common = __nested_webpack_require_885733__(903);
|
216065
|
+
var Type = __nested_webpack_require_885733__(6876);
|
215999
216066
|
|
216000
216067
|
var YAML_FLOAT_PATTERN = new RegExp(
|
216001
216068
|
// 2.5e4, 2.5 and integers
|
@@ -216113,13 +216180,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
216113
216180
|
/***/ }),
|
216114
216181
|
|
216115
216182
|
/***/ 1167:
|
216116
|
-
/***/ ((module, __unused_webpack_exports,
|
216183
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_888679__) => {
|
216117
216184
|
|
216118
216185
|
"use strict";
|
216119
216186
|
|
216120
216187
|
|
216121
|
-
var common =
|
216122
|
-
var Type =
|
216188
|
+
var common = __nested_webpack_require_888679__(903);
|
216189
|
+
var Type = __nested_webpack_require_888679__(6876);
|
216123
216190
|
|
216124
216191
|
function isHexCode(c) {
|
216125
216192
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -216294,7 +216361,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
216294
216361
|
/***/ }),
|
216295
216362
|
|
216296
216363
|
/***/ 8750:
|
216297
|
-
/***/ ((module, __unused_webpack_exports,
|
216364
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_892851__) => {
|
216298
216365
|
|
216299
216366
|
"use strict";
|
216300
216367
|
|
@@ -216317,7 +216384,7 @@ try {
|
|
216317
216384
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
216318
216385
|
}
|
216319
216386
|
|
216320
|
-
var Type =
|
216387
|
+
var Type = __nested_webpack_require_892851__(6876);
|
216321
216388
|
|
216322
216389
|
function resolveJavascriptFunction(data) {
|
216323
216390
|
if (data === null) return false;
|
@@ -216394,12 +216461,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
216394
216461
|
/***/ }),
|
216395
216462
|
|
216396
216463
|
/***/ 6841:
|
216397
|
-
/***/ ((module, __unused_webpack_exports,
|
216464
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895748__) => {
|
216398
216465
|
|
216399
216466
|
"use strict";
|
216400
216467
|
|
216401
216468
|
|
216402
|
-
var Type =
|
216469
|
+
var Type = __nested_webpack_require_895748__(6876);
|
216403
216470
|
|
216404
216471
|
function resolveJavascriptRegExp(data) {
|
216405
216472
|
if (data === null) return false;
|
@@ -216462,12 +216529,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
216462
216529
|
/***/ }),
|
216463
216530
|
|
216464
216531
|
/***/ 5836:
|
216465
|
-
/***/ ((module, __unused_webpack_exports,
|
216532
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897419__) => {
|
216466
216533
|
|
216467
216534
|
"use strict";
|
216468
216535
|
|
216469
216536
|
|
216470
|
-
var Type =
|
216537
|
+
var Type = __nested_webpack_require_897419__(6876);
|
216471
216538
|
|
216472
216539
|
function resolveJavascriptUndefined() {
|
216473
216540
|
return true;
|
@@ -216498,12 +216565,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
216498
216565
|
/***/ }),
|
216499
216566
|
|
216500
216567
|
/***/ 293:
|
216501
|
-
/***/ ((module, __unused_webpack_exports,
|
216568
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898090__) => {
|
216502
216569
|
|
216503
216570
|
"use strict";
|
216504
216571
|
|
216505
216572
|
|
216506
|
-
var Type =
|
216573
|
+
var Type = __nested_webpack_require_898090__(6876);
|
216507
216574
|
|
216508
216575
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
216509
216576
|
kind: 'mapping',
|
@@ -216514,12 +216581,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
216514
216581
|
/***/ }),
|
216515
216582
|
|
216516
216583
|
/***/ 7841:
|
216517
|
-
/***/ ((module, __unused_webpack_exports,
|
216584
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898382__) => {
|
216518
216585
|
|
216519
216586
|
"use strict";
|
216520
216587
|
|
216521
216588
|
|
216522
|
-
var Type =
|
216589
|
+
var Type = __nested_webpack_require_898382__(6876);
|
216523
216590
|
|
216524
216591
|
function resolveYamlMerge(data) {
|
216525
216592
|
return data === '<<' || data === null;
|
@@ -216534,12 +216601,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
216534
216601
|
/***/ }),
|
216535
216602
|
|
216536
216603
|
/***/ 9074:
|
216537
|
-
/***/ ((module, __unused_webpack_exports,
|
216604
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898714__) => {
|
216538
216605
|
|
216539
216606
|
"use strict";
|
216540
216607
|
|
216541
216608
|
|
216542
|
-
var Type =
|
216609
|
+
var Type = __nested_webpack_require_898714__(6876);
|
216543
216610
|
|
216544
216611
|
function resolveYamlNull(data) {
|
216545
216612
|
if (data === null) return true;
|
@@ -216576,12 +216643,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
216576
216643
|
/***/ }),
|
216577
216644
|
|
216578
216645
|
/***/ 3498:
|
216579
|
-
/***/ ((module, __unused_webpack_exports,
|
216646
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_899577__) => {
|
216580
216647
|
|
216581
216648
|
"use strict";
|
216582
216649
|
|
216583
216650
|
|
216584
|
-
var Type =
|
216651
|
+
var Type = __nested_webpack_require_899577__(6876);
|
216585
216652
|
|
216586
216653
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
216587
216654
|
var _toString = Object.prototype.toString;
|
@@ -216628,12 +216695,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
216628
216695
|
/***/ }),
|
216629
216696
|
|
216630
216697
|
/***/ 679:
|
216631
|
-
/***/ ((module, __unused_webpack_exports,
|
216698
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900701__) => {
|
216632
216699
|
|
216633
216700
|
"use strict";
|
216634
216701
|
|
216635
216702
|
|
216636
|
-
var Type =
|
216703
|
+
var Type = __nested_webpack_require_900701__(6876);
|
216637
216704
|
|
216638
216705
|
var _toString = Object.prototype.toString;
|
216639
216706
|
|
@@ -216689,12 +216756,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
216689
216756
|
/***/ }),
|
216690
216757
|
|
216691
216758
|
/***/ 7330:
|
216692
|
-
/***/ ((module, __unused_webpack_exports,
|
216759
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_901887__) => {
|
216693
216760
|
|
216694
216761
|
"use strict";
|
216695
216762
|
|
216696
216763
|
|
216697
|
-
var Type =
|
216764
|
+
var Type = __nested_webpack_require_901887__(6876);
|
216698
216765
|
|
216699
216766
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
216700
216767
|
kind: 'sequence',
|
@@ -216705,12 +216772,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
216705
216772
|
/***/ }),
|
216706
216773
|
|
216707
216774
|
/***/ 7205:
|
216708
|
-
/***/ ((module, __unused_webpack_exports,
|
216775
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902180__) => {
|
216709
216776
|
|
216710
216777
|
"use strict";
|
216711
216778
|
|
216712
216779
|
|
216713
|
-
var Type =
|
216780
|
+
var Type = __nested_webpack_require_902180__(6876);
|
216714
216781
|
|
216715
216782
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
216716
216783
|
|
@@ -216742,12 +216809,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
216742
216809
|
/***/ }),
|
216743
216810
|
|
216744
216811
|
/***/ 5348:
|
216745
|
-
/***/ ((module, __unused_webpack_exports,
|
216812
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902829__) => {
|
216746
216813
|
|
216747
216814
|
"use strict";
|
216748
216815
|
|
216749
216816
|
|
216750
|
-
var Type =
|
216817
|
+
var Type = __nested_webpack_require_902829__(6876);
|
216751
216818
|
|
216752
216819
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
216753
216820
|
kind: 'scalar',
|
@@ -216758,12 +216825,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
216758
216825
|
/***/ }),
|
216759
216826
|
|
216760
216827
|
/***/ 7028:
|
216761
|
-
/***/ ((module, __unused_webpack_exports,
|
216828
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_903120__) => {
|
216762
216829
|
|
216763
216830
|
"use strict";
|
216764
216831
|
|
216765
216832
|
|
216766
|
-
var Type =
|
216833
|
+
var Type = __nested_webpack_require_903120__(6876);
|
216767
216834
|
|
216768
216835
|
var YAML_DATE_REGEXP = new RegExp(
|
216769
216836
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -216854,7 +216921,7 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
216854
216921
|
/***/ }),
|
216855
216922
|
|
216856
216923
|
/***/ 7276:
|
216857
|
-
/***/ (function(__unused_webpack_module, exports,
|
216924
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_905801__) {
|
216858
216925
|
|
216859
216926
|
"use strict";
|
216860
216927
|
|
@@ -216863,25 +216930,26 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
216863
216930
|
};
|
216864
216931
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
216865
216932
|
exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
|
216866
|
-
const fs_extra_1 = __importDefault(
|
216867
|
-
const path_1 =
|
216868
|
-
const glob_1 = __importDefault(
|
216869
|
-
const normalize_path_1 =
|
216870
|
-
const lambda_1 =
|
216871
|
-
const minimatch_1 = __importDefault(
|
216933
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_905801__(5392));
|
216934
|
+
const path_1 = __nested_webpack_require_905801__(5622);
|
216935
|
+
const glob_1 = __importDefault(__nested_webpack_require_905801__(4240));
|
216936
|
+
const normalize_path_1 = __nested_webpack_require_905801__(6261);
|
216937
|
+
const lambda_1 = __nested_webpack_require_905801__(6721);
|
216938
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_905801__(9566));
|
216872
216939
|
/**
|
216873
216940
|
* Convert legacy Runtime to a Plugin.
|
216874
216941
|
* @param buildRuntime - a legacy build() function from a Runtime
|
216875
216942
|
* @param ext - the file extension, for example `.py`
|
216876
216943
|
*/
|
216877
216944
|
function convertRuntimeToPlugin(buildRuntime, ext) {
|
216878
|
-
|
216945
|
+
// This `build()` signature should match `plugin.build()` signature in `vercel build`.
|
216946
|
+
return async function build({ vercelConfig, workPath, }) {
|
216879
216947
|
const opts = { cwd: workPath };
|
216880
216948
|
const files = await glob_1.default('**', opts);
|
216881
216949
|
delete files['vercel.json']; // Builders/Runtimes didn't have vercel.json
|
216882
216950
|
const entrypoints = await glob_1.default(`api/**/*${ext}`, opts);
|
216883
216951
|
const pages = {};
|
216884
|
-
const { functions = {} } =
|
216952
|
+
const { functions = {} } = vercelConfig;
|
216885
216953
|
const traceDir = path_1.join(workPath, '.output', 'runtime-traced-files');
|
216886
216954
|
await fs_extra_1.default.ensureDir(traceDir);
|
216887
216955
|
for (const entrypoint of Object.keys(entrypoints)) {
|
@@ -216937,7 +217005,7 @@ function convertRuntimeToPlugin(buildRuntime, ext) {
|
|
216937
217005
|
await fs_extra_1.default.ensureDir(path_1.dirname(nft));
|
216938
217006
|
await fs_extra_1.default.writeFile(nft, json);
|
216939
217007
|
}
|
216940
|
-
await updateFunctionsManifest({ workPath, pages });
|
217008
|
+
await updateFunctionsManifest({ vercelConfig, workPath, pages });
|
216941
217009
|
};
|
216942
217010
|
}
|
216943
217011
|
exports.convertRuntimeToPlugin = convertRuntimeToPlugin;
|
@@ -216963,18 +217031,13 @@ async function readJson(filePath) {
|
|
216963
217031
|
throw err;
|
216964
217032
|
}
|
216965
217033
|
}
|
216966
|
-
async function readVercelConfig(workPath) {
|
216967
|
-
const vercelJsonPath = path_1.join(workPath, 'vercel.json');
|
216968
|
-
return readJson(vercelJsonPath);
|
216969
|
-
}
|
216970
217034
|
/**
|
216971
217035
|
* If `.output/functions-manifest.json` exists, append to the pages
|
216972
217036
|
* property. Otherwise write a new file. This will also read `vercel.json`
|
216973
217037
|
* and apply relevant `functions` property config.
|
216974
217038
|
*/
|
216975
|
-
async function updateFunctionsManifest({ workPath, pages, }) {
|
217039
|
+
async function updateFunctionsManifest({ vercelConfig, workPath, pages, }) {
|
216976
217040
|
const functionsManifestPath = path_1.join(workPath, '.output', 'functions-manifest.json');
|
216977
|
-
const vercelConfig = await readVercelConfig(workPath);
|
216978
217041
|
const functionsManifest = await readJson(functionsManifestPath);
|
216979
217042
|
if (!functionsManifest.version)
|
216980
217043
|
functionsManifest.version = 1;
|
@@ -217019,12 +217082,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
|
|
217019
217082
|
/***/ }),
|
217020
217083
|
|
217021
217084
|
/***/ 1868:
|
217022
|
-
/***/ ((__unused_webpack_module, exports,
|
217085
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_912683__) => {
|
217023
217086
|
|
217024
217087
|
"use strict";
|
217025
217088
|
|
217026
217089
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217027
|
-
const _1 =
|
217090
|
+
const _1 = __nested_webpack_require_912683__(2855);
|
217028
217091
|
function debug(message, ...additional) {
|
217029
217092
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217030
217093
|
console.log(message, ...additional);
|
@@ -217036,7 +217099,7 @@ exports.default = debug;
|
|
217036
217099
|
/***/ }),
|
217037
217100
|
|
217038
217101
|
/***/ 4246:
|
217039
|
-
/***/ (function(__unused_webpack_module, exports,
|
217102
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_913068__) {
|
217040
217103
|
|
217041
217104
|
"use strict";
|
217042
217105
|
|
@@ -217045,11 +217108,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217045
217108
|
};
|
217046
217109
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217047
217110
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217048
|
-
const minimatch_1 = __importDefault(
|
217049
|
-
const semver_1 =
|
217050
|
-
const path_1 =
|
217051
|
-
const frameworks_1 = __importDefault(
|
217052
|
-
const _1 =
|
217111
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_913068__(9566));
|
217112
|
+
const semver_1 = __nested_webpack_require_913068__(2879);
|
217113
|
+
const path_1 = __nested_webpack_require_913068__(5622);
|
217114
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_913068__(8438));
|
217115
|
+
const _1 = __nested_webpack_require_913068__(2855);
|
217053
217116
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217054
217117
|
// We need to sort the file paths by alphabet to make
|
217055
217118
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218055,7 +218118,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218055
218118
|
/***/ }),
|
218056
218119
|
|
218057
218120
|
/***/ 2397:
|
218058
|
-
/***/ (function(__unused_webpack_module, exports,
|
218121
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_949910__) {
|
218059
218122
|
|
218060
218123
|
"use strict";
|
218061
218124
|
|
@@ -218063,8 +218126,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218063
218126
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218064
218127
|
};
|
218065
218128
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218066
|
-
const assert_1 = __importDefault(
|
218067
|
-
const into_stream_1 = __importDefault(
|
218129
|
+
const assert_1 = __importDefault(__nested_webpack_require_949910__(2357));
|
218130
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_949910__(6130));
|
218068
218131
|
class FileBlob {
|
218069
218132
|
constructor({ mode = 0o100644, contentType, data }) {
|
218070
218133
|
assert_1.default(typeof mode === 'number');
|
@@ -218096,7 +218159,7 @@ exports.default = FileBlob;
|
|
218096
218159
|
/***/ }),
|
218097
218160
|
|
218098
218161
|
/***/ 9331:
|
218099
|
-
/***/ (function(__unused_webpack_module, exports,
|
218162
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_951362__) {
|
218100
218163
|
|
218101
218164
|
"use strict";
|
218102
218165
|
|
@@ -218104,11 +218167,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218104
218167
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218105
218168
|
};
|
218106
218169
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218107
|
-
const assert_1 = __importDefault(
|
218108
|
-
const fs_extra_1 = __importDefault(
|
218109
|
-
const multistream_1 = __importDefault(
|
218110
|
-
const path_1 = __importDefault(
|
218111
|
-
const async_sema_1 = __importDefault(
|
218170
|
+
const assert_1 = __importDefault(__nested_webpack_require_951362__(2357));
|
218171
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_951362__(5392));
|
218172
|
+
const multistream_1 = __importDefault(__nested_webpack_require_951362__(8179));
|
218173
|
+
const path_1 = __importDefault(__nested_webpack_require_951362__(5622));
|
218174
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_951362__(5758));
|
218112
218175
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218113
218176
|
class FileFsRef {
|
218114
218177
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218174,7 +218237,7 @@ exports.default = FileFsRef;
|
|
218174
218237
|
/***/ }),
|
218175
218238
|
|
218176
218239
|
/***/ 5187:
|
218177
|
-
/***/ (function(__unused_webpack_module, exports,
|
218240
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_954166__) {
|
218178
218241
|
|
218179
218242
|
"use strict";
|
218180
218243
|
|
@@ -218182,11 +218245,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218182
218245
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218183
218246
|
};
|
218184
218247
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218185
|
-
const assert_1 = __importDefault(
|
218186
|
-
const node_fetch_1 = __importDefault(
|
218187
|
-
const multistream_1 = __importDefault(
|
218188
|
-
const async_retry_1 = __importDefault(
|
218189
|
-
const async_sema_1 = __importDefault(
|
218248
|
+
const assert_1 = __importDefault(__nested_webpack_require_954166__(2357));
|
218249
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_954166__(2197));
|
218250
|
+
const multistream_1 = __importDefault(__nested_webpack_require_954166__(8179));
|
218251
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_954166__(3691));
|
218252
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_954166__(5758));
|
218190
218253
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218191
218254
|
class BailableError extends Error {
|
218192
218255
|
constructor(...args) {
|
@@ -218267,7 +218330,7 @@ exports.default = FileRef;
|
|
218267
218330
|
/***/ }),
|
218268
218331
|
|
218269
218332
|
/***/ 1611:
|
218270
|
-
/***/ (function(__unused_webpack_module, exports,
|
218333
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_957567__) {
|
218271
218334
|
|
218272
218335
|
"use strict";
|
218273
218336
|
|
@@ -218276,10 +218339,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218276
218339
|
};
|
218277
218340
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218278
218341
|
exports.isSymbolicLink = void 0;
|
218279
|
-
const path_1 = __importDefault(
|
218280
|
-
const debug_1 = __importDefault(
|
218281
|
-
const file_fs_ref_1 = __importDefault(
|
218282
|
-
const fs_extra_1 =
|
218342
|
+
const path_1 = __importDefault(__nested_webpack_require_957567__(5622));
|
218343
|
+
const debug_1 = __importDefault(__nested_webpack_require_957567__(1868));
|
218344
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_957567__(9331));
|
218345
|
+
const fs_extra_1 = __nested_webpack_require_957567__(5392);
|
218283
218346
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218284
218347
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218285
218348
|
function isSymbolicLink(mode) {
|
@@ -218341,14 +218404,14 @@ exports.default = download;
|
|
218341
218404
|
/***/ }),
|
218342
218405
|
|
218343
218406
|
/***/ 3838:
|
218344
|
-
/***/ ((__unused_webpack_module, exports,
|
218407
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_960392__) => {
|
218345
218408
|
|
218346
218409
|
"use strict";
|
218347
218410
|
|
218348
218411
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218349
|
-
const path_1 =
|
218350
|
-
const os_1 =
|
218351
|
-
const fs_extra_1 =
|
218412
|
+
const path_1 = __nested_webpack_require_960392__(5622);
|
218413
|
+
const os_1 = __nested_webpack_require_960392__(2087);
|
218414
|
+
const fs_extra_1 = __nested_webpack_require_960392__(5392);
|
218352
218415
|
async function getWritableDirectory() {
|
218353
218416
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
218354
218417
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -218361,7 +218424,7 @@ exports.default = getWritableDirectory;
|
|
218361
218424
|
/***/ }),
|
218362
218425
|
|
218363
218426
|
/***/ 4240:
|
218364
|
-
/***/ (function(__unused_webpack_module, exports,
|
218427
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_960972__) {
|
218365
218428
|
|
218366
218429
|
"use strict";
|
218367
218430
|
|
@@ -218369,13 +218432,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218369
218432
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218370
218433
|
};
|
218371
218434
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218372
|
-
const path_1 = __importDefault(
|
218373
|
-
const assert_1 = __importDefault(
|
218374
|
-
const glob_1 = __importDefault(
|
218375
|
-
const util_1 =
|
218376
|
-
const fs_extra_1 =
|
218377
|
-
const normalize_path_1 =
|
218378
|
-
const file_fs_ref_1 = __importDefault(
|
218435
|
+
const path_1 = __importDefault(__nested_webpack_require_960972__(5622));
|
218436
|
+
const assert_1 = __importDefault(__nested_webpack_require_960972__(2357));
|
218437
|
+
const glob_1 = __importDefault(__nested_webpack_require_960972__(1104));
|
218438
|
+
const util_1 = __nested_webpack_require_960972__(1669);
|
218439
|
+
const fs_extra_1 = __nested_webpack_require_960972__(5392);
|
218440
|
+
const normalize_path_1 = __nested_webpack_require_960972__(6261);
|
218441
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_960972__(9331));
|
218379
218442
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
218380
218443
|
async function glob(pattern, opts, mountpoint) {
|
218381
218444
|
let options;
|
@@ -218421,7 +218484,7 @@ exports.default = glob;
|
|
218421
218484
|
/***/ }),
|
218422
218485
|
|
218423
218486
|
/***/ 7903:
|
218424
|
-
/***/ (function(__unused_webpack_module, exports,
|
218487
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_963168__) {
|
218425
218488
|
|
218426
218489
|
"use strict";
|
218427
218490
|
|
@@ -218430,9 +218493,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218430
218493
|
};
|
218431
218494
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218432
218495
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
218433
|
-
const semver_1 =
|
218434
|
-
const errors_1 =
|
218435
|
-
const debug_1 = __importDefault(
|
218496
|
+
const semver_1 = __nested_webpack_require_963168__(2879);
|
218497
|
+
const errors_1 = __nested_webpack_require_963168__(3983);
|
218498
|
+
const debug_1 = __importDefault(__nested_webpack_require_963168__(1868));
|
218436
218499
|
const allOptions = [
|
218437
218500
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
218438
218501
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -218526,7 +218589,7 @@ exports.normalizePath = normalizePath;
|
|
218526
218589
|
/***/ }),
|
218527
218590
|
|
218528
218591
|
/***/ 7792:
|
218529
|
-
/***/ (function(__unused_webpack_module, exports,
|
218592
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_967036__) {
|
218530
218593
|
|
218531
218594
|
"use strict";
|
218532
218595
|
|
@@ -218535,9 +218598,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218535
218598
|
};
|
218536
218599
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218537
218600
|
exports.readConfigFile = void 0;
|
218538
|
-
const js_yaml_1 = __importDefault(
|
218539
|
-
const toml_1 = __importDefault(
|
218540
|
-
const fs_extra_1 =
|
218601
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_967036__(6540));
|
218602
|
+
const toml_1 = __importDefault(__nested_webpack_require_967036__(9434));
|
218603
|
+
const fs_extra_1 = __nested_webpack_require_967036__(5392);
|
218541
218604
|
async function readFileOrNull(file) {
|
218542
218605
|
try {
|
218543
218606
|
const data = await fs_extra_1.readFile(file);
|
@@ -218592,7 +218655,7 @@ exports.default = rename;
|
|
218592
218655
|
/***/ }),
|
218593
218656
|
|
218594
218657
|
/***/ 1442:
|
218595
|
-
/***/ (function(__unused_webpack_module, exports,
|
218658
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_968829__) {
|
218596
218659
|
|
218597
218660
|
"use strict";
|
218598
218661
|
|
@@ -218601,14 +218664,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218601
218664
|
};
|
218602
218665
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218603
218666
|
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;
|
218604
|
-
const assert_1 = __importDefault(
|
218605
|
-
const fs_extra_1 = __importDefault(
|
218606
|
-
const path_1 = __importDefault(
|
218607
|
-
const debug_1 = __importDefault(
|
218608
|
-
const cross_spawn_1 = __importDefault(
|
218609
|
-
const util_1 =
|
218610
|
-
const errors_1 =
|
218611
|
-
const node_version_1 =
|
218667
|
+
const assert_1 = __importDefault(__nested_webpack_require_968829__(2357));
|
218668
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_968829__(5392));
|
218669
|
+
const path_1 = __importDefault(__nested_webpack_require_968829__(5622));
|
218670
|
+
const debug_1 = __importDefault(__nested_webpack_require_968829__(1868));
|
218671
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_968829__(7618));
|
218672
|
+
const util_1 = __nested_webpack_require_968829__(1669);
|
218673
|
+
const errors_1 = __nested_webpack_require_968829__(3983);
|
218674
|
+
const node_version_1 = __nested_webpack_require_968829__(7903);
|
218612
218675
|
function spawnAsync(command, args, opts = {}) {
|
218613
218676
|
return new Promise((resolve, reject) => {
|
218614
218677
|
const stderrLogs = [];
|
@@ -218919,7 +218982,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
218919
218982
|
/***/ }),
|
218920
218983
|
|
218921
218984
|
/***/ 2560:
|
218922
|
-
/***/ (function(__unused_webpack_module, exports,
|
218985
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982819__) {
|
218923
218986
|
|
218924
218987
|
"use strict";
|
218925
218988
|
|
@@ -218927,7 +218990,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218927
218990
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218928
218991
|
};
|
218929
218992
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218930
|
-
const end_of_stream_1 = __importDefault(
|
218993
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_982819__(687));
|
218931
218994
|
function streamToBuffer(stream) {
|
218932
218995
|
return new Promise((resolve, reject) => {
|
218933
218996
|
const buffers = [];
|
@@ -218956,7 +219019,7 @@ exports.default = streamToBuffer;
|
|
218956
219019
|
/***/ }),
|
218957
219020
|
|
218958
219021
|
/***/ 2855:
|
218959
|
-
/***/ (function(__unused_webpack_module, exports,
|
219022
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983887__) {
|
218960
219023
|
|
218961
219024
|
"use strict";
|
218962
219025
|
|
@@ -218987,28 +219050,28 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218987
219050
|
};
|
218988
219051
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218989
219052
|
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.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;
|
218990
|
-
const file_blob_1 = __importDefault(
|
219053
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_983887__(2397));
|
218991
219054
|
exports.FileBlob = file_blob_1.default;
|
218992
|
-
const file_fs_ref_1 = __importDefault(
|
219055
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_983887__(9331));
|
218993
219056
|
exports.FileFsRef = file_fs_ref_1.default;
|
218994
|
-
const file_ref_1 = __importDefault(
|
219057
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_983887__(5187));
|
218995
219058
|
exports.FileRef = file_ref_1.default;
|
218996
|
-
const lambda_1 =
|
219059
|
+
const lambda_1 = __nested_webpack_require_983887__(6721);
|
218997
219060
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
218998
219061
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
218999
219062
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
219000
|
-
const prerender_1 =
|
219063
|
+
const prerender_1 = __nested_webpack_require_983887__(2850);
|
219001
219064
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
219002
|
-
const download_1 = __importStar(
|
219065
|
+
const download_1 = __importStar(__nested_webpack_require_983887__(1611));
|
219003
219066
|
exports.download = download_1.default;
|
219004
219067
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
219005
|
-
const get_writable_directory_1 = __importDefault(
|
219068
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_983887__(3838));
|
219006
219069
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
219007
|
-
const glob_1 = __importDefault(
|
219070
|
+
const glob_1 = __importDefault(__nested_webpack_require_983887__(4240));
|
219008
219071
|
exports.glob = glob_1.default;
|
219009
|
-
const rename_1 = __importDefault(
|
219072
|
+
const rename_1 = __importDefault(__nested_webpack_require_983887__(6718));
|
219010
219073
|
exports.rename = rename_1.default;
|
219011
|
-
const run_user_scripts_1 =
|
219074
|
+
const run_user_scripts_1 = __nested_webpack_require_983887__(1442);
|
219012
219075
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
219013
219076
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
219014
219077
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219025,36 +219088,36 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219025
219088
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219026
219089
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219027
219090
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219028
|
-
const node_version_1 =
|
219091
|
+
const node_version_1 = __nested_webpack_require_983887__(7903);
|
219029
219092
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219030
219093
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219031
|
-
const errors_1 =
|
219032
|
-
const stream_to_buffer_1 = __importDefault(
|
219094
|
+
const errors_1 = __nested_webpack_require_983887__(3983);
|
219095
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_983887__(2560));
|
219033
219096
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219034
|
-
const should_serve_1 = __importDefault(
|
219097
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_983887__(2564));
|
219035
219098
|
exports.shouldServe = should_serve_1.default;
|
219036
|
-
const debug_1 = __importDefault(
|
219099
|
+
const debug_1 = __importDefault(__nested_webpack_require_983887__(1868));
|
219037
219100
|
exports.debug = debug_1.default;
|
219038
|
-
var detect_builders_1 =
|
219101
|
+
var detect_builders_1 = __nested_webpack_require_983887__(4246);
|
219039
219102
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219040
219103
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219041
219104
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219042
219105
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219043
|
-
var detect_framework_1 =
|
219106
|
+
var detect_framework_1 = __nested_webpack_require_983887__(5224);
|
219044
219107
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219045
|
-
var filesystem_1 =
|
219108
|
+
var filesystem_1 = __nested_webpack_require_983887__(461);
|
219046
219109
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219047
|
-
var read_config_file_1 =
|
219110
|
+
var read_config_file_1 = __nested_webpack_require_983887__(7792);
|
219048
219111
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219049
|
-
var normalize_path_1 =
|
219112
|
+
var normalize_path_1 = __nested_webpack_require_983887__(6261);
|
219050
219113
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219051
|
-
var convert_runtime_to_plugin_1 =
|
219114
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_983887__(7276);
|
219052
219115
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219053
219116
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219054
219117
|
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219055
|
-
__exportStar(
|
219056
|
-
__exportStar(
|
219057
|
-
__exportStar(
|
219118
|
+
__exportStar(__nested_webpack_require_983887__(2416), exports);
|
219119
|
+
__exportStar(__nested_webpack_require_983887__(5748), exports);
|
219120
|
+
__exportStar(__nested_webpack_require_983887__(3983), exports);
|
219058
219121
|
/**
|
219059
219122
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219060
219123
|
*/
|
@@ -219099,7 +219162,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
219099
219162
|
/***/ }),
|
219100
219163
|
|
219101
219164
|
/***/ 6721:
|
219102
|
-
/***/ (function(__unused_webpack_module, exports,
|
219165
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_994351__) {
|
219103
219166
|
|
219104
219167
|
"use strict";
|
219105
219168
|
|
@@ -219108,13 +219171,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219108
219171
|
};
|
219109
219172
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219110
219173
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219111
|
-
const assert_1 = __importDefault(
|
219112
|
-
const async_sema_1 = __importDefault(
|
219113
|
-
const yazl_1 =
|
219114
|
-
const minimatch_1 = __importDefault(
|
219115
|
-
const fs_extra_1 =
|
219116
|
-
const download_1 =
|
219117
|
-
const stream_to_buffer_1 = __importDefault(
|
219174
|
+
const assert_1 = __importDefault(__nested_webpack_require_994351__(2357));
|
219175
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_994351__(5758));
|
219176
|
+
const yazl_1 = __nested_webpack_require_994351__(1223);
|
219177
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_994351__(9566));
|
219178
|
+
const fs_extra_1 = __nested_webpack_require_994351__(5392);
|
219179
|
+
const download_1 = __nested_webpack_require_994351__(1611);
|
219180
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_994351__(2560));
|
219118
219181
|
exports.FILES_SYMBOL = Symbol('files');
|
219119
219182
|
class Lambda {
|
219120
219183
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -219343,12 +219406,12 @@ exports.buildsSchema = {
|
|
219343
219406
|
/***/ }),
|
219344
219407
|
|
219345
219408
|
/***/ 2564:
|
219346
|
-
/***/ ((__unused_webpack_module, exports,
|
219409
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1002861__) => {
|
219347
219410
|
|
219348
219411
|
"use strict";
|
219349
219412
|
|
219350
219413
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219351
|
-
const path_1 =
|
219414
|
+
const path_1 = __nested_webpack_require_1002861__(5622);
|
219352
219415
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
219353
219416
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
219354
219417
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -219577,7 +219640,7 @@ module.exports = __webpack_require__(78761);
|
|
219577
219640
|
/******/ var __webpack_module_cache__ = {};
|
219578
219641
|
/******/
|
219579
219642
|
/******/ // The require function
|
219580
|
-
/******/ function
|
219643
|
+
/******/ function __nested_webpack_require_1102500__(moduleId) {
|
219581
219644
|
/******/ // Check if module is in cache
|
219582
219645
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
219583
219646
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -219592,7 +219655,7 @@ module.exports = __webpack_require__(78761);
|
|
219592
219655
|
/******/ // Execute the module function
|
219593
219656
|
/******/ var threw = true;
|
219594
219657
|
/******/ try {
|
219595
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
219658
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1102500__);
|
219596
219659
|
/******/ threw = false;
|
219597
219660
|
/******/ } finally {
|
219598
219661
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -219605,11 +219668,11 @@ module.exports = __webpack_require__(78761);
|
|
219605
219668
|
/************************************************************************/
|
219606
219669
|
/******/ /* webpack/runtime/compat */
|
219607
219670
|
/******/
|
219608
|
-
/******/
|
219671
|
+
/******/ __nested_webpack_require_1102500__.ab = __dirname + "/";/************************************************************************/
|
219609
219672
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
219610
219673
|
/******/ // startup
|
219611
219674
|
/******/ // Load entry module and return exports
|
219612
|
-
/******/ return
|
219675
|
+
/******/ return __nested_webpack_require_1102500__(2855);
|
219613
219676
|
/******/ })()
|
219614
219677
|
;
|
219615
219678
|
|
@@ -241881,7 +241944,7 @@ exports.frameworks = [
|
|
241881
241944
|
tagline: 'Gatsby helps developers build blazing fast websites and apps with React.',
|
241882
241945
|
description: 'A Gatsby app, using the default starter theme and a Serverless Function API.',
|
241883
241946
|
website: 'https://gatsbyjs.org',
|
241884
|
-
sort:
|
241947
|
+
sort: 5,
|
241885
241948
|
envPrefix: 'GATSBY_',
|
241886
241949
|
detectors: {
|
241887
241950
|
every: [
|
@@ -241956,6 +242019,73 @@ exports.frameworks = [
|
|
241956
242019
|
},
|
241957
242020
|
cachePattern: '{.cache,public}/**',
|
241958
242021
|
},
|
242022
|
+
{
|
242023
|
+
name: 'Remix',
|
242024
|
+
slug: 'remix',
|
242025
|
+
demo: 'https://remix.examples.vercel.com',
|
242026
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix.svg',
|
242027
|
+
tagline: 'Build Better Websites',
|
242028
|
+
description: 'A new Remix app — the result of running `npx create-remix`.',
|
242029
|
+
website: 'https://remix.run',
|
242030
|
+
sort: 6,
|
242031
|
+
detectors: {
|
242032
|
+
every: [
|
242033
|
+
{
|
242034
|
+
path: 'package.json',
|
242035
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"remix":\\s*".+?"[^}]*}',
|
242036
|
+
},
|
242037
|
+
],
|
242038
|
+
},
|
242039
|
+
settings: {
|
242040
|
+
installCommand: {
|
242041
|
+
placeholder: '`yarn install` or `npm install`',
|
242042
|
+
},
|
242043
|
+
buildCommand: {
|
242044
|
+
value: 'remix build',
|
242045
|
+
placeholder: '`npm run build` or `remix build`',
|
242046
|
+
},
|
242047
|
+
devCommand: {
|
242048
|
+
value: 'remix dev',
|
242049
|
+
placeholder: 'remix dev',
|
242050
|
+
},
|
242051
|
+
outputDirectory: {
|
242052
|
+
value: 'public',
|
242053
|
+
},
|
242054
|
+
},
|
242055
|
+
dependency: 'remix',
|
242056
|
+
getFsOutputDir: async () => 'public',
|
242057
|
+
getOutputDirName: async () => 'public',
|
242058
|
+
defaultRoutes: [
|
242059
|
+
{
|
242060
|
+
src: '^/build/(.*)$',
|
242061
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
242062
|
+
continue: true,
|
242063
|
+
},
|
242064
|
+
{
|
242065
|
+
handle: 'filesystem',
|
242066
|
+
},
|
242067
|
+
{
|
242068
|
+
src: '/(.*)',
|
242069
|
+
dest: '/api',
|
242070
|
+
},
|
242071
|
+
],
|
242072
|
+
defaultRewrites: [
|
242073
|
+
{
|
242074
|
+
source: '/(.*)',
|
242075
|
+
regex: '/(.*)',
|
242076
|
+
destination: '/api',
|
242077
|
+
},
|
242078
|
+
],
|
242079
|
+
defaultHeaders: [
|
242080
|
+
{
|
242081
|
+
source: '^/build/(.*)$',
|
242082
|
+
regex: '^/build/(.*)$',
|
242083
|
+
headers: [
|
242084
|
+
{ key: 'cache-control', value: 'public, max-age=31536000, immutable' },
|
242085
|
+
],
|
242086
|
+
},
|
242087
|
+
]
|
242088
|
+
},
|
241959
242089
|
{
|
241960
242090
|
name: 'Hexo',
|
241961
242091
|
slug: 'hexo',
|
@@ -241964,7 +242094,6 @@ exports.frameworks = [
|
|
241964
242094
|
tagline: 'Hexo is a fast, simple & powerful blog framework powered by Node.js.',
|
241965
242095
|
description: 'A Hexo site, created with the Hexo CLI.',
|
241966
242096
|
website: 'https://hexo.io',
|
241967
|
-
sort: 3,
|
241968
242097
|
detectors: {
|
241969
242098
|
every: [
|
241970
242099
|
{
|
@@ -242001,7 +242130,6 @@ exports.frameworks = [
|
|
242001
242130
|
tagline: '11ty is a simpler static site generator written in JavaScript, created to be an alternative to Jekyll.',
|
242002
242131
|
description: 'An Eleventy site, created with npm init.',
|
242003
242132
|
website: 'https://www.11ty.dev',
|
242004
|
-
sort: 4,
|
242005
242133
|
detectors: {
|
242006
242134
|
every: [
|
242007
242135
|
{
|
@@ -242713,6 +242841,7 @@ exports.frameworks = [
|
|
242713
242841
|
tagline: 'Svelte lets you write high performance reactive apps with significantly less boilerplate.',
|
242714
242842
|
description: 'A basic Svelte app using the default template.',
|
242715
242843
|
website: 'https://svelte.dev',
|
242844
|
+
sort: 3,
|
242716
242845
|
detectors: {
|
242717
242846
|
every: [
|
242718
242847
|
{
|
@@ -242902,6 +243031,7 @@ exports.frameworks = [
|
|
242902
243031
|
tagline: 'Create React App allows you to get going with React in no time.',
|
242903
243032
|
description: 'A React app, bootstrapped with create-react-app, and a Serverless Function API.',
|
242904
243033
|
website: 'https://create-react-app.dev',
|
243034
|
+
sort: 4,
|
242905
243035
|
envPrefix: 'REACT_APP_',
|
242906
243036
|
detectors: {
|
242907
243037
|
some: [
|
@@ -243283,6 +243413,7 @@ exports.frameworks = [
|
|
243283
243413
|
tagline: 'Nuxt.js is the web comprehensive framework that lets you dream big with Vue.js.',
|
243284
243414
|
description: 'A Nuxt.js app, bootstrapped with create-nuxt-app.',
|
243285
243415
|
website: 'https://nuxtjs.org',
|
243416
|
+
sort: 2,
|
243286
243417
|
envPrefix: 'NUXT_ENV_',
|
243287
243418
|
detectors: {
|
243288
243419
|
every: [
|
@@ -243376,7 +243507,6 @@ exports.frameworks = [
|
|
243376
243507
|
tagline: 'Hugo is the world’s fastest framework for building websites, written in Go.',
|
243377
243508
|
description: 'A Hugo site, created with the Hugo CLI.',
|
243378
243509
|
website: 'https://gohugo.io',
|
243379
|
-
sort: 5,
|
243380
243510
|
detectors: {
|
243381
243511
|
some: [
|
243382
243512
|
{
|
@@ -249730,10 +249860,12 @@ async function main(client) {
|
|
249730
249860
|
cwd,
|
249731
249861
|
});
|
249732
249862
|
}
|
249863
|
+
// don't trust framework detection here because they might be switching to next on a branch
|
249864
|
+
const isNextJs = fs_extra_1.default.existsSync(path_1.join(cwd, '.next'));
|
249733
249865
|
if (!fs_extra_1.default.existsSync(path_1.join(cwd, OUTPUT_DIR))) {
|
249734
249866
|
let outputDir = path_1.join(OUTPUT_DIR, 'static');
|
249735
249867
|
let distDir = await framework.getFsOutputDir(cwd);
|
249736
|
-
if (
|
249868
|
+
if (isNextJs) {
|
249737
249869
|
outputDir = OUTPUT_DIR;
|
249738
249870
|
}
|
249739
249871
|
const copyStamp = stamp_1.default();
|
@@ -249791,7 +249923,7 @@ async function main(client) {
|
|
249791
249923
|
await fs_extra_1.default.writeJSON(path_1.join(cwd, OUTPUT_DIR, 'routes-manifest.json'), routesManifest, { spaces: 2 });
|
249792
249924
|
}
|
249793
249925
|
// Special Next.js processing.
|
249794
|
-
if (
|
249926
|
+
if (isNextJs) {
|
249795
249927
|
// The contents of `.output/static` should be placed inside of `.output/static/_next/static`
|
249796
249928
|
const tempStatic = '___static';
|
249797
249929
|
await fs_extra_1.default.rename(path_1.join(cwd, OUTPUT_DIR, 'static'), path_1.join(cwd, OUTPUT_DIR, tempStatic));
|
@@ -249925,6 +250057,15 @@ async function main(client) {
|
|
249925
250057
|
// Build Plugins
|
249926
250058
|
if ((plugins === null || plugins === void 0 ? void 0 : plugins.buildPlugins) && plugins.buildPlugins.length > 0) {
|
249927
250059
|
console.log(`Running ${plugins.pluginCount} CLI ${pluralize_1.default('Plugin', plugins.pluginCount)} after Build Command:`);
|
250060
|
+
let vercelConfig = {};
|
250061
|
+
try {
|
250062
|
+
vercelConfig = await fs_extra_1.default.readJSON(path_1.join(cwd, 'vercel.json'));
|
250063
|
+
}
|
250064
|
+
catch (error) {
|
250065
|
+
if (error.code !== 'ENOENT') {
|
250066
|
+
throw new Error(`Failed to read vercel.json: ${error.message}`);
|
250067
|
+
}
|
250068
|
+
}
|
249928
250069
|
for (let item of plugins.buildPlugins) {
|
249929
250070
|
const { name, plugin, color } = item;
|
249930
250071
|
if (typeof plugin.build === 'function') {
|
@@ -249936,6 +250077,7 @@ async function main(client) {
|
|
249936
250077
|
console.log = (...args) => prefixedLog(prefix, args, origLog);
|
249937
250078
|
console.error = (...args) => prefixedLog(prefix, args, origErr);
|
249938
250079
|
await plugin.build({
|
250080
|
+
vercelConfig,
|
249939
250081
|
workPath: cwd,
|
249940
250082
|
});
|
249941
250083
|
client.output.debug(`Completed ${fullName} ${chalk_1.default.dim(`${pluginStamp()}`)}`);
|
@@ -270244,7 +270386,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
270244
270386
|
/***/ ((module) => {
|
270245
270387
|
|
270246
270388
|
"use strict";
|
270247
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
270389
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.39\",\"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.21\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.0\",\"@vercel/ruby\":\"1.2.8-canary.4\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.7\",\"vercel-plugin-node\":\"1.12.2-canary.12\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/frameworks\":\"0.5.1-canary.13\",\"@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\":\"cc7b2691c1d43ecb19f1dd6e88f29137d85da61a\"}");
|
270248
270390
|
|
270249
270391
|
/***/ }),
|
270250
270392
|
|
@@ -270260,7 +270402,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
270260
270402
|
/***/ ((module) => {
|
270261
270403
|
|
270262
270404
|
"use strict";
|
270263
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
270405
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.22\",\"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.21\",\"@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\":\"cc7b2691c1d43ecb19f1dd6e88f29137d85da61a\"}");
|
270264
270406
|
|
270265
270407
|
/***/ }),
|
270266
270408
|
|