vercel 23.1.3-canary.35 → 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 +401 -236
- package/package.json +7 -7
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
|
|
@@ -216862,26 +216929,27 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
216862
216929
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
216863
216930
|
};
|
216864
216931
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
216865
|
-
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(
|
216932
|
+
exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
|
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;
|
@@ -216995,17 +217058,36 @@ async function updateFunctionsManifest({ workPath, pages, }) {
|
|
216995
217058
|
await fs_extra_1.default.writeFile(functionsManifestPath, JSON.stringify(functionsManifest));
|
216996
217059
|
}
|
216997
217060
|
exports.updateFunctionsManifest = updateFunctionsManifest;
|
217061
|
+
/**
|
217062
|
+
* Will append routes to the `routes-manifest.json` file.
|
217063
|
+
* If the file does not exist, it'll be created.
|
217064
|
+
*/
|
217065
|
+
async function updateRoutesManifest({ workPath, dynamicRoutes, }) {
|
217066
|
+
const routesManifestPath = path_1.join(workPath, '.output', 'routes-manifest.json');
|
217067
|
+
const routesManifest = await readJson(routesManifestPath);
|
217068
|
+
if (!routesManifest.version)
|
217069
|
+
routesManifest.version = 1;
|
217070
|
+
if (routesManifest.pages404 === undefined)
|
217071
|
+
routesManifest.pages404 = true;
|
217072
|
+
if (dynamicRoutes) {
|
217073
|
+
if (!routesManifest.dynamicRoutes)
|
217074
|
+
routesManifest.dynamicRoutes = [];
|
217075
|
+
routesManifest.dynamicRoutes.push(...dynamicRoutes);
|
217076
|
+
}
|
217077
|
+
await fs_extra_1.default.writeFile(routesManifestPath, JSON.stringify(routesManifest));
|
217078
|
+
}
|
217079
|
+
exports.updateRoutesManifest = updateRoutesManifest;
|
216998
217080
|
|
216999
217081
|
|
217000
217082
|
/***/ }),
|
217001
217083
|
|
217002
217084
|
/***/ 1868:
|
217003
|
-
/***/ ((__unused_webpack_module, exports,
|
217085
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_912683__) => {
|
217004
217086
|
|
217005
217087
|
"use strict";
|
217006
217088
|
|
217007
217089
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217008
|
-
const _1 =
|
217090
|
+
const _1 = __nested_webpack_require_912683__(2855);
|
217009
217091
|
function debug(message, ...additional) {
|
217010
217092
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217011
217093
|
console.log(message, ...additional);
|
@@ -217017,7 +217099,7 @@ exports.default = debug;
|
|
217017
217099
|
/***/ }),
|
217018
217100
|
|
217019
217101
|
/***/ 4246:
|
217020
|
-
/***/ (function(__unused_webpack_module, exports,
|
217102
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_913068__) {
|
217021
217103
|
|
217022
217104
|
"use strict";
|
217023
217105
|
|
@@ -217026,11 +217108,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217026
217108
|
};
|
217027
217109
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217028
217110
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217029
|
-
const minimatch_1 = __importDefault(
|
217030
|
-
const semver_1 =
|
217031
|
-
const path_1 =
|
217032
|
-
const frameworks_1 = __importDefault(
|
217033
|
-
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);
|
217034
217116
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217035
217117
|
// We need to sort the file paths by alphabet to make
|
217036
217118
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218036,7 +218118,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218036
218118
|
/***/ }),
|
218037
218119
|
|
218038
218120
|
/***/ 2397:
|
218039
|
-
/***/ (function(__unused_webpack_module, exports,
|
218121
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_949910__) {
|
218040
218122
|
|
218041
218123
|
"use strict";
|
218042
218124
|
|
@@ -218044,8 +218126,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218044
218126
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218045
218127
|
};
|
218046
218128
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218047
|
-
const assert_1 = __importDefault(
|
218048
|
-
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));
|
218049
218131
|
class FileBlob {
|
218050
218132
|
constructor({ mode = 0o100644, contentType, data }) {
|
218051
218133
|
assert_1.default(typeof mode === 'number');
|
@@ -218077,7 +218159,7 @@ exports.default = FileBlob;
|
|
218077
218159
|
/***/ }),
|
218078
218160
|
|
218079
218161
|
/***/ 9331:
|
218080
|
-
/***/ (function(__unused_webpack_module, exports,
|
218162
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_951362__) {
|
218081
218163
|
|
218082
218164
|
"use strict";
|
218083
218165
|
|
@@ -218085,11 +218167,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218085
218167
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218086
218168
|
};
|
218087
218169
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218088
|
-
const assert_1 = __importDefault(
|
218089
|
-
const fs_extra_1 = __importDefault(
|
218090
|
-
const multistream_1 = __importDefault(
|
218091
|
-
const path_1 = __importDefault(
|
218092
|
-
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));
|
218093
218175
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218094
218176
|
class FileFsRef {
|
218095
218177
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218155,7 +218237,7 @@ exports.default = FileFsRef;
|
|
218155
218237
|
/***/ }),
|
218156
218238
|
|
218157
218239
|
/***/ 5187:
|
218158
|
-
/***/ (function(__unused_webpack_module, exports,
|
218240
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_954166__) {
|
218159
218241
|
|
218160
218242
|
"use strict";
|
218161
218243
|
|
@@ -218163,11 +218245,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218163
218245
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218164
218246
|
};
|
218165
218247
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218166
|
-
const assert_1 = __importDefault(
|
218167
|
-
const node_fetch_1 = __importDefault(
|
218168
|
-
const multistream_1 = __importDefault(
|
218169
|
-
const async_retry_1 = __importDefault(
|
218170
|
-
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));
|
218171
218253
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218172
218254
|
class BailableError extends Error {
|
218173
218255
|
constructor(...args) {
|
@@ -218248,7 +218330,7 @@ exports.default = FileRef;
|
|
218248
218330
|
/***/ }),
|
218249
218331
|
|
218250
218332
|
/***/ 1611:
|
218251
|
-
/***/ (function(__unused_webpack_module, exports,
|
218333
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_957567__) {
|
218252
218334
|
|
218253
218335
|
"use strict";
|
218254
218336
|
|
@@ -218257,10 +218339,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218257
218339
|
};
|
218258
218340
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218259
218341
|
exports.isSymbolicLink = void 0;
|
218260
|
-
const path_1 = __importDefault(
|
218261
|
-
const debug_1 = __importDefault(
|
218262
|
-
const file_fs_ref_1 = __importDefault(
|
218263
|
-
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);
|
218264
218346
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218265
218347
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218266
218348
|
function isSymbolicLink(mode) {
|
@@ -218322,14 +218404,14 @@ exports.default = download;
|
|
218322
218404
|
/***/ }),
|
218323
218405
|
|
218324
218406
|
/***/ 3838:
|
218325
|
-
/***/ ((__unused_webpack_module, exports,
|
218407
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_960392__) => {
|
218326
218408
|
|
218327
218409
|
"use strict";
|
218328
218410
|
|
218329
218411
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218330
|
-
const path_1 =
|
218331
|
-
const os_1 =
|
218332
|
-
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);
|
218333
218415
|
async function getWritableDirectory() {
|
218334
218416
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
218335
218417
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -218342,7 +218424,7 @@ exports.default = getWritableDirectory;
|
|
218342
218424
|
/***/ }),
|
218343
218425
|
|
218344
218426
|
/***/ 4240:
|
218345
|
-
/***/ (function(__unused_webpack_module, exports,
|
218427
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_960972__) {
|
218346
218428
|
|
218347
218429
|
"use strict";
|
218348
218430
|
|
@@ -218350,13 +218432,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218350
218432
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218351
218433
|
};
|
218352
218434
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218353
|
-
const path_1 = __importDefault(
|
218354
|
-
const assert_1 = __importDefault(
|
218355
|
-
const glob_1 = __importDefault(
|
218356
|
-
const util_1 =
|
218357
|
-
const fs_extra_1 =
|
218358
|
-
const normalize_path_1 =
|
218359
|
-
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));
|
218360
218442
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
218361
218443
|
async function glob(pattern, opts, mountpoint) {
|
218362
218444
|
let options;
|
@@ -218402,7 +218484,7 @@ exports.default = glob;
|
|
218402
218484
|
/***/ }),
|
218403
218485
|
|
218404
218486
|
/***/ 7903:
|
218405
|
-
/***/ (function(__unused_webpack_module, exports,
|
218487
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_963168__) {
|
218406
218488
|
|
218407
218489
|
"use strict";
|
218408
218490
|
|
@@ -218411,9 +218493,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218411
218493
|
};
|
218412
218494
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218413
218495
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
218414
|
-
const semver_1 =
|
218415
|
-
const errors_1 =
|
218416
|
-
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));
|
218417
218499
|
const allOptions = [
|
218418
218500
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
218419
218501
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -218507,7 +218589,7 @@ exports.normalizePath = normalizePath;
|
|
218507
218589
|
/***/ }),
|
218508
218590
|
|
218509
218591
|
/***/ 7792:
|
218510
|
-
/***/ (function(__unused_webpack_module, exports,
|
218592
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_967036__) {
|
218511
218593
|
|
218512
218594
|
"use strict";
|
218513
218595
|
|
@@ -218516,9 +218598,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218516
218598
|
};
|
218517
218599
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218518
218600
|
exports.readConfigFile = void 0;
|
218519
|
-
const js_yaml_1 = __importDefault(
|
218520
|
-
const toml_1 = __importDefault(
|
218521
|
-
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);
|
218522
218604
|
async function readFileOrNull(file) {
|
218523
218605
|
try {
|
218524
218606
|
const data = await fs_extra_1.readFile(file);
|
@@ -218573,7 +218655,7 @@ exports.default = rename;
|
|
218573
218655
|
/***/ }),
|
218574
218656
|
|
218575
218657
|
/***/ 1442:
|
218576
|
-
/***/ (function(__unused_webpack_module, exports,
|
218658
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_968829__) {
|
218577
218659
|
|
218578
218660
|
"use strict";
|
218579
218661
|
|
@@ -218582,14 +218664,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218582
218664
|
};
|
218583
218665
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218584
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;
|
218585
|
-
const assert_1 = __importDefault(
|
218586
|
-
const fs_extra_1 = __importDefault(
|
218587
|
-
const path_1 = __importDefault(
|
218588
|
-
const debug_1 = __importDefault(
|
218589
|
-
const cross_spawn_1 = __importDefault(
|
218590
|
-
const util_1 =
|
218591
|
-
const errors_1 =
|
218592
|
-
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);
|
218593
218675
|
function spawnAsync(command, args, opts = {}) {
|
218594
218676
|
return new Promise((resolve, reject) => {
|
218595
218677
|
const stderrLogs = [];
|
@@ -218900,7 +218982,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
218900
218982
|
/***/ }),
|
218901
218983
|
|
218902
218984
|
/***/ 2560:
|
218903
|
-
/***/ (function(__unused_webpack_module, exports,
|
218985
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982819__) {
|
218904
218986
|
|
218905
218987
|
"use strict";
|
218906
218988
|
|
@@ -218908,7 +218990,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218908
218990
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218909
218991
|
};
|
218910
218992
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218911
|
-
const end_of_stream_1 = __importDefault(
|
218993
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_982819__(687));
|
218912
218994
|
function streamToBuffer(stream) {
|
218913
218995
|
return new Promise((resolve, reject) => {
|
218914
218996
|
const buffers = [];
|
@@ -218937,7 +219019,7 @@ exports.default = streamToBuffer;
|
|
218937
219019
|
/***/ }),
|
218938
219020
|
|
218939
219021
|
/***/ 2855:
|
218940
|
-
/***/ (function(__unused_webpack_module, exports,
|
219022
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983887__) {
|
218941
219023
|
|
218942
219024
|
"use strict";
|
218943
219025
|
|
@@ -218967,29 +219049,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218967
219049
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218968
219050
|
};
|
218969
219051
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218970
|
-
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = 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;
|
218971
|
-
const file_blob_1 = __importDefault(
|
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;
|
219053
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_983887__(2397));
|
218972
219054
|
exports.FileBlob = file_blob_1.default;
|
218973
|
-
const file_fs_ref_1 = __importDefault(
|
219055
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_983887__(9331));
|
218974
219056
|
exports.FileFsRef = file_fs_ref_1.default;
|
218975
|
-
const file_ref_1 = __importDefault(
|
219057
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_983887__(5187));
|
218976
219058
|
exports.FileRef = file_ref_1.default;
|
218977
|
-
const lambda_1 =
|
219059
|
+
const lambda_1 = __nested_webpack_require_983887__(6721);
|
218978
219060
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
218979
219061
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
218980
219062
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
218981
|
-
const prerender_1 =
|
219063
|
+
const prerender_1 = __nested_webpack_require_983887__(2850);
|
218982
219064
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
218983
|
-
const download_1 = __importStar(
|
219065
|
+
const download_1 = __importStar(__nested_webpack_require_983887__(1611));
|
218984
219066
|
exports.download = download_1.default;
|
218985
219067
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
218986
|
-
const get_writable_directory_1 = __importDefault(
|
219068
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_983887__(3838));
|
218987
219069
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
218988
|
-
const glob_1 = __importDefault(
|
219070
|
+
const glob_1 = __importDefault(__nested_webpack_require_983887__(4240));
|
218989
219071
|
exports.glob = glob_1.default;
|
218990
|
-
const rename_1 = __importDefault(
|
219072
|
+
const rename_1 = __importDefault(__nested_webpack_require_983887__(6718));
|
218991
219073
|
exports.rename = rename_1.default;
|
218992
|
-
const run_user_scripts_1 =
|
219074
|
+
const run_user_scripts_1 = __nested_webpack_require_983887__(1442);
|
218993
219075
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
218994
219076
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
218995
219077
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219006,35 +219088,36 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219006
219088
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219007
219089
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219008
219090
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219009
|
-
const node_version_1 =
|
219091
|
+
const node_version_1 = __nested_webpack_require_983887__(7903);
|
219010
219092
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219011
219093
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219012
|
-
const errors_1 =
|
219013
|
-
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));
|
219014
219096
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219015
|
-
const should_serve_1 = __importDefault(
|
219097
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_983887__(2564));
|
219016
219098
|
exports.shouldServe = should_serve_1.default;
|
219017
|
-
const debug_1 = __importDefault(
|
219099
|
+
const debug_1 = __importDefault(__nested_webpack_require_983887__(1868));
|
219018
219100
|
exports.debug = debug_1.default;
|
219019
|
-
var detect_builders_1 =
|
219101
|
+
var detect_builders_1 = __nested_webpack_require_983887__(4246);
|
219020
219102
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219021
219103
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219022
219104
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219023
219105
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219024
|
-
var detect_framework_1 =
|
219106
|
+
var detect_framework_1 = __nested_webpack_require_983887__(5224);
|
219025
219107
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219026
|
-
var filesystem_1 =
|
219108
|
+
var filesystem_1 = __nested_webpack_require_983887__(461);
|
219027
219109
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219028
|
-
var read_config_file_1 =
|
219110
|
+
var read_config_file_1 = __nested_webpack_require_983887__(7792);
|
219029
219111
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219030
|
-
var normalize_path_1 =
|
219112
|
+
var normalize_path_1 = __nested_webpack_require_983887__(6261);
|
219031
219113
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219032
|
-
var convert_runtime_to_plugin_1 =
|
219114
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_983887__(7276);
|
219033
219115
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219034
219116
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219035
|
-
|
219036
|
-
__exportStar(
|
219037
|
-
__exportStar(
|
219117
|
+
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219118
|
+
__exportStar(__nested_webpack_require_983887__(2416), exports);
|
219119
|
+
__exportStar(__nested_webpack_require_983887__(5748), exports);
|
219120
|
+
__exportStar(__nested_webpack_require_983887__(3983), exports);
|
219038
219121
|
/**
|
219039
219122
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219040
219123
|
*/
|
@@ -219079,7 +219162,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
219079
219162
|
/***/ }),
|
219080
219163
|
|
219081
219164
|
/***/ 6721:
|
219082
|
-
/***/ (function(__unused_webpack_module, exports,
|
219165
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_994351__) {
|
219083
219166
|
|
219084
219167
|
"use strict";
|
219085
219168
|
|
@@ -219088,13 +219171,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219088
219171
|
};
|
219089
219172
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219090
219173
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219091
|
-
const assert_1 = __importDefault(
|
219092
|
-
const async_sema_1 = __importDefault(
|
219093
|
-
const yazl_1 =
|
219094
|
-
const minimatch_1 = __importDefault(
|
219095
|
-
const fs_extra_1 =
|
219096
|
-
const download_1 =
|
219097
|
-
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));
|
219098
219181
|
exports.FILES_SYMBOL = Symbol('files');
|
219099
219182
|
class Lambda {
|
219100
219183
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -219323,12 +219406,12 @@ exports.buildsSchema = {
|
|
219323
219406
|
/***/ }),
|
219324
219407
|
|
219325
219408
|
/***/ 2564:
|
219326
|
-
/***/ ((__unused_webpack_module, exports,
|
219409
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1002861__) => {
|
219327
219410
|
|
219328
219411
|
"use strict";
|
219329
219412
|
|
219330
219413
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219331
|
-
const path_1 =
|
219414
|
+
const path_1 = __nested_webpack_require_1002861__(5622);
|
219332
219415
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
219333
219416
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
219334
219417
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -219557,7 +219640,7 @@ module.exports = __webpack_require__(78761);
|
|
219557
219640
|
/******/ var __webpack_module_cache__ = {};
|
219558
219641
|
/******/
|
219559
219642
|
/******/ // The require function
|
219560
|
-
/******/ function
|
219643
|
+
/******/ function __nested_webpack_require_1102500__(moduleId) {
|
219561
219644
|
/******/ // Check if module is in cache
|
219562
219645
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
219563
219646
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -219572,7 +219655,7 @@ module.exports = __webpack_require__(78761);
|
|
219572
219655
|
/******/ // Execute the module function
|
219573
219656
|
/******/ var threw = true;
|
219574
219657
|
/******/ try {
|
219575
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
219658
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1102500__);
|
219576
219659
|
/******/ threw = false;
|
219577
219660
|
/******/ } finally {
|
219578
219661
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -219585,11 +219668,11 @@ module.exports = __webpack_require__(78761);
|
|
219585
219668
|
/************************************************************************/
|
219586
219669
|
/******/ /* webpack/runtime/compat */
|
219587
219670
|
/******/
|
219588
|
-
/******/
|
219671
|
+
/******/ __nested_webpack_require_1102500__.ab = __dirname + "/";/************************************************************************/
|
219589
219672
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
219590
219673
|
/******/ // startup
|
219591
219674
|
/******/ // Load entry module and return exports
|
219592
|
-
/******/ return
|
219675
|
+
/******/ return __nested_webpack_require_1102500__(2855);
|
219593
219676
|
/******/ })()
|
219594
219677
|
;
|
219595
219678
|
|
@@ -241861,7 +241944,7 @@ exports.frameworks = [
|
|
241861
241944
|
tagline: 'Gatsby helps developers build blazing fast websites and apps with React.',
|
241862
241945
|
description: 'A Gatsby app, using the default starter theme and a Serverless Function API.',
|
241863
241946
|
website: 'https://gatsbyjs.org',
|
241864
|
-
sort:
|
241947
|
+
sort: 5,
|
241865
241948
|
envPrefix: 'GATSBY_',
|
241866
241949
|
detectors: {
|
241867
241950
|
every: [
|
@@ -241936,6 +242019,73 @@ exports.frameworks = [
|
|
241936
242019
|
},
|
241937
242020
|
cachePattern: '{.cache,public}/**',
|
241938
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
|
+
},
|
241939
242089
|
{
|
241940
242090
|
name: 'Hexo',
|
241941
242091
|
slug: 'hexo',
|
@@ -241944,7 +242094,6 @@ exports.frameworks = [
|
|
241944
242094
|
tagline: 'Hexo is a fast, simple & powerful blog framework powered by Node.js.',
|
241945
242095
|
description: 'A Hexo site, created with the Hexo CLI.',
|
241946
242096
|
website: 'https://hexo.io',
|
241947
|
-
sort: 3,
|
241948
242097
|
detectors: {
|
241949
242098
|
every: [
|
241950
242099
|
{
|
@@ -241981,7 +242130,6 @@ exports.frameworks = [
|
|
241981
242130
|
tagline: '11ty is a simpler static site generator written in JavaScript, created to be an alternative to Jekyll.',
|
241982
242131
|
description: 'An Eleventy site, created with npm init.',
|
241983
242132
|
website: 'https://www.11ty.dev',
|
241984
|
-
sort: 4,
|
241985
242133
|
detectors: {
|
241986
242134
|
every: [
|
241987
242135
|
{
|
@@ -242693,6 +242841,7 @@ exports.frameworks = [
|
|
242693
242841
|
tagline: 'Svelte lets you write high performance reactive apps with significantly less boilerplate.',
|
242694
242842
|
description: 'A basic Svelte app using the default template.',
|
242695
242843
|
website: 'https://svelte.dev',
|
242844
|
+
sort: 3,
|
242696
242845
|
detectors: {
|
242697
242846
|
every: [
|
242698
242847
|
{
|
@@ -242882,6 +243031,7 @@ exports.frameworks = [
|
|
242882
243031
|
tagline: 'Create React App allows you to get going with React in no time.',
|
242883
243032
|
description: 'A React app, bootstrapped with create-react-app, and a Serverless Function API.',
|
242884
243033
|
website: 'https://create-react-app.dev',
|
243034
|
+
sort: 4,
|
242885
243035
|
envPrefix: 'REACT_APP_',
|
242886
243036
|
detectors: {
|
242887
243037
|
some: [
|
@@ -243263,6 +243413,7 @@ exports.frameworks = [
|
|
243263
243413
|
tagline: 'Nuxt.js is the web comprehensive framework that lets you dream big with Vue.js.',
|
243264
243414
|
description: 'A Nuxt.js app, bootstrapped with create-nuxt-app.',
|
243265
243415
|
website: 'https://nuxtjs.org',
|
243416
|
+
sort: 2,
|
243266
243417
|
envPrefix: 'NUXT_ENV_',
|
243267
243418
|
detectors: {
|
243268
243419
|
every: [
|
@@ -243356,7 +243507,6 @@ exports.frameworks = [
|
|
243356
243507
|
tagline: 'Hugo is the world’s fastest framework for building websites, written in Go.',
|
243357
243508
|
description: 'A Hugo site, created with the Hugo CLI.',
|
243358
243509
|
website: 'https://gohugo.io',
|
243359
|
-
sort: 5,
|
243360
243510
|
detectors: {
|
243361
243511
|
some: [
|
243362
243512
|
{
|
@@ -249710,10 +249860,12 @@ async function main(client) {
|
|
249710
249860
|
cwd,
|
249711
249861
|
});
|
249712
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'));
|
249713
249865
|
if (!fs_extra_1.default.existsSync(path_1.join(cwd, OUTPUT_DIR))) {
|
249714
249866
|
let outputDir = path_1.join(OUTPUT_DIR, 'static');
|
249715
249867
|
let distDir = await framework.getFsOutputDir(cwd);
|
249716
|
-
if (
|
249868
|
+
if (isNextJs) {
|
249717
249869
|
outputDir = OUTPUT_DIR;
|
249718
249870
|
}
|
249719
249871
|
const copyStamp = stamp_1.default();
|
@@ -249771,7 +249923,7 @@ async function main(client) {
|
|
249771
249923
|
await fs_extra_1.default.writeJSON(path_1.join(cwd, OUTPUT_DIR, 'routes-manifest.json'), routesManifest, { spaces: 2 });
|
249772
249924
|
}
|
249773
249925
|
// Special Next.js processing.
|
249774
|
-
if (
|
249926
|
+
if (isNextJs) {
|
249775
249927
|
// The contents of `.output/static` should be placed inside of `.output/static/_next/static`
|
249776
249928
|
const tempStatic = '___static';
|
249777
249929
|
await fs_extra_1.default.rename(path_1.join(cwd, OUTPUT_DIR, 'static'), path_1.join(cwd, OUTPUT_DIR, tempStatic));
|
@@ -249905,6 +250057,15 @@ async function main(client) {
|
|
249905
250057
|
// Build Plugins
|
249906
250058
|
if ((plugins === null || plugins === void 0 ? void 0 : plugins.buildPlugins) && plugins.buildPlugins.length > 0) {
|
249907
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
|
+
}
|
249908
250069
|
for (let item of plugins.buildPlugins) {
|
249909
250070
|
const { name, plugin, color } = item;
|
249910
250071
|
if (typeof plugin.build === 'function') {
|
@@ -249916,6 +250077,7 @@ async function main(client) {
|
|
249916
250077
|
console.log = (...args) => prefixedLog(prefix, args, origLog);
|
249917
250078
|
console.error = (...args) => prefixedLog(prefix, args, origErr);
|
249918
250079
|
await plugin.build({
|
250080
|
+
vercelConfig,
|
249919
250081
|
workPath: cwd,
|
249920
250082
|
});
|
249921
250083
|
client.output.debug(`Completed ${fullName} ${chalk_1.default.dim(`${pluginStamp()}`)}`);
|
@@ -249977,7 +250139,7 @@ async function linkOrCopy(existingPath, newPath) {
|
|
249977
250139
|
});
|
249978
250140
|
}
|
249979
250141
|
else {
|
249980
|
-
await fs_extra_1.default.
|
250142
|
+
await fs_extra_1.default.createLink(existingPath, newPath);
|
249981
250143
|
}
|
249982
250144
|
}
|
249983
250145
|
catch (err) {
|
@@ -267600,7 +267762,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
267600
267762
|
exports.metrics = exports.shouldCollectMetrics = void 0;
|
267601
267763
|
const crypto_1 = __importDefault(__webpack_require__(76417));
|
267602
267764
|
const universal_analytics_1 = __importDefault(__webpack_require__(54836));
|
267603
|
-
const os_1 = __webpack_require__(12087);
|
267604
267765
|
const build_utils_1 = __webpack_require__(3131);
|
267605
267766
|
const ua_browser_1 = __importDefault(__webpack_require__(17985));
|
267606
267767
|
const constants_1 = __webpack_require__(8764);
|
@@ -267610,10 +267771,14 @@ exports.shouldCollectMetrics = (config.collectMetrics === undefined || config.co
|
|
267610
267771
|
build_utils_1.getPlatformEnv('CLI_COLLECT_METRICS') !== '0' &&
|
267611
267772
|
constants_1.GA_TRACKING_ID;
|
267612
267773
|
const metrics = () => {
|
267613
|
-
const token = typeof config.token === 'string'
|
267614
|
-
|
267774
|
+
const token = typeof config.token === 'string'
|
267775
|
+
? config.token
|
267776
|
+
: process.platform + process.arch;
|
267777
|
+
const salt = (process.env.USER || '') +
|
267778
|
+
(process.env.LANG || '') +
|
267779
|
+
(process.env.SHELL || '');
|
267615
267780
|
const hash = crypto_1.default
|
267616
|
-
.pbkdf2Sync(token, salt,
|
267781
|
+
.pbkdf2Sync(token, salt, 100, 64, 'sha512')
|
267617
267782
|
.toString('hex')
|
267618
267783
|
.substring(0, 24);
|
267619
267784
|
return universal_analytics_1.default(constants_1.GA_TRACKING_ID || '', {
|
@@ -270221,7 +270386,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
270221
270386
|
/***/ ((module) => {
|
270222
270387
|
|
270223
270388
|
"use strict";
|
270224
|
-
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\"}");
|
270225
270390
|
|
270226
270391
|
/***/ }),
|
270227
270392
|
|
@@ -270237,7 +270402,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
270237
270402
|
/***/ ((module) => {
|
270238
270403
|
|
270239
270404
|
"use strict";
|
270240
|
-
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\"}");
|
270241
270406
|
|
270242
270407
|
/***/ }),
|
270243
270408
|
|