vercel 23.1.3-canary.42 → 23.1.3-canary.43
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 +274 -233
- package/package.json +5 -5
package/dist/index.js
CHANGED
@@ -210923,7 +210923,7 @@ exports.frameworks = [
|
|
210923
210923
|
name: 'Remix',
|
210924
210924
|
slug: 'remix',
|
210925
210925
|
demo: 'https://remix.examples.vercel.com',
|
210926
|
-
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix.svg',
|
210926
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix-no-shadow.svg',
|
210927
210927
|
tagline: 'Build Better Websites',
|
210928
210928
|
description: 'A new Remix app — the result of running `npx create-remix`.',
|
210929
210929
|
website: 'https://remix.run',
|
@@ -212737,7 +212737,7 @@ exports.default = def;
|
|
212737
212737
|
/***/ }),
|
212738
212738
|
|
212739
212739
|
/***/ 3734:
|
212740
|
-
/***/ (function(__unused_webpack_module, exports,
|
212740
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_795935__) {
|
212741
212741
|
|
212742
212742
|
"use strict";
|
212743
212743
|
|
@@ -212746,9 +212746,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
212746
212746
|
};
|
212747
212747
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
212748
212748
|
exports.readConfigFile = void 0;
|
212749
|
-
const js_yaml_1 = __importDefault(
|
212750
|
-
const toml_1 = __importDefault(
|
212751
|
-
const fs_1 =
|
212749
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_795935__(641));
|
212750
|
+
const toml_1 = __importDefault(__nested_webpack_require_795935__(9434));
|
212751
|
+
const fs_1 = __nested_webpack_require_795935__(5747);
|
212752
212752
|
const { readFile } = fs_1.promises;
|
212753
212753
|
async function readFileOrNull(file) {
|
212754
212754
|
try {
|
@@ -212797,13 +212797,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
212797
212797
|
/***/ }),
|
212798
212798
|
|
212799
212799
|
/***/ 641:
|
212800
|
-
/***/ ((module, __unused_webpack_exports,
|
212800
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797541__) => {
|
212801
212801
|
|
212802
212802
|
"use strict";
|
212803
212803
|
|
212804
212804
|
|
212805
212805
|
|
212806
|
-
var yaml =
|
212806
|
+
var yaml = __nested_webpack_require_797541__(9633);
|
212807
212807
|
|
212808
212808
|
|
212809
212809
|
module.exports = yaml;
|
@@ -212812,14 +212812,14 @@ module.exports = yaml;
|
|
212812
212812
|
/***/ }),
|
212813
212813
|
|
212814
212814
|
/***/ 9633:
|
212815
|
-
/***/ ((module, __unused_webpack_exports,
|
212815
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797715__) => {
|
212816
212816
|
|
212817
212817
|
"use strict";
|
212818
212818
|
|
212819
212819
|
|
212820
212820
|
|
212821
|
-
var loader =
|
212822
|
-
var dumper =
|
212821
|
+
var loader = __nested_webpack_require_797715__(4349);
|
212822
|
+
var dumper = __nested_webpack_require_797715__(8047);
|
212823
212823
|
|
212824
212824
|
|
212825
212825
|
function deprecated(name) {
|
@@ -212829,25 +212829,25 @@ function deprecated(name) {
|
|
212829
212829
|
}
|
212830
212830
|
|
212831
212831
|
|
212832
|
-
module.exports.Type =
|
212833
|
-
module.exports.Schema =
|
212834
|
-
module.exports.FAILSAFE_SCHEMA =
|
212835
|
-
module.exports.JSON_SCHEMA =
|
212836
|
-
module.exports.CORE_SCHEMA =
|
212837
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
212838
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
212832
|
+
module.exports.Type = __nested_webpack_require_797715__(6876);
|
212833
|
+
module.exports.Schema = __nested_webpack_require_797715__(6105);
|
212834
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_797715__(8441);
|
212835
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_797715__(1486);
|
212836
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_797715__(1112);
|
212837
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_797715__(596);
|
212838
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_797715__(9647);
|
212839
212839
|
module.exports.load = loader.load;
|
212840
212840
|
module.exports.loadAll = loader.loadAll;
|
212841
212841
|
module.exports.safeLoad = loader.safeLoad;
|
212842
212842
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
212843
212843
|
module.exports.dump = dumper.dump;
|
212844
212844
|
module.exports.safeDump = dumper.safeDump;
|
212845
|
-
module.exports.YAMLException =
|
212845
|
+
module.exports.YAMLException = __nested_webpack_require_797715__(3237);
|
212846
212846
|
|
212847
212847
|
// Deprecated schema names from JS-YAML 2.0.x
|
212848
|
-
module.exports.MINIMAL_SCHEMA =
|
212849
|
-
module.exports.SAFE_SCHEMA =
|
212850
|
-
module.exports.DEFAULT_SCHEMA =
|
212848
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_797715__(8441);
|
212849
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_797715__(596);
|
212850
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_797715__(9647);
|
212851
212851
|
|
212852
212852
|
// Deprecated functions from JS-YAML 1.x.x
|
212853
212853
|
module.exports.scan = deprecated('scan');
|
@@ -212926,17 +212926,17 @@ module.exports.extend = extend;
|
|
212926
212926
|
/***/ }),
|
212927
212927
|
|
212928
212928
|
/***/ 8047:
|
212929
|
-
/***/ ((module, __unused_webpack_exports,
|
212929
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_800533__) => {
|
212930
212930
|
|
212931
212931
|
"use strict";
|
212932
212932
|
|
212933
212933
|
|
212934
212934
|
/*eslint-disable no-use-before-define*/
|
212935
212935
|
|
212936
|
-
var common =
|
212937
|
-
var YAMLException =
|
212938
|
-
var DEFAULT_FULL_SCHEMA =
|
212939
|
-
var DEFAULT_SAFE_SCHEMA =
|
212936
|
+
var common = __nested_webpack_require_800533__(903);
|
212937
|
+
var YAMLException = __nested_webpack_require_800533__(3237);
|
212938
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_800533__(9647);
|
212939
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_800533__(596);
|
212940
212940
|
|
212941
212941
|
var _toString = Object.prototype.toString;
|
212942
212942
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -213812,18 +213812,18 @@ module.exports = YAMLException;
|
|
213812
213812
|
/***/ }),
|
213813
213813
|
|
213814
213814
|
/***/ 4349:
|
213815
|
-
/***/ ((module, __unused_webpack_exports,
|
213815
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_828237__) => {
|
213816
213816
|
|
213817
213817
|
"use strict";
|
213818
213818
|
|
213819
213819
|
|
213820
213820
|
/*eslint-disable max-len,no-use-before-define*/
|
213821
213821
|
|
213822
|
-
var common =
|
213823
|
-
var YAMLException =
|
213824
|
-
var Mark =
|
213825
|
-
var DEFAULT_SAFE_SCHEMA =
|
213826
|
-
var DEFAULT_FULL_SCHEMA =
|
213822
|
+
var common = __nested_webpack_require_828237__(903);
|
213823
|
+
var YAMLException = __nested_webpack_require_828237__(3237);
|
213824
|
+
var Mark = __nested_webpack_require_828237__(4926);
|
213825
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_828237__(596);
|
213826
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_828237__(9647);
|
213827
213827
|
|
213828
213828
|
|
213829
213829
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -215445,13 +215445,13 @@ module.exports.safeLoad = safeLoad;
|
|
215445
215445
|
/***/ }),
|
215446
215446
|
|
215447
215447
|
/***/ 4926:
|
215448
|
-
/***/ ((module, __unused_webpack_exports,
|
215448
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_872104__) => {
|
215449
215449
|
|
215450
215450
|
"use strict";
|
215451
215451
|
|
215452
215452
|
|
215453
215453
|
|
215454
|
-
var common =
|
215454
|
+
var common = __nested_webpack_require_872104__(903);
|
215455
215455
|
|
215456
215456
|
|
215457
215457
|
function Mark(name, buffer, position, line, column) {
|
@@ -215529,16 +215529,16 @@ module.exports = Mark;
|
|
215529
215529
|
/***/ }),
|
215530
215530
|
|
215531
215531
|
/***/ 6105:
|
215532
|
-
/***/ ((module, __unused_webpack_exports,
|
215532
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_873766__) => {
|
215533
215533
|
|
215534
215534
|
"use strict";
|
215535
215535
|
|
215536
215536
|
|
215537
215537
|
/*eslint-disable max-len*/
|
215538
215538
|
|
215539
|
-
var common =
|
215540
|
-
var YAMLException =
|
215541
|
-
var Type =
|
215539
|
+
var common = __nested_webpack_require_873766__(903);
|
215540
|
+
var YAMLException = __nested_webpack_require_873766__(3237);
|
215541
|
+
var Type = __nested_webpack_require_873766__(6876);
|
215542
215542
|
|
215543
215543
|
|
215544
215544
|
function compileList(schema, name, result) {
|
@@ -215645,7 +215645,7 @@ module.exports = Schema;
|
|
215645
215645
|
/***/ }),
|
215646
215646
|
|
215647
215647
|
/***/ 1112:
|
215648
|
-
/***/ ((module, __unused_webpack_exports,
|
215648
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_876630__) => {
|
215649
215649
|
|
215650
215650
|
"use strict";
|
215651
215651
|
// Standard YAML's Core schema.
|
@@ -215658,12 +215658,12 @@ module.exports = Schema;
|
|
215658
215658
|
|
215659
215659
|
|
215660
215660
|
|
215661
|
-
var Schema =
|
215661
|
+
var Schema = __nested_webpack_require_876630__(6105);
|
215662
215662
|
|
215663
215663
|
|
215664
215664
|
module.exports = new Schema({
|
215665
215665
|
include: [
|
215666
|
-
|
215666
|
+
__nested_webpack_require_876630__(1486)
|
215667
215667
|
]
|
215668
215668
|
});
|
215669
215669
|
|
@@ -215671,7 +215671,7 @@ module.exports = new Schema({
|
|
215671
215671
|
/***/ }),
|
215672
215672
|
|
215673
215673
|
/***/ 9647:
|
215674
|
-
/***/ ((module, __unused_webpack_exports,
|
215674
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_877100__) => {
|
215675
215675
|
|
215676
215676
|
"use strict";
|
215677
215677
|
// JS-YAML's default schema for `load` function.
|
@@ -215686,17 +215686,17 @@ module.exports = new Schema({
|
|
215686
215686
|
|
215687
215687
|
|
215688
215688
|
|
215689
|
-
var Schema =
|
215689
|
+
var Schema = __nested_webpack_require_877100__(6105);
|
215690
215690
|
|
215691
215691
|
|
215692
215692
|
module.exports = Schema.DEFAULT = new Schema({
|
215693
215693
|
include: [
|
215694
|
-
|
215694
|
+
__nested_webpack_require_877100__(596)
|
215695
215695
|
],
|
215696
215696
|
explicit: [
|
215697
|
-
|
215698
|
-
|
215699
|
-
|
215697
|
+
__nested_webpack_require_877100__(5836),
|
215698
|
+
__nested_webpack_require_877100__(6841),
|
215699
|
+
__nested_webpack_require_877100__(8750)
|
215700
215700
|
]
|
215701
215701
|
});
|
215702
215702
|
|
@@ -215704,7 +215704,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
215704
215704
|
/***/ }),
|
215705
215705
|
|
215706
215706
|
/***/ 596:
|
215707
|
-
/***/ ((module, __unused_webpack_exports,
|
215707
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_877794__) => {
|
215708
215708
|
|
215709
215709
|
"use strict";
|
215710
215710
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -215717,22 +215717,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
215717
215717
|
|
215718
215718
|
|
215719
215719
|
|
215720
|
-
var Schema =
|
215720
|
+
var Schema = __nested_webpack_require_877794__(6105);
|
215721
215721
|
|
215722
215722
|
|
215723
215723
|
module.exports = new Schema({
|
215724
215724
|
include: [
|
215725
|
-
|
215725
|
+
__nested_webpack_require_877794__(1112)
|
215726
215726
|
],
|
215727
215727
|
implicit: [
|
215728
|
-
|
215729
|
-
|
215728
|
+
__nested_webpack_require_877794__(7028),
|
215729
|
+
__nested_webpack_require_877794__(7841)
|
215730
215730
|
],
|
215731
215731
|
explicit: [
|
215732
|
-
|
215733
|
-
|
215734
|
-
|
215735
|
-
|
215732
|
+
__nested_webpack_require_877794__(8675),
|
215733
|
+
__nested_webpack_require_877794__(3498),
|
215734
|
+
__nested_webpack_require_877794__(679),
|
215735
|
+
__nested_webpack_require_877794__(7205)
|
215736
215736
|
]
|
215737
215737
|
});
|
215738
215738
|
|
@@ -215740,7 +215740,7 @@ module.exports = new Schema({
|
|
215740
215740
|
/***/ }),
|
215741
215741
|
|
215742
215742
|
/***/ 8441:
|
215743
|
-
/***/ ((module, __unused_webpack_exports,
|
215743
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878506__) => {
|
215744
215744
|
|
215745
215745
|
"use strict";
|
215746
215746
|
// Standard YAML's Failsafe schema.
|
@@ -215750,14 +215750,14 @@ module.exports = new Schema({
|
|
215750
215750
|
|
215751
215751
|
|
215752
215752
|
|
215753
|
-
var Schema =
|
215753
|
+
var Schema = __nested_webpack_require_878506__(6105);
|
215754
215754
|
|
215755
215755
|
|
215756
215756
|
module.exports = new Schema({
|
215757
215757
|
explicit: [
|
215758
|
-
|
215759
|
-
|
215760
|
-
|
215758
|
+
__nested_webpack_require_878506__(5348),
|
215759
|
+
__nested_webpack_require_878506__(7330),
|
215760
|
+
__nested_webpack_require_878506__(293)
|
215761
215761
|
]
|
215762
215762
|
});
|
215763
215763
|
|
@@ -215765,7 +215765,7 @@ module.exports = new Schema({
|
|
215765
215765
|
/***/ }),
|
215766
215766
|
|
215767
215767
|
/***/ 1486:
|
215768
|
-
/***/ ((module, __unused_webpack_exports,
|
215768
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878892__) => {
|
215769
215769
|
|
215770
215770
|
"use strict";
|
215771
215771
|
// Standard YAML's JSON schema.
|
@@ -215779,18 +215779,18 @@ module.exports = new Schema({
|
|
215779
215779
|
|
215780
215780
|
|
215781
215781
|
|
215782
|
-
var Schema =
|
215782
|
+
var Schema = __nested_webpack_require_878892__(6105);
|
215783
215783
|
|
215784
215784
|
|
215785
215785
|
module.exports = new Schema({
|
215786
215786
|
include: [
|
215787
|
-
|
215787
|
+
__nested_webpack_require_878892__(8441)
|
215788
215788
|
],
|
215789
215789
|
implicit: [
|
215790
|
-
|
215791
|
-
|
215792
|
-
|
215793
|
-
|
215790
|
+
__nested_webpack_require_878892__(9074),
|
215791
|
+
__nested_webpack_require_878892__(4308),
|
215792
|
+
__nested_webpack_require_878892__(1167),
|
215793
|
+
__nested_webpack_require_878892__(7862)
|
215794
215794
|
]
|
215795
215795
|
});
|
215796
215796
|
|
@@ -215798,12 +215798,12 @@ module.exports = new Schema({
|
|
215798
215798
|
/***/ }),
|
215799
215799
|
|
215800
215800
|
/***/ 6876:
|
215801
|
-
/***/ ((module, __unused_webpack_exports,
|
215801
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_879590__) => {
|
215802
215802
|
|
215803
215803
|
"use strict";
|
215804
215804
|
|
215805
215805
|
|
215806
|
-
var YAMLException =
|
215806
|
+
var YAMLException = __nested_webpack_require_879590__(3237);
|
215807
215807
|
|
215808
215808
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
215809
215809
|
'kind',
|
@@ -215867,7 +215867,7 @@ module.exports = Type;
|
|
215867
215867
|
/***/ }),
|
215868
215868
|
|
215869
215869
|
/***/ 8675:
|
215870
|
-
/***/ ((module, __unused_webpack_exports,
|
215870
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_881274__) => {
|
215871
215871
|
|
215872
215872
|
"use strict";
|
215873
215873
|
|
@@ -215882,7 +215882,7 @@ try {
|
|
215882
215882
|
NodeBuffer = _require('buffer').Buffer;
|
215883
215883
|
} catch (__) {}
|
215884
215884
|
|
215885
|
-
var Type =
|
215885
|
+
var Type = __nested_webpack_require_881274__(6876);
|
215886
215886
|
|
215887
215887
|
|
215888
215888
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -216013,12 +216013,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
216013
216013
|
/***/ }),
|
216014
216014
|
|
216015
216015
|
/***/ 4308:
|
216016
|
-
/***/ ((module, __unused_webpack_exports,
|
216016
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_884666__) => {
|
216017
216017
|
|
216018
216018
|
"use strict";
|
216019
216019
|
|
216020
216020
|
|
216021
|
-
var Type =
|
216021
|
+
var Type = __nested_webpack_require_884666__(6876);
|
216022
216022
|
|
216023
216023
|
function resolveYamlBoolean(data) {
|
216024
216024
|
if (data === null) return false;
|
@@ -216056,13 +216056,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
216056
216056
|
/***/ }),
|
216057
216057
|
|
216058
216058
|
/***/ 7862:
|
216059
|
-
/***/ ((module, __unused_webpack_exports,
|
216059
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_885739__) => {
|
216060
216060
|
|
216061
216061
|
"use strict";
|
216062
216062
|
|
216063
216063
|
|
216064
|
-
var common =
|
216065
|
-
var Type =
|
216064
|
+
var common = __nested_webpack_require_885739__(903);
|
216065
|
+
var Type = __nested_webpack_require_885739__(6876);
|
216066
216066
|
|
216067
216067
|
var YAML_FLOAT_PATTERN = new RegExp(
|
216068
216068
|
// 2.5e4, 2.5 and integers
|
@@ -216180,13 +216180,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
216180
216180
|
/***/ }),
|
216181
216181
|
|
216182
216182
|
/***/ 1167:
|
216183
|
-
/***/ ((module, __unused_webpack_exports,
|
216183
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_888685__) => {
|
216184
216184
|
|
216185
216185
|
"use strict";
|
216186
216186
|
|
216187
216187
|
|
216188
|
-
var common =
|
216189
|
-
var Type =
|
216188
|
+
var common = __nested_webpack_require_888685__(903);
|
216189
|
+
var Type = __nested_webpack_require_888685__(6876);
|
216190
216190
|
|
216191
216191
|
function isHexCode(c) {
|
216192
216192
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -216361,7 +216361,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
216361
216361
|
/***/ }),
|
216362
216362
|
|
216363
216363
|
/***/ 8750:
|
216364
|
-
/***/ ((module, __unused_webpack_exports,
|
216364
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_892857__) => {
|
216365
216365
|
|
216366
216366
|
"use strict";
|
216367
216367
|
|
@@ -216384,7 +216384,7 @@ try {
|
|
216384
216384
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
216385
216385
|
}
|
216386
216386
|
|
216387
|
-
var Type =
|
216387
|
+
var Type = __nested_webpack_require_892857__(6876);
|
216388
216388
|
|
216389
216389
|
function resolveJavascriptFunction(data) {
|
216390
216390
|
if (data === null) return false;
|
@@ -216461,12 +216461,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
216461
216461
|
/***/ }),
|
216462
216462
|
|
216463
216463
|
/***/ 6841:
|
216464
|
-
/***/ ((module, __unused_webpack_exports,
|
216464
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895754__) => {
|
216465
216465
|
|
216466
216466
|
"use strict";
|
216467
216467
|
|
216468
216468
|
|
216469
|
-
var Type =
|
216469
|
+
var Type = __nested_webpack_require_895754__(6876);
|
216470
216470
|
|
216471
216471
|
function resolveJavascriptRegExp(data) {
|
216472
216472
|
if (data === null) return false;
|
@@ -216529,12 +216529,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
216529
216529
|
/***/ }),
|
216530
216530
|
|
216531
216531
|
/***/ 5836:
|
216532
|
-
/***/ ((module, __unused_webpack_exports,
|
216532
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897425__) => {
|
216533
216533
|
|
216534
216534
|
"use strict";
|
216535
216535
|
|
216536
216536
|
|
216537
|
-
var Type =
|
216537
|
+
var Type = __nested_webpack_require_897425__(6876);
|
216538
216538
|
|
216539
216539
|
function resolveJavascriptUndefined() {
|
216540
216540
|
return true;
|
@@ -216565,12 +216565,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
216565
216565
|
/***/ }),
|
216566
216566
|
|
216567
216567
|
/***/ 293:
|
216568
|
-
/***/ ((module, __unused_webpack_exports,
|
216568
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898096__) => {
|
216569
216569
|
|
216570
216570
|
"use strict";
|
216571
216571
|
|
216572
216572
|
|
216573
|
-
var Type =
|
216573
|
+
var Type = __nested_webpack_require_898096__(6876);
|
216574
216574
|
|
216575
216575
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
216576
216576
|
kind: 'mapping',
|
@@ -216581,12 +216581,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
216581
216581
|
/***/ }),
|
216582
216582
|
|
216583
216583
|
/***/ 7841:
|
216584
|
-
/***/ ((module, __unused_webpack_exports,
|
216584
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898388__) => {
|
216585
216585
|
|
216586
216586
|
"use strict";
|
216587
216587
|
|
216588
216588
|
|
216589
|
-
var Type =
|
216589
|
+
var Type = __nested_webpack_require_898388__(6876);
|
216590
216590
|
|
216591
216591
|
function resolveYamlMerge(data) {
|
216592
216592
|
return data === '<<' || data === null;
|
@@ -216601,12 +216601,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
216601
216601
|
/***/ }),
|
216602
216602
|
|
216603
216603
|
/***/ 9074:
|
216604
|
-
/***/ ((module, __unused_webpack_exports,
|
216604
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898720__) => {
|
216605
216605
|
|
216606
216606
|
"use strict";
|
216607
216607
|
|
216608
216608
|
|
216609
|
-
var Type =
|
216609
|
+
var Type = __nested_webpack_require_898720__(6876);
|
216610
216610
|
|
216611
216611
|
function resolveYamlNull(data) {
|
216612
216612
|
if (data === null) return true;
|
@@ -216643,12 +216643,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
216643
216643
|
/***/ }),
|
216644
216644
|
|
216645
216645
|
/***/ 3498:
|
216646
|
-
/***/ ((module, __unused_webpack_exports,
|
216646
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_899583__) => {
|
216647
216647
|
|
216648
216648
|
"use strict";
|
216649
216649
|
|
216650
216650
|
|
216651
|
-
var Type =
|
216651
|
+
var Type = __nested_webpack_require_899583__(6876);
|
216652
216652
|
|
216653
216653
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
216654
216654
|
var _toString = Object.prototype.toString;
|
@@ -216695,12 +216695,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
216695
216695
|
/***/ }),
|
216696
216696
|
|
216697
216697
|
/***/ 679:
|
216698
|
-
/***/ ((module, __unused_webpack_exports,
|
216698
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900707__) => {
|
216699
216699
|
|
216700
216700
|
"use strict";
|
216701
216701
|
|
216702
216702
|
|
216703
|
-
var Type =
|
216703
|
+
var Type = __nested_webpack_require_900707__(6876);
|
216704
216704
|
|
216705
216705
|
var _toString = Object.prototype.toString;
|
216706
216706
|
|
@@ -216756,12 +216756,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
216756
216756
|
/***/ }),
|
216757
216757
|
|
216758
216758
|
/***/ 7330:
|
216759
|
-
/***/ ((module, __unused_webpack_exports,
|
216759
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_901893__) => {
|
216760
216760
|
|
216761
216761
|
"use strict";
|
216762
216762
|
|
216763
216763
|
|
216764
|
-
var Type =
|
216764
|
+
var Type = __nested_webpack_require_901893__(6876);
|
216765
216765
|
|
216766
216766
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
216767
216767
|
kind: 'sequence',
|
@@ -216772,12 +216772,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
216772
216772
|
/***/ }),
|
216773
216773
|
|
216774
216774
|
/***/ 7205:
|
216775
|
-
/***/ ((module, __unused_webpack_exports,
|
216775
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902186__) => {
|
216776
216776
|
|
216777
216777
|
"use strict";
|
216778
216778
|
|
216779
216779
|
|
216780
|
-
var Type =
|
216780
|
+
var Type = __nested_webpack_require_902186__(6876);
|
216781
216781
|
|
216782
216782
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
216783
216783
|
|
@@ -216809,12 +216809,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
216809
216809
|
/***/ }),
|
216810
216810
|
|
216811
216811
|
/***/ 5348:
|
216812
|
-
/***/ ((module, __unused_webpack_exports,
|
216812
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902835__) => {
|
216813
216813
|
|
216814
216814
|
"use strict";
|
216815
216815
|
|
216816
216816
|
|
216817
|
-
var Type =
|
216817
|
+
var Type = __nested_webpack_require_902835__(6876);
|
216818
216818
|
|
216819
216819
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
216820
216820
|
kind: 'scalar',
|
@@ -216825,12 +216825,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
216825
216825
|
/***/ }),
|
216826
216826
|
|
216827
216827
|
/***/ 7028:
|
216828
|
-
/***/ ((module, __unused_webpack_exports,
|
216828
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_903126__) => {
|
216829
216829
|
|
216830
216830
|
"use strict";
|
216831
216831
|
|
216832
216832
|
|
216833
|
-
var Type =
|
216833
|
+
var Type = __nested_webpack_require_903126__(6876);
|
216834
216834
|
|
216835
216835
|
var YAML_DATE_REGEXP = new RegExp(
|
216836
216836
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -216921,7 +216921,7 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
216921
216921
|
/***/ }),
|
216922
216922
|
|
216923
216923
|
/***/ 7276:
|
216924
|
-
/***/ (function(__unused_webpack_module, exports,
|
216924
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_905807__) {
|
216925
216925
|
|
216926
216926
|
"use strict";
|
216927
216927
|
|
@@ -216930,12 +216930,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
216930
216930
|
};
|
216931
216931
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
216932
216932
|
exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
|
216933
|
-
const fs_extra_1 = __importDefault(
|
216934
|
-
const path_1 =
|
216935
|
-
const glob_1 = __importDefault(
|
216936
|
-
const normalize_path_1 =
|
216937
|
-
const lambda_1 =
|
216938
|
-
const minimatch_1 = __importDefault(
|
216933
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_905807__(5392));
|
216934
|
+
const path_1 = __nested_webpack_require_905807__(5622);
|
216935
|
+
const glob_1 = __importDefault(__nested_webpack_require_905807__(4240));
|
216936
|
+
const normalize_path_1 = __nested_webpack_require_905807__(6261);
|
216937
|
+
const lambda_1 = __nested_webpack_require_905807__(6721);
|
216938
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_905807__(9566));
|
216939
216939
|
/**
|
216940
216940
|
* Convert legacy Runtime to a Plugin.
|
216941
216941
|
* @param buildRuntime - a legacy build() function from a Runtime
|
@@ -217102,12 +217102,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
|
|
217102
217102
|
/***/ }),
|
217103
217103
|
|
217104
217104
|
/***/ 1868:
|
217105
|
-
/***/ ((__unused_webpack_module, exports,
|
217105
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_913380__) => {
|
217106
217106
|
|
217107
217107
|
"use strict";
|
217108
217108
|
|
217109
217109
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217110
|
-
const _1 =
|
217110
|
+
const _1 = __nested_webpack_require_913380__(2855);
|
217111
217111
|
function debug(message, ...additional) {
|
217112
217112
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217113
217113
|
console.log(message, ...additional);
|
@@ -217119,7 +217119,7 @@ exports.default = debug;
|
|
217119
217119
|
/***/ }),
|
217120
217120
|
|
217121
217121
|
/***/ 4246:
|
217122
|
-
/***/ (function(__unused_webpack_module, exports,
|
217122
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_913765__) {
|
217123
217123
|
|
217124
217124
|
"use strict";
|
217125
217125
|
|
@@ -217128,11 +217128,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217128
217128
|
};
|
217129
217129
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217130
217130
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217131
|
-
const minimatch_1 = __importDefault(
|
217132
|
-
const semver_1 =
|
217133
|
-
const path_1 =
|
217134
|
-
const frameworks_1 = __importDefault(
|
217135
|
-
const _1 =
|
217131
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_913765__(9566));
|
217132
|
+
const semver_1 = __nested_webpack_require_913765__(2879);
|
217133
|
+
const path_1 = __nested_webpack_require_913765__(5622);
|
217134
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_913765__(8438));
|
217135
|
+
const _1 = __nested_webpack_require_913765__(2855);
|
217136
217136
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217137
217137
|
// We need to sort the file paths by alphabet to make
|
217138
217138
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218191,7 +218191,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218191
218191
|
/***/ }),
|
218192
218192
|
|
218193
218193
|
/***/ 2397:
|
218194
|
-
/***/ (function(__unused_webpack_module, exports,
|
218194
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_953149__) {
|
218195
218195
|
|
218196
218196
|
"use strict";
|
218197
218197
|
|
@@ -218199,8 +218199,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218199
218199
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218200
218200
|
};
|
218201
218201
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218202
|
-
const assert_1 = __importDefault(
|
218203
|
-
const into_stream_1 = __importDefault(
|
218202
|
+
const assert_1 = __importDefault(__nested_webpack_require_953149__(2357));
|
218203
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_953149__(6130));
|
218204
218204
|
class FileBlob {
|
218205
218205
|
constructor({ mode = 0o100644, contentType, data }) {
|
218206
218206
|
assert_1.default(typeof mode === 'number');
|
@@ -218232,7 +218232,7 @@ exports.default = FileBlob;
|
|
218232
218232
|
/***/ }),
|
218233
218233
|
|
218234
218234
|
/***/ 9331:
|
218235
|
-
/***/ (function(__unused_webpack_module, exports,
|
218235
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_954601__) {
|
218236
218236
|
|
218237
218237
|
"use strict";
|
218238
218238
|
|
@@ -218240,11 +218240,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218240
218240
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218241
218241
|
};
|
218242
218242
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218243
|
-
const assert_1 = __importDefault(
|
218244
|
-
const fs_extra_1 = __importDefault(
|
218245
|
-
const multistream_1 = __importDefault(
|
218246
|
-
const path_1 = __importDefault(
|
218247
|
-
const async_sema_1 = __importDefault(
|
218243
|
+
const assert_1 = __importDefault(__nested_webpack_require_954601__(2357));
|
218244
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_954601__(5392));
|
218245
|
+
const multistream_1 = __importDefault(__nested_webpack_require_954601__(8179));
|
218246
|
+
const path_1 = __importDefault(__nested_webpack_require_954601__(5622));
|
218247
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_954601__(5758));
|
218248
218248
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218249
218249
|
class FileFsRef {
|
218250
218250
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218310,7 +218310,7 @@ exports.default = FileFsRef;
|
|
218310
218310
|
/***/ }),
|
218311
218311
|
|
218312
218312
|
/***/ 5187:
|
218313
|
-
/***/ (function(__unused_webpack_module, exports,
|
218313
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_957405__) {
|
218314
218314
|
|
218315
218315
|
"use strict";
|
218316
218316
|
|
@@ -218318,11 +218318,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218318
218318
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218319
218319
|
};
|
218320
218320
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218321
|
-
const assert_1 = __importDefault(
|
218322
|
-
const node_fetch_1 = __importDefault(
|
218323
|
-
const multistream_1 = __importDefault(
|
218324
|
-
const async_retry_1 = __importDefault(
|
218325
|
-
const async_sema_1 = __importDefault(
|
218321
|
+
const assert_1 = __importDefault(__nested_webpack_require_957405__(2357));
|
218322
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_957405__(2197));
|
218323
|
+
const multistream_1 = __importDefault(__nested_webpack_require_957405__(8179));
|
218324
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_957405__(3691));
|
218325
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_957405__(5758));
|
218326
218326
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218327
218327
|
class BailableError extends Error {
|
218328
218328
|
constructor(...args) {
|
@@ -218403,7 +218403,7 @@ exports.default = FileRef;
|
|
218403
218403
|
/***/ }),
|
218404
218404
|
|
218405
218405
|
/***/ 1611:
|
218406
|
-
/***/ (function(__unused_webpack_module, exports,
|
218406
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_960806__) {
|
218407
218407
|
|
218408
218408
|
"use strict";
|
218409
218409
|
|
@@ -218412,10 +218412,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218412
218412
|
};
|
218413
218413
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218414
218414
|
exports.isSymbolicLink = void 0;
|
218415
|
-
const path_1 = __importDefault(
|
218416
|
-
const debug_1 = __importDefault(
|
218417
|
-
const file_fs_ref_1 = __importDefault(
|
218418
|
-
const fs_extra_1 =
|
218415
|
+
const path_1 = __importDefault(__nested_webpack_require_960806__(5622));
|
218416
|
+
const debug_1 = __importDefault(__nested_webpack_require_960806__(1868));
|
218417
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_960806__(9331));
|
218418
|
+
const fs_extra_1 = __nested_webpack_require_960806__(5392);
|
218419
218419
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218420
218420
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218421
218421
|
function isSymbolicLink(mode) {
|
@@ -218477,14 +218477,14 @@ exports.default = download;
|
|
218477
218477
|
/***/ }),
|
218478
218478
|
|
218479
218479
|
/***/ 3838:
|
218480
|
-
/***/ ((__unused_webpack_module, exports,
|
218480
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_963631__) => {
|
218481
218481
|
|
218482
218482
|
"use strict";
|
218483
218483
|
|
218484
218484
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218485
|
-
const path_1 =
|
218486
|
-
const os_1 =
|
218487
|
-
const fs_extra_1 =
|
218485
|
+
const path_1 = __nested_webpack_require_963631__(5622);
|
218486
|
+
const os_1 = __nested_webpack_require_963631__(2087);
|
218487
|
+
const fs_extra_1 = __nested_webpack_require_963631__(5392);
|
218488
218488
|
async function getWritableDirectory() {
|
218489
218489
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
218490
218490
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -218497,7 +218497,7 @@ exports.default = getWritableDirectory;
|
|
218497
218497
|
/***/ }),
|
218498
218498
|
|
218499
218499
|
/***/ 4240:
|
218500
|
-
/***/ (function(__unused_webpack_module, exports,
|
218500
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_964211__) {
|
218501
218501
|
|
218502
218502
|
"use strict";
|
218503
218503
|
|
@@ -218505,13 +218505,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218505
218505
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218506
218506
|
};
|
218507
218507
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218508
|
-
const path_1 = __importDefault(
|
218509
|
-
const assert_1 = __importDefault(
|
218510
|
-
const glob_1 = __importDefault(
|
218511
|
-
const util_1 =
|
218512
|
-
const fs_extra_1 =
|
218513
|
-
const normalize_path_1 =
|
218514
|
-
const file_fs_ref_1 = __importDefault(
|
218508
|
+
const path_1 = __importDefault(__nested_webpack_require_964211__(5622));
|
218509
|
+
const assert_1 = __importDefault(__nested_webpack_require_964211__(2357));
|
218510
|
+
const glob_1 = __importDefault(__nested_webpack_require_964211__(1104));
|
218511
|
+
const util_1 = __nested_webpack_require_964211__(1669);
|
218512
|
+
const fs_extra_1 = __nested_webpack_require_964211__(5392);
|
218513
|
+
const normalize_path_1 = __nested_webpack_require_964211__(6261);
|
218514
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_964211__(9331));
|
218515
218515
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
218516
218516
|
async function glob(pattern, opts, mountpoint) {
|
218517
218517
|
let options;
|
@@ -218557,7 +218557,7 @@ exports.default = glob;
|
|
218557
218557
|
/***/ }),
|
218558
218558
|
|
218559
218559
|
/***/ 7903:
|
218560
|
-
/***/ (function(__unused_webpack_module, exports,
|
218560
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_966407__) {
|
218561
218561
|
|
218562
218562
|
"use strict";
|
218563
218563
|
|
@@ -218566,9 +218566,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218566
218566
|
};
|
218567
218567
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218568
218568
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
218569
|
-
const semver_1 =
|
218570
|
-
const errors_1 =
|
218571
|
-
const debug_1 = __importDefault(
|
218569
|
+
const semver_1 = __nested_webpack_require_966407__(2879);
|
218570
|
+
const errors_1 = __nested_webpack_require_966407__(3983);
|
218571
|
+
const debug_1 = __importDefault(__nested_webpack_require_966407__(1868));
|
218572
218572
|
const allOptions = [
|
218573
218573
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
218574
218574
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -218662,7 +218662,7 @@ exports.normalizePath = normalizePath;
|
|
218662
218662
|
/***/ }),
|
218663
218663
|
|
218664
218664
|
/***/ 7792:
|
218665
|
-
/***/ (function(__unused_webpack_module, exports,
|
218665
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_970275__) {
|
218666
218666
|
|
218667
218667
|
"use strict";
|
218668
218668
|
|
@@ -218671,9 +218671,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218671
218671
|
};
|
218672
218672
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218673
218673
|
exports.readConfigFile = void 0;
|
218674
|
-
const js_yaml_1 = __importDefault(
|
218675
|
-
const toml_1 = __importDefault(
|
218676
|
-
const fs_extra_1 =
|
218674
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_970275__(6540));
|
218675
|
+
const toml_1 = __importDefault(__nested_webpack_require_970275__(9434));
|
218676
|
+
const fs_extra_1 = __nested_webpack_require_970275__(5392);
|
218677
218677
|
async function readFileOrNull(file) {
|
218678
218678
|
try {
|
218679
218679
|
const data = await fs_extra_1.readFile(file);
|
@@ -218728,7 +218728,7 @@ exports.default = rename;
|
|
218728
218728
|
/***/ }),
|
218729
218729
|
|
218730
218730
|
/***/ 1442:
|
218731
|
-
/***/ (function(__unused_webpack_module, exports,
|
218731
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_972068__) {
|
218732
218732
|
|
218733
218733
|
"use strict";
|
218734
218734
|
|
@@ -218737,14 +218737,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218737
218737
|
};
|
218738
218738
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218739
218739
|
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;
|
218740
|
-
const assert_1 = __importDefault(
|
218741
|
-
const fs_extra_1 = __importDefault(
|
218742
|
-
const path_1 = __importDefault(
|
218743
|
-
const debug_1 = __importDefault(
|
218744
|
-
const cross_spawn_1 = __importDefault(
|
218745
|
-
const util_1 =
|
218746
|
-
const errors_1 =
|
218747
|
-
const node_version_1 =
|
218740
|
+
const assert_1 = __importDefault(__nested_webpack_require_972068__(2357));
|
218741
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_972068__(5392));
|
218742
|
+
const path_1 = __importDefault(__nested_webpack_require_972068__(5622));
|
218743
|
+
const debug_1 = __importDefault(__nested_webpack_require_972068__(1868));
|
218744
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_972068__(7618));
|
218745
|
+
const util_1 = __nested_webpack_require_972068__(1669);
|
218746
|
+
const errors_1 = __nested_webpack_require_972068__(3983);
|
218747
|
+
const node_version_1 = __nested_webpack_require_972068__(7903);
|
218748
218748
|
function spawnAsync(command, args, opts = {}) {
|
218749
218749
|
return new Promise((resolve, reject) => {
|
218750
218750
|
const stderrLogs = [];
|
@@ -219055,7 +219055,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
219055
219055
|
/***/ }),
|
219056
219056
|
|
219057
219057
|
/***/ 2560:
|
219058
|
-
/***/ (function(__unused_webpack_module, exports,
|
219058
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986058__) {
|
219059
219059
|
|
219060
219060
|
"use strict";
|
219061
219061
|
|
@@ -219063,7 +219063,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219063
219063
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219064
219064
|
};
|
219065
219065
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219066
|
-
const end_of_stream_1 = __importDefault(
|
219066
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_986058__(687));
|
219067
219067
|
function streamToBuffer(stream) {
|
219068
219068
|
return new Promise((resolve, reject) => {
|
219069
219069
|
const buffers = [];
|
@@ -219092,7 +219092,7 @@ exports.default = streamToBuffer;
|
|
219092
219092
|
/***/ }),
|
219093
219093
|
|
219094
219094
|
/***/ 2855:
|
219095
|
-
/***/ (function(__unused_webpack_module, exports,
|
219095
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987126__) {
|
219096
219096
|
|
219097
219097
|
"use strict";
|
219098
219098
|
|
@@ -219123,28 +219123,28 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219123
219123
|
};
|
219124
219124
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219125
219125
|
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;
|
219126
|
-
const file_blob_1 = __importDefault(
|
219126
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_987126__(2397));
|
219127
219127
|
exports.FileBlob = file_blob_1.default;
|
219128
|
-
const file_fs_ref_1 = __importDefault(
|
219128
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_987126__(9331));
|
219129
219129
|
exports.FileFsRef = file_fs_ref_1.default;
|
219130
|
-
const file_ref_1 = __importDefault(
|
219130
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_987126__(5187));
|
219131
219131
|
exports.FileRef = file_ref_1.default;
|
219132
|
-
const lambda_1 =
|
219132
|
+
const lambda_1 = __nested_webpack_require_987126__(6721);
|
219133
219133
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
219134
219134
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
219135
219135
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
219136
|
-
const prerender_1 =
|
219136
|
+
const prerender_1 = __nested_webpack_require_987126__(2850);
|
219137
219137
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
219138
|
-
const download_1 = __importStar(
|
219138
|
+
const download_1 = __importStar(__nested_webpack_require_987126__(1611));
|
219139
219139
|
exports.download = download_1.default;
|
219140
219140
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
219141
|
-
const get_writable_directory_1 = __importDefault(
|
219141
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_987126__(3838));
|
219142
219142
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
219143
|
-
const glob_1 = __importDefault(
|
219143
|
+
const glob_1 = __importDefault(__nested_webpack_require_987126__(4240));
|
219144
219144
|
exports.glob = glob_1.default;
|
219145
|
-
const rename_1 = __importDefault(
|
219145
|
+
const rename_1 = __importDefault(__nested_webpack_require_987126__(6718));
|
219146
219146
|
exports.rename = rename_1.default;
|
219147
|
-
const run_user_scripts_1 =
|
219147
|
+
const run_user_scripts_1 = __nested_webpack_require_987126__(1442);
|
219148
219148
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
219149
219149
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
219150
219150
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219161,36 +219161,36 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219161
219161
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219162
219162
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219163
219163
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219164
|
-
const node_version_1 =
|
219164
|
+
const node_version_1 = __nested_webpack_require_987126__(7903);
|
219165
219165
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219166
219166
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219167
|
-
const errors_1 =
|
219168
|
-
const stream_to_buffer_1 = __importDefault(
|
219167
|
+
const errors_1 = __nested_webpack_require_987126__(3983);
|
219168
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_987126__(2560));
|
219169
219169
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219170
|
-
const should_serve_1 = __importDefault(
|
219170
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_987126__(2564));
|
219171
219171
|
exports.shouldServe = should_serve_1.default;
|
219172
|
-
const debug_1 = __importDefault(
|
219172
|
+
const debug_1 = __importDefault(__nested_webpack_require_987126__(1868));
|
219173
219173
|
exports.debug = debug_1.default;
|
219174
|
-
var detect_builders_1 =
|
219174
|
+
var detect_builders_1 = __nested_webpack_require_987126__(4246);
|
219175
219175
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219176
219176
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219177
219177
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219178
219178
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219179
|
-
var detect_framework_1 =
|
219179
|
+
var detect_framework_1 = __nested_webpack_require_987126__(5224);
|
219180
219180
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219181
|
-
var filesystem_1 =
|
219181
|
+
var filesystem_1 = __nested_webpack_require_987126__(461);
|
219182
219182
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219183
|
-
var read_config_file_1 =
|
219183
|
+
var read_config_file_1 = __nested_webpack_require_987126__(7792);
|
219184
219184
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219185
|
-
var normalize_path_1 =
|
219185
|
+
var normalize_path_1 = __nested_webpack_require_987126__(6261);
|
219186
219186
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219187
|
-
var convert_runtime_to_plugin_1 =
|
219187
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_987126__(7276);
|
219188
219188
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219189
219189
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219190
219190
|
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219191
|
-
__exportStar(
|
219192
|
-
__exportStar(
|
219193
|
-
__exportStar(
|
219191
|
+
__exportStar(__nested_webpack_require_987126__(2416), exports);
|
219192
|
+
__exportStar(__nested_webpack_require_987126__(5748), exports);
|
219193
|
+
__exportStar(__nested_webpack_require_987126__(3983), exports);
|
219194
219194
|
/**
|
219195
219195
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219196
219196
|
*/
|
@@ -219235,7 +219235,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
219235
219235
|
/***/ }),
|
219236
219236
|
|
219237
219237
|
/***/ 6721:
|
219238
|
-
/***/ (function(__unused_webpack_module, exports,
|
219238
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_997590__) {
|
219239
219239
|
|
219240
219240
|
"use strict";
|
219241
219241
|
|
@@ -219244,13 +219244,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219244
219244
|
};
|
219245
219245
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219246
219246
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219247
|
-
const assert_1 = __importDefault(
|
219248
|
-
const async_sema_1 = __importDefault(
|
219249
|
-
const yazl_1 =
|
219250
|
-
const minimatch_1 = __importDefault(
|
219251
|
-
const fs_extra_1 =
|
219252
|
-
const download_1 =
|
219253
|
-
const stream_to_buffer_1 = __importDefault(
|
219247
|
+
const assert_1 = __importDefault(__nested_webpack_require_997590__(2357));
|
219248
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_997590__(5758));
|
219249
|
+
const yazl_1 = __nested_webpack_require_997590__(1223);
|
219250
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_997590__(9566));
|
219251
|
+
const fs_extra_1 = __nested_webpack_require_997590__(5392);
|
219252
|
+
const download_1 = __nested_webpack_require_997590__(1611);
|
219253
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_997590__(2560));
|
219254
219254
|
exports.FILES_SYMBOL = Symbol('files');
|
219255
219255
|
class Lambda {
|
219256
219256
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -219479,12 +219479,12 @@ exports.buildsSchema = {
|
|
219479
219479
|
/***/ }),
|
219480
219480
|
|
219481
219481
|
/***/ 2564:
|
219482
|
-
/***/ ((__unused_webpack_module, exports,
|
219482
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1006100__) => {
|
219483
219483
|
|
219484
219484
|
"use strict";
|
219485
219485
|
|
219486
219486
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219487
|
-
const path_1 =
|
219487
|
+
const path_1 = __nested_webpack_require_1006100__(5622);
|
219488
219488
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
219489
219489
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
219490
219490
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -219713,7 +219713,7 @@ module.exports = __webpack_require__(78761);
|
|
219713
219713
|
/******/ var __webpack_module_cache__ = {};
|
219714
219714
|
/******/
|
219715
219715
|
/******/ // The require function
|
219716
|
-
/******/ function
|
219716
|
+
/******/ function __nested_webpack_require_1105739__(moduleId) {
|
219717
219717
|
/******/ // Check if module is in cache
|
219718
219718
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
219719
219719
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -219728,7 +219728,7 @@ module.exports = __webpack_require__(78761);
|
|
219728
219728
|
/******/ // Execute the module function
|
219729
219729
|
/******/ var threw = true;
|
219730
219730
|
/******/ try {
|
219731
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
219731
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1105739__);
|
219732
219732
|
/******/ threw = false;
|
219733
219733
|
/******/ } finally {
|
219734
219734
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -219741,11 +219741,11 @@ module.exports = __webpack_require__(78761);
|
|
219741
219741
|
/************************************************************************/
|
219742
219742
|
/******/ /* webpack/runtime/compat */
|
219743
219743
|
/******/
|
219744
|
-
/******/
|
219744
|
+
/******/ __nested_webpack_require_1105739__.ab = __dirname + "/";/************************************************************************/
|
219745
219745
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
219746
219746
|
/******/ // startup
|
219747
219747
|
/******/ // Load entry module and return exports
|
219748
|
-
/******/ return
|
219748
|
+
/******/ return __nested_webpack_require_1105739__(2855);
|
219749
219749
|
/******/ })()
|
219750
219750
|
;
|
219751
219751
|
|
@@ -242096,7 +242096,7 @@ exports.frameworks = [
|
|
242096
242096
|
name: 'Remix',
|
242097
242097
|
slug: 'remix',
|
242098
242098
|
demo: 'https://remix.examples.vercel.com',
|
242099
|
-
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix.svg',
|
242099
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/remix-no-shadow.svg',
|
242100
242100
|
tagline: 'Build Better Websites',
|
242101
242101
|
description: 'A new Remix app — the result of running `npx create-remix`.',
|
242102
242102
|
website: 'https://remix.run',
|
@@ -249819,7 +249819,7 @@ async function main(client) {
|
|
249819
249819
|
error: (...args) => client.output.error(args.join(' ')),
|
249820
249820
|
});
|
249821
249821
|
// Set process.env with loaded environment variables
|
249822
|
-
|
249822
|
+
env_1.processEnv(loadedEnvFiles);
|
249823
249823
|
const spawnOpts = {
|
249824
249824
|
env: { ...combinedEnv, VERCEL: '1' },
|
249825
249825
|
};
|
@@ -249908,6 +249908,17 @@ async function main(client) {
|
|
249908
249908
|
}
|
249909
249909
|
// Clean the output directory
|
249910
249910
|
fs_extra_1.default.removeSync(path_1.join(cwd, OUTPUT_DIR));
|
249911
|
+
if (framework && process.env.VERCEL_URL && 'envPrefix' in framework) {
|
249912
|
+
for (const key of Object.keys(process.env)) {
|
249913
|
+
if (key.startsWith('VERCEL_')) {
|
249914
|
+
const newKey = `${framework.envPrefix}${key}`;
|
249915
|
+
// Set `process.env` and `spawnOpts.env` to make sure the variables are
|
249916
|
+
// available to the `build` step and the CLI Plugins.
|
249917
|
+
process.env[newKey] = process.env[newKey] || process.env[key];
|
249918
|
+
spawnOpts.env[newKey] = process.env[newKey];
|
249919
|
+
}
|
249920
|
+
}
|
249921
|
+
}
|
249911
249922
|
// Yarn v2 PnP mode may be activated, so force
|
249912
249923
|
// "node-modules" linker style
|
249913
249924
|
const env = {
|
@@ -249933,19 +249944,32 @@ async function main(client) {
|
|
249933
249944
|
cwd,
|
249934
249945
|
});
|
249935
249946
|
}
|
249936
|
-
// don't trust framework detection here because they might be switching to next on a branch
|
249937
|
-
const isNextJs = fs_extra_1.default.existsSync(path_1.join(cwd, '.next'));
|
249938
249947
|
if (!fs_extra_1.default.existsSync(path_1.join(cwd, OUTPUT_DIR))) {
|
249939
|
-
let
|
249940
|
-
|
249941
|
-
if
|
249942
|
-
|
249943
|
-
|
249944
|
-
|
249948
|
+
let dotNextDir = null;
|
249949
|
+
// If a custom `outputDirectory` was set, we'll need to verify
|
249950
|
+
// if it's `.next` output, or just static output.
|
249951
|
+
const userOutputDirectory = project.settings.outputDirectory;
|
249952
|
+
if (typeof userOutputDirectory === 'string') {
|
249953
|
+
if (fs_extra_1.default.existsSync(path_1.join(cwd, userOutputDirectory, 'BUILD_ID'))) {
|
249954
|
+
dotNextDir = path_1.join(cwd, userOutputDirectory);
|
249955
|
+
client.output.debug(`Consider ${param_1.default(userOutputDirectory)} as ${param_1.default('.next')} output.`);
|
249956
|
+
}
|
249957
|
+
}
|
249958
|
+
else if (fs_extra_1.default.existsSync(path_1.join(cwd, '.next'))) {
|
249959
|
+
dotNextDir = path_1.join(cwd, '.next');
|
249960
|
+
client.output.debug(`Found ${param_1.default('.next')} directory.`);
|
249961
|
+
}
|
249962
|
+
// We cannot rely on the `framework` alone, as it might be a static export,
|
249963
|
+
// and the current build might use a differnt project that's not in the settings.
|
249964
|
+
const isNextOutput = Boolean(dotNextDir);
|
249965
|
+
const outputDir = isNextOutput ? OUTPUT_DIR : path_1.join(OUTPUT_DIR, 'static');
|
249966
|
+
const distDir = dotNextDir ||
|
249967
|
+
userOutputDirectory ||
|
249968
|
+
(await framework.getFsOutputDir(cwd));
|
249945
249969
|
await fs_extra_1.default.ensureDir(path_1.join(cwd, outputDir));
|
249946
|
-
const
|
249970
|
+
const copyStamp = stamp_1.default();
|
249947
249971
|
client.output.spinner(`Copying files from ${param_1.default(distDir)} to ${param_1.default(outputDir)}`);
|
249948
|
-
const files = await glob(path_1.join(
|
249972
|
+
const files = await glob(path_1.join(path_1.relative(cwd, distDir), '**'), {
|
249949
249973
|
ignore: [
|
249950
249974
|
'node_modules/**',
|
249951
249975
|
'.vercel/**',
|
@@ -249977,6 +250001,7 @@ async function main(client) {
|
|
249977
250001
|
if (!fs_extra_1.default.existsSync(buildManifestPath)) {
|
249978
250002
|
client.output.debug(`Generating build manifest: ${param_1.default(buildManifestPath)}`);
|
249979
250003
|
const buildManifest = {
|
250004
|
+
version: 1,
|
249980
250005
|
cache: framework.cachePattern ? [framework.cachePattern] : [],
|
249981
250006
|
};
|
249982
250007
|
await fs_extra_1.default.writeJSON(buildManifestPath, buildManifest, { spaces: 2 });
|
@@ -249996,7 +250021,7 @@ async function main(client) {
|
|
249996
250021
|
await fs_extra_1.default.writeJSON(path_1.join(cwd, OUTPUT_DIR, 'routes-manifest.json'), routesManifest, { spaces: 2 });
|
249997
250022
|
}
|
249998
250023
|
// Special Next.js processing.
|
249999
|
-
if (
|
250024
|
+
if (isNextOutput) {
|
250000
250025
|
// The contents of `.output/static` should be placed inside of `.output/static/_next/static`
|
250001
250026
|
const tempStatic = '___static';
|
250002
250027
|
await fs_extra_1.default.rename(path_1.join(cwd, OUTPUT_DIR, 'static'), path_1.join(cwd, OUTPUT_DIR, tempStatic));
|
@@ -250029,23 +250054,24 @@ async function main(client) {
|
|
250029
250054
|
// `public`, then`static`). We can't read both at the same time because that would mean we'd
|
250030
250055
|
// read public for old Next.js versions that don't support it, which might be breaking (and
|
250031
250056
|
// we don't want to make vercel build specific framework versions).
|
250057
|
+
const nextSrcDirectory = path_1.dirname(distDir);
|
250032
250058
|
const publicFiles = await glob('public/**', {
|
250033
250059
|
nodir: true,
|
250034
250060
|
dot: true,
|
250035
|
-
cwd,
|
250061
|
+
cwd: nextSrcDirectory,
|
250036
250062
|
absolute: true,
|
250037
250063
|
});
|
250038
250064
|
if (publicFiles.length > 0) {
|
250039
|
-
await Promise.all(publicFiles.map(f => smartCopy(client, f,
|
250065
|
+
await Promise.all(publicFiles.map(f => smartCopy(client, f, path_1.join(OUTPUT_DIR, 'static', path_1.relative(path_1.join(path_1.dirname(distDir), 'public'), f)))));
|
250040
250066
|
}
|
250041
250067
|
else {
|
250042
250068
|
const staticFiles = await glob('static/**', {
|
250043
250069
|
nodir: true,
|
250044
250070
|
dot: true,
|
250045
|
-
cwd,
|
250071
|
+
cwd: nextSrcDirectory,
|
250046
250072
|
absolute: true,
|
250047
250073
|
});
|
250048
|
-
await Promise.all(staticFiles.map(f => smartCopy(client, f,
|
250074
|
+
await Promise.all(staticFiles.map(f => smartCopy(client, f, path_1.join(OUTPUT_DIR, 'static', 'static', path_1.relative(path_1.join(path_1.dirname(distDir), 'static'), f)))));
|
250049
250075
|
}
|
250050
250076
|
// Regardless of the Next.js version, we make sure that it is compatible with
|
250051
250077
|
// the Filesystem API. We get there by moving all the files needed
|
@@ -250060,6 +250086,7 @@ async function main(client) {
|
|
250060
250086
|
const nftFiles = await glob(path_1.join(OUTPUT_DIR, '**', '*.nft.json'), {
|
250061
250087
|
nodir: true,
|
250062
250088
|
dot: true,
|
250089
|
+
ignore: ['cache/**'],
|
250063
250090
|
cwd,
|
250064
250091
|
absolute: true,
|
250065
250092
|
});
|
@@ -250092,6 +250119,7 @@ async function main(client) {
|
|
250092
250119
|
baseDir,
|
250093
250120
|
outputDir: OUTPUT_DIR,
|
250094
250121
|
nftFileName: f.replace(ext, '.js.nft.json'),
|
250122
|
+
distDir,
|
250095
250123
|
nft: {
|
250096
250124
|
version: 1,
|
250097
250125
|
files: Array.from(fileList).map(fileListEntry => path_1.relative(dir, fileListEntry)),
|
@@ -250108,19 +250136,23 @@ async function main(client) {
|
|
250108
250136
|
outputDir: OUTPUT_DIR,
|
250109
250137
|
nftFileName: f,
|
250110
250138
|
nft: json,
|
250139
|
+
distDir,
|
250111
250140
|
});
|
250112
250141
|
}
|
250113
250142
|
}
|
250143
|
+
client.output.debug(`Resolve ${param_1.default('required-server-files.json')}.`);
|
250114
250144
|
const requiredServerFilesPath = path_1.join(OUTPUT_DIR, 'required-server-files.json');
|
250115
250145
|
const requiredServerFilesJson = await fs_extra_1.default.readJSON(requiredServerFilesPath);
|
250116
250146
|
await fs_extra_1.default.writeJSON(requiredServerFilesPath, {
|
250117
250147
|
...requiredServerFilesJson,
|
250118
250148
|
appDir: '.',
|
250119
250149
|
files: requiredServerFilesJson.files.map((i) => {
|
250120
|
-
const
|
250150
|
+
const originalPath = path_1.join(path_1.dirname(distDir), i);
|
250151
|
+
const relPath = path_1.join(OUTPUT_DIR, path_1.relative(distDir, originalPath));
|
250152
|
+
const absolutePath = path_1.join(cwd, relPath);
|
250121
250153
|
const output = path_1.relative(baseDir, absolutePath);
|
250122
250154
|
return {
|
250123
|
-
input:
|
250155
|
+
input: relPath,
|
250124
250156
|
output,
|
250125
250157
|
};
|
250126
250158
|
}),
|
@@ -250260,15 +250292,23 @@ function hash(buf) {
|
|
250260
250292
|
// subsequently updating the original nft file accordingly. This is done
|
250261
250293
|
// to make the `.output` directory be self-contained, so that it works
|
250262
250294
|
// properly with `vc --prebuilt`.
|
250263
|
-
async function resolveNftToOutput({ client, baseDir, outputDir, nftFileName, nft, }) {
|
250295
|
+
async function resolveNftToOutput({ client, baseDir, outputDir, nftFileName, distDir, nft, }) {
|
250264
250296
|
client.output.debug(`Processing and resolving ${nftFileName}`);
|
250265
250297
|
await fs_extra_1.default.ensureDir(path_1.join(outputDir, 'inputs'));
|
250266
250298
|
const newFilesList = [];
|
250299
|
+
// If `distDir` is a subdirectory, then the input has to be resolved to where the `.output` directory will be.
|
250300
|
+
const relNftFileName = path_1.relative(outputDir, nftFileName);
|
250301
|
+
const origNftFilename = path_1.join(distDir, relNftFileName);
|
250302
|
+
if (relNftFileName.startsWith('cache/')) {
|
250303
|
+
// No need to process the `cache/` directory.
|
250304
|
+
// Paths in it might also not be relative to `cache` itself.
|
250305
|
+
return;
|
250306
|
+
}
|
250267
250307
|
for (let fileEntity of nft.files) {
|
250268
250308
|
const relativeInput = typeof fileEntity === 'string' ? fileEntity : fileEntity.input;
|
250269
|
-
const fullInput = path_1.resolve(path_1.join(path_1.parse(
|
250309
|
+
const fullInput = path_1.resolve(path_1.join(path_1.parse(origNftFilename).dir, relativeInput));
|
250270
250310
|
// if the resolved path is NOT in the .output directory we move in it there
|
250271
|
-
if (!fullInput.includes(
|
250311
|
+
if (!fullInput.includes(distDir)) {
|
250272
250312
|
const { ext } = path_1.parse(fullInput);
|
250273
250313
|
const raw = await fs_extra_1.default.readFile(fullInput);
|
250274
250314
|
const newFilePath = path_1.join(outputDir, 'inputs', hash(raw) + ext);
|
@@ -269423,6 +269463,7 @@ async function writeProjectSettings(cwd, project, org) {
|
|
269423
269463
|
settings: {
|
269424
269464
|
buildCommand: project.buildCommand,
|
269425
269465
|
devCommand: project.devCommand,
|
269466
|
+
outputDirectory: project.outputDirectory,
|
269426
269467
|
directoryListing: project.directoryListing,
|
269427
269468
|
rootDirectory: project.rootDirectory,
|
269428
269469
|
framework: project.framework,
|
@@ -270459,7 +270500,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
270459
270500
|
/***/ ((module) => {
|
270460
270501
|
|
270461
270502
|
"use strict";
|
270462
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
270503
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.43\",\"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.25\",\"@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.16\"},\"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.15\",\"@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\":\"6b865ff753ad0e51b284dac173e7e32953de3298\"}");
|
270463
270504
|
|
270464
270505
|
/***/ }),
|
270465
270506
|
|
@@ -270475,7 +270516,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
270475
270516
|
/***/ ((module) => {
|
270476
270517
|
|
270477
270518
|
"use strict";
|
270478
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
270519
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.26\",\"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.25\",\"@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\":\"6b865ff753ad0e51b284dac173e7e32953de3298\"}");
|
270479
270520
|
|
270480
270521
|
/***/ }),
|
270481
270522
|
|