@atlaspack/utils 2.12.1-dev.3367 → 2.12.1-dev.3398
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/lib/index.js +299 -299
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
- package/src/generateCertificate.js +2 -2
- package/src/hash.js +1 -1
- package/src/replaceBundleReferences.js +1 -1
- package/test/sourcemap.test.js +1 -1
package/lib/index.js
CHANGED
|
@@ -21,31 +21,31 @@ var $9kEcR$http = require("http");
|
|
|
21
21
|
var $9kEcR$https = require("https");
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
function $
|
|
24
|
+
function $parcel$export(e, n, v, s) {
|
|
25
25
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
var $
|
|
28
|
+
var $parcel$global = globalThis;
|
|
29
29
|
|
|
30
|
-
function $
|
|
30
|
+
function $parcel$interopDefault(a) {
|
|
31
31
|
return a && a.__esModule ? a.default : a;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
var $
|
|
35
|
-
var $
|
|
34
|
+
var $parcel$modules = {};
|
|
35
|
+
var $parcel$inits = {};
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var parcelRequire = $parcel$global["parcelRequire94c2"];
|
|
38
38
|
|
|
39
|
-
if (
|
|
40
|
-
|
|
41
|
-
if (id in $
|
|
42
|
-
return $
|
|
39
|
+
if (parcelRequire == null) {
|
|
40
|
+
parcelRequire = function(id) {
|
|
41
|
+
if (id in $parcel$modules) {
|
|
42
|
+
return $parcel$modules[id].exports;
|
|
43
43
|
}
|
|
44
|
-
if (id in $
|
|
45
|
-
var init = $
|
|
46
|
-
delete $
|
|
44
|
+
if (id in $parcel$inits) {
|
|
45
|
+
var init = $parcel$inits[id];
|
|
46
|
+
delete $parcel$inits[id];
|
|
47
47
|
var module = {id: id, exports: {}};
|
|
48
|
-
$
|
|
48
|
+
$parcel$modules[id] = module;
|
|
49
49
|
init.call(module.exports, module, module.exports);
|
|
50
50
|
return module.exports;
|
|
51
51
|
}
|
|
@@ -54,15 +54,15 @@ if (atlaspackRequire == null) {
|
|
|
54
54
|
throw err;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
$
|
|
57
|
+
parcelRequire.register = function register(id, init) {
|
|
58
|
+
$parcel$inits[id] = init;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
$
|
|
61
|
+
$parcel$global["parcelRequire94c2"] = parcelRequire;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
var
|
|
65
|
-
|
|
64
|
+
var parcelRegister = parcelRequire.register;
|
|
65
|
+
parcelRegister("3Tdfq", function(module, exports) {
|
|
66
66
|
/**
|
|
67
67
|
* Node.js module for Forge.
|
|
68
68
|
*
|
|
@@ -78,7 +78,7 @@ atlaspackRegister("3Tdfq", function(module, exports) {
|
|
|
78
78
|
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
parcelRegister("bffTI", function(module, exports) {
|
|
82
82
|
/**
|
|
83
83
|
* Node.js module for Forge message digests.
|
|
84
84
|
*
|
|
@@ -86,23 +86,23 @@ atlaspackRegister("bffTI", function(module, exports) {
|
|
|
86
86
|
*
|
|
87
87
|
* Copyright 2011-2017 Digital Bazaar, Inc.
|
|
88
88
|
*/
|
|
89
|
-
var $3Tdfq =
|
|
89
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
90
90
|
module.exports = $3Tdfq.md = $3Tdfq.md || {};
|
|
91
91
|
$3Tdfq.md.algorithms = $3Tdfq.md.algorithms || {};
|
|
92
92
|
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
parcelRegister("3747H", function(module, exports) {
|
|
96
96
|
'use strict';
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
var $5TnNp =
|
|
99
|
+
var $5TnNp = parcelRequire("5TnNp");
|
|
100
100
|
|
|
101
|
-
var $Eql3n =
|
|
101
|
+
var $Eql3n = parcelRequire("Eql3n");
|
|
102
102
|
|
|
103
|
-
var $EUji1 =
|
|
103
|
+
var $EUji1 = parcelRequire("EUji1");
|
|
104
104
|
|
|
105
|
-
var $hDr5C =
|
|
105
|
+
var $hDr5C = parcelRequire("hDr5C");
|
|
106
106
|
const $2445395528363c65$var$isObject = (val)=>val && typeof val === 'object' && !Array.isArray(val);
|
|
107
107
|
/**
|
|
108
108
|
* Creates a matcher function from one or more glob patterns. The
|
|
@@ -381,12 +381,12 @@ const $2445395528363c65$var$isObject = (val)=>val && typeof val === 'object' &&
|
|
|
381
381
|
*/ module.exports = $2445395528363c65$var$picomatch;
|
|
382
382
|
|
|
383
383
|
});
|
|
384
|
-
|
|
384
|
+
parcelRegister("5TnNp", function(module, exports) {
|
|
385
385
|
'use strict';
|
|
386
386
|
|
|
387
|
-
var $EUji1 =
|
|
387
|
+
var $EUji1 = parcelRequire("EUji1");
|
|
388
388
|
|
|
389
|
-
var $hDr5C =
|
|
389
|
+
var $hDr5C = parcelRequire("hDr5C");
|
|
390
390
|
var $44a48c2ea5b77068$require$CHAR_ASTERISK = $hDr5C.CHAR_ASTERISK;
|
|
391
391
|
var $44a48c2ea5b77068$require$CHAR_AT = $hDr5C.CHAR_AT;
|
|
392
392
|
var $44a48c2ea5b77068$require$CHAR_BACKWARD_SLASH = $hDr5C.CHAR_BACKWARD_SLASH;
|
|
@@ -685,18 +685,18 @@ const $44a48c2ea5b77068$var$depth = (token)=>{
|
|
|
685
685
|
module.exports = $44a48c2ea5b77068$var$scan;
|
|
686
686
|
|
|
687
687
|
});
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
$
|
|
691
|
-
$
|
|
692
|
-
$
|
|
693
|
-
$
|
|
694
|
-
$
|
|
695
|
-
$
|
|
696
|
-
$
|
|
697
|
-
$
|
|
698
|
-
$
|
|
699
|
-
$
|
|
688
|
+
parcelRegister("EUji1", function(module, exports) {
|
|
689
|
+
|
|
690
|
+
$parcel$export(module.exports, "isObject", () => $07af6a8f2f4e0afd$export$a6cdc56e425d0d0a, (v) => $07af6a8f2f4e0afd$export$a6cdc56e425d0d0a = v);
|
|
691
|
+
$parcel$export(module.exports, "hasRegexChars", () => $07af6a8f2f4e0afd$export$6540a013a39bb50d, (v) => $07af6a8f2f4e0afd$export$6540a013a39bb50d = v);
|
|
692
|
+
$parcel$export(module.exports, "escapeRegex", () => $07af6a8f2f4e0afd$export$104ed90cc1a13451, (v) => $07af6a8f2f4e0afd$export$104ed90cc1a13451 = v);
|
|
693
|
+
$parcel$export(module.exports, "toPosixSlashes", () => $07af6a8f2f4e0afd$export$e610e037975797ee, (v) => $07af6a8f2f4e0afd$export$e610e037975797ee = v);
|
|
694
|
+
$parcel$export(module.exports, "removeBackslashes", () => $07af6a8f2f4e0afd$export$f403de0a7ba7a743, (v) => $07af6a8f2f4e0afd$export$f403de0a7ba7a743 = v);
|
|
695
|
+
$parcel$export(module.exports, "supportsLookbehinds", () => $07af6a8f2f4e0afd$export$bcf709e5e3483cdb, (v) => $07af6a8f2f4e0afd$export$bcf709e5e3483cdb = v);
|
|
696
|
+
$parcel$export(module.exports, "isWindows", () => $07af6a8f2f4e0afd$export$f993c945890e93ba, (v) => $07af6a8f2f4e0afd$export$f993c945890e93ba = v);
|
|
697
|
+
$parcel$export(module.exports, "escapeLast", () => $07af6a8f2f4e0afd$export$13d0f4185f159c8, (v) => $07af6a8f2f4e0afd$export$13d0f4185f159c8 = v);
|
|
698
|
+
$parcel$export(module.exports, "removePrefix", () => $07af6a8f2f4e0afd$export$f2888183a34644d4, (v) => $07af6a8f2f4e0afd$export$f2888183a34644d4 = v);
|
|
699
|
+
$parcel$export(module.exports, "wrapOutput", () => $07af6a8f2f4e0afd$export$25bddda26836484b, (v) => $07af6a8f2f4e0afd$export$25bddda26836484b = v);
|
|
700
700
|
var $07af6a8f2f4e0afd$export$a6cdc56e425d0d0a;
|
|
701
701
|
var $07af6a8f2f4e0afd$export$6540a013a39bb50d;
|
|
702
702
|
var $07af6a8f2f4e0afd$export$a92319f7ab133839;
|
|
@@ -712,7 +712,7 @@ var $07af6a8f2f4e0afd$export$25bddda26836484b;
|
|
|
712
712
|
|
|
713
713
|
const $07af6a8f2f4e0afd$var$win32 = process.platform === 'win32';
|
|
714
714
|
|
|
715
|
-
var $hDr5C =
|
|
715
|
+
var $hDr5C = parcelRequire("hDr5C");
|
|
716
716
|
var $07af6a8f2f4e0afd$require$REGEX_BACKSLASH = $hDr5C.REGEX_BACKSLASH;
|
|
717
717
|
var $07af6a8f2f4e0afd$require$REGEX_REMOVE_BACKSLASH = $hDr5C.REGEX_REMOVE_BACKSLASH;
|
|
718
718
|
var $07af6a8f2f4e0afd$require$REGEX_SPECIAL_CHARS = $hDr5C.REGEX_SPECIAL_CHARS;
|
|
@@ -759,7 +759,7 @@ $07af6a8f2f4e0afd$export$25bddda26836484b = (input, state = {}, options = {})=>{
|
|
|
759
759
|
};
|
|
760
760
|
|
|
761
761
|
});
|
|
762
|
-
|
|
762
|
+
parcelRegister("hDr5C", function(module, exports) {
|
|
763
763
|
'use strict';
|
|
764
764
|
|
|
765
765
|
const $cd6b179ec830c8a0$var$WIN_SLASH = '\\\\/';
|
|
@@ -937,12 +937,12 @@ module.exports = {
|
|
|
937
937
|
|
|
938
938
|
|
|
939
939
|
|
|
940
|
-
|
|
940
|
+
parcelRegister("Eql3n", function(module, exports) {
|
|
941
941
|
'use strict';
|
|
942
942
|
|
|
943
|
-
var $hDr5C =
|
|
943
|
+
var $hDr5C = parcelRequire("hDr5C");
|
|
944
944
|
|
|
945
|
-
var $EUji1 =
|
|
945
|
+
var $EUji1 = parcelRequire("EUji1");
|
|
946
946
|
/**
|
|
947
947
|
* Constants
|
|
948
948
|
*/ const { MAX_LENGTH: $07982ad53e4f1bf5$var$MAX_LENGTH, POSIX_REGEX_SOURCE: $07982ad53e4f1bf5$var$POSIX_REGEX_SOURCE, REGEX_NON_SPECIAL_CHARS: $07982ad53e4f1bf5$var$REGEX_NON_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_BACKREF: $07982ad53e4f1bf5$var$REGEX_SPECIAL_CHARS_BACKREF, REPLACEMENTS: $07982ad53e4f1bf5$var$REPLACEMENTS } = $hDr5C;
|
|
@@ -1828,27 +1828,27 @@ module.exports = $07982ad53e4f1bf5$var$parse;
|
|
|
1828
1828
|
});
|
|
1829
1829
|
|
|
1830
1830
|
|
|
1831
|
-
|
|
1831
|
+
parcelRegister("jKS49", function(module, exports) {
|
|
1832
1832
|
'use strict';
|
|
1833
1833
|
|
|
1834
|
-
module.exports = (
|
|
1834
|
+
module.exports = (parcelRequire("aM9lV"));
|
|
1835
1835
|
|
|
1836
|
-
module.exports.async = (
|
|
1836
|
+
module.exports.async = (parcelRequire("2GyBb"));
|
|
1837
1837
|
|
|
1838
|
-
module.exports.stream = (
|
|
1838
|
+
module.exports.stream = (parcelRequire("7BZ5M"));
|
|
1839
1839
|
|
|
1840
|
-
module.exports.prettyError = (
|
|
1840
|
+
module.exports.prettyError = (parcelRequire("kahQ0"));
|
|
1841
1841
|
|
|
1842
1842
|
});
|
|
1843
|
-
|
|
1843
|
+
parcelRegister("aM9lV", function(module, exports) {
|
|
1844
1844
|
'use strict';
|
|
1845
1845
|
module.exports = $7d85a44c64838ef8$var$parseString;
|
|
1846
1846
|
|
|
1847
|
-
var $9nJH2 =
|
|
1847
|
+
var $9nJH2 = parcelRequire("9nJH2");
|
|
1848
1848
|
|
|
1849
|
-
var $kahQ0 =
|
|
1849
|
+
var $kahQ0 = parcelRequire("kahQ0");
|
|
1850
1850
|
function $7d85a44c64838ef8$var$parseString(str) {
|
|
1851
|
-
if ($
|
|
1851
|
+
if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString('utf8');
|
|
1852
1852
|
const parser = new $9nJH2();
|
|
1853
1853
|
try {
|
|
1854
1854
|
parser.parse(str);
|
|
@@ -1859,10 +1859,10 @@ function $7d85a44c64838ef8$var$parseString(str) {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
1861
|
});
|
|
1862
|
-
|
|
1862
|
+
parcelRegister("9nJH2", function(module, exports) {
|
|
1863
1863
|
'use strict';
|
|
1864
1864
|
|
|
1865
|
-
/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((
|
|
1865
|
+
/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire("1Bkhy")));
|
|
1866
1866
|
module.exports.makeParserClass = makeParserClass;
|
|
1867
1867
|
class TomlError extends Error {
|
|
1868
1868
|
constructor(msg){
|
|
@@ -1881,13 +1881,13 @@ TomlError.wrap = (err)=>{
|
|
|
1881
1881
|
};
|
|
1882
1882
|
module.exports.TomlError = TomlError;
|
|
1883
1883
|
|
|
1884
|
-
var $9yHNt =
|
|
1884
|
+
var $9yHNt = parcelRequire("9yHNt");
|
|
1885
1885
|
|
|
1886
|
-
var $hNiu0 =
|
|
1886
|
+
var $hNiu0 = parcelRequire("hNiu0");
|
|
1887
1887
|
|
|
1888
|
-
var $1Dk3B =
|
|
1888
|
+
var $1Dk3B = parcelRequire("1Dk3B");
|
|
1889
1889
|
|
|
1890
|
-
var $fNnHN =
|
|
1890
|
+
var $fNnHN = parcelRequire("fNnHN");
|
|
1891
1891
|
const CTRL_I = 0x09;
|
|
1892
1892
|
const CTRL_J = 0x0A;
|
|
1893
1893
|
const CTRL_M = 0x0D;
|
|
@@ -2045,7 +2045,7 @@ try {
|
|
|
2045
2045
|
class BoxedBigInt {
|
|
2046
2046
|
constructor(value){
|
|
2047
2047
|
try {
|
|
2048
|
-
this.value = $
|
|
2048
|
+
this.value = $parcel$global.BigInt.asIntN(64, value);
|
|
2049
2049
|
} catch (_) {
|
|
2050
2050
|
/* istanbul ignore next */ this.value = null;
|
|
2051
2051
|
}
|
|
@@ -2071,7 +2071,7 @@ function Integer(value) {
|
|
|
2071
2071
|
let num = Number(value);
|
|
2072
2072
|
// -0 is a float thing, not an int thing
|
|
2073
2073
|
if (Object.is(num, -0)) num = 0;
|
|
2074
|
-
/* istanbul ignore else */ if ($
|
|
2074
|
+
/* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);
|
|
2075
2075
|
else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {
|
|
2076
2076
|
isNaN: {
|
|
2077
2077
|
value: function() {
|
|
@@ -2841,7 +2841,7 @@ function makeParserClass(Parser) {
|
|
|
2841
2841
|
}
|
|
2842
2842
|
|
|
2843
2843
|
});
|
|
2844
|
-
|
|
2844
|
+
parcelRegister("1Bkhy", function(module, exports) {
|
|
2845
2845
|
'use strict';
|
|
2846
2846
|
const $12a8fac329b4a52e$var$ParserEND = 0x110000;
|
|
2847
2847
|
class $12a8fac329b4a52e$var$ParserError extends Error {
|
|
@@ -2960,7 +2960,7 @@ module.exports = $12a8fac329b4a52e$var$Parser;
|
|
|
2960
2960
|
|
|
2961
2961
|
});
|
|
2962
2962
|
|
|
2963
|
-
|
|
2963
|
+
parcelRegister("9yHNt", function(module, exports) {
|
|
2964
2964
|
'use strict';
|
|
2965
2965
|
module.exports = (value)=>{
|
|
2966
2966
|
const date = new Date(value);
|
|
@@ -2970,10 +2970,10 @@ module.exports = (value)=>{
|
|
|
2970
2970
|
|
|
2971
2971
|
});
|
|
2972
2972
|
|
|
2973
|
-
|
|
2973
|
+
parcelRegister("hNiu0", function(module, exports) {
|
|
2974
2974
|
'use strict';
|
|
2975
2975
|
|
|
2976
|
-
var $erud4 =
|
|
2976
|
+
var $erud4 = parcelRequire("erud4");
|
|
2977
2977
|
class $cf45599cf024e5b3$var$FloatingDateTime extends Date {
|
|
2978
2978
|
constructor(value){
|
|
2979
2979
|
super(value + 'Z');
|
|
@@ -2992,7 +2992,7 @@ module.exports = (value)=>{
|
|
|
2992
2992
|
};
|
|
2993
2993
|
|
|
2994
2994
|
});
|
|
2995
|
-
|
|
2995
|
+
parcelRegister("erud4", function(module, exports) {
|
|
2996
2996
|
'use strict';
|
|
2997
2997
|
module.exports = (d, num)=>{
|
|
2998
2998
|
num = String(num);
|
|
@@ -3003,11 +3003,11 @@ module.exports = (d, num)=>{
|
|
|
3003
3003
|
});
|
|
3004
3004
|
|
|
3005
3005
|
|
|
3006
|
-
|
|
3006
|
+
parcelRegister("1Dk3B", function(module, exports) {
|
|
3007
3007
|
'use strict';
|
|
3008
3008
|
|
|
3009
|
-
var $erud4 =
|
|
3010
|
-
const $1308fde34ebed10b$var$DateTime = $
|
|
3009
|
+
var $erud4 = parcelRequire("erud4");
|
|
3010
|
+
const $1308fde34ebed10b$var$DateTime = $parcel$global.Date;
|
|
3011
3011
|
class $1308fde34ebed10b$var$Date extends $1308fde34ebed10b$var$DateTime {
|
|
3012
3012
|
constructor(value){
|
|
3013
3013
|
super(value);
|
|
@@ -3025,10 +3025,10 @@ module.exports = (value)=>{
|
|
|
3025
3025
|
|
|
3026
3026
|
});
|
|
3027
3027
|
|
|
3028
|
-
|
|
3028
|
+
parcelRegister("fNnHN", function(module, exports) {
|
|
3029
3029
|
'use strict';
|
|
3030
3030
|
|
|
3031
|
-
var $erud4 =
|
|
3031
|
+
var $erud4 = parcelRequire("erud4");
|
|
3032
3032
|
class $b7fdd2032639c39b$var$Time extends Date {
|
|
3033
3033
|
constructor(value){
|
|
3034
3034
|
super(`0000-01-01T${value}Z`);
|
|
@@ -3047,7 +3047,7 @@ module.exports = (value)=>{
|
|
|
3047
3047
|
});
|
|
3048
3048
|
|
|
3049
3049
|
|
|
3050
|
-
|
|
3050
|
+
parcelRegister("kahQ0", function(module, exports) {
|
|
3051
3051
|
'use strict';
|
|
3052
3052
|
module.exports = $eae29408924ff329$var$prettyError;
|
|
3053
3053
|
function $eae29408924ff329$var$prettyError(err, buf) {
|
|
@@ -3077,13 +3077,13 @@ function $eae29408924ff329$var$prettyError(err, buf) {
|
|
|
3077
3077
|
});
|
|
3078
3078
|
|
|
3079
3079
|
|
|
3080
|
-
|
|
3080
|
+
parcelRegister("2GyBb", function(module, exports) {
|
|
3081
3081
|
'use strict';
|
|
3082
3082
|
module.exports = $1f4a5798d4cc40f5$var$parseAsync;
|
|
3083
3083
|
|
|
3084
|
-
var $9nJH2 =
|
|
3084
|
+
var $9nJH2 = parcelRequire("9nJH2");
|
|
3085
3085
|
|
|
3086
|
-
var $kahQ0 =
|
|
3086
|
+
var $kahQ0 = parcelRequire("kahQ0");
|
|
3087
3087
|
function $1f4a5798d4cc40f5$var$parseAsync(str, opts) {
|
|
3088
3088
|
if (!opts) opts = {};
|
|
3089
3089
|
const index = 0;
|
|
@@ -3109,12 +3109,12 @@ function $1f4a5798d4cc40f5$var$parseAsync(str, opts) {
|
|
|
3109
3109
|
|
|
3110
3110
|
});
|
|
3111
3111
|
|
|
3112
|
-
|
|
3112
|
+
parcelRegister("7BZ5M", function(module, exports) {
|
|
3113
3113
|
'use strict';
|
|
3114
3114
|
module.exports = $58ab60c631c23915$var$parseStream;
|
|
3115
3115
|
|
|
3116
3116
|
|
|
3117
|
-
var $9nJH2 =
|
|
3117
|
+
var $9nJH2 = parcelRequire("9nJH2");
|
|
3118
3118
|
function $58ab60c631c23915$var$parseStream(stm) {
|
|
3119
3119
|
if (stm) return $58ab60c631c23915$var$parseReadable(stm);
|
|
3120
3120
|
else return $58ab60c631c23915$var$parseTransform(stm);
|
|
@@ -3183,7 +3183,7 @@ function $58ab60c631c23915$var$parseTransform() {
|
|
|
3183
3183
|
});
|
|
3184
3184
|
|
|
3185
3185
|
|
|
3186
|
-
|
|
3186
|
+
parcelRegister("fZmq7", function(module, exports) {
|
|
3187
3187
|
'use strict';
|
|
3188
3188
|
module.exports = $ba3df1b50c3ffd58$var$stringify;
|
|
3189
3189
|
module.exports.value = $ba3df1b50c3ffd58$var$stringifyInline;
|
|
@@ -3404,7 +3404,7 @@ function $ba3df1b50c3ffd58$var$stringifyComplexTable(prefix, indent, key, value)
|
|
|
3404
3404
|
|
|
3405
3405
|
});
|
|
3406
3406
|
|
|
3407
|
-
|
|
3407
|
+
parcelRegister("4l9xQ", function(module, exports) {
|
|
3408
3408
|
'use strict';
|
|
3409
3409
|
module.exports = function(Yallist) {
|
|
3410
3410
|
Yallist.prototype[Symbol.iterator] = function*() {
|
|
@@ -3415,78 +3415,78 @@ module.exports = function(Yallist) {
|
|
|
3415
3415
|
});
|
|
3416
3416
|
|
|
3417
3417
|
|
|
3418
|
-
$
|
|
3419
|
-
$
|
|
3420
|
-
$
|
|
3421
|
-
$
|
|
3422
|
-
$
|
|
3423
|
-
$
|
|
3424
|
-
$
|
|
3425
|
-
$
|
|
3426
|
-
$
|
|
3427
|
-
$
|
|
3428
|
-
$
|
|
3429
|
-
$
|
|
3430
|
-
$
|
|
3431
|
-
$
|
|
3432
|
-
$
|
|
3433
|
-
$
|
|
3434
|
-
$
|
|
3435
|
-
$
|
|
3436
|
-
$
|
|
3437
|
-
$
|
|
3438
|
-
$
|
|
3439
|
-
$
|
|
3440
|
-
$
|
|
3441
|
-
$
|
|
3442
|
-
$
|
|
3443
|
-
$
|
|
3444
|
-
$
|
|
3445
|
-
$
|
|
3446
|
-
$
|
|
3447
|
-
$
|
|
3448
|
-
$
|
|
3449
|
-
$
|
|
3450
|
-
$
|
|
3451
|
-
$
|
|
3452
|
-
$
|
|
3453
|
-
$
|
|
3454
|
-
$
|
|
3455
|
-
$
|
|
3456
|
-
$
|
|
3457
|
-
$
|
|
3458
|
-
$
|
|
3459
|
-
$
|
|
3460
|
-
$
|
|
3461
|
-
$
|
|
3462
|
-
$
|
|
3463
|
-
$
|
|
3464
|
-
$
|
|
3465
|
-
$
|
|
3466
|
-
$
|
|
3467
|
-
$
|
|
3468
|
-
$
|
|
3469
|
-
$
|
|
3470
|
-
$
|
|
3471
|
-
$
|
|
3472
|
-
$
|
|
3473
|
-
$
|
|
3474
|
-
$
|
|
3475
|
-
$
|
|
3476
|
-
$
|
|
3477
|
-
$
|
|
3478
|
-
$
|
|
3479
|
-
$
|
|
3480
|
-
$
|
|
3481
|
-
$
|
|
3482
|
-
$
|
|
3483
|
-
$
|
|
3484
|
-
$
|
|
3485
|
-
$
|
|
3486
|
-
$
|
|
3487
|
-
$
|
|
3488
|
-
$
|
|
3489
|
-
$
|
|
3418
|
+
$parcel$export(module.exports, "countLines", () => $ad68729d6de99dc3$export$2e2bcd8739ae039);
|
|
3419
|
+
$parcel$export(module.exports, "generateBuildMetrics", () => $f4a8461a86d1d03d$export$2e2bcd8739ae039);
|
|
3420
|
+
$parcel$export(module.exports, "generateCertificate", () => $24a6606f5b868cdf$export$2e2bcd8739ae039);
|
|
3421
|
+
$parcel$export(module.exports, "getCertificate", () => $64bbf4bc613dabbc$export$2e2bcd8739ae039);
|
|
3422
|
+
$parcel$export(module.exports, "getModuleParts", () => $cb2af686703d4869$export$2e2bcd8739ae039);
|
|
3423
|
+
$parcel$export(module.exports, "getRootDir", () => $9c31b42487a53ef4$export$2e2bcd8739ae039);
|
|
3424
|
+
$parcel$export(module.exports, "isDirectoryInside", () => $159e20a60478e367$export$2e2bcd8739ae039);
|
|
3425
|
+
$parcel$export(module.exports, "isURL", () => $0195c44ae53a8330$export$2e2bcd8739ae039);
|
|
3426
|
+
$parcel$export(module.exports, "objectHash", () => $7c287113a92f08c9$export$2e2bcd8739ae039);
|
|
3427
|
+
$parcel$export(module.exports, "prettifyTime", () => $268f79e132424d3b$export$2e2bcd8739ae039);
|
|
3428
|
+
$parcel$export(module.exports, "prettyDiagnostic", () => $2ba7ba4fb1a06b6d$export$2e2bcd8739ae039);
|
|
3429
|
+
$parcel$export(module.exports, "PromiseQueue", () => $9c4c7378e4930014$export$2e2bcd8739ae039);
|
|
3430
|
+
$parcel$export(module.exports, "validateSchema", () => $734b7df82a6f33b2$export$2e2bcd8739ae039);
|
|
3431
|
+
$parcel$export(module.exports, "TapStream", () => $d2ee71879e94fc7d$export$2e2bcd8739ae039);
|
|
3432
|
+
$parcel$export(module.exports, "urlJoin", () => $be4eba3a5ec324ed$export$2e2bcd8739ae039);
|
|
3433
|
+
$parcel$export(module.exports, "relativeUrl", () => $b5a0d7398c2a61f2$export$2e2bcd8739ae039);
|
|
3434
|
+
$parcel$export(module.exports, "createDependencyLocation", () => $473e2dd0385c3cac$export$2e2bcd8739ae039);
|
|
3435
|
+
$parcel$export(module.exports, "debounce", () => $4074a8f8f50a1b3c$export$2e2bcd8739ae039);
|
|
3436
|
+
$parcel$export(module.exports, "throttle", () => $f17cfc0ce981fcdb$export$2e2bcd8739ae039);
|
|
3437
|
+
$parcel$export(module.exports, "openInBrowser", () => $e69d29dd84acf0c8$export$2e2bcd8739ae039);
|
|
3438
|
+
$parcel$export(module.exports, "findAlternativeNodeModules", () => $cbdf8817caaf5c69$export$6643be4f4e63e994);
|
|
3439
|
+
$parcel$export(module.exports, "findAlternativeFiles", () => $cbdf8817caaf5c69$export$4eeb1b3271a29661);
|
|
3440
|
+
$parcel$export(module.exports, "blobToBuffer", () => $e98da255f2e84de9$export$e234f0a8b913b7b9);
|
|
3441
|
+
$parcel$export(module.exports, "blobToString", () => $e98da255f2e84de9$export$c6adc95df13c8b9e);
|
|
3442
|
+
$parcel$export(module.exports, "unique", () => $b18100fa05de8c9b$export$7a5d5c156e7dc406);
|
|
3443
|
+
$parcel$export(module.exports, "objectSortedEntries", () => $b18100fa05de8c9b$export$61559eb31990eff6);
|
|
3444
|
+
$parcel$export(module.exports, "objectSortedEntriesDeep", () => $b18100fa05de8c9b$export$1a9b883158ac407c);
|
|
3445
|
+
$parcel$export(module.exports, "setDifference", () => $b18100fa05de8c9b$export$8bd517cc5b3722f7);
|
|
3446
|
+
$parcel$export(module.exports, "setEqual", () => $b18100fa05de8c9b$export$dd7d5a65a6b6780f);
|
|
3447
|
+
$parcel$export(module.exports, "setIntersect", () => $b18100fa05de8c9b$export$9404cfefeb010e68);
|
|
3448
|
+
$parcel$export(module.exports, "setUnion", () => $b18100fa05de8c9b$export$667066422fa0af46);
|
|
3449
|
+
$parcel$export(module.exports, "resolveConfig", () => $ec2cfde3951ec9ac$export$7eca4ea16d4c8343);
|
|
3450
|
+
$parcel$export(module.exports, "resolveConfigSync", () => $ec2cfde3951ec9ac$export$d175e66e9fcd7b75);
|
|
3451
|
+
$parcel$export(module.exports, "loadConfig", () => $ec2cfde3951ec9ac$export$c1a4367d4847eb06);
|
|
3452
|
+
$parcel$export(module.exports, "readConfig", () => $ec2cfde3951ec9ac$export$f5327b421858c8cd);
|
|
3453
|
+
$parcel$export(module.exports, "DefaultMap", () => $d335bf26ecbac500$export$674cd7dcb504ac5c);
|
|
3454
|
+
$parcel$export(module.exports, "DefaultWeakMap", () => $d335bf26ecbac500$export$4924f7ffab2ae440);
|
|
3455
|
+
$parcel$export(module.exports, "makeDeferredWithPromise", () => $aee8ddd6d7b07175$export$93f345b3f0dd27e7);
|
|
3456
|
+
$parcel$export(module.exports, "getProgressMessage", () => $f5812375e86bb03d$export$d28945a2f2ba5e30);
|
|
3457
|
+
$parcel$export(module.exports, "isGlob", () => $5790eb078da9c4c4$export$f3a2344a73dbdd42);
|
|
3458
|
+
$parcel$export(module.exports, "isGlobMatch", () => $5790eb078da9c4c4$export$16e6d319a883f04e);
|
|
3459
|
+
$parcel$export(module.exports, "globMatch", () => $5790eb078da9c4c4$export$73b12c6cc27aa6c0);
|
|
3460
|
+
$parcel$export(module.exports, "globSync", () => $5790eb078da9c4c4$export$42275ba87174c828);
|
|
3461
|
+
$parcel$export(module.exports, "glob", () => $5790eb078da9c4c4$export$442f1a04865e4790);
|
|
3462
|
+
$parcel$export(module.exports, "globToRegex", () => $5790eb078da9c4c4$export$c0436a5422df81e4);
|
|
3463
|
+
$parcel$export(module.exports, "hashStream", () => $579366495785eacd$export$8a9ede1a78d6a1fe);
|
|
3464
|
+
$parcel$export(module.exports, "hashObject", () => $579366495785eacd$export$3477f9615e12f61d);
|
|
3465
|
+
$parcel$export(module.exports, "hashFile", () => $579366495785eacd$export$42462553d605d8cd);
|
|
3466
|
+
$parcel$export(module.exports, "SharedBuffer", () => $808c5247833132fb$export$8b1c306fed4227bf);
|
|
3467
|
+
$parcel$export(module.exports, "fuzzySearch", () => $734b7df82a6f33b2$export$2115c2c0a84eef61);
|
|
3468
|
+
$parcel$export(module.exports, "createHTTPServer", () => $c7e2118faa8ff49e$export$3b1983e9896f988b);
|
|
3469
|
+
$parcel$export(module.exports, "normalizePath", () => $62732999ec408767$export$6af368f973c74c5);
|
|
3470
|
+
$parcel$export(module.exports, "normalizeSeparators", () => $62732999ec408767$export$16778b798ae8e49d);
|
|
3471
|
+
$parcel$export(module.exports, "relativePath", () => $62732999ec408767$export$7413eea5ad243d4);
|
|
3472
|
+
$parcel$export(module.exports, "replaceURLReferences", () => $5a76e31dee6b7928$export$d0d0105f44defc19);
|
|
3473
|
+
$parcel$export(module.exports, "replaceInlineReferences", () => $5a76e31dee6b7928$export$f074a8f9bef628fd);
|
|
3474
|
+
$parcel$export(module.exports, "measureStreamLength", () => $4f3b30751958725f$export$457f03b1bf37ec1a);
|
|
3475
|
+
$parcel$export(module.exports, "readableFromStringOrBuffer", () => $4f3b30751958725f$export$dc30d0b81ccad9c7);
|
|
3476
|
+
$parcel$export(module.exports, "bufferStream", () => $4f3b30751958725f$export$f109d1c79a5ae5a1);
|
|
3477
|
+
$parcel$export(module.exports, "blobToStream", () => $4f3b30751958725f$export$5ba0b0e7e2e9ae7a);
|
|
3478
|
+
$parcel$export(module.exports, "streamFromPromise", () => $4f3b30751958725f$export$7ebca75e1135fcd6);
|
|
3479
|
+
$parcel$export(module.exports, "fallbackStream", () => $4f3b30751958725f$export$68f6769cfac79897);
|
|
3480
|
+
$parcel$export(module.exports, "relativeBundlePath", () => $24c4b4bd3089bf9d$export$402b5a120b1183b3);
|
|
3481
|
+
$parcel$export(module.exports, "ansiHtml", () => $2a4aecdd2258196e$export$565d0ff71645da31);
|
|
3482
|
+
$parcel$export(module.exports, "escapeHTML", () => $1275c0bdee3dbe0c$export$5dd27816c66fb702);
|
|
3483
|
+
$parcel$export(module.exports, "SOURCEMAP_RE", () => $0e119408758e5447$export$db8833b274702782);
|
|
3484
|
+
$parcel$export(module.exports, "SOURCEMAP_EXTENSIONS", () => $0e119408758e5447$export$4b206fdd01e58041);
|
|
3485
|
+
$parcel$export(module.exports, "matchSourceMappingURL", () => $0e119408758e5447$export$ff36203a2e5cc203);
|
|
3486
|
+
$parcel$export(module.exports, "loadSourceMapUrl", () => $0e119408758e5447$export$527a92fa675f5e93);
|
|
3487
|
+
$parcel$export(module.exports, "loadSourceMap", () => $0e119408758e5447$export$c500fecaca54de65);
|
|
3488
|
+
$parcel$export(module.exports, "remapSourceLocation", () => $0e119408758e5447$export$2fed780245c466c1);
|
|
3489
|
+
$parcel$export(module.exports, "stripAnsi", () => (/*@__PURE__*/$parcel$interopDefault($1954eda618d14a4a$exports)));
|
|
3490
3490
|
function $ad68729d6de99dc3$export$2e2bcd8739ae039(string, startIndex = 0) {
|
|
3491
3491
|
let lines = 1;
|
|
3492
3492
|
for(let i = startIndex; i < string.length; i++)if (string.charAt(i) === '\n') lines++;
|
|
@@ -3517,11 +3517,11 @@ async function $f4a8461a86d1d03d$var$getSourcemapSizes(filePath, fs, projectRoot
|
|
|
3517
3517
|
let mapUrlData = await (0, $0e119408758e5447$export$527a92fa675f5e93)(fs, filePath, bundleContents);
|
|
3518
3518
|
if (!mapUrlData) return null;
|
|
3519
3519
|
let rawMap = mapUrlData.map;
|
|
3520
|
-
let sourceMap = new (0, ($
|
|
3520
|
+
let sourceMap = new (0, ($parcel$interopDefault($9kEcR$parcelsourcemap)))(projectRoot);
|
|
3521
3521
|
sourceMap.addVLQMap(rawMap);
|
|
3522
3522
|
let parsedMapData = sourceMap.getMap();
|
|
3523
3523
|
if (parsedMapData.mappings.length > 2) {
|
|
3524
|
-
let sources = parsedMapData.sources.map((s)=>(0, ($
|
|
3524
|
+
let sources = parsedMapData.sources.map((s)=>(0, ($parcel$interopDefault($9kEcR$path))).normalize((0, ($parcel$interopDefault($9kEcR$path))).join(projectRoot, s)));
|
|
3525
3525
|
let currLine = 1;
|
|
3526
3526
|
let currColumn = 0;
|
|
3527
3527
|
let currMappingIndex = 0;
|
|
@@ -3556,7 +3556,7 @@ async function $f4a8461a86d1d03d$var$createBundleStats(bundle, fs, projectRoot)
|
|
|
3556
3556
|
let sourcemapSizes = await $f4a8461a86d1d03d$var$getSourcemapSizes(filePath, fs, projectRoot);
|
|
3557
3557
|
let assets = new Map();
|
|
3558
3558
|
bundle.traverseAssets((asset)=>{
|
|
3559
|
-
let filePath = (0, ($
|
|
3559
|
+
let filePath = (0, ($parcel$interopDefault($9kEcR$path))).normalize(asset.filePath);
|
|
3560
3560
|
assets.set(filePath, {
|
|
3561
3561
|
filePath: filePath,
|
|
3562
3562
|
size: asset.stats.size,
|
|
@@ -3580,7 +3580,7 @@ async function $f4a8461a86d1d03d$var$createBundleStats(bundle, fs, projectRoot)
|
|
|
3580
3580
|
});
|
|
3581
3581
|
else assetsReport = Array.from(assets.values());
|
|
3582
3582
|
return {
|
|
3583
|
-
filePath: (0, (/*@__PURE__*/$
|
|
3583
|
+
filePath: (0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(bundle.filePath),
|
|
3584
3584
|
size: bundle.stats.size,
|
|
3585
3585
|
time: bundle.stats.time,
|
|
3586
3586
|
assets: assetsReport.sort((a, b)=>b.size - a.size)
|
|
@@ -3602,7 +3602,7 @@ var $81ad75ff3906c9cf$exports = {};
|
|
|
3602
3602
|
*
|
|
3603
3603
|
* Copyright 2011-2016 Digital Bazaar, Inc.
|
|
3604
3604
|
*/
|
|
3605
|
-
$81ad75ff3906c9cf$exports = (
|
|
3605
|
+
$81ad75ff3906c9cf$exports = (parcelRequire("3Tdfq"));
|
|
3606
3606
|
var $ef5f5334ea78c5ce$exports = {};
|
|
3607
3607
|
/**
|
|
3608
3608
|
* Advanced Encryption Standard (AES) implementation.
|
|
@@ -3621,7 +3621,7 @@ var $ef5f5334ea78c5ce$exports = {};
|
|
|
3621
3621
|
*
|
|
3622
3622
|
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
3623
3623
|
*/
|
|
3624
|
-
var $3Tdfq =
|
|
3624
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
3625
3625
|
var $06b243ca152cb416$exports = {};
|
|
3626
3626
|
/**
|
|
3627
3627
|
* Cipher base API.
|
|
@@ -3630,7 +3630,7 @@ var $06b243ca152cb416$exports = {};
|
|
|
3630
3630
|
*
|
|
3631
3631
|
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
3632
3632
|
*/
|
|
3633
|
-
var $3Tdfq =
|
|
3633
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
3634
3634
|
var $33f4abcda0fdb950$exports = {};
|
|
3635
3635
|
/**
|
|
3636
3636
|
* Utility functions for web applications.
|
|
@@ -3639,7 +3639,7 @@ var $33f4abcda0fdb950$exports = {};
|
|
|
3639
3639
|
*
|
|
3640
3640
|
* Copyright (c) 2010-2018 Digital Bazaar, Inc.
|
|
3641
3641
|
*/
|
|
3642
|
-
var $3Tdfq =
|
|
3642
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
3643
3643
|
var $1d02506fe1e68911$exports = {};
|
|
3644
3644
|
/**
|
|
3645
3645
|
* Base-N/Base-X encoding/decoding functions.
|
|
@@ -3876,7 +3876,7 @@ $33f4abcda0fdb950$var$util.isNodejs = typeof process !== 'undefined' && process.
|
|
|
3876
3876
|
// To remain compatible with older browsers, we fall back to 'window' if 'self'
|
|
3877
3877
|
// is not available.
|
|
3878
3878
|
$33f4abcda0fdb950$var$util.globalScope = function() {
|
|
3879
|
-
if ($33f4abcda0fdb950$var$util.isNodejs) return $
|
|
3879
|
+
if ($33f4abcda0fdb950$var$util.isNodejs) return $parcel$global;
|
|
3880
3880
|
return typeof self === 'undefined' ? window : self;
|
|
3881
3881
|
}();
|
|
3882
3882
|
// define isArray
|
|
@@ -6125,7 +6125,7 @@ var $baccff048888c148$exports = {};
|
|
|
6125
6125
|
*
|
|
6126
6126
|
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
6127
6127
|
*/
|
|
6128
|
-
var $3Tdfq =
|
|
6128
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
6129
6129
|
|
|
6130
6130
|
$3Tdfq.cipher = $3Tdfq.cipher || {};
|
|
6131
6131
|
// supported cipher modes
|
|
@@ -7822,7 +7822,7 @@ var $65dc7be55db05c69$exports = {};
|
|
|
7822
7822
|
* Copyright (c) 2009-2015 Digital Bazaar, Inc.
|
|
7823
7823
|
*
|
|
7824
7824
|
*/
|
|
7825
|
-
var $3Tdfq =
|
|
7825
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
7826
7826
|
|
|
7827
7827
|
var $fd20e43c4a4c169b$exports = {};
|
|
7828
7828
|
/**
|
|
@@ -8057,7 +8057,7 @@ var $fd20e43c4a4c169b$exports = {};
|
|
|
8057
8057
|
* due to the large block size of existing MACs and the small size of the
|
|
8058
8058
|
* timing signal.
|
|
8059
8059
|
*/
|
|
8060
|
-
var $3Tdfq =
|
|
8060
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
8061
8061
|
var $d560b667ab1e7175$exports = {};
|
|
8062
8062
|
/**
|
|
8063
8063
|
* Javascript implementation of Abstract Syntax Notation Number One.
|
|
@@ -8194,7 +8194,7 @@ var $d560b667ab1e7175$exports = {};
|
|
|
8194
8194
|
* The full OID (including ASN.1 tag and length of 6 bytes) is:
|
|
8195
8195
|
* 0x06062A864886F70D
|
|
8196
8196
|
*/
|
|
8197
|
-
var $3Tdfq =
|
|
8197
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
8198
8198
|
|
|
8199
8199
|
var $ec72b7b4a98c13b4$exports = {};
|
|
8200
8200
|
/**
|
|
@@ -8204,7 +8204,7 @@ var $ec72b7b4a98c13b4$exports = {};
|
|
|
8204
8204
|
*
|
|
8205
8205
|
* Copyright (c) 2010-2013 Digital Bazaar, Inc.
|
|
8206
8206
|
*/
|
|
8207
|
-
var $3Tdfq =
|
|
8207
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
8208
8208
|
$3Tdfq.pki = $3Tdfq.pki || {};
|
|
8209
8209
|
var $ec72b7b4a98c13b4$var$oids = $ec72b7b4a98c13b4$exports = $3Tdfq.pki.oids = $3Tdfq.oids = $3Tdfq.oids || {};
|
|
8210
8210
|
// set id to name mapping and name to id mapping
|
|
@@ -9340,8 +9340,8 @@ var $155cc0e68ba07b4d$exports = {};
|
|
|
9340
9340
|
*
|
|
9341
9341
|
* Copyright (c) 2010-2012 Digital Bazaar, Inc. All rights reserved.
|
|
9342
9342
|
*/
|
|
9343
|
-
var $3Tdfq =
|
|
9344
|
-
|
|
9343
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
9344
|
+
parcelRequire("bffTI");
|
|
9345
9345
|
|
|
9346
9346
|
/* HMAC API */ var $155cc0e68ba07b4d$var$hmac = $155cc0e68ba07b4d$exports = $3Tdfq.hmac = $3Tdfq.hmac || {};
|
|
9347
9347
|
/**
|
|
@@ -9457,8 +9457,8 @@ var $39777408323a84a8$exports = {};
|
|
|
9457
9457
|
*
|
|
9458
9458
|
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
9459
9459
|
*/
|
|
9460
|
-
var $3Tdfq =
|
|
9461
|
-
|
|
9460
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
9461
|
+
parcelRequire("bffTI");
|
|
9462
9462
|
|
|
9463
9463
|
var $39777408323a84a8$var$md5 = $39777408323a84a8$exports = $3Tdfq.md5 = $3Tdfq.md5 || {};
|
|
9464
9464
|
$3Tdfq.md.md5 = $3Tdfq.md.algorithms.md5 = $39777408323a84a8$var$md5;
|
|
@@ -9843,7 +9843,7 @@ var $4c957ad265240fc3$exports = {};
|
|
|
9843
9843
|
*
|
|
9844
9844
|
* body: the binary-encoded body.
|
|
9845
9845
|
*/
|
|
9846
|
-
var $3Tdfq =
|
|
9846
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
9847
9847
|
|
|
9848
9848
|
// shortcut for pem API
|
|
9849
9849
|
var $4c957ad265240fc3$var$pem = $4c957ad265240fc3$exports = $3Tdfq.pem = $3Tdfq.pem || {};
|
|
@@ -10017,7 +10017,7 @@ var $1f4d0abb45275802$exports = {};
|
|
|
10017
10017
|
*
|
|
10018
10018
|
* Copyright (c) 2010-2013 Digital Bazaar, Inc.
|
|
10019
10019
|
*/
|
|
10020
|
-
var $3Tdfq =
|
|
10020
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
10021
10021
|
|
|
10022
10022
|
|
|
10023
10023
|
var $5cc64f6894199f3b$exports = {};
|
|
@@ -10040,7 +10040,7 @@ var $5cc64f6894199f3b$exports = {};
|
|
|
10040
10040
|
*
|
|
10041
10041
|
* EncryptedData ::= OCTET STRING
|
|
10042
10042
|
*/
|
|
10043
|
-
var $3Tdfq =
|
|
10043
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
10044
10044
|
|
|
10045
10045
|
|
|
10046
10046
|
var $e6ec0d0ea6dd57a9$exports = {};
|
|
@@ -10075,7 +10075,7 @@ var $e6ec0d0ea6dd57a9$exports = {};
|
|
|
10075
10075
|
* Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
|
|
10076
10076
|
* Copyright (c) 2012-2014 Digital Bazaar, Inc.
|
|
10077
10077
|
*/
|
|
10078
|
-
var $3Tdfq =
|
|
10078
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
10079
10079
|
|
|
10080
10080
|
|
|
10081
10081
|
|
|
@@ -11236,7 +11236,7 @@ var $e6ec0d0ea6dd57a9$var$spfunction8 = [
|
|
|
11236
11236
|
}
|
|
11237
11237
|
|
|
11238
11238
|
|
|
11239
|
-
|
|
11239
|
+
parcelRequire("bffTI");
|
|
11240
11240
|
|
|
11241
11241
|
var $542fcdef2cdc97f7$exports = {};
|
|
11242
11242
|
/**
|
|
@@ -11248,9 +11248,9 @@ var $542fcdef2cdc97f7$exports = {};
|
|
|
11248
11248
|
*
|
|
11249
11249
|
* Copyright (c) 2010-2013 Digital Bazaar, Inc.
|
|
11250
11250
|
*/
|
|
11251
|
-
var $3Tdfq =
|
|
11251
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
11252
11252
|
|
|
11253
|
-
|
|
11253
|
+
parcelRequire("bffTI");
|
|
11254
11254
|
|
|
11255
11255
|
var $542fcdef2cdc97f7$var$pkcs5 = $3Tdfq.pkcs5 = $3Tdfq.pkcs5 || {};
|
|
11256
11256
|
var $542fcdef2cdc97f7$var$crypto;
|
|
@@ -11421,7 +11421,7 @@ var $bced9db67bb87f30$exports = {};
|
|
|
11421
11421
|
*
|
|
11422
11422
|
* Copyright (c) 2009-2014 Digital Bazaar, Inc.
|
|
11423
11423
|
*/
|
|
11424
|
-
var $3Tdfq =
|
|
11424
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
11425
11425
|
|
|
11426
11426
|
var $9fac5fd75ff7029e$exports = {};
|
|
11427
11427
|
/**
|
|
@@ -11433,8 +11433,8 @@ var $9fac5fd75ff7029e$exports = {};
|
|
|
11433
11433
|
*
|
|
11434
11434
|
* Copyright (c) 2010-2015 Digital Bazaar, Inc.
|
|
11435
11435
|
*/
|
|
11436
|
-
var $3Tdfq =
|
|
11437
|
-
|
|
11436
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
11437
|
+
parcelRequire("bffTI");
|
|
11438
11438
|
|
|
11439
11439
|
var $9fac5fd75ff7029e$var$sha256 = $9fac5fd75ff7029e$exports = $3Tdfq.sha256 = $3Tdfq.sha256 || {};
|
|
11440
11440
|
$3Tdfq.md.sha256 = $3Tdfq.md.algorithms.sha256 = $9fac5fd75ff7029e$var$sha256;
|
|
@@ -11753,7 +11753,7 @@ var $4aaef18169aa9fd6$exports = {};
|
|
|
11753
11753
|
*
|
|
11754
11754
|
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
|
|
11755
11755
|
*/
|
|
11756
|
-
var $3Tdfq =
|
|
11756
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
11757
11757
|
|
|
11758
11758
|
var $4aaef18169aa9fd6$var$_crypto = null;
|
|
11759
11759
|
|
|
@@ -12228,7 +12228,7 @@ var $12290d6123b48f73$exports = {};
|
|
|
12228
12228
|
* Information on the RC2 cipher is available from RFC #2268,
|
|
12229
12229
|
* http://www.ietf.org/rfc/rfc2268.txt
|
|
12230
12230
|
*/
|
|
12231
|
-
var $3Tdfq =
|
|
12231
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
12232
12232
|
|
|
12233
12233
|
var $12290d6123b48f73$var$piTable = [
|
|
12234
12234
|
0xd9,
|
|
@@ -12851,7 +12851,7 @@ var $3ea7482d34c92186$exports = {};
|
|
|
12851
12851
|
*
|
|
12852
12852
|
* The OID for the RSA key algorithm is: 1.2.840.113549.1.1.1
|
|
12853
12853
|
*/
|
|
12854
|
-
var $3Tdfq =
|
|
12854
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
12855
12855
|
|
|
12856
12856
|
var $7bc7f3da35a832a5$exports = {};
|
|
12857
12857
|
// Copyright (c) 2005 Tom Wu
|
|
@@ -12898,7 +12898,7 @@ Address all questions regarding this license to:
|
|
|
12898
12898
|
Tom Wu
|
|
12899
12899
|
tjw@cs.Stanford.EDU
|
|
12900
12900
|
*/
|
|
12901
|
-
var $3Tdfq =
|
|
12901
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
12902
12902
|
$7bc7f3da35a832a5$exports = $3Tdfq.jsbn = $3Tdfq.jsbn || {};
|
|
12903
12903
|
// Bits per digit
|
|
12904
12904
|
var $7bc7f3da35a832a5$var$dbits;
|
|
@@ -14348,7 +14348,7 @@ var $3aff860b99355789$exports = {};
|
|
|
14348
14348
|
*
|
|
14349
14349
|
* Copyright (c) 2013-2014 Digital Bazaar, Inc.
|
|
14350
14350
|
*/
|
|
14351
|
-
var $3Tdfq =
|
|
14351
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
14352
14352
|
|
|
14353
14353
|
|
|
14354
14354
|
var $35419b8400178164$exports = {};
|
|
@@ -14359,8 +14359,8 @@ var $35419b8400178164$exports = {};
|
|
|
14359
14359
|
*
|
|
14360
14360
|
* Copyright (c) 2010-2015 Digital Bazaar, Inc.
|
|
14361
14361
|
*/
|
|
14362
|
-
var $3Tdfq =
|
|
14363
|
-
|
|
14362
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
14363
|
+
parcelRequire("bffTI");
|
|
14364
14364
|
|
|
14365
14365
|
var $35419b8400178164$var$sha1 = $35419b8400178164$exports = $3Tdfq.sha1 = $3Tdfq.sha1 || {};
|
|
14366
14366
|
$3Tdfq.md.sha1 = $3Tdfq.md.algorithms.sha1 = $35419b8400178164$var$sha1;
|
|
@@ -14800,7 +14800,7 @@ var $ff97984f0ed28539$exports = {};
|
|
|
14800
14800
|
*
|
|
14801
14801
|
* Copyright (c) 2014 Digital Bazaar, Inc.
|
|
14802
14802
|
*/
|
|
14803
|
-
var $3Tdfq =
|
|
14803
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
14804
14804
|
|
|
14805
14805
|
|
|
14806
14806
|
|
|
@@ -17577,7 +17577,7 @@ var $9813b4a056fb0d26$exports = {};
|
|
|
17577
17577
|
* ... -- For future extensions
|
|
17578
17578
|
* }
|
|
17579
17579
|
*/
|
|
17580
|
-
var $3Tdfq =
|
|
17580
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
17581
17581
|
|
|
17582
17582
|
|
|
17583
17583
|
|
|
@@ -17691,7 +17691,7 @@ var $6acbd9c17138b535$exports = {};
|
|
|
17691
17691
|
*
|
|
17692
17692
|
* EncryptedKey ::= OCTET STRING
|
|
17693
17693
|
*/
|
|
17694
|
-
var $3Tdfq =
|
|
17694
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
17695
17695
|
|
|
17696
17696
|
|
|
17697
17697
|
// shortcut for ASN.1 API
|
|
@@ -18146,11 +18146,11 @@ var $f71df2b3c2b6b2cd$exports = {};
|
|
|
18146
18146
|
* signature BIT STRING
|
|
18147
18147
|
* }
|
|
18148
18148
|
*/
|
|
18149
|
-
var $3Tdfq =
|
|
18149
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
18150
18150
|
|
|
18151
18151
|
|
|
18152
18152
|
|
|
18153
|
-
|
|
18153
|
+
parcelRequire("bffTI");
|
|
18154
18154
|
var $19187dbdf6a5fd01$exports = {};
|
|
18155
18155
|
/**
|
|
18156
18156
|
* Node.js module for Forge mask generation functions.
|
|
@@ -18159,7 +18159,7 @@ var $19187dbdf6a5fd01$exports = {};
|
|
|
18159
18159
|
*
|
|
18160
18160
|
* Copyright 2012 Stefan Siegl <stesie@brokenpipe.de>
|
|
18161
18161
|
*/
|
|
18162
|
-
var $3Tdfq =
|
|
18162
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
18163
18163
|
var $652cecc670628577$exports = {};
|
|
18164
18164
|
/**
|
|
18165
18165
|
* Javascript implementation of mask generation function MGF1.
|
|
@@ -18170,7 +18170,7 @@ var $652cecc670628577$exports = {};
|
|
|
18170
18170
|
* Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
|
|
18171
18171
|
* Copyright (c) 2014 Digital Bazaar, Inc.
|
|
18172
18172
|
*/
|
|
18173
|
-
var $3Tdfq =
|
|
18173
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
18174
18174
|
|
|
18175
18175
|
$3Tdfq.mgf = $3Tdfq.mgf || {};
|
|
18176
18176
|
var $652cecc670628577$var$mgf1 = $652cecc670628577$exports = $3Tdfq.mgf.mgf1 = $3Tdfq.mgf1 = $3Tdfq.mgf1 || {};
|
|
@@ -18221,7 +18221,7 @@ var $82268507529e7d02$exports = {};
|
|
|
18221
18221
|
*
|
|
18222
18222
|
* Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
|
|
18223
18223
|
*/
|
|
18224
|
-
var $3Tdfq =
|
|
18224
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
18225
18225
|
|
|
18226
18226
|
|
|
18227
18227
|
// shortcut for PSS API
|
|
@@ -25949,7 +25949,7 @@ var $a418631cd4adf8dc$exports = {};
|
|
|
25949
25949
|
*
|
|
25950
25950
|
* https://github.com/dchest/tweetnacl-js
|
|
25951
25951
|
*/
|
|
25952
|
-
var $3Tdfq =
|
|
25952
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
25953
25953
|
|
|
25954
25954
|
|
|
25955
25955
|
var $791a93a01c1dc3d1$exports = {};
|
|
@@ -25965,8 +25965,8 @@ var $791a93a01c1dc3d1$exports = {};
|
|
|
25965
25965
|
*
|
|
25966
25966
|
* Copyright (c) 2014-2015 Digital Bazaar, Inc.
|
|
25967
25967
|
*/
|
|
25968
|
-
var $3Tdfq =
|
|
25969
|
-
|
|
25968
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
25969
|
+
parcelRequire("bffTI");
|
|
25970
25970
|
|
|
25971
25971
|
var $791a93a01c1dc3d1$var$sha512 = $791a93a01c1dc3d1$exports = $3Tdfq.sha512 = $3Tdfq.sha512 || {};
|
|
25972
25972
|
// SHA-512
|
|
@@ -26790,7 +26790,7 @@ var $791a93a01c1dc3d1$var$_states = null;
|
|
|
26790
26790
|
*/ var $5be6d3d234ba369b$export$fed72f95cdc10258;
|
|
26791
26791
|
var $5be6d3d234ba369b$export$16f1063872153885;
|
|
26792
26792
|
|
|
26793
|
-
var $3Tdfq =
|
|
26793
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
26794
26794
|
|
|
26795
26795
|
var $5be6d3d234ba369b$var$asn1 = $3Tdfq.asn1;
|
|
26796
26796
|
$5be6d3d234ba369b$export$fed72f95cdc10258 = {
|
|
@@ -27902,7 +27902,7 @@ var $f5282c40ab5ec3bf$exports = {};
|
|
|
27902
27902
|
* Copyright (c) 2014 Lautaro Cozzani <lautaro.cozzani@scytl.com>
|
|
27903
27903
|
* Copyright (c) 2014 Digital Bazaar, Inc.
|
|
27904
27904
|
*/
|
|
27905
|
-
var $3Tdfq =
|
|
27905
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
27906
27906
|
|
|
27907
27907
|
|
|
27908
27908
|
|
|
@@ -28041,7 +28041,7 @@ var $fd9c7915ffa27fa3$exports = {};
|
|
|
28041
28041
|
*
|
|
28042
28042
|
* Copyright (c) 2008-2013 Digital Bazaar, Inc.
|
|
28043
28043
|
*/
|
|
28044
|
-
var $3Tdfq =
|
|
28044
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
28045
28045
|
|
|
28046
28046
|
/* LOG API */ $fd9c7915ffa27fa3$exports = $3Tdfq.log = $3Tdfq.log || {};
|
|
28047
28047
|
/**
|
|
@@ -28318,7 +28318,7 @@ var $93d436022f5d1bab$exports = {};
|
|
|
28318
28318
|
*
|
|
28319
28319
|
* Copyright 2011-2017 Digital Bazaar, Inc.
|
|
28320
28320
|
*/
|
|
28321
|
-
$93d436022f5d1bab$exports = (
|
|
28321
|
+
$93d436022f5d1bab$exports = (parcelRequire("bffTI"));
|
|
28322
28322
|
|
|
28323
28323
|
|
|
28324
28324
|
|
|
@@ -28349,7 +28349,7 @@ var $35738fb3beab6634$exports = {};
|
|
|
28349
28349
|
* a separate file pkcs7asn1.js, since those are referenced from other
|
|
28350
28350
|
* PKCS standards like PKCS #12.
|
|
28351
28351
|
*/
|
|
28352
|
-
var $3Tdfq =
|
|
28352
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
28353
28353
|
|
|
28354
28354
|
|
|
28355
28355
|
|
|
@@ -29288,7 +29288,7 @@ var $574432fadf2596ee$exports = {};
|
|
|
29288
29288
|
*
|
|
29289
29289
|
* @author https://github.com/shellac
|
|
29290
29290
|
*/
|
|
29291
|
-
var $3Tdfq =
|
|
29291
|
+
var $3Tdfq = parcelRequire("3Tdfq");
|
|
29292
29292
|
|
|
29293
29293
|
|
|
29294
29294
|
|
|
@@ -29478,16 +29478,16 @@ var $574432fadf2596ee$var$ssh = $574432fadf2596ee$exports = $3Tdfq.ssh = $3Tdfq.
|
|
|
29478
29478
|
|
|
29479
29479
|
async function $24a6606f5b868cdf$export$2e2bcd8739ae039(fs, cacheDir, host) {
|
|
29480
29480
|
let certDirectory = cacheDir;
|
|
29481
|
-
const privateKeyPath = (0, ($
|
|
29482
|
-
const certPath = (0, ($
|
|
29481
|
+
const privateKeyPath = (0, ($parcel$interopDefault($9kEcR$path))).join(certDirectory, 'private.pem');
|
|
29482
|
+
const certPath = (0, ($parcel$interopDefault($9kEcR$path))).join(certDirectory, 'primary.crt');
|
|
29483
29483
|
const cachedKey = await fs.exists(privateKeyPath) && await fs.readFile(privateKeyPath);
|
|
29484
29484
|
const cachedCert = await fs.exists(certPath) && await fs.readFile(certPath);
|
|
29485
29485
|
if (cachedKey && cachedCert) return {
|
|
29486
29486
|
key: cachedKey,
|
|
29487
29487
|
cert: cachedCert
|
|
29488
29488
|
};
|
|
29489
|
-
(0, ($
|
|
29490
|
-
const pki = (0, (/*@__PURE__*/$
|
|
29489
|
+
(0, ($parcel$interopDefault($9kEcR$atlaspacklogger))).progress('Generating SSL Certificate...');
|
|
29490
|
+
const pki = (0, (/*@__PURE__*/$parcel$interopDefault($81ad75ff3906c9cf$exports))).pki;
|
|
29491
29491
|
const keys = pki.rsa.generateKeyPair(2048);
|
|
29492
29492
|
const cert = pki.createCertificate();
|
|
29493
29493
|
cert.publicKey = keys.publicKey;
|
|
@@ -29498,7 +29498,7 @@ async function $24a6606f5b868cdf$export$2e2bcd8739ae039(fs, cacheDir, host) {
|
|
|
29498
29498
|
const attrs = [
|
|
29499
29499
|
{
|
|
29500
29500
|
name: 'commonName',
|
|
29501
|
-
value: '
|
|
29501
|
+
value: 'parceljs.org'
|
|
29502
29502
|
},
|
|
29503
29503
|
{
|
|
29504
29504
|
name: 'countryName',
|
|
@@ -29514,7 +29514,7 @@ async function $24a6606f5b868cdf$export$2e2bcd8739ae039(fs, cacheDir, host) {
|
|
|
29514
29514
|
},
|
|
29515
29515
|
{
|
|
29516
29516
|
name: 'organizationName',
|
|
29517
|
-
value: '
|
|
29517
|
+
value: 'parcelBundler'
|
|
29518
29518
|
},
|
|
29519
29519
|
{
|
|
29520
29520
|
shortName: 'OU',
|
|
@@ -29579,7 +29579,7 @@ async function $24a6606f5b868cdf$export$2e2bcd8739ae039(fs, cacheDir, host) {
|
|
|
29579
29579
|
name: 'subjectKeyIdentifier'
|
|
29580
29580
|
}
|
|
29581
29581
|
]);
|
|
29582
|
-
cert.sign(keys.privateKey, (0, (/*@__PURE__*/$
|
|
29582
|
+
cert.sign(keys.privateKey, (0, (/*@__PURE__*/$parcel$interopDefault($81ad75ff3906c9cf$exports))).md.sha256.create());
|
|
29583
29583
|
const privPem = pki.privateKeyToPem(keys.privateKey);
|
|
29584
29584
|
const certPem = pki.certificateToPem(cert);
|
|
29585
29585
|
await fs.mkdirp(certDirectory);
|
|
@@ -29617,20 +29617,20 @@ function $62732999ec408767$export$16778b798ae8e49d(filePath) {
|
|
|
29617
29617
|
return filePath.replace($62732999ec408767$var$SEPARATOR_REGEX, '/');
|
|
29618
29618
|
}
|
|
29619
29619
|
function $62732999ec408767$export$6af368f973c74c5(filePath, leadingDotSlash = true) {
|
|
29620
|
-
if (leadingDotSlash && (filePath[0] !== '.' || filePath[1] !== '.' && filePath[1] !== '/' && filePath[1] !== '\\') && !(0, ($
|
|
29620
|
+
if (leadingDotSlash && (filePath[0] !== '.' || filePath[1] !== '.' && filePath[1] !== '/' && filePath[1] !== '\\') && !(0, ($parcel$interopDefault($9kEcR$path))).isAbsolute(filePath)) return $62732999ec408767$export$16778b798ae8e49d('./' + filePath);
|
|
29621
29621
|
else return $62732999ec408767$export$16778b798ae8e49d(filePath);
|
|
29622
29622
|
}
|
|
29623
29623
|
function $62732999ec408767$export$7413eea5ad243d4(from, to, leadingDotSlash = true) {
|
|
29624
29624
|
// Fast path
|
|
29625
29625
|
if (to.startsWith(from + '/')) return (leadingDotSlash ? './' : '') + to.slice(from.length + 1);
|
|
29626
|
-
return $62732999ec408767$export$6af368f973c74c5((0, ($
|
|
29626
|
+
return $62732999ec408767$export$6af368f973c74c5((0, ($parcel$interopDefault($9kEcR$path))).relative(from, to), leadingDotSlash);
|
|
29627
29627
|
}
|
|
29628
29628
|
|
|
29629
29629
|
|
|
29630
29630
|
function $cb2af686703d4869$export$2e2bcd8739ae039(_name) {
|
|
29631
|
-
let name = (0, ($
|
|
29632
|
-
let splitOn = name.indexOf((0, ($
|
|
29633
|
-
if (name.charAt(0) === '@') splitOn = name.indexOf((0, ($
|
|
29631
|
+
let name = (0, ($parcel$interopDefault($9kEcR$path))).normalize(_name);
|
|
29632
|
+
let splitOn = name.indexOf((0, ($parcel$interopDefault($9kEcR$path))).sep);
|
|
29633
|
+
if (name.charAt(0) === '@') splitOn = name.indexOf((0, ($parcel$interopDefault($9kEcR$path))).sep, splitOn + 1);
|
|
29634
29634
|
if (splitOn < 0) return [
|
|
29635
29635
|
(0, $62732999ec408767$export$16778b798ae8e49d)(name),
|
|
29636
29636
|
undefined
|
|
@@ -31027,11 +31027,11 @@ $d43764cdb976f930$exports = $d43764cdb976f930$var$parse;
|
|
|
31027
31027
|
var $fb0227e8002a52cf$exports = {};
|
|
31028
31028
|
'use strict';
|
|
31029
31029
|
|
|
31030
|
-
$fb0227e8002a52cf$exports = (
|
|
31030
|
+
$fb0227e8002a52cf$exports = (parcelRequire("3747H"));
|
|
31031
31031
|
|
|
31032
31032
|
|
|
31033
31033
|
|
|
31034
|
-
var $EUji1 =
|
|
31034
|
+
var $EUji1 = parcelRequire("EUji1");
|
|
31035
31035
|
const $18638cc3e2d2d2b4$var$isEmptyString = (val)=>val === '' || val === './';
|
|
31036
31036
|
/**
|
|
31037
31037
|
* Returns an array of strings that match one or more glob patterns.
|
|
@@ -33400,7 +33400,7 @@ $2b8b63ce8eb6b737$exports = $2b8b63ce8eb6b737$var$FastGlob;
|
|
|
33400
33400
|
|
|
33401
33401
|
|
|
33402
33402
|
function $5790eb078da9c4c4$export$f3a2344a73dbdd42(p) {
|
|
33403
|
-
return (0, (/*@__PURE__*/$
|
|
33403
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($9cc0b25ddbd28098$exports)))((0, $62732999ec408767$export$16778b798ae8e49d)(p));
|
|
33404
33404
|
}
|
|
33405
33405
|
function $5790eb078da9c4c4$export$16e6d319a883f04e(filePath, glob, opts) {
|
|
33406
33406
|
glob = Array.isArray(glob) ? glob.map((0, $62732999ec408767$export$16778b798ae8e49d)) : (0, $62732999ec408767$export$16778b798ae8e49d)(glob);
|
|
@@ -33408,7 +33408,7 @@ function $5790eb078da9c4c4$export$16e6d319a883f04e(filePath, glob, opts) {
|
|
|
33408
33408
|
}
|
|
33409
33409
|
function $5790eb078da9c4c4$export$73b12c6cc27aa6c0(values, glob, opts) {
|
|
33410
33410
|
glob = Array.isArray(glob) ? glob.map((0, $62732999ec408767$export$16778b798ae8e49d)) : (0, $62732999ec408767$export$16778b798ae8e49d)(glob);
|
|
33411
|
-
return (0, (/*@__PURE__*/$
|
|
33411
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($18638cc3e2d2d2b4$exports)))(values, glob, opts);
|
|
33412
33412
|
}
|
|
33413
33413
|
function $5790eb078da9c4c4$export$c0436a5422df81e4(glob, opts) {
|
|
33414
33414
|
return (0, $18638cc3e2d2d2b4$exports.makeRe)(glob, opts);
|
|
@@ -33432,7 +33432,7 @@ function $5790eb078da9c4c4$export$42275ba87174c828(p, fs, options) {
|
|
|
33432
33432
|
}
|
|
33433
33433
|
};
|
|
33434
33434
|
// $FlowFixMe
|
|
33435
|
-
return (0, (/*@__PURE__*/$
|
|
33435
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($2b8b63ce8eb6b737$exports))).sync((0, $62732999ec408767$export$16778b798ae8e49d)(p), options);
|
|
33436
33436
|
}
|
|
33437
33437
|
function $5790eb078da9c4c4$export$442f1a04865e4790(p, fs, options) {
|
|
33438
33438
|
// $FlowFixMe
|
|
@@ -33469,7 +33469,7 @@ function $5790eb078da9c4c4$export$442f1a04865e4790(p, fs, options) {
|
|
|
33469
33469
|
}
|
|
33470
33470
|
};
|
|
33471
33471
|
// $FlowFixMe Added in Flow 0.121.0 upgrade in #4381
|
|
33472
|
-
return (0, (/*@__PURE__*/$
|
|
33472
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($2b8b63ce8eb6b737$exports)))((0, $62732999ec408767$export$16778b798ae8e49d)(p), options);
|
|
33473
33473
|
}
|
|
33474
33474
|
|
|
33475
33475
|
|
|
@@ -33477,7 +33477,7 @@ function $5790eb078da9c4c4$export$442f1a04865e4790(p, fs, options) {
|
|
|
33477
33477
|
function $9c31b42487a53ef4$export$2e2bcd8739ae039(files) {
|
|
33478
33478
|
let cur = null;
|
|
33479
33479
|
for (let file of files){
|
|
33480
|
-
let parsed = (0, ($
|
|
33480
|
+
let parsed = (0, ($parcel$interopDefault($9kEcR$path))).parse(file);
|
|
33481
33481
|
parsed.dir = $9c31b42487a53ef4$var$findGlobRoot(parsed.dir);
|
|
33482
33482
|
if (!cur) cur = parsed;
|
|
33483
33483
|
else if (parsed.root !== cur.root) // bail out. there is no common root.
|
|
@@ -33485,29 +33485,29 @@ function $9c31b42487a53ef4$export$2e2bcd8739ae039(files) {
|
|
|
33485
33485
|
return process.cwd();
|
|
33486
33486
|
else {
|
|
33487
33487
|
// find the common path parts.
|
|
33488
|
-
let curParts = cur.dir.split((0, ($
|
|
33489
|
-
let newParts = parsed.dir.split((0, ($
|
|
33488
|
+
let curParts = cur.dir.split((0, ($parcel$interopDefault($9kEcR$path))).sep);
|
|
33489
|
+
let newParts = parsed.dir.split((0, ($parcel$interopDefault($9kEcR$path))).sep);
|
|
33490
33490
|
let len = Math.min(curParts.length, newParts.length);
|
|
33491
33491
|
let i = 0;
|
|
33492
33492
|
while(i < len && curParts[i] === newParts[i])i++;
|
|
33493
|
-
cur.dir = i > 1 ? curParts.slice(0, i).join((0, ($
|
|
33493
|
+
cur.dir = i > 1 ? curParts.slice(0, i).join((0, ($parcel$interopDefault($9kEcR$path))).sep) : cur.root;
|
|
33494
33494
|
}
|
|
33495
33495
|
}
|
|
33496
33496
|
return cur ? cur.dir : process.cwd();
|
|
33497
33497
|
}
|
|
33498
33498
|
// Transforms a path like `packages/*/src/index.js` to the root of the glob, `packages/`
|
|
33499
33499
|
function $9c31b42487a53ef4$var$findGlobRoot(dir) {
|
|
33500
|
-
let parts = dir.split((0, ($
|
|
33500
|
+
let parts = dir.split((0, ($parcel$interopDefault($9kEcR$path))).sep);
|
|
33501
33501
|
let last = parts.length;
|
|
33502
33502
|
for(let i = parts.length - 1; i >= 0; i--)if ((0, $5790eb078da9c4c4$export$f3a2344a73dbdd42)(parts[i])) last = i;
|
|
33503
|
-
return parts.slice(0, last).join((0, ($
|
|
33503
|
+
return parts.slice(0, last).join((0, ($parcel$interopDefault($9kEcR$path))).sep);
|
|
33504
33504
|
}
|
|
33505
33505
|
|
|
33506
33506
|
|
|
33507
33507
|
|
|
33508
33508
|
function $159e20a60478e367$export$2e2bcd8739ae039(child, parent) {
|
|
33509
|
-
const relative = (0, ($
|
|
33510
|
-
return !relative.startsWith('..') && !(0, ($
|
|
33509
|
+
const relative = (0, ($parcel$interopDefault($9kEcR$path))).relative(parent, child);
|
|
33510
|
+
return !relative.startsWith('..') && !(0, ($parcel$interopDefault($9kEcR$path))).isAbsolute(relative);
|
|
33511
33511
|
}
|
|
33512
33512
|
|
|
33513
33513
|
|
|
@@ -33543,13 +33543,13 @@ const $0195c44ae53a8330$var$ANCHOR_REGEXP = /^#/;
|
|
|
33543
33543
|
// Matches scheme (ie: tel:, mailto:, data:, itms-apps:)
|
|
33544
33544
|
const $0195c44ae53a8330$var$SCHEME_REGEXP = /^[a-z][a-z0-9\-+.]*:/i;
|
|
33545
33545
|
function $0195c44ae53a8330$export$2e2bcd8739ae039(url) {
|
|
33546
|
-
return (0, (/*@__PURE__*/$
|
|
33546
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($65693f602b5d9880$exports)))(url) || $0195c44ae53a8330$var$ANCHOR_REGEXP.test(url) || $0195c44ae53a8330$var$SCHEME_REGEXP.test(url);
|
|
33547
33547
|
}
|
|
33548
33548
|
|
|
33549
33549
|
|
|
33550
33550
|
|
|
33551
33551
|
function $7c287113a92f08c9$export$2e2bcd8739ae039(object) {
|
|
33552
|
-
let hash = (0, ($
|
|
33552
|
+
let hash = (0, ($parcel$interopDefault($9kEcR$crypto))).createHash('md5');
|
|
33553
33553
|
for (let key of Object.keys(object).sort()){
|
|
33554
33554
|
let val = object[key];
|
|
33555
33555
|
if (typeof val === 'object' && val) hash.update(key + $7c287113a92f08c9$export$2e2bcd8739ae039(val));
|
|
@@ -33882,10 +33882,10 @@ function $2313ec4b0d392f31$export$2e2bcd8739ae039(a, c) {
|
|
|
33882
33882
|
|
|
33883
33883
|
async function $2ba7ba4fb1a06b6d$export$2e2bcd8739ae039(diagnostic, options, terminalWidth, format = 'ansi') {
|
|
33884
33884
|
let { origin: origin, message: message, stack: stack, codeFrames: codeFrames, hints: hints, skipFormatting: skipFormatting, documentationURL: documentationURL } = diagnostic;
|
|
33885
|
-
const md = format === 'ansi' ? (0, ($
|
|
33886
|
-
const terminalLink = format === 'ansi' ? (0, (/*@__PURE__*/$
|
|
33885
|
+
const md = format === 'ansi' ? (0, ($parcel$interopDefault($9kEcR$atlaspackmarkdownansi))) : (0, $2313ec4b0d392f31$export$2e2bcd8739ae039);
|
|
33886
|
+
const terminalLink = format === 'ansi' ? (0, (/*@__PURE__*/$parcel$interopDefault($23c67c19e7a88a43$exports))) : // eslint-disable-next-line no-unused-vars
|
|
33887
33887
|
(text, url)=>`<a href="${url}">${text}</a>`;
|
|
33888
|
-
const chalk = format === 'ansi' ? (0, ($
|
|
33888
|
+
const chalk = format === 'ansi' ? (0, ($parcel$interopDefault($9kEcR$chalk))) : {
|
|
33889
33889
|
gray: {
|
|
33890
33890
|
underline: (v)=>`<span style="color: grey; text-decoration: underline;">${v}</span>`
|
|
33891
33891
|
}
|
|
@@ -33900,16 +33900,16 @@ async function $2ba7ba4fb1a06b6d$export$2e2bcd8739ae039(diagnostic, options, ter
|
|
|
33900
33900
|
};
|
|
33901
33901
|
if (codeFrames != null) for (let codeFrame of codeFrames){
|
|
33902
33902
|
let filePath = codeFrame.filePath;
|
|
33903
|
-
if (filePath != null && options && !(0, ($
|
|
33903
|
+
if (filePath != null && options && !(0, ($parcel$interopDefault($9kEcR$path))).isAbsolute(filePath)) filePath = (0, ($parcel$interopDefault($9kEcR$path))).join(options.projectRoot, filePath);
|
|
33904
33904
|
let highlights = codeFrame.codeHighlights;
|
|
33905
33905
|
let code = codeFrame.code;
|
|
33906
33906
|
if (code == null && options && filePath != null) code = await options.inputFS.readFile(filePath, 'utf8');
|
|
33907
33907
|
let formattedCodeFrame = '';
|
|
33908
|
-
if (code != null) formattedCodeFrame = (0, ($
|
|
33908
|
+
if (code != null) formattedCodeFrame = (0, ($parcel$interopDefault($9kEcR$atlaspackcodeframe)))(code, highlights, {
|
|
33909
33909
|
useColor: true,
|
|
33910
33910
|
syntaxHighlighting: true,
|
|
33911
33911
|
language: // $FlowFixMe sketchy null checks do not matter here...
|
|
33912
|
-
codeFrame.language || (filePath != null ? (0, ($
|
|
33912
|
+
codeFrame.language || (filePath != null ? (0, ($parcel$interopDefault($9kEcR$path))).extname(filePath).substr(1) : undefined),
|
|
33913
33913
|
terminalWidth: terminalWidth
|
|
33914
33914
|
});
|
|
33915
33915
|
let location;
|
|
@@ -33945,7 +33945,7 @@ function $aee8ddd6d7b07175$export$93f345b3f0dd27e7() {
|
|
|
33945
33945
|
};
|
|
33946
33946
|
});
|
|
33947
33947
|
// Promise constructor callback executes synchronously, so this is defined
|
|
33948
|
-
(0, ($
|
|
33948
|
+
(0, ($parcel$interopDefault($9kEcR$assert)))(deferred != null);
|
|
33949
33949
|
return {
|
|
33950
33950
|
deferred: deferred,
|
|
33951
33951
|
promise: promise
|
|
@@ -34393,7 +34393,7 @@ $734b7df82a6f33b2$var$validateSchema.diagnostic = function(schema, data, origin,
|
|
|
34393
34393
|
code = data.source;
|
|
34394
34394
|
} else {
|
|
34395
34395
|
// $FlowFixMe we can assume that data is valid JSON
|
|
34396
|
-
map = data.source ?? JSON.stringify((0, (/*@__PURE__*/$
|
|
34396
|
+
map = data.source ?? JSON.stringify((0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(data.data), 0, '\t');
|
|
34397
34397
|
code = map;
|
|
34398
34398
|
}
|
|
34399
34399
|
let codeFrames = [
|
|
@@ -34408,7 +34408,7 @@ $734b7df82a6f33b2$var$validateSchema.diagnostic = function(schema, data, origin,
|
|
|
34408
34408
|
})))
|
|
34409
34409
|
}
|
|
34410
34410
|
];
|
|
34411
|
-
throw new (0, ($
|
|
34411
|
+
throw new (0, ($parcel$interopDefault($9kEcR$atlaspackdiagnostic)))({
|
|
34412
34412
|
diagnostic: {
|
|
34413
34413
|
message: message,
|
|
34414
34414
|
origin: origin,
|
|
@@ -34441,21 +34441,21 @@ class $d2ee71879e94fc7d$export$2e2bcd8739ae039 extends (0, $9kEcR$stream.Transfo
|
|
|
34441
34441
|
|
|
34442
34442
|
|
|
34443
34443
|
function $be4eba3a5ec324ed$export$2e2bcd8739ae039(publicURL, assetPath) {
|
|
34444
|
-
const url = (0, ($
|
|
34444
|
+
const url = (0, ($parcel$interopDefault($9kEcR$url))).parse(publicURL, false, true);
|
|
34445
34445
|
// Leading / ensures that paths with colons are not parsed as a protocol.
|
|
34446
34446
|
let p = assetPath.startsWith('/') ? assetPath : '/' + assetPath;
|
|
34447
|
-
const assetUrl = (0, ($
|
|
34448
|
-
url.pathname = (0, ($
|
|
34447
|
+
const assetUrl = (0, ($parcel$interopDefault($9kEcR$url))).parse(p);
|
|
34448
|
+
url.pathname = (0, ($parcel$interopDefault($9kEcR$path))).posix.join(url.pathname, assetUrl.pathname);
|
|
34449
34449
|
url.search = assetUrl.search;
|
|
34450
34450
|
url.hash = assetUrl.hash;
|
|
34451
|
-
return (0, ($
|
|
34451
|
+
return (0, ($parcel$interopDefault($9kEcR$url))).format(url);
|
|
34452
34452
|
}
|
|
34453
34453
|
|
|
34454
34454
|
|
|
34455
34455
|
|
|
34456
34456
|
|
|
34457
34457
|
function $b5a0d7398c2a61f2$export$2e2bcd8739ae039(from, to) {
|
|
34458
|
-
return (0, ($
|
|
34458
|
+
return (0, ($parcel$interopDefault($9kEcR$url))).format((0, ($parcel$interopDefault($9kEcR$url))).parse((0, ($parcel$interopDefault($9kEcR$path))).relative(from, to)));
|
|
34459
34459
|
}
|
|
34460
34460
|
|
|
34461
34461
|
|
|
@@ -34500,7 +34500,7 @@ function $f17cfc0ce981fcdb$export$2e2bcd8739ae039(fn, delay) {
|
|
|
34500
34500
|
|
|
34501
34501
|
var $1ef9549e72e2e5be$exports = {};
|
|
34502
34502
|
|
|
34503
|
-
var $1ef9549e72e2e5be$var$$
|
|
34503
|
+
var $1ef9549e72e2e5be$var$$parcel$__dirname = $9kEcR$path.resolve(__dirname, "../../../../node_modules/open");
|
|
34504
34504
|
'use strict';
|
|
34505
34505
|
|
|
34506
34506
|
var $1ef9549e72e2e5be$require$promisify = $9kEcR$util.promisify;
|
|
@@ -34556,7 +34556,7 @@ else $fdc5fac67d227541$exports = $fdc5fac67d227541$var$isWsl();
|
|
|
34556
34556
|
const $1ef9549e72e2e5be$var$pAccess = $1ef9549e72e2e5be$require$promisify($9kEcR$fs.access);
|
|
34557
34557
|
const $1ef9549e72e2e5be$var$pReadFile = $1ef9549e72e2e5be$require$promisify($9kEcR$fs.readFile);
|
|
34558
34558
|
// Path to included `xdg-open`.
|
|
34559
|
-
const $1ef9549e72e2e5be$var$localXdgOpenPath = $9kEcR$path.join($1ef9549e72e2e5be$var$$
|
|
34559
|
+
const $1ef9549e72e2e5be$var$localXdgOpenPath = $9kEcR$path.join($1ef9549e72e2e5be$var$$parcel$__dirname, 'xdg-open');
|
|
34560
34560
|
/**
|
|
34561
34561
|
Get the mount point for fixed drives in WSL.
|
|
34562
34562
|
|
|
@@ -34634,7 +34634,7 @@ $1ef9549e72e2e5be$exports = async (target, options)=>{
|
|
|
34634
34634
|
if (app) command = app;
|
|
34635
34635
|
else {
|
|
34636
34636
|
// When bundled by Webpack, there's no actual package file path and no local `xdg-open`.
|
|
34637
|
-
const isBundled = !$1ef9549e72e2e5be$var$$
|
|
34637
|
+
const isBundled = !$1ef9549e72e2e5be$var$$parcel$__dirname || $1ef9549e72e2e5be$var$$parcel$__dirname === '/';
|
|
34638
34638
|
// Check if local `xdg-open` exists and is executable.
|
|
34639
34639
|
let exeLocalXdgOpen = false;
|
|
34640
34640
|
try {
|
|
@@ -34714,10 +34714,10 @@ async function $e69d29dd84acf0c8$export$2e2bcd8739ae039(url, browser) {
|
|
|
34714
34714
|
$e69d29dd84acf0c8$var$getAppName(browser)
|
|
34715
34715
|
]
|
|
34716
34716
|
} : undefined;
|
|
34717
|
-
await (0, (/*@__PURE__*/$
|
|
34717
|
+
await (0, (/*@__PURE__*/$parcel$interopDefault($1ef9549e72e2e5be$exports)))(url, options);
|
|
34718
34718
|
} catch (err) {
|
|
34719
|
-
(0, ($
|
|
34720
|
-
(0, ($
|
|
34719
|
+
(0, ($parcel$interopDefault($9kEcR$atlaspacklogger))).error(`Unexpected error while opening in browser: ${browser}`, '@atlaspack/utils');
|
|
34720
|
+
(0, ($parcel$interopDefault($9kEcR$atlaspacklogger))).error(err, '@atlaspack/utils');
|
|
34721
34721
|
}
|
|
34722
34722
|
}
|
|
34723
34723
|
|
|
@@ -35951,9 +35951,9 @@ var $9793e0dc898fed1d$export$98e6a39c04603d36;
|
|
|
35951
35951
|
var $9793e0dc898fed1d$export$fac44ee5b035f737;
|
|
35952
35952
|
'use strict';
|
|
35953
35953
|
|
|
35954
|
-
$9793e0dc898fed1d$export$98e6a39c04603d36 = (
|
|
35954
|
+
$9793e0dc898fed1d$export$98e6a39c04603d36 = (parcelRequire("jKS49"));
|
|
35955
35955
|
|
|
35956
|
-
$9793e0dc898fed1d$export$fac44ee5b035f737 = (
|
|
35956
|
+
$9793e0dc898fed1d$export$fac44ee5b035f737 = (parcelRequire("fZmq7"));
|
|
35957
35957
|
|
|
35958
35958
|
|
|
35959
35959
|
var $097aaa476174ce48$exports = {};
|
|
@@ -36208,7 +36208,7 @@ function $68890fb8378197a1$var$Node(value, prev, next, list) {
|
|
|
36208
36208
|
|
|
36209
36209
|
try {
|
|
36210
36210
|
// add if support for Symbol.iterator is present
|
|
36211
|
-
(
|
|
36211
|
+
(parcelRequire("4l9xQ"))($68890fb8378197a1$var$Yallist);
|
|
36212
36212
|
} catch (er) {}
|
|
36213
36213
|
|
|
36214
36214
|
|
|
@@ -36473,22 +36473,22 @@ const $097aaa476174ce48$var$forEachStep = (self, fn, node, thisp)=>{
|
|
|
36473
36473
|
$097aaa476174ce48$exports = $097aaa476174ce48$var$LRUCache;
|
|
36474
36474
|
|
|
36475
36475
|
|
|
36476
|
-
const $ec2cfde3951ec9ac$var$configCache = new (0, (/*@__PURE__*/$
|
|
36476
|
+
const $ec2cfde3951ec9ac$var$configCache = new (0, (/*@__PURE__*/$parcel$interopDefault($097aaa476174ce48$exports)))({
|
|
36477
36477
|
max: 500
|
|
36478
36478
|
});
|
|
36479
36479
|
const $ec2cfde3951ec9ac$var$resolveCache = new Map();
|
|
36480
36480
|
function $ec2cfde3951ec9ac$export$7eca4ea16d4c8343(fs, filepath, filenames, projectRoot) {
|
|
36481
36481
|
// Cache the result of resolving config for this directory.
|
|
36482
36482
|
// This is automatically invalidated at the end of the current build.
|
|
36483
|
-
let key = (0, ($
|
|
36483
|
+
let key = (0, ($parcel$interopDefault($9kEcR$path))).dirname(filepath) + filenames.join(',');
|
|
36484
36484
|
let cached = $ec2cfde3951ec9ac$var$resolveCache.get(key);
|
|
36485
36485
|
if (cached !== undefined) return Promise.resolve(cached);
|
|
36486
|
-
let resolved = fs.findAncestorFile(filenames, (0, ($
|
|
36486
|
+
let resolved = fs.findAncestorFile(filenames, (0, ($parcel$interopDefault($9kEcR$path))).dirname(filepath), projectRoot);
|
|
36487
36487
|
$ec2cfde3951ec9ac$var$resolveCache.set(key, resolved);
|
|
36488
36488
|
return Promise.resolve(resolved);
|
|
36489
36489
|
}
|
|
36490
36490
|
function $ec2cfde3951ec9ac$export$d175e66e9fcd7b75(fs, filepath, filenames, projectRoot) {
|
|
36491
|
-
return fs.findAncestorFile(filenames, (0, ($
|
|
36491
|
+
return fs.findAncestorFile(filenames, (0, ($parcel$interopDefault($9kEcR$path))).dirname(filepath), projectRoot);
|
|
36492
36492
|
}
|
|
36493
36493
|
async function $ec2cfde3951ec9ac$export$c1a4367d4847eb06(fs, filepath, filenames, projectRoot, opts) {
|
|
36494
36494
|
let parse = opts?.parse ?? true;
|
|
@@ -36497,11 +36497,11 @@ async function $ec2cfde3951ec9ac$export$c1a4367d4847eb06(fs, filepath, filenames
|
|
|
36497
36497
|
let cachedOutput = $ec2cfde3951ec9ac$var$configCache.get(String(parse) + configFile);
|
|
36498
36498
|
if (cachedOutput) return cachedOutput;
|
|
36499
36499
|
try {
|
|
36500
|
-
let extname = (0, ($
|
|
36500
|
+
let extname = (0, ($parcel$interopDefault($9kEcR$path))).extname(configFile).slice(1);
|
|
36501
36501
|
if (extname === 'js' || extname === 'cjs') {
|
|
36502
36502
|
let output = {
|
|
36503
36503
|
// $FlowFixMe
|
|
36504
|
-
config: (0, (/*@__PURE__*/$
|
|
36504
|
+
config: (0, (/*@__PURE__*/$parcel$interopDefault($1f0eeaf457732a0d$exports)))(module.require(configFile)),
|
|
36505
36505
|
files: [
|
|
36506
36506
|
{
|
|
36507
36507
|
filePath: configFile
|
|
@@ -36532,7 +36532,7 @@ async function $ec2cfde3951ec9ac$export$f5327b421858c8cd(fs, configFile, opts) {
|
|
|
36532
36532
|
let config;
|
|
36533
36533
|
if (parse === false) config = configContent;
|
|
36534
36534
|
else {
|
|
36535
|
-
let extname = (0, ($
|
|
36535
|
+
let extname = (0, ($parcel$interopDefault($9kEcR$path))).extname(configFile).slice(1);
|
|
36536
36536
|
let parse = opts?.parser ?? $ec2cfde3951ec9ac$var$getParser(extname);
|
|
36537
36537
|
try {
|
|
36538
36538
|
config = parse(configContent);
|
|
@@ -36542,9 +36542,9 @@ async function $ec2cfde3951ec9ac$export$f5327b421858c8cd(fs, configFile, opts) {
|
|
|
36542
36542
|
line: e.lineNumber,
|
|
36543
36543
|
column: e.columnNumber
|
|
36544
36544
|
};
|
|
36545
|
-
throw new (0, ($
|
|
36545
|
+
throw new (0, ($parcel$interopDefault($9kEcR$atlaspackdiagnostic)))({
|
|
36546
36546
|
diagnostic: {
|
|
36547
|
-
message: `Failed to parse ${(0, ($
|
|
36547
|
+
message: `Failed to parse ${(0, ($parcel$interopDefault($9kEcR$path))).basename(configFile)}`,
|
|
36548
36548
|
origin: '@atlaspack/utils',
|
|
36549
36549
|
codeFrames: [
|
|
36550
36550
|
{
|
|
@@ -36592,13 +36592,13 @@ function $ec2cfde3951ec9ac$var$getParser(extname) {
|
|
|
36592
36592
|
|
|
36593
36593
|
async function $cbdf8817caaf5c69$export$6643be4f4e63e994(fs, moduleName, dir) {
|
|
36594
36594
|
let potentialModules = [];
|
|
36595
|
-
let root = (0, ($
|
|
36595
|
+
let root = (0, ($parcel$interopDefault($9kEcR$path))).parse(dir).root;
|
|
36596
36596
|
let isOrganisationModule = moduleName.startsWith('@');
|
|
36597
36597
|
while(dir !== root){
|
|
36598
36598
|
// Skip node_modules directories
|
|
36599
|
-
if ((0, ($
|
|
36599
|
+
if ((0, ($parcel$interopDefault($9kEcR$path))).basename(dir) === 'node_modules') dir = (0, ($parcel$interopDefault($9kEcR$path))).dirname(dir);
|
|
36600
36600
|
try {
|
|
36601
|
-
let modulesDir = (0, ($
|
|
36601
|
+
let modulesDir = (0, ($parcel$interopDefault($9kEcR$path))).join(dir, 'node_modules');
|
|
36602
36602
|
let stats = await fs.stat(modulesDir);
|
|
36603
36603
|
if (stats.isDirectory()) {
|
|
36604
36604
|
let dirContent = (await fs.readdir(modulesDir)).sort();
|
|
@@ -36606,7 +36606,7 @@ async function $cbdf8817caaf5c69$export$6643be4f4e63e994(fs, moduleName, dir) {
|
|
|
36606
36606
|
let modules = dirContent.filter((i)=>isOrganisationModule ? i.startsWith('@') : !i.startsWith('@'));
|
|
36607
36607
|
// If it's an organisation module, loop through all the modules of that organisation
|
|
36608
36608
|
if (isOrganisationModule) await Promise.all(modules.map(async (item)=>{
|
|
36609
|
-
let orgDirPath = (0, ($
|
|
36609
|
+
let orgDirPath = (0, ($parcel$interopDefault($9kEcR$path))).join(modulesDir, item);
|
|
36610
36610
|
let orgDirContent = (await fs.readdir(orgDirPath)).sort();
|
|
36611
36611
|
// Add all org packages
|
|
36612
36612
|
potentialModules.push(...orgDirContent.map((i)=>`${item}/${i}`));
|
|
@@ -36617,14 +36617,14 @@ async function $cbdf8817caaf5c69$export$6643be4f4e63e994(fs, moduleName, dir) {
|
|
|
36617
36617
|
// ignore
|
|
36618
36618
|
}
|
|
36619
36619
|
// Move up a directory
|
|
36620
|
-
dir = (0, ($
|
|
36620
|
+
dir = (0, ($parcel$interopDefault($9kEcR$path))).dirname(dir);
|
|
36621
36621
|
}
|
|
36622
36622
|
return (0, $734b7df82a6f33b2$export$2115c2c0a84eef61)(potentialModules.sort(), moduleName).slice(0, 2);
|
|
36623
36623
|
}
|
|
36624
36624
|
async function $cbdf8817caaf5c69$var$findAllFilesUp({ fs: fs, dir: dir, root: root, basedir: basedir, maxlength: maxlength, collected: collected, leadingDotSlash: leadingDotSlash = true, includeDirectories: includeDirectories = true }) {
|
|
36625
36625
|
let dirContent = (await fs.readdir(dir)).sort();
|
|
36626
36626
|
return Promise.all(dirContent.map(async (item)=>{
|
|
36627
|
-
let fullPath = (0, ($
|
|
36627
|
+
let fullPath = (0, ($parcel$interopDefault($9kEcR$path))).join(dir, item);
|
|
36628
36628
|
let relativeFilePath = (0, $62732999ec408767$export$7413eea5ad243d4)(basedir, fullPath, leadingDotSlash);
|
|
36629
36629
|
if (relativeFilePath.length < maxlength) {
|
|
36630
36630
|
let stats = await fs.stat(fullPath);
|
|
@@ -36645,10 +36645,10 @@ async function $cbdf8817caaf5c69$var$findAllFilesUp({ fs: fs, dir: dir, root: ro
|
|
|
36645
36645
|
async function $cbdf8817caaf5c69$export$4eeb1b3271a29661(fs, fileSpecifier, dir, projectRoot, leadingDotSlash = true, includeDirectories = true, includeExtension = false) {
|
|
36646
36646
|
let potentialFiles = [];
|
|
36647
36647
|
// Find our root, we won't recommend files above the package root as that's bad practise
|
|
36648
|
-
let pkg = await (0, $ec2cfde3951ec9ac$export$7eca4ea16d4c8343)(fs, (0, ($
|
|
36648
|
+
let pkg = await (0, $ec2cfde3951ec9ac$export$7eca4ea16d4c8343)(fs, (0, ($parcel$interopDefault($9kEcR$path))).join(dir, 'index'), [
|
|
36649
36649
|
'package.json'
|
|
36650
36650
|
], projectRoot);
|
|
36651
|
-
let pkgRoot = pkg ? (0, ($
|
|
36651
|
+
let pkgRoot = pkg ? (0, ($parcel$interopDefault($9kEcR$path))).dirname(pkg) : projectRoot;
|
|
36652
36652
|
await $cbdf8817caaf5c69$var$findAllFilesUp({
|
|
36653
36653
|
fs: fs,
|
|
36654
36654
|
dir: pkgRoot,
|
|
@@ -36659,8 +36659,8 @@ async function $cbdf8817caaf5c69$export$4eeb1b3271a29661(fs, fileSpecifier, dir,
|
|
|
36659
36659
|
leadingDotSlash: leadingDotSlash,
|
|
36660
36660
|
includeDirectories: includeDirectories
|
|
36661
36661
|
});
|
|
36662
|
-
if ((0, ($
|
|
36663
|
-
let ext = (0, ($
|
|
36662
|
+
if ((0, ($parcel$interopDefault($9kEcR$path))).extname(fileSpecifier) === '' && !includeExtension) potentialFiles = potentialFiles.map((p)=>{
|
|
36663
|
+
let ext = (0, ($parcel$interopDefault($9kEcR$path))).extname(p);
|
|
36664
36664
|
return ext.length > 0 ? p.slice(0, -ext.length) : p;
|
|
36665
36665
|
});
|
|
36666
36666
|
return (0, $734b7df82a6f33b2$export$2115c2c0a84eef61)(potentialFiles.sort(), fileSpecifier).slice(0, 2);
|
|
@@ -36764,7 +36764,7 @@ class $d335bf26ecbac500$export$4924f7ffab2ae440 extends WeakMap {
|
|
|
36764
36764
|
function $f5812375e86bb03d$export$d28945a2f2ba5e30(event) {
|
|
36765
36765
|
switch(event.phase){
|
|
36766
36766
|
case 'transforming':
|
|
36767
|
-
return `Building ${(0, ($
|
|
36767
|
+
return `Building ${(0, ($parcel$interopDefault($9kEcR$path))).basename(event.filePath)}...`;
|
|
36768
36768
|
case 'bundling':
|
|
36769
36769
|
return 'Bundling...';
|
|
36770
36770
|
case 'packaging':
|
|
@@ -36830,16 +36830,16 @@ if (process.browser) {
|
|
|
36830
36830
|
|
|
36831
36831
|
async function $c7e2118faa8ff49e$export$3b1983e9896f988b(options) {
|
|
36832
36832
|
let server;
|
|
36833
|
-
if (!options.https) server = (0, ($
|
|
36833
|
+
if (!options.https) server = (0, ($parcel$interopDefault($9kEcR$http))).createServer(options.listener);
|
|
36834
36834
|
else if (options.https === true) {
|
|
36835
36835
|
let { cert: cert, key: key } = await (0, $24a6606f5b868cdf$export$2e2bcd8739ae039)(options.outputFS, options.cacheDir, options.host);
|
|
36836
|
-
server = (0, ($
|
|
36836
|
+
server = (0, ($parcel$interopDefault($9kEcR$https))).createServer({
|
|
36837
36837
|
cert: cert,
|
|
36838
36838
|
key: key
|
|
36839
36839
|
}, options.listener);
|
|
36840
36840
|
} else {
|
|
36841
36841
|
let { cert: cert, key: key } = await (0, $64bbf4bc613dabbc$export$2e2bcd8739ae039)(options.inputFS, options.https);
|
|
36842
|
-
server = (0, ($
|
|
36842
|
+
server = (0, ($parcel$interopDefault($9kEcR$https))).createServer({
|
|
36843
36843
|
cert: cert,
|
|
36844
36844
|
key: key
|
|
36845
36845
|
}, options.listener);
|
|
@@ -36850,16 +36850,16 @@ async function $c7e2118faa8ff49e$export$3b1983e9896f988b(options) {
|
|
|
36850
36850
|
// https://stackoverflow.com/questions/14626636/how-do-i-shutdown-a-node-js-https-server-immediately/14636625#14636625
|
|
36851
36851
|
let sockets = new Set();
|
|
36852
36852
|
server.on('connection', (socket)=>{
|
|
36853
|
-
(0, (/*@__PURE__*/$
|
|
36853
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(sockets).add(socket);
|
|
36854
36854
|
socket.on('close', ()=>{
|
|
36855
|
-
(0, (/*@__PURE__*/$
|
|
36855
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(sockets).delete(socket);
|
|
36856
36856
|
});
|
|
36857
36857
|
});
|
|
36858
36858
|
return {
|
|
36859
36859
|
server: server,
|
|
36860
36860
|
stop () {
|
|
36861
36861
|
return new Promise((resolve, reject)=>{
|
|
36862
|
-
for (let socket of (0, (/*@__PURE__*/$
|
|
36862
|
+
for (let socket of (0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(sockets))socket.destroy();
|
|
36863
36863
|
sockets = new Set();
|
|
36864
36864
|
server.close((err)=>{
|
|
36865
36865
|
if (err != null) {
|
|
@@ -36889,7 +36889,7 @@ function $5a76e31dee6b7928$export$d0d0105f44defc19({ bundle: bundle, bundleGraph
|
|
|
36889
36889
|
for (let dependency of urlDependencies){
|
|
36890
36890
|
if (dependency.specifierType !== 'url') continue;
|
|
36891
36891
|
let placeholder = dependency.meta?.placeholder ?? dependency.id;
|
|
36892
|
-
(0, ($
|
|
36892
|
+
(0, ($parcel$interopDefault($9kEcR$assert)))(typeof placeholder === 'string');
|
|
36893
36893
|
let resolved = bundleGraph.getReferencedBundle(dependency, bundle);
|
|
36894
36894
|
if (resolved == null) {
|
|
36895
36895
|
replacements.set(placeholder, {
|
|
@@ -36920,10 +36920,10 @@ async function $5a76e31dee6b7928$export$f074a8f9bef628fd({ bundle: bundle, bundl
|
|
|
36920
36920
|
if (entryBundle?.bundleBehavior !== 'inline') continue;
|
|
36921
36921
|
let packagedBundle = await getInlineBundleContents(entryBundle, bundleGraph);
|
|
36922
36922
|
let packagedContents = (packagedBundle.contents instanceof (0, $9kEcR$stream.Readable) ? await (0, $4f3b30751958725f$export$f109d1c79a5ae5a1)(packagedBundle.contents) : packagedBundle.contents).toString();
|
|
36923
|
-
let inlineType = (0, (/*@__PURE__*/$
|
|
36923
|
+
let inlineType = (0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(entryBundle.getMainEntry()).meta.inlineType;
|
|
36924
36924
|
if (inlineType == null || inlineType === 'string') {
|
|
36925
36925
|
let placeholder = dependency.meta?.placeholder ?? dependency.id;
|
|
36926
|
-
(0, ($
|
|
36926
|
+
(0, ($parcel$interopDefault($9kEcR$assert)))(typeof placeholder === 'string');
|
|
36927
36927
|
replacements.set(placeholder, getInlineReplacement(dependency, inlineType, packagedContents));
|
|
36928
36928
|
}
|
|
36929
36929
|
}
|
|
@@ -36931,9 +36931,9 @@ async function $5a76e31dee6b7928$export$f074a8f9bef628fd({ bundle: bundle, bundl
|
|
|
36931
36931
|
}
|
|
36932
36932
|
function $5a76e31dee6b7928$export$a22ef0cbdf8abc95({ dependency: dependency, fromBundle: fromBundle, toBundle: toBundle, relative: relative, getReplacement: getReplacement }) {
|
|
36933
36933
|
let to;
|
|
36934
|
-
let orig = (0, ($
|
|
36934
|
+
let orig = (0, ($parcel$interopDefault($9kEcR$url))).parse(dependency.specifier);
|
|
36935
36935
|
if (relative) {
|
|
36936
|
-
to = (0, ($
|
|
36936
|
+
to = (0, ($parcel$interopDefault($9kEcR$url))).format({
|
|
36937
36937
|
pathname: (0, $24c4b4bd3089bf9d$export$402b5a120b1183b3)(fromBundle, toBundle, {
|
|
36938
36938
|
leadingDotSlash: false
|
|
36939
36939
|
}),
|
|
@@ -36942,12 +36942,12 @@ function $5a76e31dee6b7928$export$a22ef0cbdf8abc95({ dependency: dependency, fro
|
|
|
36942
36942
|
// If the resulting path includes a colon character and doesn't start with a ./ or ../
|
|
36943
36943
|
// we need to add one so that the first part before the colon isn't parsed as a URL protocol.
|
|
36944
36944
|
if (to.includes(':') && !to.startsWith('./') && !to.startsWith('../')) to = './' + to;
|
|
36945
|
-
} else to = (0, $be4eba3a5ec324ed$export$2e2bcd8739ae039)(toBundle.target.publicUrl, (0, ($
|
|
36946
|
-
pathname: (0, (/*@__PURE__*/$
|
|
36945
|
+
} else to = (0, $be4eba3a5ec324ed$export$2e2bcd8739ae039)(toBundle.target.publicUrl, (0, ($parcel$interopDefault($9kEcR$url))).format({
|
|
36946
|
+
pathname: (0, (/*@__PURE__*/$parcel$interopDefault($f3072dde854ec607$exports)))(toBundle.name),
|
|
36947
36947
|
hash: orig.hash
|
|
36948
36948
|
}));
|
|
36949
36949
|
let placeholder = dependency.meta?.placeholder ?? dependency.id;
|
|
36950
|
-
(0, ($
|
|
36950
|
+
(0, ($parcel$interopDefault($9kEcR$assert)))(typeof placeholder === 'string');
|
|
36951
36951
|
return {
|
|
36952
36952
|
from: placeholder,
|
|
36953
36953
|
to: getReplacement ? getReplacement(to) : to
|
|
@@ -37026,9 +37026,9 @@ function $4f3b30751958725f$export$68f6769cfac79897(stream, fallback) {
|
|
|
37026
37026
|
function $24c4b4bd3089bf9d$export$402b5a120b1183b3(from, to, opts = {
|
|
37027
37027
|
leadingDotSlash: true
|
|
37028
37028
|
}) {
|
|
37029
|
-
let fromPath = (0, ($
|
|
37030
|
-
let toPath = (0, ($
|
|
37031
|
-
return (0, $62732999ec408767$export$7413eea5ad243d4)((0, ($
|
|
37029
|
+
let fromPath = (0, ($parcel$interopDefault($9kEcR$path))).join(from.target.distDir, from.name);
|
|
37030
|
+
let toPath = (0, ($parcel$interopDefault($9kEcR$path))).join(to.target.distDir, to.name);
|
|
37031
|
+
return (0, $62732999ec408767$export$7413eea5ad243d4)((0, ($parcel$interopDefault($9kEcR$path))).dirname(fromPath), toPath, opts.leadingDotSlash);
|
|
37032
37032
|
}
|
|
37033
37033
|
|
|
37034
37034
|
|
|
@@ -37213,7 +37213,7 @@ function $1275c0bdee3dbe0c$export$5dd27816c66fb702(s) {
|
|
|
37213
37213
|
|
|
37214
37214
|
|
|
37215
37215
|
function $2a4aecdd2258196e$export$565d0ff71645da31(ansi) {
|
|
37216
|
-
return (0, (/*@__PURE__*/$
|
|
37216
|
+
return (0, (/*@__PURE__*/$parcel$interopDefault($5fef97f805673e96$exports)))((0, $1275c0bdee3dbe0c$export$5dd27816c66fb702)(ansi));
|
|
37217
37217
|
}
|
|
37218
37218
|
|
|
37219
37219
|
|
|
@@ -37245,7 +37245,7 @@ async function $0e119408758e5447$export$527a92fa675f5e93(fs, filename, contents)
|
|
|
37245
37245
|
if (dataURLMatch) mapFilePath = filename;
|
|
37246
37246
|
else {
|
|
37247
37247
|
mapFilePath = url.replace(/^file:\/\//, '');
|
|
37248
|
-
mapFilePath = (0, $62732999ec408767$export$e434c7255acda994)(mapFilePath) ? mapFilePath : (0, ($
|
|
37248
|
+
mapFilePath = (0, $62732999ec408767$export$e434c7255acda994)(mapFilePath) ? mapFilePath : (0, ($parcel$interopDefault($9kEcR$path))).join((0, ($parcel$interopDefault($9kEcR$path))).dirname(filename), mapFilePath);
|
|
37249
37249
|
}
|
|
37250
37250
|
return {
|
|
37251
37251
|
url: url,
|
|
@@ -37257,13 +37257,13 @@ async function $0e119408758e5447$export$527a92fa675f5e93(fs, filename, contents)
|
|
|
37257
37257
|
async function $0e119408758e5447$export$c500fecaca54de65(filename, contents, options) {
|
|
37258
37258
|
let foundMap = await $0e119408758e5447$export$527a92fa675f5e93(options.fs, filename, contents);
|
|
37259
37259
|
if (foundMap) {
|
|
37260
|
-
let mapSourceRoot = (0, ($
|
|
37261
|
-
if (foundMap.map.sourceRoot && !(0, $62732999ec408767$export$16778b798ae8e49d)(foundMap.map.sourceRoot).startsWith('/')) mapSourceRoot = (0, ($
|
|
37262
|
-
let sourcemapInstance = new (0, ($
|
|
37260
|
+
let mapSourceRoot = (0, ($parcel$interopDefault($9kEcR$path))).dirname(filename);
|
|
37261
|
+
if (foundMap.map.sourceRoot && !(0, $62732999ec408767$export$16778b798ae8e49d)(foundMap.map.sourceRoot).startsWith('/')) mapSourceRoot = (0, ($parcel$interopDefault($9kEcR$path))).join(mapSourceRoot, foundMap.map.sourceRoot);
|
|
37262
|
+
let sourcemapInstance = new (0, ($parcel$interopDefault($9kEcR$parcelsourcemap)))(options.projectRoot);
|
|
37263
37263
|
sourcemapInstance.addVLQMap({
|
|
37264
37264
|
...foundMap.map,
|
|
37265
37265
|
sources: foundMap.map.sources.map((s)=>{
|
|
37266
|
-
return (0, ($
|
|
37266
|
+
return (0, ($parcel$interopDefault($9kEcR$path))).join(mapSourceRoot, s);
|
|
37267
37267
|
})
|
|
37268
37268
|
});
|
|
37269
37269
|
return sourcemapInstance;
|