@modern-js/upgrade 0.0.0-next-20221205140617 → 0.0.0-next-20221206090411
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 +340 -585
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -30605,13 +30605,13 @@ var require_browsers2 = __commonJSMin((exports, module2) => {
|
|
30605
30605
|
module2.exports.browsers = require_browsers();
|
30606
30606
|
});
|
30607
30607
|
var require_browserVersions = __commonJSMin((exports, module2) => {
|
30608
|
-
module2.exports = { "0": "27", "1": "28", "2": "29", "3": "30", "4": "31", "5": "32", "6": "33", "7": "34", "8": "35", "9": "36", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "107", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "106", d: "72", e: "93", f: "94", g: "95", h: "96", i: "97", j: "98", k: "99", l: "100", m: "101", n: "102", o: "103", p: "104", q: "105", r: "5", s: "19", t: "20", u: "21", v: "22", w: "23", x: "24", y: "25", z: "26", AB: "37", BB: "38", CB: "39", DB: "40", EB: "41", FB: "42", GB: "43", HB: "44", IB: "45", JB: "46", KB: "47", LB: "48", MB: "49", NB: "50", OB: "51", PB: "52", QB: "53", RB: "54", SB: "55", TB: "56", UB: "57", VB: "58", WB: "60", XB: "62", YB: "63", ZB: "64", aB: "65", bB: "66", cB: "67", dB: "68", eB: "69", fB: "70", gB: "71", hB: "73", iB: "74", jB: "75", kB: "76", lB: "77", mB: "78", nB: "11.1", oB: "12.1", pB: "16.0", qB: "3", rB: "59", sB: "61", tB: "82", uB: "108", vB: "109", wB: "3.2", xB: "10.1", yB: "13.1", zB: "15.2-15.3", "0B": "15.4", "1B": "15.5", "2B": "15.6", "3B": "16.1", "4B": "11.5", "5B": "4.2-4.3", "6B": "5.5", "7B": "2", "8B": "3.5", "9B": "3.6", AC: "110", BC: "
|
30608
|
+
module2.exports = { "0": "27", "1": "28", "2": "29", "3": "30", "4": "31", "5": "32", "6": "33", "7": "34", "8": "35", "9": "36", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "107", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "106", d: "72", e: "93", f: "94", g: "95", h: "96", i: "97", j: "98", k: "99", l: "100", m: "101", n: "102", o: "103", p: "104", q: "105", r: "5", s: "19", t: "20", u: "21", v: "22", w: "23", x: "24", y: "25", z: "26", AB: "37", BB: "38", CB: "39", DB: "40", EB: "41", FB: "42", GB: "43", HB: "44", IB: "45", JB: "46", KB: "47", LB: "48", MB: "49", NB: "50", OB: "51", PB: "52", QB: "53", RB: "54", SB: "55", TB: "56", UB: "57", VB: "58", WB: "60", XB: "62", YB: "63", ZB: "64", aB: "65", bB: "66", cB: "67", dB: "68", eB: "69", fB: "70", gB: "71", hB: "73", iB: "74", jB: "75", kB: "76", lB: "77", mB: "78", nB: "11.1", oB: "12.1", pB: "16.0", qB: "3", rB: "59", sB: "61", tB: "82", uB: "108", vB: "109", wB: "3.2", xB: "10.1", yB: "13.1", zB: "15.2-15.3", "0B": "15.4", "1B": "15.5", "2B": "15.6", "3B": "16.1", "4B": "11.5", "5B": "4.2-4.3", "6B": "5.5", "7B": "2", "8B": "3.5", "9B": "3.6", AC: "110", BC: "3.1", CC: "5.1", DC: "6.1", EC: "7.1", FC: "9.1", GC: "14.1", HC: "15.1", IC: "16.2", JC: "TP", KC: "9.5-9.6", LC: "10.0-10.1", MC: "10.5", NC: "10.6", OC: "11.6", PC: "4.0-4.1", QC: "5.0-5.1", RC: "6.0-6.1", SC: "7.0-7.1", TC: "8.1-8.4", UC: "9.0-9.2", VC: "9.3", WC: "10.0-10.2", XC: "10.3", YC: "11.0-11.2", ZC: "11.3-11.4", aC: "12.0-12.1", bC: "12.2-12.5", cC: "13.0-13.1", dC: "13.2", eC: "13.3", fC: "13.4-13.7", gC: "14.0-14.4", hC: "14.5-14.8", iC: "15.0-15.1", jC: "all", kC: "2.1", lC: "2.2", mC: "2.3", nC: "4.1", oC: "4.4", pC: "4.4.3-4.4.4", qC: "13.4", rC: "5.0-5.4", sC: "6.2-6.4", tC: "7.2-7.4", uC: "8.2", vC: "9.2", wC: "11.1-11.2", xC: "12.0", yC: "13.0", zC: "14.0", "0C": "15.0", "1C": "17.0", "2C": "18.0", "3C": "19.0", "4C": "13.18", "5C": "2.5" };
|
30609
30609
|
});
|
30610
30610
|
var require_browserVersions2 = __commonJSMin((exports, module2) => {
|
30611
30611
|
module2.exports.browserVersions = require_browserVersions();
|
30612
30612
|
});
|
30613
30613
|
var require_agents = __commonJSMin((exports, module2) => {
|
30614
|
-
module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0440661, F: 0.0881323, A: 734435e-8, B: 0.440661, "6B": 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "6B", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { "6B": 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 7948e-6, K: 4267e-6, L: 4268e-6, G: 3974e-6, M: 3702e-6, N: 3974e-6, O: 0.01987, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 3974e-6, U: 3974e-6, V: 3974e-6, W: 3974e-6, X: 4318e-6, Y: 3974e-6, Z: 4118e-6, a: 3939e-6, b: 7948e-6, e: 4118e-6, f: 3939e-6, g: 3801e-6, h: 3929e-6, i: 3855e-6, j: 3929e-6, k: 3974e-6, l: 3974e-6, m: 0.011922, n: 0.011922, o: 0.035766, p: 0.067558, q: 0.802748, c: 3.07588, H: 0.246388 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, e: 1630627200, f: 1632441600, g: 1634774400, h: 1637539200, i: 1641427200, j: 1643932800, k: 1646265600, l: 1649635200, m: 1651190400, n: 1653955200, o: 1655942400, p: 1659657600, q: 1661990400, c: 1664755200, H: 1666915200 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 4393e-6, "1": 4418e-6, "2": 8834e-6, "3": 8322e-6, "4": 8928e-6, "5": 4471e-6, "6": 9284e-6, "7": 4707e-6, "8": 9076e-6, "9": 7948e-6, "7B": 4118e-6, qB: 4271e-6, I: 0.015896, r: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7948e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, s: 4443e-6, t: 4283e-6, u: 8322e-6, v: 0.013698, w: 4161e-6, x: 8786e-6, y: 4118e-6, z: 4317e-6, AB: 4783e-6, BB: 3929e-6, CB: 4783e-6, DB: 487e-5, EB: 5029e-6, FB: 47e-4, GB: 0.015896, HB: 7948e-6, IB: 3867e-6, JB: 4525e-6, KB: 4293e-6, LB: 3702e-6, MB: 4538e-6, NB: 8282e-6, OB: 0.011601, PB: 0.051662, QB: 0.011601, RB: 3929e-6, SB: 3974e-6, TB: 3974e-6, UB: 0.011601, VB: 3939e-6, rB: 3855e-6, WB: 3929e-6, sB: 4356e-6, XB: 4425e-6, YB: 8322e-6, ZB: 415e-5, aB: 4267e-6, bB: 3801e-6, cB: 4267e-6, dB: 7948e-6, eB: 415e-5, fB: 4293e-6, gB: 4425e-6, d: 3974e-6, hB: 415e-5, iB: 415e-5, jB: 4318e-6, kB: 4356e-6, lB: 3974e-6, mB: 0.035766, P: 3974e-6, Q: 7948e-6, R: 7948e-6, tB: 3974e-6, S: 3974e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 7948e-6, X: 7948e-6, Y: 3974e-6, Z: 3974e-6, a: 0.03974, b: 3801e-6, e: 3855e-6, f: 0.015896, g: 3974e-6, h: 3974e-6, i: 3974e-6, j: 3974e-6, k: 0.011922, l: 7948e-6, m: 0.011922, n: 0.063584, o: 0.043714, p: 0.071532, q: 1.50615, c: 0.679554, H: 7948e-6, uB: 0, vB: 0, "8B": 8786e-6, "9B": 487e-5 }, B: "moz", C: ["7B", "qB", "8B", "9B", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", ""], E: "Firefox", F: { "0": 1391472e3, "1": 1395100800, "2": 1398729600, "3": 1402358400, "4": 1405987200, "5": 1409616e3, "6": 1413244800, "7": 1417392e3, "8": 1421107200, "9": 1424736e3, "7B": 1161648e3, qB: 1213660800, "8B": 124632e4, "9B": 1264032e3, I: 1300752e3, r: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, s: 1357603200, t: 1361232e3, u: 1364860800, v: 1368489600, w: 1372118400, x: 1375747200, y: 1379376e3, z: 1386633600, AB: 1428278400, BB: 1431475200, CB: 1435881600, DB: 1439251200, EB: 144288e4, FB: 1446508800, GB: 1450137600, HB: 1453852800, IB: 1457395200, JB: 1461628800, KB: 1465257600, LB: 1470096e3, MB: 1474329600, NB: 1479168e3, OB: 1485216e3, PB: 1488844800, QB: 149256e4, RB: 1497312e3, SB: 1502150400, TB: 1506556800, UB: 1510617600, VB: 1516665600, rB: 1520985600, WB: 1525824e3, sB: 1529971200, XB: 1536105600, YB: 1540252800, ZB: 1544486400, aB: 154872e4, bB: 1552953600, cB: 1558396800, dB: 1562630400, eB: 1567468800, fB: 1571788800, gB: 1575331200, d: 1578355200, hB: 1581379200, iB: 1583798400, jB: 1586304e3, kB: 1588636800, lB: 1591056e3, mB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, tB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, e: 1633392e3, f: 1635811200, g: 1638835200, h: 1641859200, i: 1644364800, j: 1646697600, k: 1649116800, l: 1651536e3, m: 1653955200, n: 1656374400, o: 1658793600, p: 1661212800, q: 1663632e3, c: 1666051200, H: 1668470400, uB: null, vB: null } }, D: { A: { "0": 4326e-6, "1": 47e-4, "2": 4538e-6, "3": 8322e-6, "4": 8596e-6, "5": 4566e-6, "6": 4118e-6, "7": 7948e-6, "8": 3702e-6, "9": 4335e-6, I: 4706e-6, r: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, s: 8322e-6, t: 4393e-6, u: 4317e-6, v: 3974e-6, w: 8786e-6, x: 3939e-6, y: 4461e-6, z: 4141e-6, AB: 4464e-6, BB: 0.015896, CB: 3867e-6, DB: 0.015896, EB: 3974e-6, FB: 3974e-6, GB: 7948e-6, HB: 7948e-6, IB: 3974e-6, JB: 3867e-6, KB: 7948e-6, LB: 0.01987, MB: 0.047688, NB: 3867e-6, OB: 3929e-6, PB: 3974e-6, QB: 7948e-6, RB: 3867e-6, SB: 3974e-6, TB: 0.035766, UB: 3974e-6, VB: 3702e-6, rB: 3702e-6, WB: 0.011922, sB: 0.011922, XB: 3974e-6, YB: 7948e-6, ZB: 3929e-6, aB: 0.011922, bB: 0.027818, cB: 7948e-6, dB: 7948e-6, eB: 0.047688, fB: 0.023844, gB: 0.011922, d: 0.03974, hB: 0.011922, iB: 0.031792, jB: 0.043714, kB: 0.035766, lB: 0.011922, mB: 0.031792, P: 0.107298, Q: 0.035766, R: 0.03974, S: 0.067558, T: 0.051662, U: 0.083454, V: 0.083454, W: 0.083454, X: 0.01987, Y: 0.03974, Z: 0.023844, a: 0.055636, b: 0.047688, e: 0.043714, f: 0.035766, g: 0.023844, h: 0.063584, i: 0.05961, j: 0.051662, k: 0.055636, l: 0.151012, m: 0.087428, n: 0.143064, o: 0.421244, p: 0.41727, q: 6.00869, c: 15.7013, H: 0.643788, uB: 0.01987, vB: 0.011922, AC: 0, BC: 0 }, B: "webkit", C: ["", "", "", "", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", "AC", "BC"], E: "Chrome", F: { "0": 1364428800, "1": 1369094400, "2": 1374105600, "3": 1376956800, "4": 1384214400, "5": 1389657600, "6": 1392940800, "7": 1397001600, "8": 1400544e3, "9": 1405468800, I: 1264377600, r: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, s: 1332892800, t: 133704e4, u: 1340668800, v: 1343692800, w: 1348531200, x: 1352246400, y: 1357862400, z: 1361404800, AB: 1409011200, BB: 141264e4, CB: 1416268800, DB: 1421798400, EB: 1425513600, FB: 1429401600, GB: 143208e4, HB: 1437523200, IB: 1441152e3, JB: 1444780800, KB: 1449014400, LB: 1453248e3, MB: 1456963200, NB: 1460592e3, OB: 1464134400, PB: 1469059200, QB: 1472601600, RB: 1476230400, SB: 1480550400, TB: 1485302400, UB: 1489017600, VB: 149256e4, rB: 1496707200, WB: 1500940800, sB: 1504569600, XB: 1508198400, YB: 1512518400, ZB: 1516752e3, aB: 1520294400, bB: 1523923200, cB: 1527552e3, dB: 1532390400, eB: 1536019200, fB: 1539648e3, gB: 1543968e3, d: 154872e4, hB: 1552348800, iB: 1555977600, jB: 1559606400, kB: 1564444800, lB: 1568073600, mB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, e: 1630368e3, f: 1632268800, g: 1634601600, h: 1637020800, i: 1641340800, j: 1643673600, k: 1646092800, l: 1648512e3, m: 1650931200, n: 1653350400, o: 1655769600, p: 1659398400, q: 1661817600, c: 1664236800, H: 1666656e3, uB: 166968e4, vB: null, AC: null, BC: null } }, E: { A: { I: 0, r: 8322e-6, J: 4656e-6, D: 4465e-6, E: 3974e-6, F: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.023844, L: 0.11922, G: 0.027818, CC: 0, wB: 8692e-6, DC: 0.011922, EC: 456e-5, FC: 4283e-6, GC: 0.015896, xB: 7948e-6, nB: 0.01987, oB: 0.035766, yB: 0.313946, HC: 0.305998, IC: 0.051662, zB: 0.051662, "0B": 0.131142, "1B": 0.266258, "2B": 1.63331, pB: 0.49675, "3B": 0.071532, JC: 0, KC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "CC", "wB", "I", "r", "DC", "J", "EC", "D", "FC", "E", "F", "GC", "A", "xB", "B", "nB", "C", "oB", "K", "yB", "L", "HC", "G", "IC", "zB", "0B", "1B", "2B", "pB", "3B", "JC", "KC", ""], E: "Safari", F: { CC: 1205798400, wB: 1226534400, I: 1244419200, r: 1275868800, DC: 131112e4, J: 1343174400, EC: 13824e5, D: 13824e5, FC: 1410998400, E: 1413417600, F: 1443657600, GC: 1458518400, A: 1474329600, xB: 1490572800, B: 1505779200, nB: 1522281600, C: 1537142400, oB: 1553472e3, K: 1568851200, yB: 1585008e3, L: 1600214400, HC: 1619395200, G: 1632096e3, IC: 1635292800, zB: 1639353600, "0B": 1647216e3, "1B": 1652745600, "2B": 1658275200, pB: 1662940800, "3B": 1666569600, JC: null, KC: null } }, F: { A: { "0": 4393e-6, "1": 7948e-6, "2": 4879e-6, "3": 4879e-6, "4": 3974e-6, "5": 5152e-6, "6": 5014e-6, "7": 9758e-6, "8": 4879e-6, "9": 3974e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, s: 6015e-6, t: 4879e-6, u: 6597e-6, v: 6597e-6, w: 0.013434, x: 6702e-6, y: 6015e-6, z: 5595e-6, AB: 4283e-6, BB: 4367e-6, CB: 4534e-6, DB: 7948e-6, EB: 4227e-6, FB: 4418e-6, GB: 4161e-6, HB: 4227e-6, IB: 4725e-6, JB: 0.011922, KB: 8942e-6, LB: 4707e-6, MB: 4827e-6, NB: 4707e-6, OB: 4707e-6, PB: 4326e-6, QB: 8922e-6, RB: 0.014349, SB: 4425e-6, TB: 472e-5, UB: 4425e-6, VB: 4425e-6, WB: 472e-5, XB: 4532e-6, YB: 4566e-6, ZB: 0.02283, aB: 867e-5, bB: 4656e-6, cB: 4642e-6, dB: 3929e-6, eB: 944e-5, fB: 4293e-6, gB: 3929e-6, d: 4298e-6, hB: 0.096692, iB: 4201e-6, jB: 4141e-6, kB: 4257e-6, lB: 3939e-6, mB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, tB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 0.011922, V: 3855e-6, W: 3855e-6, X: 3929e-6, Y: 7948e-6, Z: 0.405348, a: 0.862358, b: 0, LC: 685e-5, MC: 0, NC: 8392e-6, OC: 4706e-6, nB: 6229e-6, "4B": 4879e-6, PC: 8786e-6, oB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "LC", "MC", "NC", "OC", "B", "nB", "4B", "PC", "C", "oB", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "", "", ""], E: "Opera", F: { "0": 1422316800, "1": 1425945600, "2": 1430179200, "3": 1433808e3, "4": 1438646400, "5": 1442448e3, "6": 1445904e3, "7": 1449100800, "8": 1454371200, "9": 1457308800, F: 1150761600, LC: 1223424e3, MC: 1251763200, NC: 1267488e3, OC: 1277942400, B: 1292457600, nB: 1302566400, "4B": 1309219200, PC: 1323129600, C: 1323129600, oB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, s: 1390867200, t: 1393891200, u: 1399334400, v: 1401753600, w: 1405987200, x: 1409616e3, y: 1413331200, z: 1417132800, AB: 146232e4, BB: 1465344e3, CB: 1470096e3, DB: 1474329600, EB: 1477267200, FB: 1481587200, GB: 1486425600, HB: 1490054400, IB: 1494374400, JB: 1498003200, KB: 1502236800, LB: 1506470400, MB: 1510099200, NB: 1515024e3, OB: 1517961600, PB: 1521676800, QB: 1525910400, RB: 1530144e3, SB: 1534982400, TB: 1537833600, UB: 1543363200, VB: 1548201600, WB: 1554768e3, XB: 1561593600, YB: 1566259200, ZB: 1570406400, aB: 1573689600, bB: 1578441600, cB: 1583971200, dB: 1587513600, eB: 1592956800, fB: 1595894400, gB: 1600128e3, d: 1603238400, hB: 161352e4, iB: 1612224e3, jB: 1616544e3, kB: 1619568e3, lB: 1623715200, mB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, tB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3 }, D: { F: "o", B: "o", C: "o", LC: "o", MC: "o", NC: "o", OC: "o", nB: "o", "4B": "o", PC: "o", oB: "o" } }, G: { A: { E: 0, wB: 0, QC: 0, "5B": 319488e-8, RC: 479232e-8, SC: 319488e-8, TC: 0.014377, UC: 479232e-8, VC: 0.0159744, WC: 0.0607028, XC: 319488e-8, YC: 0.0718849, ZC: 0.0255591, aC: 0.0223642, bC: 0.0223642, cC: 0.408945, dC: 0.0287539, eC: 958465e-8, fC: 0.0383386, gC: 0.119808, hC: 0.354632, iC: 0.773162, jC: 0.201278, zB: 0.28115, "0B": 0.351437, "1B": 0.800318, "2B": 6.71564, pB: 4.55111, "3B": 0.241214 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "wB", "QC", "5B", "RC", "SC", "TC", "E", "UC", "VC", "WC", "XC", "YC", "ZC", "aC", "bC", "cC", "dC", "eC", "fC", "gC", "hC", "iC", "jC", "zB", "0B", "1B", "2B", "pB", "3B", "", "", ""], E: "Safari on iOS", F: { wB: 1270252800, QC: 1283904e3, "5B": 1299628800, RC: 1331078400, SC: 1359331200, TC: 1394409600, E: 1410912e3, UC: 1413763200, VC: 1442361600, WC: 1458518400, XC: 1473724800, YC: 1490572800, ZC: 1505779200, aC: 1522281600, bC: 1537142400, cC: 1553472e3, dC: 1568851200, eC: 1572220800, fC: 1580169600, gC: 1585008e3, hC: 1600214400, iC: 1619395200, jC: 1632096e3, zB: 1639353600, "0B": 1647216e3, "1B": 1652659200, "2B": 1658275200, pB: 1662940800, "3B": 1666569600 } }, H: { A: { kC: 1.02708 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "kC", "", "", ""], E: "Opera Mini", F: { kC: 1426464e3 } }, I: { A: { qB: 0, I: 0.0223354, H: 0, lC: 0, mC: 0, nC: 0, oC: 0.0297805, "5B": 0.0893414, pC: 0, qC: 0.364811 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "lC", "mC", "nC", "qB", "I", "oC", "5B", "pC", "qC", "H", "", "", ""], E: "Android Browser", F: { lC: 1256515200, mC: 1274313600, nC: 1291593600, qB: 1298332800, I: 1318896e3, oC: 1341792e3, "5B": 1374624e3, pC: 1386547200, qC: 1401667200, H: 1666828800 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, d: 0.0111391, nB: 0, "4B": 0, oB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "nB", "4B", "C", "oB", "d", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, nB: 1314835200, "4B": 1318291200, C: 1330300800, oB: 1349740800, d: 1666828800 }, D: { d: "webkit" } }, L: { A: { H: 40.2785 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1666828800 } }, M: { A: { c: 0.283269 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "c", "", "", ""], E: "Firefox for Android", F: { c: 1666051200 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { rC: 0.638862 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "rC", "", "", ""], E: "UC Browser for Android", F: { rC: 1634688e3 }, D: { rC: "webkit" } }, P: { A: { I: 0.146868, sC: 0.0103543, tC: 0.010304, uC: 0.0629436, vC: 0.0103584, wC: 0.0104443, xB: 0.0105043, xC: 0.0314718, yC: 0.0104906, zC: 0.052453, "0C": 0.052453, "1C": 0.0314718, pB: 0.0944154, "2C": 0.157359, "3C": 2.15057, "4C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "sC", "tC", "uC", "vC", "wC", "xB", "xC", "yC", "zC", "0C", "1C", "pB", "2C", "3C", "4C", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, sC: 1481846400, tC: 1509408e3, uC: 1528329600, vC: 1546128e3, wC: 1554163200, xB: 1567900800, xC: 1582588800, yC: 1593475200, zC: 1605657600, "0C": 1618531200, "1C": 1629072e3, pB: 1640736e3, "2C": 1651708800, "3C": 1659657600, "4C": 1667260800 } }, Q: { A: { yB: 0.126567 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yB", "", "", ""], E: "QQ Browser", F: { yB: 1663718400 } }, R: { A: { "5C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "5C", "", "", ""], E: "Baidu Browser", F: { "5C": 1663027200 } }, S: { A: { "6C": 0.042189 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "6C", "", "", ""], E: "KaiOS Browser", F: { "6C": 1527811200 } } };
|
30614
|
+
module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0440661, F: 0.0881323, A: 734435e-8, B: 0.440661, "6B": 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "6B", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { "6B": 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 7948e-6, K: 4267e-6, L: 4268e-6, G: 3974e-6, M: 3702e-6, N: 3974e-6, O: 0.01987, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 3974e-6, U: 3974e-6, V: 3974e-6, W: 3974e-6, X: 4318e-6, Y: 3974e-6, Z: 4118e-6, a: 3939e-6, b: 7948e-6, e: 4118e-6, f: 3939e-6, g: 3801e-6, h: 3929e-6, i: 3855e-6, j: 3929e-6, k: 3974e-6, l: 3974e-6, m: 0.011922, n: 0.011922, o: 0.035766, p: 0.067558, q: 0.802748, c: 3.07588, H: 0.246388 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, e: 1630627200, f: 1632441600, g: 1634774400, h: 1637539200, i: 1641427200, j: 1643932800, k: 1646265600, l: 1649635200, m: 1651190400, n: 1653955200, o: 1655942400, p: 1659657600, q: 1661990400, c: 1664755200, H: 1666915200 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 4393e-6, "1": 4418e-6, "2": 8834e-6, "3": 8322e-6, "4": 8928e-6, "5": 4471e-6, "6": 9284e-6, "7": 4707e-6, "8": 9076e-6, "9": 7948e-6, "7B": 4118e-6, qB: 4271e-6, I: 0.015896, r: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7948e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, s: 4443e-6, t: 4283e-6, u: 8322e-6, v: 0.013698, w: 4161e-6, x: 8786e-6, y: 4118e-6, z: 4317e-6, AB: 4783e-6, BB: 3929e-6, CB: 4783e-6, DB: 487e-5, EB: 5029e-6, FB: 47e-4, GB: 0.015896, HB: 7948e-6, IB: 3867e-6, JB: 4525e-6, KB: 4293e-6, LB: 3702e-6, MB: 4538e-6, NB: 8282e-6, OB: 0.011601, PB: 0.051662, QB: 0.011601, RB: 3929e-6, SB: 3974e-6, TB: 3974e-6, UB: 0.011601, VB: 3939e-6, rB: 3855e-6, WB: 3929e-6, sB: 4356e-6, XB: 4425e-6, YB: 8322e-6, ZB: 415e-5, aB: 4267e-6, bB: 3801e-6, cB: 4267e-6, dB: 7948e-6, eB: 415e-5, fB: 4293e-6, gB: 4425e-6, d: 3974e-6, hB: 415e-5, iB: 415e-5, jB: 4318e-6, kB: 4356e-6, lB: 3974e-6, mB: 0.035766, P: 3974e-6, Q: 7948e-6, R: 7948e-6, tB: 3974e-6, S: 3974e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 7948e-6, X: 7948e-6, Y: 3974e-6, Z: 3974e-6, a: 0.03974, b: 3801e-6, e: 3855e-6, f: 0.015896, g: 3974e-6, h: 3974e-6, i: 3974e-6, j: 3974e-6, k: 0.011922, l: 7948e-6, m: 0.011922, n: 0.063584, o: 0.043714, p: 0.071532, q: 1.50615, c: 0.679554, H: 7948e-6, uB: 0, vB: 0, "8B": 8786e-6, "9B": 487e-5 }, B: "moz", C: ["7B", "qB", "8B", "9B", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", ""], E: "Firefox", F: { "0": 1391472e3, "1": 1395100800, "2": 1398729600, "3": 1402358400, "4": 1405987200, "5": 1409616e3, "6": 1413244800, "7": 1417392e3, "8": 1421107200, "9": 1424736e3, "7B": 1161648e3, qB: 1213660800, "8B": 124632e4, "9B": 1264032e3, I: 1300752e3, r: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, s: 1357603200, t: 1361232e3, u: 1364860800, v: 1368489600, w: 1372118400, x: 1375747200, y: 1379376e3, z: 1386633600, AB: 1428278400, BB: 1431475200, CB: 1435881600, DB: 1439251200, EB: 144288e4, FB: 1446508800, GB: 1450137600, HB: 1453852800, IB: 1457395200, JB: 1461628800, KB: 1465257600, LB: 1470096e3, MB: 1474329600, NB: 1479168e3, OB: 1485216e3, PB: 1488844800, QB: 149256e4, RB: 1497312e3, SB: 1502150400, TB: 1506556800, UB: 1510617600, VB: 1516665600, rB: 1520985600, WB: 1525824e3, sB: 1529971200, XB: 1536105600, YB: 1540252800, ZB: 1544486400, aB: 154872e4, bB: 1552953600, cB: 1558396800, dB: 1562630400, eB: 1567468800, fB: 1571788800, gB: 1575331200, d: 1578355200, hB: 1581379200, iB: 1583798400, jB: 1586304e3, kB: 1588636800, lB: 1591056e3, mB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, tB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, e: 1633392e3, f: 1635811200, g: 1638835200, h: 1641859200, i: 1644364800, j: 1646697600, k: 1649116800, l: 1651536e3, m: 1653955200, n: 1656374400, o: 1658793600, p: 1661212800, q: 1663632e3, c: 1666051200, H: 1668470400, uB: null, vB: null } }, D: { A: { "0": 4326e-6, "1": 47e-4, "2": 4538e-6, "3": 8322e-6, "4": 8596e-6, "5": 4566e-6, "6": 4118e-6, "7": 7948e-6, "8": 3702e-6, "9": 4335e-6, I: 4706e-6, r: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, s: 8322e-6, t: 4393e-6, u: 4317e-6, v: 3974e-6, w: 8786e-6, x: 3939e-6, y: 4461e-6, z: 4141e-6, AB: 4464e-6, BB: 0.015896, CB: 3867e-6, DB: 0.015896, EB: 3974e-6, FB: 3974e-6, GB: 7948e-6, HB: 7948e-6, IB: 3974e-6, JB: 3867e-6, KB: 7948e-6, LB: 0.01987, MB: 0.047688, NB: 3867e-6, OB: 3929e-6, PB: 3974e-6, QB: 7948e-6, RB: 3867e-6, SB: 3974e-6, TB: 0.035766, UB: 3974e-6, VB: 3702e-6, rB: 3702e-6, WB: 0.011922, sB: 0.011922, XB: 3974e-6, YB: 7948e-6, ZB: 3929e-6, aB: 0.011922, bB: 0.027818, cB: 7948e-6, dB: 7948e-6, eB: 0.047688, fB: 0.023844, gB: 0.011922, d: 0.03974, hB: 0.011922, iB: 0.031792, jB: 0.043714, kB: 0.035766, lB: 0.011922, mB: 0.031792, P: 0.107298, Q: 0.035766, R: 0.03974, S: 0.067558, T: 0.051662, U: 0.083454, V: 0.083454, W: 0.083454, X: 0.01987, Y: 0.03974, Z: 0.023844, a: 0.055636, b: 0.047688, e: 0.043714, f: 0.035766, g: 0.023844, h: 0.063584, i: 0.05961, j: 0.051662, k: 0.055636, l: 0.151012, m: 0.087428, n: 0.143064, o: 0.421244, p: 0.41727, q: 6.00869, c: 15.7013, H: 0.643788, uB: 0.01987, vB: 0.011922, AC: 0 }, B: "webkit", C: ["", "", "", "", "", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", "AC"], E: "Chrome", F: { "0": 1364428800, "1": 1369094400, "2": 1374105600, "3": 1376956800, "4": 1384214400, "5": 1389657600, "6": 1392940800, "7": 1397001600, "8": 1400544e3, "9": 1405468800, I: 1264377600, r: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, s: 1332892800, t: 133704e4, u: 1340668800, v: 1343692800, w: 1348531200, x: 1352246400, y: 1357862400, z: 1361404800, AB: 1409011200, BB: 141264e4, CB: 1416268800, DB: 1421798400, EB: 1425513600, FB: 1429401600, GB: 143208e4, HB: 1437523200, IB: 1441152e3, JB: 1444780800, KB: 1449014400, LB: 1453248e3, MB: 1456963200, NB: 1460592e3, OB: 1464134400, PB: 1469059200, QB: 1472601600, RB: 1476230400, SB: 1480550400, TB: 1485302400, UB: 1489017600, VB: 149256e4, rB: 1496707200, WB: 1500940800, sB: 1504569600, XB: 1508198400, YB: 1512518400, ZB: 1516752e3, aB: 1520294400, bB: 1523923200, cB: 1527552e3, dB: 1532390400, eB: 1536019200, fB: 1539648e3, gB: 1543968e3, d: 154872e4, hB: 1552348800, iB: 1555977600, jB: 1559606400, kB: 1564444800, lB: 1568073600, mB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, e: 1630368e3, f: 1632268800, g: 1634601600, h: 1637020800, i: 1641340800, j: 1643673600, k: 1646092800, l: 1648512e3, m: 1650931200, n: 1653350400, o: 1655769600, p: 1659398400, q: 1661817600, c: 1664236800, H: 1666656e3, uB: null, vB: null, AC: null } }, E: { A: { I: 0, r: 8322e-6, J: 4656e-6, D: 4465e-6, E: 3974e-6, F: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.023844, L: 0.11922, G: 0.027818, BC: 0, wB: 8692e-6, CC: 0.011922, DC: 456e-5, EC: 4283e-6, FC: 0.015896, xB: 7948e-6, nB: 0.01987, oB: 0.035766, yB: 0.313946, GC: 0.305998, HC: 0.051662, zB: 0.051662, "0B": 0.131142, "1B": 0.266258, "2B": 1.63331, pB: 0.49675, "3B": 0.071532, IC: 0, JC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "BC", "wB", "I", "r", "CC", "J", "DC", "D", "EC", "E", "F", "FC", "A", "xB", "B", "nB", "C", "oB", "K", "yB", "L", "GC", "G", "HC", "zB", "0B", "1B", "2B", "pB", "3B", "IC", "JC", ""], E: "Safari", F: { BC: 1205798400, wB: 1226534400, I: 1244419200, r: 1275868800, CC: 131112e4, J: 1343174400, DC: 13824e5, D: 13824e5, EC: 1410998400, E: 1413417600, F: 1443657600, FC: 1458518400, A: 1474329600, xB: 1490572800, B: 1505779200, nB: 1522281600, C: 1537142400, oB: 1553472e3, K: 1568851200, yB: 1585008e3, L: 1600214400, GC: 1619395200, G: 1632096e3, HC: 1635292800, zB: 1639353600, "0B": 1647216e3, "1B": 1652745600, "2B": 1658275200, pB: 1662940800, "3B": 1666569600, IC: null, JC: null } }, F: { A: { "0": 4393e-6, "1": 7948e-6, "2": 4879e-6, "3": 4879e-6, "4": 3974e-6, "5": 5152e-6, "6": 5014e-6, "7": 9758e-6, "8": 4879e-6, "9": 3974e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, s: 6015e-6, t: 4879e-6, u: 6597e-6, v: 6597e-6, w: 0.013434, x: 6702e-6, y: 6015e-6, z: 5595e-6, AB: 4283e-6, BB: 4367e-6, CB: 4534e-6, DB: 7948e-6, EB: 4227e-6, FB: 4418e-6, GB: 4161e-6, HB: 4227e-6, IB: 4725e-6, JB: 0.011922, KB: 8942e-6, LB: 4707e-6, MB: 4827e-6, NB: 4707e-6, OB: 4707e-6, PB: 4326e-6, QB: 8922e-6, RB: 0.014349, SB: 4425e-6, TB: 472e-5, UB: 4425e-6, VB: 4425e-6, WB: 472e-5, XB: 4532e-6, YB: 4566e-6, ZB: 0.02283, aB: 867e-5, bB: 4656e-6, cB: 4642e-6, dB: 3929e-6, eB: 944e-5, fB: 4293e-6, gB: 3929e-6, d: 4298e-6, hB: 0.096692, iB: 4201e-6, jB: 4141e-6, kB: 4257e-6, lB: 3939e-6, mB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, tB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 0.011922, V: 3855e-6, W: 3855e-6, X: 3929e-6, Y: 7948e-6, Z: 0.405348, a: 0.862358, b: 0, KC: 685e-5, LC: 0, MC: 8392e-6, NC: 4706e-6, nB: 6229e-6, "4B": 4879e-6, OC: 8786e-6, oB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "KC", "LC", "MC", "NC", "B", "nB", "4B", "OC", "C", "oB", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "", "", ""], E: "Opera", F: { "0": 1422316800, "1": 1425945600, "2": 1430179200, "3": 1433808e3, "4": 1438646400, "5": 1442448e3, "6": 1445904e3, "7": 1449100800, "8": 1454371200, "9": 1457308800, F: 1150761600, KC: 1223424e3, LC: 1251763200, MC: 1267488e3, NC: 1277942400, B: 1292457600, nB: 1302566400, "4B": 1309219200, OC: 1323129600, C: 1323129600, oB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, s: 1390867200, t: 1393891200, u: 1399334400, v: 1401753600, w: 1405987200, x: 1409616e3, y: 1413331200, z: 1417132800, AB: 146232e4, BB: 1465344e3, CB: 1470096e3, DB: 1474329600, EB: 1477267200, FB: 1481587200, GB: 1486425600, HB: 1490054400, IB: 1494374400, JB: 1498003200, KB: 1502236800, LB: 1506470400, MB: 1510099200, NB: 1515024e3, OB: 1517961600, PB: 1521676800, QB: 1525910400, RB: 1530144e3, SB: 1534982400, TB: 1537833600, UB: 1543363200, VB: 1548201600, WB: 1554768e3, XB: 1561593600, YB: 1566259200, ZB: 1570406400, aB: 1573689600, bB: 1578441600, cB: 1583971200, dB: 1587513600, eB: 1592956800, fB: 1595894400, gB: 1600128e3, d: 1603238400, hB: 161352e4, iB: 1612224e3, jB: 1616544e3, kB: 1619568e3, lB: 1623715200, mB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, tB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3 }, D: { F: "o", B: "o", C: "o", KC: "o", LC: "o", MC: "o", NC: "o", nB: "o", "4B": "o", OC: "o", oB: "o" } }, G: { A: { E: 0, wB: 0, PC: 0, "5B": 319488e-8, QC: 479232e-8, RC: 319488e-8, SC: 0.014377, TC: 479232e-8, UC: 0.0159744, VC: 0.0607028, WC: 319488e-8, XC: 0.0718849, YC: 0.0255591, ZC: 0.0223642, aC: 0.0223642, bC: 0.408945, cC: 0.0287539, dC: 958465e-8, eC: 0.0383386, fC: 0.119808, gC: 0.354632, hC: 0.773162, iC: 0.201278, zB: 0.28115, "0B": 0.351437, "1B": 0.800318, "2B": 6.71564, pB: 4.55111, "3B": 0.241214 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "wB", "PC", "5B", "QC", "RC", "SC", "E", "TC", "UC", "VC", "WC", "XC", "YC", "ZC", "aC", "bC", "cC", "dC", "eC", "fC", "gC", "hC", "iC", "zB", "0B", "1B", "2B", "pB", "3B", "", "", ""], E: "Safari on iOS", F: { wB: 1270252800, PC: 1283904e3, "5B": 1299628800, QC: 1331078400, RC: 1359331200, SC: 1394409600, E: 1410912e3, TC: 1413763200, UC: 1442361600, VC: 1458518400, WC: 1473724800, XC: 1490572800, YC: 1505779200, ZC: 1522281600, aC: 1537142400, bC: 1553472e3, cC: 1568851200, dC: 1572220800, eC: 1580169600, fC: 1585008e3, gC: 1600214400, hC: 1619395200, iC: 1632096e3, zB: 1639353600, "0B": 1647216e3, "1B": 1652659200, "2B": 1658275200, pB: 1662940800, "3B": 1666569600 } }, H: { A: { jC: 1.02708 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "jC", "", "", ""], E: "Opera Mini", F: { jC: 1426464e3 } }, I: { A: { qB: 0, I: 0.0223354, H: 0, kC: 0, lC: 0, mC: 0, nC: 0.0297805, "5B": 0.0893414, oC: 0, pC: 0.364811 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "kC", "lC", "mC", "qB", "I", "nC", "5B", "oC", "pC", "H", "", "", ""], E: "Android Browser", F: { kC: 1256515200, lC: 1274313600, mC: 1291593600, qB: 1298332800, I: 1318896e3, nC: 1341792e3, "5B": 1374624e3, oC: 1386547200, pC: 1401667200, H: 1666828800 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, d: 0.0111391, nB: 0, "4B": 0, oB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "nB", "4B", "C", "oB", "d", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, nB: 1314835200, "4B": 1318291200, C: 1330300800, oB: 1349740800, d: 1666828800 }, D: { d: "webkit" } }, L: { A: { H: 40.2785 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1666828800 } }, M: { A: { c: 0.283269 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "c", "", "", ""], E: "Firefox for Android", F: { c: 1666051200 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { qC: 0.638862 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "qC", "", "", ""], E: "UC Browser for Android", F: { qC: 1634688e3 }, D: { qC: "webkit" } }, P: { A: { I: 0.146868, rC: 0.0103543, sC: 0.010304, tC: 0.0629436, uC: 0.0103584, vC: 0.0104443, xB: 0.0105043, wC: 0.0314718, xC: 0.0104906, yC: 0.052453, zC: 0.052453, "0C": 0.0314718, pB: 0.0944154, "1C": 0.157359, "2C": 2.15057, "3C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "rC", "sC", "tC", "uC", "vC", "xB", "wC", "xC", "yC", "zC", "0C", "pB", "1C", "2C", "3C", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, rC: 1481846400, sC: 1509408e3, tC: 1528329600, uC: 1546128e3, vC: 1554163200, xB: 1567900800, wC: 1582588800, xC: 1593475200, yC: 1605657600, zC: 1618531200, "0C": 1629072e3, pB: 1640736e3, "1C": 1651708800, "2C": 1659657600, "3C": 1667260800 } }, Q: { A: { yB: 0.126567 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yB", "", "", ""], E: "QQ Browser", F: { yB: 1663718400 } }, R: { A: { "4C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "4C", "", "", ""], E: "Baidu Browser", F: { "4C": 1663027200 } }, S: { A: { "5C": 0.042189 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "5C", "", "", ""], E: "KaiOS Browser", F: { "5C": 1527811200 } } };
|
30615
30615
|
});
|
30616
30616
|
var require_agents2 = __commonJSMin((exports, module2) => {
|
30617
30617
|
"use strict";
|
@@ -35056,6 +35056,7 @@ var require_constants = __commonJSMin((exports) => {
|
|
35056
35056
|
"@modern-js/plugin-koa": "@modern-js/plugin-koa/cli",
|
35057
35057
|
"@modern-js/plugin-nest": "@modern-js/plugin-nest/cli",
|
35058
35058
|
"@modern-js/plugin-server": "@modern-js/plugin-server/cli",
|
35059
|
+
"@modern-js/plugin-swc": "@modern-js/plugin-swc",
|
35059
35060
|
"@modern-js/plugin-garfish": "@modern-js/plugin-garfish/cli",
|
35060
35061
|
"@modern-js/plugin-tailwindcss": "@modern-js/plugin-tailwindcss/cli",
|
35061
35062
|
"@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/cli",
|
@@ -35089,6 +35090,12 @@ var require_constants = __commonJSMin((exports) => {
|
|
35089
35090
|
}
|
35090
35091
|
}
|
35091
35092
|
],
|
35093
|
+
"@modern-js/plugin-swc": [
|
35094
|
+
{
|
35095
|
+
target: "tools.swc",
|
35096
|
+
schema: { typeof: ["object"] }
|
35097
|
+
}
|
35098
|
+
],
|
35092
35099
|
"@modern-js/plugin-bff": [
|
35093
35100
|
{
|
35094
35101
|
target: "bff",
|
@@ -68672,7 +68679,6 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68672
68679
|
this._redirectable.emit(event, arg1, arg2, arg3);
|
68673
68680
|
};
|
68674
68681
|
});
|
68675
|
-
var InvalidUrlError = createErrorType("ERR_INVALID_URL", "Invalid URL", TypeError);
|
68676
68682
|
var RedirectionError = createErrorType("ERR_FR_REDIRECTION_FAILURE", "Redirected request failed");
|
68677
68683
|
var TooManyRedirectsError = createErrorType("ERR_FR_TOO_MANY_REDIRECTS", "Maximum number of redirects exceeded");
|
68678
68684
|
var MaxBodyLengthExceededError = createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED", "Request body larger than maxBodyLength limit");
|
@@ -68705,10 +68711,10 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68705
68711
|
if (this._ending) {
|
68706
68712
|
throw new WriteAfterEndError();
|
68707
68713
|
}
|
68708
|
-
if (!
|
68714
|
+
if (!(typeof data === "string" || typeof data === "object" && "length" in data)) {
|
68709
68715
|
throw new TypeError("data should be a string, Buffer or Uint8Array");
|
68710
68716
|
}
|
68711
|
-
if (
|
68717
|
+
if (typeof encoding === "function") {
|
68712
68718
|
callback = encoding;
|
68713
68719
|
encoding = null;
|
68714
68720
|
}
|
@@ -68728,10 +68734,10 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68728
68734
|
}
|
68729
68735
|
};
|
68730
68736
|
RedirectableRequest.prototype.end = function(data, encoding, callback) {
|
68731
|
-
if (
|
68737
|
+
if (typeof data === "function") {
|
68732
68738
|
callback = data;
|
68733
68739
|
data = encoding = null;
|
68734
|
-
} else if (
|
68740
|
+
} else if (typeof encoding === "function") {
|
68735
68741
|
callback = encoding;
|
68736
68742
|
encoding = null;
|
68737
68743
|
}
|
@@ -68855,7 +68861,7 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68855
68861
|
for (var event of events) {
|
68856
68862
|
request.on(event, eventHandlers[event]);
|
68857
68863
|
}
|
68858
|
-
this._currentUrl = /^\//.test(this._options.path) ? url.format(this._options) : this._options.path;
|
68864
|
+
this._currentUrl = /^\//.test(this._options.path) ? url.format(this._options) : this._currentUrl = this._options.path;
|
68859
68865
|
if (this._isRedirect) {
|
68860
68866
|
var i = 0;
|
68861
68867
|
var self2 = this;
|
@@ -68920,7 +68926,7 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68920
68926
|
try {
|
68921
68927
|
redirectUrl = url.resolve(currentUrl, location);
|
68922
68928
|
} catch (cause) {
|
68923
|
-
this.emit("error", new RedirectionError(
|
68929
|
+
this.emit("error", new RedirectionError(cause));
|
68924
68930
|
return;
|
68925
68931
|
}
|
68926
68932
|
debug("redirecting to", redirectUrl);
|
@@ -68930,7 +68936,7 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68930
68936
|
if (redirectUrlParts.protocol !== currentUrlParts.protocol && redirectUrlParts.protocol !== "https:" || redirectUrlParts.host !== currentHost && !isSubdomain(redirectUrlParts.host, currentHost)) {
|
68931
68937
|
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
|
68932
68938
|
}
|
68933
|
-
if (
|
68939
|
+
if (typeof beforeRedirect === "function") {
|
68934
68940
|
var responseDetails = {
|
68935
68941
|
headers: response.headers,
|
68936
68942
|
statusCode
|
@@ -68951,7 +68957,7 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68951
68957
|
try {
|
68952
68958
|
this._performRequest();
|
68953
68959
|
} catch (cause) {
|
68954
|
-
this.emit("error", new RedirectionError(
|
68960
|
+
this.emit("error", new RedirectionError(cause));
|
68955
68961
|
}
|
68956
68962
|
};
|
68957
68963
|
function wrap(protocols) {
|
@@ -68965,17 +68971,13 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68965
68971
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
68966
68972
|
var wrappedProtocol = exports2[scheme] = Object.create(nativeProtocol);
|
68967
68973
|
function request(input, options3, callback) {
|
68968
|
-
if (
|
68969
|
-
var
|
68974
|
+
if (typeof input === "string") {
|
68975
|
+
var urlStr = input;
|
68970
68976
|
try {
|
68971
|
-
|
68977
|
+
input = urlToOptions(new URL(urlStr));
|
68972
68978
|
} catch (err) {
|
68973
|
-
|
68974
|
-
}
|
68975
|
-
if (!isString2(parsed.protocol)) {
|
68976
|
-
throw new InvalidUrlError({ input });
|
68979
|
+
input = url.parse(urlStr);
|
68977
68980
|
}
|
68978
|
-
input = parsed;
|
68979
68981
|
} else if (URL && input instanceof URL) {
|
68980
68982
|
input = urlToOptions(input);
|
68981
68983
|
} else {
|
@@ -68983,7 +68985,7 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68983
68985
|
options3 = input;
|
68984
68986
|
input = { protocol };
|
68985
68987
|
}
|
68986
|
-
if (
|
68988
|
+
if (typeof options3 === "function") {
|
68987
68989
|
callback = options3;
|
68988
68990
|
options3 = null;
|
68989
68991
|
}
|
@@ -68992,9 +68994,6 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
68992
68994
|
maxBodyLength: exports2.maxBodyLength
|
68993
68995
|
}, input, options3);
|
68994
68996
|
options3.nativeProtocols = nativeProtocols;
|
68995
|
-
if (!isString2(options3.host) && !isString2(options3.hostname)) {
|
68996
|
-
options3.hostname = "::1";
|
68997
|
-
}
|
68998
68997
|
assert.equal(options3.protocol, protocol, "protocol mismatch");
|
68999
68998
|
debug("options", options3);
|
69000
68999
|
return new RedirectableRequest(options3, callback);
|
@@ -69038,16 +69037,20 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
69038
69037
|
}
|
69039
69038
|
return lastValue === null || typeof lastValue === "undefined" ? void 0 : String(lastValue).trim();
|
69040
69039
|
}
|
69041
|
-
function createErrorType(code,
|
69042
|
-
function CustomError(
|
69040
|
+
function createErrorType(code, defaultMessage) {
|
69041
|
+
function CustomError(cause) {
|
69043
69042
|
Error.captureStackTrace(this, this.constructor);
|
69044
|
-
|
69045
|
-
|
69046
|
-
|
69043
|
+
if (!cause) {
|
69044
|
+
this.message = defaultMessage;
|
69045
|
+
} else {
|
69046
|
+
this.message = defaultMessage + ": " + cause.message;
|
69047
|
+
this.cause = cause;
|
69048
|
+
}
|
69047
69049
|
}
|
69048
|
-
CustomError.prototype = new
|
69050
|
+
CustomError.prototype = new Error();
|
69049
69051
|
CustomError.prototype.constructor = CustomError;
|
69050
69052
|
CustomError.prototype.name = "Error [" + code + "]";
|
69053
|
+
CustomError.prototype.code = code;
|
69051
69054
|
return CustomError;
|
69052
69055
|
}
|
69053
69056
|
function abortRequest(request) {
|
@@ -69058,19 +69061,9 @@ var require_follow_redirects = __commonJSMin((exports, module2) => {
|
|
69058
69061
|
request.abort();
|
69059
69062
|
}
|
69060
69063
|
function isSubdomain(subdomain, domain) {
|
69061
|
-
|
69062
|
-
var dot = subdomain.length - domain.length - 1;
|
69064
|
+
const dot = subdomain.length - domain.length - 1;
|
69063
69065
|
return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain);
|
69064
69066
|
}
|
69065
|
-
function isString2(value) {
|
69066
|
-
return typeof value === "string" || value instanceof String;
|
69067
|
-
}
|
69068
|
-
function isFunction(value) {
|
69069
|
-
return typeof value === "function";
|
69070
|
-
}
|
69071
|
-
function isBuffer(value) {
|
69072
|
-
return typeof value === "object" && "length" in value;
|
69073
|
-
}
|
69074
69067
|
module2.exports = wrap({ http, https });
|
69075
69068
|
module2.exports.wrap = wrap;
|
69076
69069
|
});
|
@@ -70900,9 +70893,8 @@ var require_read_entry = __commonJSMin((exports, module2) => {
|
|
70900
70893
|
}
|
70901
70894
|
this.path = normPath(header.path);
|
70902
70895
|
this.mode = header.mode;
|
70903
|
-
if (this.mode)
|
70896
|
+
if (this.mode)
|
70904
70897
|
this.mode = this.mode & 4095;
|
70905
|
-
}
|
70906
70898
|
this.uid = header.uid;
|
70907
70899
|
this.gid = header.gid;
|
70908
70900
|
this.uname = header.uname;
|
@@ -70914,35 +70906,29 @@ var require_read_entry = __commonJSMin((exports, module2) => {
|
|
70914
70906
|
this.linkpath = normPath(header.linkpath);
|
70915
70907
|
this.uname = header.uname;
|
70916
70908
|
this.gname = header.gname;
|
70917
|
-
if (ex)
|
70909
|
+
if (ex)
|
70918
70910
|
this[SLURP](ex);
|
70919
|
-
|
70920
|
-
if (gex) {
|
70911
|
+
if (gex)
|
70921
70912
|
this[SLURP](gex, true);
|
70922
|
-
}
|
70923
70913
|
}
|
70924
70914
|
write(data) {
|
70925
70915
|
const writeLen = data.length;
|
70926
|
-
if (writeLen > this.blockRemain)
|
70916
|
+
if (writeLen > this.blockRemain)
|
70927
70917
|
throw new Error("writing more to entry than is appropriate");
|
70928
|
-
}
|
70929
70918
|
const r = this.remain;
|
70930
70919
|
const br = this.blockRemain;
|
70931
70920
|
this.remain = Math.max(0, r - writeLen);
|
70932
70921
|
this.blockRemain = Math.max(0, br - writeLen);
|
70933
|
-
if (this.ignore)
|
70922
|
+
if (this.ignore)
|
70934
70923
|
return true;
|
70935
|
-
|
70936
|
-
if (r >= writeLen) {
|
70924
|
+
if (r >= writeLen)
|
70937
70925
|
return super.write(data);
|
70938
|
-
}
|
70939
70926
|
return super.write(data.slice(0, r));
|
70940
70927
|
}
|
70941
70928
|
[SLURP](ex, global2) {
|
70942
70929
|
for (const k in ex) {
|
70943
|
-
if (ex[k] !== null && ex[k] !== void 0 && !(global2 && k === "path"))
|
70930
|
+
if (ex[k] !== null && ex[k] !== void 0 && !(global2 && k === "path"))
|
70944
70931
|
this[k] = k === "path" || k === "linkpath" ? normPath(ex[k]) : ex[k];
|
70945
|
-
}
|
70946
70932
|
}
|
70947
70933
|
}
|
70948
70934
|
};
|
@@ -70977,13 +70963,12 @@ var require_types = __commonJSMin((exports) => {
|
|
70977
70963
|
var require_large_numbers = __commonJSMin((exports, module2) => {
|
70978
70964
|
"use strict";
|
70979
70965
|
var encode = (num, buf) => {
|
70980
|
-
if (!Number.isSafeInteger(num))
|
70966
|
+
if (!Number.isSafeInteger(num))
|
70981
70967
|
throw Error("cannot encode number outside of javascript safe integer range");
|
70982
|
-
|
70968
|
+
else if (num < 0)
|
70983
70969
|
encodeNegative(num, buf);
|
70984
|
-
|
70970
|
+
else
|
70985
70971
|
encodePositive(num, buf);
|
70986
|
-
}
|
70987
70972
|
return buf;
|
70988
70973
|
};
|
70989
70974
|
var encodePositive = (num, buf) => {
|
@@ -71000,11 +70985,11 @@ var require_large_numbers = __commonJSMin((exports, module2) => {
|
|
71000
70985
|
for (var i = buf.length; i > 1; i--) {
|
71001
70986
|
var byte = num & 255;
|
71002
70987
|
num = Math.floor(num / 256);
|
71003
|
-
if (flipped)
|
70988
|
+
if (flipped)
|
71004
70989
|
buf[i - 1] = onesComp(byte);
|
71005
|
-
|
70990
|
+
else if (byte === 0)
|
71006
70991
|
buf[i - 1] = 0;
|
71007
|
-
|
70992
|
+
else {
|
71008
70993
|
flipped = true;
|
71009
70994
|
buf[i - 1] = twosComp(byte);
|
71010
70995
|
}
|
@@ -71013,12 +70998,10 @@ var require_large_numbers = __commonJSMin((exports, module2) => {
|
|
71013
70998
|
var parse = (buf) => {
|
71014
70999
|
const pre = buf[0];
|
71015
71000
|
const value = pre === 128 ? pos(buf.slice(1, buf.length)) : pre === 255 ? twos(buf) : null;
|
71016
|
-
if (value === null)
|
71001
|
+
if (value === null)
|
71017
71002
|
throw Error("invalid base256 encoding");
|
71018
|
-
|
71019
|
-
if (!Number.isSafeInteger(value)) {
|
71003
|
+
if (!Number.isSafeInteger(value))
|
71020
71004
|
throw Error("parsed number outside of javascript safe integer range");
|
71021
|
-
}
|
71022
71005
|
return value;
|
71023
71006
|
};
|
71024
71007
|
var twos = (buf) => {
|
@@ -71028,17 +71011,16 @@ var require_large_numbers = __commonJSMin((exports, module2) => {
|
|
71028
71011
|
for (var i = len - 1; i > -1; i--) {
|
71029
71012
|
var byte = buf[i];
|
71030
71013
|
var f;
|
71031
|
-
if (flipped)
|
71014
|
+
if (flipped)
|
71032
71015
|
f = onesComp(byte);
|
71033
|
-
|
71016
|
+
else if (byte === 0)
|
71034
71017
|
f = byte;
|
71035
|
-
|
71018
|
+
else {
|
71036
71019
|
flipped = true;
|
71037
71020
|
f = twosComp(byte);
|
71038
71021
|
}
|
71039
|
-
if (f !== 0)
|
71022
|
+
if (f !== 0)
|
71040
71023
|
sum -= f * Math.pow(256, len - i - 1);
|
71041
|
-
}
|
71042
71024
|
}
|
71043
71025
|
return sum;
|
71044
71026
|
};
|
@@ -71047,9 +71029,8 @@ var require_large_numbers = __commonJSMin((exports, module2) => {
|
|
71047
71029
|
var sum = 0;
|
71048
71030
|
for (var i = len - 1; i > -1; i--) {
|
71049
71031
|
var byte = buf[i];
|
71050
|
-
if (byte !== 0)
|
71032
|
+
if (byte !== 0)
|
71051
71033
|
sum += byte * Math.pow(256, len - i - 1);
|
71052
|
-
}
|
71053
71034
|
}
|
71054
71035
|
return sum;
|
71055
71036
|
};
|
@@ -71088,19 +71069,16 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71088
71069
|
this.devmin = 0;
|
71089
71070
|
this.atime = null;
|
71090
71071
|
this.ctime = null;
|
71091
|
-
if (Buffer.isBuffer(data))
|
71072
|
+
if (Buffer.isBuffer(data))
|
71092
71073
|
this.decode(data, off || 0, ex, gex);
|
71093
|
-
|
71074
|
+
else if (data)
|
71094
71075
|
this.set(data);
|
71095
|
-
}
|
71096
71076
|
}
|
71097
71077
|
decode(buf, off, ex, gex) {
|
71098
|
-
if (!off)
|
71078
|
+
if (!off)
|
71099
71079
|
off = 0;
|
71100
|
-
|
71101
|
-
if (!buf || !(buf.length >= off + 512)) {
|
71080
|
+
if (!buf || !(buf.length >= off + 512))
|
71102
71081
|
throw new Error("need 512 bytes for header");
|
71103
|
-
}
|
71104
71082
|
this.path = decString(buf, off, 100);
|
71105
71083
|
this.mode = decNumber(buf, off + 100, 8);
|
71106
71084
|
this.uid = decNumber(buf, off + 108, 8);
|
@@ -71111,15 +71089,12 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71111
71089
|
this[SLURP](ex);
|
71112
71090
|
this[SLURP](gex, true);
|
71113
71091
|
this[TYPE] = decString(buf, off + 156, 1);
|
71114
|
-
if (this[TYPE] === "")
|
71092
|
+
if (this[TYPE] === "")
|
71115
71093
|
this[TYPE] = "0";
|
71116
|
-
|
71117
|
-
if (this[TYPE] === "0" && this.path.slice(-1) === "/") {
|
71094
|
+
if (this[TYPE] === "0" && this.path.substr(-1) === "/")
|
71118
71095
|
this[TYPE] = "5";
|
71119
|
-
|
71120
|
-
if (this[TYPE] === "5") {
|
71096
|
+
if (this[TYPE] === "5")
|
71121
71097
|
this.size = 0;
|
71122
|
-
}
|
71123
71098
|
this.linkpath = decString(buf, off + 157, 100);
|
71124
71099
|
if (buf.slice(off + 257, off + 265).toString() === "ustar\x0000") {
|
71125
71100
|
this.uname = decString(buf, off + 265, 32);
|
@@ -71131,30 +71106,25 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71131
71106
|
this.path = prefix + "/" + this.path;
|
71132
71107
|
} else {
|
71133
71108
|
const prefix = decString(buf, off + 345, 130);
|
71134
|
-
if (prefix)
|
71109
|
+
if (prefix)
|
71135
71110
|
this.path = prefix + "/" + this.path;
|
71136
|
-
}
|
71137
71111
|
this.atime = decDate(buf, off + 476, 12);
|
71138
71112
|
this.ctime = decDate(buf, off + 488, 12);
|
71139
71113
|
}
|
71140
71114
|
}
|
71141
71115
|
let sum = 8 * 32;
|
71142
|
-
for (let i = off; i < off + 148; i++)
|
71116
|
+
for (let i = off; i < off + 148; i++)
|
71143
71117
|
sum += buf[i];
|
71144
|
-
|
71145
|
-
for (let i = off + 156; i < off + 512; i++) {
|
71118
|
+
for (let i = off + 156; i < off + 512; i++)
|
71146
71119
|
sum += buf[i];
|
71147
|
-
}
|
71148
71120
|
this.cksumValid = sum === this.cksum;
|
71149
|
-
if (this.cksum === null && sum === 8 * 32)
|
71121
|
+
if (this.cksum === null && sum === 8 * 32)
|
71150
71122
|
this.nullBlock = true;
|
71151
|
-
}
|
71152
71123
|
}
|
71153
71124
|
[SLURP](ex, global2) {
|
71154
71125
|
for (const k in ex) {
|
71155
|
-
if (ex[k] !== null && ex[k] !== void 0 && !(global2 && k === "path"))
|
71126
|
+
if (ex[k] !== null && ex[k] !== void 0 && !(global2 && k === "path"))
|
71156
71127
|
this[k] = ex[k];
|
71157
|
-
}
|
71158
71128
|
}
|
71159
71129
|
}
|
71160
71130
|
encode(buf, off) {
|
@@ -71162,12 +71132,10 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71162
71132
|
buf = this.block = Buffer.alloc(512);
|
71163
71133
|
off = 0;
|
71164
71134
|
}
|
71165
|
-
if (!off)
|
71135
|
+
if (!off)
|
71166
71136
|
off = 0;
|
71167
|
-
|
71168
|
-
if (!(buf.length >= off + 512)) {
|
71137
|
+
if (!(buf.length >= off + 512))
|
71169
71138
|
throw new Error("need 512 bytes for header");
|
71170
|
-
}
|
71171
71139
|
const prefixSize = this.ctime || this.atime ? 130 : 155;
|
71172
71140
|
const split = splitPrefix(this.path || "", prefixSize);
|
71173
71141
|
const path = split[0];
|
@@ -71187,20 +71155,18 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71187
71155
|
this.needPax = encNumber(buf, off + 329, 8, this.devmaj) || this.needPax;
|
71188
71156
|
this.needPax = encNumber(buf, off + 337, 8, this.devmin) || this.needPax;
|
71189
71157
|
this.needPax = encString(buf, off + 345, prefixSize, prefix) || this.needPax;
|
71190
|
-
if (buf[off + 475] !== 0)
|
71158
|
+
if (buf[off + 475] !== 0)
|
71191
71159
|
this.needPax = encString(buf, off + 345, 155, prefix) || this.needPax;
|
71192
|
-
|
71160
|
+
else {
|
71193
71161
|
this.needPax = encString(buf, off + 345, 130, prefix) || this.needPax;
|
71194
71162
|
this.needPax = encDate(buf, off + 476, 12, this.atime) || this.needPax;
|
71195
71163
|
this.needPax = encDate(buf, off + 488, 12, this.ctime) || this.needPax;
|
71196
71164
|
}
|
71197
71165
|
let sum = 8 * 32;
|
71198
|
-
for (let i = off; i < off + 148; i++)
|
71166
|
+
for (let i = off; i < off + 148; i++)
|
71199
71167
|
sum += buf[i];
|
71200
|
-
|
71201
|
-
for (let i = off + 156; i < off + 512; i++) {
|
71168
|
+
for (let i = off + 156; i < off + 512; i++)
|
71202
71169
|
sum += buf[i];
|
71203
|
-
}
|
71204
71170
|
this.cksum = sum;
|
71205
71171
|
encNumber(buf, off + 148, 8, this.cksum);
|
71206
71172
|
this.cksumValid = true;
|
@@ -71208,9 +71174,8 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71208
71174
|
}
|
71209
71175
|
set(data) {
|
71210
71176
|
for (const i in data) {
|
71211
|
-
if (data[i] !== null && data[i] !== void 0)
|
71177
|
+
if (data[i] !== null && data[i] !== void 0)
|
71212
71178
|
this[i] = data[i];
|
71213
|
-
}
|
71214
71179
|
}
|
71215
71180
|
}
|
71216
71181
|
get type() {
|
@@ -71220,11 +71185,10 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71220
71185
|
return this[TYPE];
|
71221
71186
|
}
|
71222
71187
|
set type(type) {
|
71223
|
-
if (types.code.has(type))
|
71188
|
+
if (types.code.has(type))
|
71224
71189
|
this[TYPE] = types.code.get(type);
|
71225
|
-
|
71190
|
+
else
|
71226
71191
|
this[TYPE] = type;
|
71227
|
-
}
|
71228
71192
|
}
|
71229
71193
|
};
|
71230
71194
|
var splitPrefix = (p, prefixSize) => {
|
@@ -71233,24 +71197,23 @@ var require_header = __commonJSMin((exports, module2) => {
|
|
71233
71197
|
let prefix = "";
|
71234
71198
|
let ret;
|
71235
71199
|
const root = pathModule.parse(p).root || ".";
|
71236
|
-
if (Buffer.byteLength(pp) < pathSize)
|
71200
|
+
if (Buffer.byteLength(pp) < pathSize)
|
71237
71201
|
ret = [pp, prefix, false];
|
71238
|
-
|
71202
|
+
else {
|
71239
71203
|
prefix = pathModule.dirname(pp);
|
71240
71204
|
pp = pathModule.basename(pp);
|
71241
71205
|
do {
|
71242
|
-
if (Buffer.byteLength(pp) <= pathSize && Buffer.byteLength(prefix) <= prefixSize)
|
71206
|
+
if (Buffer.byteLength(pp) <= pathSize && Buffer.byteLength(prefix) <= prefixSize)
|
71243
71207
|
ret = [pp, prefix, false];
|
71244
|
-
|
71245
|
-
ret = [pp.
|
71246
|
-
|
71208
|
+
else if (Buffer.byteLength(pp) > pathSize && Buffer.byteLength(prefix) <= prefixSize)
|
71209
|
+
ret = [pp.substr(0, pathSize - 1), prefix, true];
|
71210
|
+
else {
|
71247
71211
|
pp = pathModule.join(pathModule.basename(prefix), pp);
|
71248
71212
|
prefix = pathModule.dirname(prefix);
|
71249
71213
|
}
|
71250
71214
|
} while (prefix !== root && !ret);
|
71251
|
-
if (!ret)
|
71252
|
-
ret = [p.
|
71253
|
-
}
|
71215
|
+
if (!ret)
|
71216
|
+
ret = [p.substr(0, pathSize - 1), "", true];
|
71254
71217
|
}
|
71255
71218
|
return ret;
|
71256
71219
|
};
|
@@ -71298,15 +71261,13 @@ var require_pax = __commonJSMin((exports, module2) => {
|
|
71298
71261
|
}
|
71299
71262
|
encode() {
|
71300
71263
|
const body = this.encodeBody();
|
71301
|
-
if (body === "")
|
71264
|
+
if (body === "")
|
71302
71265
|
return null;
|
71303
|
-
}
|
71304
71266
|
const bodyLen = Buffer.byteLength(body);
|
71305
71267
|
const bufLen = 512 * Math.ceil(1 + bodyLen / 512);
|
71306
71268
|
const buf = Buffer.allocUnsafe(bufLen);
|
71307
|
-
for (let i = 0; i < 512; i++)
|
71269
|
+
for (let i = 0; i < 512; i++)
|
71308
71270
|
buf[i] = 0;
|
71309
|
-
}
|
71310
71271
|
new Header({
|
71311
71272
|
path: ("PaxHeader/" + path.basename(this.path)).slice(0, 99),
|
71312
71273
|
mode: this.mode || 420,
|
@@ -71324,25 +71285,22 @@ var require_pax = __commonJSMin((exports, module2) => {
|
|
71324
71285
|
ctime: this.ctime || null
|
71325
71286
|
}).encode(buf);
|
71326
71287
|
buf.write(body, 512, bodyLen, "utf8");
|
71327
|
-
for (let i = bodyLen + 512; i < buf.length; i++)
|
71288
|
+
for (let i = bodyLen + 512; i < buf.length; i++)
|
71328
71289
|
buf[i] = 0;
|
71329
|
-
}
|
71330
71290
|
return buf;
|
71331
71291
|
}
|
71332
71292
|
encodeBody() {
|
71333
71293
|
return this.encodeField("path") + this.encodeField("ctime") + this.encodeField("atime") + this.encodeField("dev") + this.encodeField("ino") + this.encodeField("nlink") + this.encodeField("charset") + this.encodeField("comment") + this.encodeField("gid") + this.encodeField("gname") + this.encodeField("linkpath") + this.encodeField("mtime") + this.encodeField("size") + this.encodeField("uid") + this.encodeField("uname");
|
71334
71294
|
}
|
71335
71295
|
encodeField(field) {
|
71336
|
-
if (this[field] === null || this[field] === void 0)
|
71296
|
+
if (this[field] === null || this[field] === void 0)
|
71337
71297
|
return "";
|
71338
|
-
}
|
71339
71298
|
const v = this[field] instanceof Date ? this[field].getTime() / 1e3 : this[field];
|
71340
71299
|
const s = " " + (field === "dev" || field === "ino" || field === "nlink" ? "SCHILY." : "") + field + "=" + v + "\n";
|
71341
71300
|
const byteLen = Buffer.byteLength(s);
|
71342
71301
|
let digits = Math.floor(Math.log(byteLen) / Math.log(10)) + 1;
|
71343
|
-
if (byteLen + digits >= Math.pow(10, digits))
|
71302
|
+
if (byteLen + digits >= Math.pow(10, digits))
|
71344
71303
|
digits += 1;
|
71345
|
-
}
|
71346
71304
|
const len = digits + byteLen;
|
71347
71305
|
return len + s;
|
71348
71306
|
}
|
@@ -71352,15 +71310,13 @@ var require_pax = __commonJSMin((exports, module2) => {
|
|
71352
71310
|
var parseKV = (string) => string.replace(/\n$/, "").split("\n").reduce(parseKVLine, /* @__PURE__ */ Object.create(null));
|
71353
71311
|
var parseKVLine = (set, line) => {
|
71354
71312
|
const n = parseInt(line, 10);
|
71355
|
-
if (n !== Buffer.byteLength(line) + 1)
|
71313
|
+
if (n !== Buffer.byteLength(line) + 1)
|
71356
71314
|
return set;
|
71357
|
-
|
71358
|
-
line = line.slice((n + " ").length);
|
71315
|
+
line = line.substr((n + " ").length);
|
71359
71316
|
const kv = line.split("=");
|
71360
71317
|
const k = kv.shift().replace(/^SCHILY\.(dev|ino|nlink)/, "$1");
|
71361
|
-
if (!k)
|
71318
|
+
if (!k)
|
71362
71319
|
return set;
|
71363
|
-
}
|
71364
71320
|
const v = kv.join("=");
|
71365
71321
|
set[k] = /^([A-Z]+\.)?([mac]|birth|creation)time$/.test(k) ? new Date(v * 1e3) : /^[0-9]+$/.test(v) ? +v : v;
|
71366
71322
|
return set;
|
@@ -71382,12 +71338,10 @@ var require_warn_mixin = __commonJSMin((exports, module2) => {
|
|
71382
71338
|
"use strict";
|
71383
71339
|
module2.exports = (Base) => class extends Base {
|
71384
71340
|
warn(code, message, data = {}) {
|
71385
|
-
if (this.file)
|
71341
|
+
if (this.file)
|
71386
71342
|
data.file = this.file;
|
71387
|
-
|
71388
|
-
if (this.cwd) {
|
71343
|
+
if (this.cwd)
|
71389
71344
|
data.cwd = this.cwd;
|
71390
|
-
}
|
71391
71345
|
data.code = message instanceof Error && message.code || code;
|
71392
71346
|
data.tarCode = code;
|
71393
71347
|
if (!this.strict && data.recoverable !== false) {
|
@@ -71396,11 +71350,10 @@ var require_warn_mixin = __commonJSMin((exports, module2) => {
|
|
71396
71350
|
message = message.message;
|
71397
71351
|
}
|
71398
71352
|
this.emit("warn", data.tarCode, message, data);
|
71399
|
-
} else if (message instanceof Error)
|
71353
|
+
} else if (message instanceof Error)
|
71400
71354
|
this.emit("error", Object.assign(message, data));
|
71401
|
-
|
71355
|
+
else
|
71402
71356
|
this.emit("error", Object.assign(new Error(`${code}: ${message}`), data));
|
71403
|
-
}
|
71404
71357
|
}
|
71405
71358
|
};
|
71406
71359
|
});
|
@@ -71428,7 +71381,7 @@ var require_strip_absolute_path = __commonJSMin((exports, module2) => {
|
|
71428
71381
|
let parsed = parse(path);
|
71429
71382
|
while (isAbsolute(path) || parsed.root) {
|
71430
71383
|
const root = path.charAt(0) === "/" && path.slice(0, 4) !== "//?/" ? "/" : parsed.root;
|
71431
|
-
path = path.
|
71384
|
+
path = path.substr(root.length);
|
71432
71385
|
r += root;
|
71433
71386
|
parsed = parse(path);
|
71434
71387
|
}
|
@@ -71439,19 +71392,15 @@ var require_mode_fix = __commonJSMin((exports, module2) => {
|
|
71439
71392
|
"use strict";
|
71440
71393
|
module2.exports = (mode, isDir, portable) => {
|
71441
71394
|
mode &= 4095;
|
71442
|
-
if (portable)
|
71395
|
+
if (portable)
|
71443
71396
|
mode = (mode | 384) & ~18;
|
71444
|
-
}
|
71445
71397
|
if (isDir) {
|
71446
|
-
if (mode & 256)
|
71398
|
+
if (mode & 256)
|
71447
71399
|
mode |= 64;
|
71448
|
-
|
71449
|
-
if (mode & 32) {
|
71400
|
+
if (mode & 32)
|
71450
71401
|
mode |= 8;
|
71451
|
-
|
71452
|
-
if (mode & 4) {
|
71402
|
+
if (mode & 4)
|
71453
71403
|
mode |= 1;
|
71454
|
-
}
|
71455
71404
|
}
|
71456
71405
|
return mode;
|
71457
71406
|
};
|
@@ -71466,9 +71415,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71466
71415
|
var normPath = require_normalize_windows_path();
|
71467
71416
|
var stripSlash = require_strip_trailing_slashes();
|
71468
71417
|
var prefixPath = (path2, prefix) => {
|
71469
|
-
if (!prefix)
|
71418
|
+
if (!prefix)
|
71470
71419
|
return normPath(path2);
|
71471
|
-
}
|
71472
71420
|
path2 = normPath(path2).replace(/^\.(\/|$)/, "");
|
71473
71421
|
return stripSlash(prefix) + "/" + path2;
|
71474
71422
|
};
|
@@ -71500,9 +71448,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71500
71448
|
constructor(p, opt) {
|
71501
71449
|
opt = opt || {};
|
71502
71450
|
super(opt);
|
71503
|
-
if (typeof p !== "string")
|
71451
|
+
if (typeof p !== "string")
|
71504
71452
|
throw new TypeError("path is required");
|
71505
|
-
}
|
71506
71453
|
this.path = normPath(p);
|
71507
71454
|
this.portable = !!opt.portable;
|
71508
71455
|
this.myuid = process.getuid && process.getuid() || 0;
|
@@ -71525,9 +71472,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71525
71472
|
this.length = null;
|
71526
71473
|
this.pos = null;
|
71527
71474
|
this.remain = null;
|
71528
|
-
if (typeof opt.onwarn === "function")
|
71475
|
+
if (typeof opt.onwarn === "function")
|
71529
71476
|
this.on("warn", opt.onwarn);
|
71530
|
-
}
|
71531
71477
|
let pathWarn = false;
|
71532
71478
|
if (!this.preservePaths) {
|
71533
71479
|
const [root, stripped] = stripAbsolutePath(this.path);
|
@@ -71542,41 +71488,36 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71542
71488
|
p = p.replace(/\\/g, "/");
|
71543
71489
|
}
|
71544
71490
|
this.absolute = normPath(opt.absolute || path.resolve(this.cwd, p));
|
71545
|
-
if (this.path === "")
|
71491
|
+
if (this.path === "")
|
71546
71492
|
this.path = "./";
|
71547
|
-
}
|
71548
71493
|
if (pathWarn) {
|
71549
71494
|
this.warn("TAR_ENTRY_INFO", `stripping ${pathWarn} from absolute path`, {
|
71550
71495
|
entry: this,
|
71551
71496
|
path: pathWarn + this.path
|
71552
71497
|
});
|
71553
71498
|
}
|
71554
|
-
if (this.statCache.has(this.absolute))
|
71499
|
+
if (this.statCache.has(this.absolute))
|
71555
71500
|
this[ONLSTAT](this.statCache.get(this.absolute));
|
71556
|
-
|
71501
|
+
else
|
71557
71502
|
this[LSTAT]();
|
71558
|
-
}
|
71559
71503
|
}
|
71560
71504
|
emit(ev, ...data) {
|
71561
|
-
if (ev === "error")
|
71505
|
+
if (ev === "error")
|
71562
71506
|
this[HAD_ERROR] = true;
|
71563
|
-
}
|
71564
71507
|
return super.emit(ev, ...data);
|
71565
71508
|
}
|
71566
71509
|
[LSTAT]() {
|
71567
71510
|
fs.lstat(this.absolute, (er, stat) => {
|
71568
|
-
if (er)
|
71511
|
+
if (er)
|
71569
71512
|
return this.emit("error", er);
|
71570
|
-
}
|
71571
71513
|
this[ONLSTAT](stat);
|
71572
71514
|
});
|
71573
71515
|
}
|
71574
71516
|
[ONLSTAT](stat) {
|
71575
71517
|
this.statCache.set(this.absolute, stat);
|
71576
71518
|
this.stat = stat;
|
71577
|
-
if (!stat.isFile())
|
71519
|
+
if (!stat.isFile())
|
71578
71520
|
stat.size = 0;
|
71579
|
-
}
|
71580
71521
|
this.type = getType(stat);
|
71581
71522
|
this.emit("stat", stat);
|
71582
71523
|
this[PROCESS]();
|
@@ -71600,9 +71541,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71600
71541
|
return prefixPath(path2, this.prefix);
|
71601
71542
|
}
|
71602
71543
|
[HEADER]() {
|
71603
|
-
if (this.type === "Directory" && this.portable)
|
71544
|
+
if (this.type === "Directory" && this.portable)
|
71604
71545
|
this.noMtime = true;
|
71605
|
-
}
|
71606
71546
|
this.header = new Header({
|
71607
71547
|
path: this[PREFIX](this.path),
|
71608
71548
|
linkpath: this.type === "Link" ? this[PREFIX](this.linkpath) : this.linkpath,
|
@@ -71635,18 +71575,16 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71635
71575
|
super.write(this.header.block);
|
71636
71576
|
}
|
71637
71577
|
[DIRECTORY]() {
|
71638
|
-
if (this.path.
|
71578
|
+
if (this.path.substr(-1) !== "/")
|
71639
71579
|
this.path += "/";
|
71640
|
-
}
|
71641
71580
|
this.stat.size = 0;
|
71642
71581
|
this[HEADER]();
|
71643
71582
|
this.end();
|
71644
71583
|
}
|
71645
71584
|
[SYMLINK]() {
|
71646
71585
|
fs.readlink(this.absolute, (er, linkpath) => {
|
71647
|
-
if (er)
|
71586
|
+
if (er)
|
71648
71587
|
return this.emit("error", er);
|
71649
|
-
}
|
71650
71588
|
this[ONREADLINK](linkpath);
|
71651
71589
|
});
|
71652
71590
|
}
|
@@ -71667,31 +71605,27 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71667
71605
|
const linkKey = this.stat.dev + ":" + this.stat.ino;
|
71668
71606
|
if (this.linkCache.has(linkKey)) {
|
71669
71607
|
const linkpath = this.linkCache.get(linkKey);
|
71670
|
-
if (linkpath.indexOf(this.cwd) === 0)
|
71608
|
+
if (linkpath.indexOf(this.cwd) === 0)
|
71671
71609
|
return this[HARDLINK](linkpath);
|
71672
|
-
}
|
71673
71610
|
}
|
71674
71611
|
this.linkCache.set(linkKey, this.absolute);
|
71675
71612
|
}
|
71676
71613
|
this[HEADER]();
|
71677
|
-
if (this.stat.size === 0)
|
71614
|
+
if (this.stat.size === 0)
|
71678
71615
|
return this.end();
|
71679
|
-
}
|
71680
71616
|
this[OPENFILE]();
|
71681
71617
|
}
|
71682
71618
|
[OPENFILE]() {
|
71683
71619
|
fs.open(this.absolute, "r", (er, fd) => {
|
71684
|
-
if (er)
|
71620
|
+
if (er)
|
71685
71621
|
return this.emit("error", er);
|
71686
|
-
}
|
71687
71622
|
this[ONOPENFILE](fd);
|
71688
71623
|
});
|
71689
71624
|
}
|
71690
71625
|
[ONOPENFILE](fd) {
|
71691
71626
|
this.fd = fd;
|
71692
|
-
if (this[HAD_ERROR])
|
71627
|
+
if (this[HAD_ERROR])
|
71693
71628
|
return this[CLOSE]();
|
71694
|
-
}
|
71695
71629
|
this.blockLen = 512 * Math.ceil(this.stat.size / 512);
|
71696
71630
|
this.blockRemain = this.blockLen;
|
71697
71631
|
const bufLen = Math.min(this.blockLen, this.maxReadSize);
|
@@ -71738,11 +71672,10 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71738
71672
|
}
|
71739
71673
|
const writeBuf = this.offset === 0 && bytesRead === this.buf.length ? this.buf : this.buf.slice(this.offset, this.offset + bytesRead);
|
71740
71674
|
const flushed = this.write(writeBuf);
|
71741
|
-
if (!flushed)
|
71675
|
+
if (!flushed)
|
71742
71676
|
this[AWAITDRAIN](() => this[ONDRAIN]());
|
71743
|
-
|
71677
|
+
else
|
71744
71678
|
this[ONDRAIN]();
|
71745
|
-
}
|
71746
71679
|
}
|
71747
71680
|
[AWAITDRAIN](cb) {
|
71748
71681
|
this.once("drain", cb);
|
@@ -71761,9 +71694,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71761
71694
|
}
|
71762
71695
|
[ONDRAIN]() {
|
71763
71696
|
if (!this.remain) {
|
71764
|
-
if (this.blockRemain)
|
71697
|
+
if (this.blockRemain)
|
71765
71698
|
super.write(Buffer.alloc(this.blockRemain));
|
71766
|
-
}
|
71767
71699
|
return this[CLOSE]((er) => er ? this.emit("error", er) : this.end());
|
71768
71700
|
}
|
71769
71701
|
if (this.offset >= this.length) {
|
@@ -71820,9 +71752,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71820
71752
|
this.noMtime = !!opt.noMtime;
|
71821
71753
|
this.readEntry = readEntry;
|
71822
71754
|
this.type = readEntry.type;
|
71823
|
-
if (this.type === "Directory" && this.portable)
|
71755
|
+
if (this.type === "Directory" && this.portable)
|
71824
71756
|
this.noMtime = true;
|
71825
|
-
}
|
71826
71757
|
this.prefix = opt.prefix || null;
|
71827
71758
|
this.path = normPath(readEntry.path);
|
71828
71759
|
this.mode = this[MODE](readEntry.mode);
|
@@ -71835,9 +71766,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71835
71766
|
this.atime = this.portable ? null : readEntry.atime;
|
71836
71767
|
this.ctime = this.portable ? null : readEntry.ctime;
|
71837
71768
|
this.linkpath = normPath(readEntry.linkpath);
|
71838
|
-
if (typeof opt.onwarn === "function")
|
71769
|
+
if (typeof opt.onwarn === "function")
|
71839
71770
|
this.on("warn", opt.onwarn);
|
71840
|
-
}
|
71841
71771
|
let pathWarn = false;
|
71842
71772
|
if (!this.preservePaths) {
|
71843
71773
|
const [root, stripped] = stripAbsolutePath(this.path);
|
@@ -71894,16 +71824,14 @@ var require_write_entry = __commonJSMin((exports, module2) => {
|
|
71894
71824
|
}
|
71895
71825
|
write(data) {
|
71896
71826
|
const writeLen = data.length;
|
71897
|
-
if (writeLen > this.blockRemain)
|
71827
|
+
if (writeLen > this.blockRemain)
|
71898
71828
|
throw new Error("writing more to entry than is appropriate");
|
71899
|
-
}
|
71900
71829
|
this.blockRemain -= writeLen;
|
71901
71830
|
return super.write(data);
|
71902
71831
|
}
|
71903
71832
|
end() {
|
71904
|
-
if (this.blockRemain)
|
71833
|
+
if (this.blockRemain)
|
71905
71834
|
super.write(Buffer.alloc(this.blockRemain));
|
71906
|
-
}
|
71907
71835
|
return super.end();
|
71908
71836
|
}
|
71909
71837
|
});
|
@@ -72349,26 +72277,22 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72349
72277
|
this.statCache = opt.statCache || /* @__PURE__ */ new Map();
|
72350
72278
|
this.readdirCache = opt.readdirCache || /* @__PURE__ */ new Map();
|
72351
72279
|
this[WRITEENTRYCLASS] = WriteEntry;
|
72352
|
-
if (typeof opt.onwarn === "function")
|
72280
|
+
if (typeof opt.onwarn === "function")
|
72353
72281
|
this.on("warn", opt.onwarn);
|
72354
|
-
}
|
72355
72282
|
this.portable = !!opt.portable;
|
72356
72283
|
this.zip = null;
|
72357
72284
|
if (opt.gzip) {
|
72358
|
-
if (typeof opt.gzip !== "object")
|
72285
|
+
if (typeof opt.gzip !== "object")
|
72359
72286
|
opt.gzip = {};
|
72360
|
-
|
72361
|
-
if (this.portable) {
|
72287
|
+
if (this.portable)
|
72362
72288
|
opt.gzip.portable = true;
|
72363
|
-
}
|
72364
72289
|
this.zip = new zlib.Gzip(opt.gzip);
|
72365
72290
|
this.zip.on("data", (chunk) => super.write(chunk));
|
72366
72291
|
this.zip.on("end", (_) => super.end());
|
72367
72292
|
this.zip.on("drain", (_) => this[ONDRAIN]());
|
72368
72293
|
this.on("resume", (_) => this.zip.resume());
|
72369
|
-
} else
|
72294
|
+
} else
|
72370
72295
|
this.on("drain", this[ONDRAIN]);
|
72371
|
-
}
|
72372
72296
|
this.noDirRecurse = !!opt.noDirRecurse;
|
72373
72297
|
this.follow = !!opt.follow;
|
72374
72298
|
this.noMtime = !!opt.noMtime;
|
@@ -72388,29 +72312,26 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72388
72312
|
return this;
|
72389
72313
|
}
|
72390
72314
|
end(path2) {
|
72391
|
-
if (path2)
|
72315
|
+
if (path2)
|
72392
72316
|
this.write(path2);
|
72393
|
-
}
|
72394
72317
|
this[ENDED] = true;
|
72395
72318
|
this[PROCESS]();
|
72396
72319
|
return this;
|
72397
72320
|
}
|
72398
72321
|
write(path2) {
|
72399
|
-
if (this[ENDED])
|
72322
|
+
if (this[ENDED])
|
72400
72323
|
throw new Error("write after end");
|
72401
|
-
|
72402
|
-
if (path2 instanceof ReadEntry) {
|
72324
|
+
if (path2 instanceof ReadEntry)
|
72403
72325
|
this[ADDTARENTRY](path2);
|
72404
|
-
|
72326
|
+
else
|
72405
72327
|
this[ADDFSENTRY](path2);
|
72406
|
-
}
|
72407
72328
|
return this.flowing;
|
72408
72329
|
}
|
72409
72330
|
[ADDTARENTRY](p) {
|
72410
72331
|
const absolute = normPath(path.resolve(this.cwd, p.path));
|
72411
|
-
if (!this.filter(p.path, p))
|
72332
|
+
if (!this.filter(p.path, p))
|
72412
72333
|
p.resume();
|
72413
|
-
|
72334
|
+
else {
|
72414
72335
|
const job = new PackJob(p.path, absolute, false);
|
72415
72336
|
job.entry = new WriteEntryTar(p, this[ENTRYOPT](job));
|
72416
72337
|
job.entry.on("end", (_) => this[JOBDONE](job));
|
@@ -72431,19 +72352,17 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72431
72352
|
fs[stat](job.absolute, (er, stat2) => {
|
72432
72353
|
job.pending = false;
|
72433
72354
|
this[JOBS] -= 1;
|
72434
|
-
if (er)
|
72355
|
+
if (er)
|
72435
72356
|
this.emit("error", er);
|
72436
|
-
|
72357
|
+
else
|
72437
72358
|
this[ONSTAT](job, stat2);
|
72438
|
-
}
|
72439
72359
|
});
|
72440
72360
|
}
|
72441
72361
|
[ONSTAT](job, stat) {
|
72442
72362
|
this.statCache.set(job.absolute, stat);
|
72443
72363
|
job.stat = stat;
|
72444
|
-
if (!this.filter(job.path, stat))
|
72364
|
+
if (!this.filter(job.path, stat))
|
72445
72365
|
job.ignore = true;
|
72446
|
-
}
|
72447
72366
|
this[PROCESS]();
|
72448
72367
|
}
|
72449
72368
|
[READDIR](job) {
|
@@ -72452,9 +72371,8 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72452
72371
|
fs.readdir(job.absolute, (er, entries) => {
|
72453
72372
|
job.pending = false;
|
72454
72373
|
this[JOBS] -= 1;
|
72455
|
-
if (er)
|
72374
|
+
if (er)
|
72456
72375
|
return this.emit("error", er);
|
72457
|
-
}
|
72458
72376
|
this[ONREADDIR](job, entries);
|
72459
72377
|
});
|
72460
72378
|
}
|
@@ -72464,9 +72382,8 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72464
72382
|
this[PROCESS]();
|
72465
72383
|
}
|
72466
72384
|
[PROCESS]() {
|
72467
|
-
if (this[PROCESSING])
|
72385
|
+
if (this[PROCESSING])
|
72468
72386
|
return;
|
72469
|
-
}
|
72470
72387
|
this[PROCESSING] = true;
|
72471
72388
|
for (let w = this[QUEUE].head; w !== null && this[JOBS] < this.jobs; w = w.next) {
|
72472
72389
|
this[PROCESSJOB](w.value);
|
@@ -72478,9 +72395,9 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72478
72395
|
}
|
72479
72396
|
this[PROCESSING] = false;
|
72480
72397
|
if (this[ENDED] && !this[QUEUE].length && this[JOBS] === 0) {
|
72481
|
-
if (this.zip)
|
72398
|
+
if (this.zip)
|
72482
72399
|
this.zip.end(EOF);
|
72483
|
-
|
72400
|
+
else {
|
72484
72401
|
super.write(EOF);
|
72485
72402
|
super.end();
|
72486
72403
|
}
|
@@ -72495,46 +72412,38 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72495
72412
|
this[PROCESS]();
|
72496
72413
|
}
|
72497
72414
|
[PROCESSJOB](job) {
|
72498
|
-
if (job.pending)
|
72415
|
+
if (job.pending)
|
72499
72416
|
return;
|
72500
|
-
}
|
72501
72417
|
if (job.entry) {
|
72502
|
-
if (job === this[CURRENT] && !job.piped)
|
72418
|
+
if (job === this[CURRENT] && !job.piped)
|
72503
72419
|
this[PIPE](job);
|
72504
|
-
}
|
72505
72420
|
return;
|
72506
72421
|
}
|
72507
72422
|
if (!job.stat) {
|
72508
|
-
if (this.statCache.has(job.absolute))
|
72423
|
+
if (this.statCache.has(job.absolute))
|
72509
72424
|
this[ONSTAT](job, this.statCache.get(job.absolute));
|
72510
|
-
|
72425
|
+
else
|
72511
72426
|
this[STAT](job);
|
72512
|
-
}
|
72513
72427
|
}
|
72514
|
-
if (!job.stat)
|
72428
|
+
if (!job.stat)
|
72515
72429
|
return;
|
72516
|
-
|
72517
|
-
if (job.ignore) {
|
72430
|
+
if (job.ignore)
|
72518
72431
|
return;
|
72519
|
-
}
|
72520
72432
|
if (!this.noDirRecurse && job.stat.isDirectory() && !job.readdir) {
|
72521
|
-
if (this.readdirCache.has(job.absolute))
|
72433
|
+
if (this.readdirCache.has(job.absolute))
|
72522
72434
|
this[ONREADDIR](job, this.readdirCache.get(job.absolute));
|
72523
|
-
|
72435
|
+
else
|
72524
72436
|
this[READDIR](job);
|
72525
|
-
|
72526
|
-
if (!job.readdir) {
|
72437
|
+
if (!job.readdir)
|
72527
72438
|
return;
|
72528
|
-
}
|
72529
72439
|
}
|
72530
72440
|
job.entry = this[ENTRY](job);
|
72531
72441
|
if (!job.entry) {
|
72532
72442
|
job.ignore = true;
|
72533
72443
|
return;
|
72534
72444
|
}
|
72535
|
-
if (job === this[CURRENT] && !job.piped)
|
72445
|
+
if (job === this[CURRENT] && !job.piped)
|
72536
72446
|
this[PIPE](job);
|
72537
|
-
}
|
72538
72447
|
}
|
72539
72448
|
[ENTRYOPT](job) {
|
72540
72449
|
return {
|
@@ -72562,9 +72471,8 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72562
72471
|
}
|
72563
72472
|
}
|
72564
72473
|
[ONDRAIN]() {
|
72565
|
-
if (this[CURRENT] && this[CURRENT].entry)
|
72474
|
+
if (this[CURRENT] && this[CURRENT].entry)
|
72566
72475
|
this[CURRENT].entry.resume();
|
72567
|
-
}
|
72568
72476
|
}
|
72569
72477
|
[PIPE](job) {
|
72570
72478
|
job.piped = true;
|
@@ -72579,22 +72487,19 @@ var require_pack = __commonJSMin((exports, module2) => {
|
|
72579
72487
|
const zip = this.zip;
|
72580
72488
|
if (zip) {
|
72581
72489
|
source.on("data", (chunk) => {
|
72582
|
-
if (!zip.write(chunk))
|
72490
|
+
if (!zip.write(chunk))
|
72583
72491
|
source.pause();
|
72584
|
-
}
|
72585
72492
|
});
|
72586
72493
|
} else {
|
72587
72494
|
source.on("data", (chunk) => {
|
72588
|
-
if (!super.write(chunk))
|
72495
|
+
if (!super.write(chunk))
|
72589
72496
|
source.pause();
|
72590
|
-
}
|
72591
72497
|
});
|
72592
72498
|
}
|
72593
72499
|
}
|
72594
72500
|
pause() {
|
72595
|
-
if (this.zip)
|
72501
|
+
if (this.zip)
|
72596
72502
|
this.zip.pause();
|
72597
|
-
}
|
72598
72503
|
return super.pause();
|
72599
72504
|
}
|
72600
72505
|
});
|
@@ -73006,7 +72911,6 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73006
72911
|
var Entry = require_read_entry();
|
73007
72912
|
var Pax = require_pax();
|
73008
72913
|
var zlib = require_minizlib();
|
73009
|
-
var { nextTick } = __require("process");
|
73010
72914
|
var gzipHeader = Buffer.from([31, 139]);
|
73011
72915
|
var STATE = Symbol("state");
|
73012
72916
|
var WRITEENTRY = Symbol("writeEntry");
|
@@ -73037,7 +72941,6 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73037
72941
|
var SAW_VALID_ENTRY = Symbol("sawValidEntry");
|
73038
72942
|
var SAW_NULL_BLOCK = Symbol("sawNullBlock");
|
73039
72943
|
var SAW_EOF = Symbol("sawEOF");
|
73040
|
-
var CLOSESTREAM = Symbol("closeStream");
|
73041
72944
|
var noop = (_) => true;
|
73042
72945
|
module2.exports = warner(class Parser extends EE {
|
73043
72946
|
constructor(opt) {
|
@@ -73050,13 +72953,14 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73050
72953
|
this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
73051
72954
|
}
|
73052
72955
|
});
|
73053
|
-
if (opt.ondone)
|
72956
|
+
if (opt.ondone)
|
73054
72957
|
this.on(DONE, opt.ondone);
|
73055
|
-
|
72958
|
+
else {
|
73056
72959
|
this.on(DONE, (_) => {
|
73057
72960
|
this.emit("prefinish");
|
73058
72961
|
this.emit("finish");
|
73059
72962
|
this.emit("end");
|
72963
|
+
this.emit("close");
|
73060
72964
|
});
|
73061
72965
|
}
|
73062
72966
|
this.strict = !!opt.strict;
|
@@ -73077,18 +72981,14 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73077
72981
|
this[ABORTED] = false;
|
73078
72982
|
this[SAW_NULL_BLOCK] = false;
|
73079
72983
|
this[SAW_EOF] = false;
|
73080
|
-
|
73081
|
-
if (typeof opt.onwarn === "function") {
|
72984
|
+
if (typeof opt.onwarn === "function")
|
73082
72985
|
this.on("warn", opt.onwarn);
|
73083
|
-
|
73084
|
-
if (typeof opt.onentry === "function") {
|
72986
|
+
if (typeof opt.onentry === "function")
|
73085
72987
|
this.on("entry", opt.onentry);
|
73086
|
-
}
|
73087
72988
|
}
|
73088
72989
|
[CONSUMEHEADER](chunk, position) {
|
73089
|
-
if (this[SAW_VALID_ENTRY] === null)
|
72990
|
+
if (this[SAW_VALID_ENTRY] === null)
|
73090
72991
|
this[SAW_VALID_ENTRY] = false;
|
73091
|
-
}
|
73092
72992
|
let header;
|
73093
72993
|
try {
|
73094
72994
|
header = new Header(chunk, position, this[EX], this[GEX]);
|
@@ -73098,9 +72998,8 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73098
72998
|
if (header.nullBlock) {
|
73099
72999
|
if (this[SAW_NULL_BLOCK]) {
|
73100
73000
|
this[SAW_EOF] = true;
|
73101
|
-
if (this[STATE] === "begin")
|
73001
|
+
if (this[STATE] === "begin")
|
73102
73002
|
this[STATE] = "header";
|
73103
|
-
}
|
73104
73003
|
this[EMIT]("eof");
|
73105
73004
|
} else {
|
73106
73005
|
this[SAW_NULL_BLOCK] = true;
|
@@ -73108,29 +73007,27 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73108
73007
|
}
|
73109
73008
|
} else {
|
73110
73009
|
this[SAW_NULL_BLOCK] = false;
|
73111
|
-
if (!header.cksumValid)
|
73010
|
+
if (!header.cksumValid)
|
73112
73011
|
this.warn("TAR_ENTRY_INVALID", "checksum failure", { header });
|
73113
|
-
|
73012
|
+
else if (!header.path)
|
73114
73013
|
this.warn("TAR_ENTRY_INVALID", "path is required", { header });
|
73115
|
-
|
73014
|
+
else {
|
73116
73015
|
const type = header.type;
|
73117
|
-
if (/^(Symbolic)?Link$/.test(type) && !header.linkpath)
|
73016
|
+
if (/^(Symbolic)?Link$/.test(type) && !header.linkpath)
|
73118
73017
|
this.warn("TAR_ENTRY_INVALID", "linkpath required", { header });
|
73119
|
-
|
73018
|
+
else if (!/^(Symbolic)?Link$/.test(type) && header.linkpath)
|
73120
73019
|
this.warn("TAR_ENTRY_INVALID", "linkpath forbidden", { header });
|
73121
|
-
|
73020
|
+
else {
|
73122
73021
|
const entry = this[WRITEENTRY] = new Entry(header, this[EX], this[GEX]);
|
73123
73022
|
if (!this[SAW_VALID_ENTRY]) {
|
73124
73023
|
if (entry.remain) {
|
73125
73024
|
const onend = () => {
|
73126
|
-
if (!entry.invalid)
|
73025
|
+
if (!entry.invalid)
|
73127
73026
|
this[SAW_VALID_ENTRY] = true;
|
73128
|
-
}
|
73129
73027
|
};
|
73130
73028
|
entry.on("end", onend);
|
73131
|
-
} else
|
73029
|
+
} else
|
73132
73030
|
this[SAW_VALID_ENTRY] = true;
|
73133
|
-
}
|
73134
73031
|
}
|
73135
73032
|
if (entry.meta) {
|
73136
73033
|
if (entry.size > this.maxMetaEntrySize) {
|
@@ -73151,35 +73048,31 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73151
73048
|
this[STATE] = entry.remain ? "ignore" : "header";
|
73152
73049
|
entry.resume();
|
73153
73050
|
} else {
|
73154
|
-
if (entry.remain)
|
73051
|
+
if (entry.remain)
|
73155
73052
|
this[STATE] = "body";
|
73156
|
-
|
73053
|
+
else {
|
73157
73054
|
this[STATE] = "header";
|
73158
73055
|
entry.end();
|
73159
73056
|
}
|
73160
73057
|
if (!this[READENTRY]) {
|
73161
73058
|
this[QUEUE].push(entry);
|
73162
73059
|
this[NEXTENTRY]();
|
73163
|
-
} else
|
73060
|
+
} else
|
73164
73061
|
this[QUEUE].push(entry);
|
73165
|
-
}
|
73166
73062
|
}
|
73167
73063
|
}
|
73168
73064
|
}
|
73169
73065
|
}
|
73170
73066
|
}
|
73171
73067
|
}
|
73172
|
-
[CLOSESTREAM]() {
|
73173
|
-
nextTick(() => this.emit("close"));
|
73174
|
-
}
|
73175
73068
|
[PROCESSENTRY](entry) {
|
73176
73069
|
let go = true;
|
73177
73070
|
if (!entry) {
|
73178
73071
|
this[READENTRY] = null;
|
73179
73072
|
go = false;
|
73180
|
-
} else if (Array.isArray(entry))
|
73073
|
+
} else if (Array.isArray(entry))
|
73181
73074
|
this.emit.apply(this, entry);
|
73182
|
-
|
73075
|
+
else {
|
73183
73076
|
this[READENTRY] = entry;
|
73184
73077
|
this.emit("entry", entry);
|
73185
73078
|
if (!entry.emittedEnd) {
|
@@ -73196,12 +73089,10 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73196
73089
|
const re = this[READENTRY];
|
73197
73090
|
const drainNow = !re || re.flowing || re.size === re.remain;
|
73198
73091
|
if (drainNow) {
|
73199
|
-
if (!this[WRITING])
|
73092
|
+
if (!this[WRITING])
|
73200
73093
|
this.emit("drain");
|
73201
|
-
|
73202
|
-
} else {
|
73094
|
+
} else
|
73203
73095
|
re.once("drain", (_) => this.emit("drain"));
|
73204
|
-
}
|
73205
73096
|
}
|
73206
73097
|
}
|
73207
73098
|
[CONSUMEBODY](chunk, position) {
|
@@ -73219,17 +73110,15 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73219
73110
|
[CONSUMEMETA](chunk, position) {
|
73220
73111
|
const entry = this[WRITEENTRY];
|
73221
73112
|
const ret = this[CONSUMEBODY](chunk, position);
|
73222
|
-
if (!this[WRITEENTRY])
|
73113
|
+
if (!this[WRITEENTRY])
|
73223
73114
|
this[EMITMETA](entry);
|
73224
|
-
}
|
73225
73115
|
return ret;
|
73226
73116
|
}
|
73227
73117
|
[EMIT](ev, data, extra) {
|
73228
|
-
if (!this[QUEUE].length && !this[READENTRY])
|
73118
|
+
if (!this[QUEUE].length && !this[READENTRY])
|
73229
73119
|
this.emit(ev, data, extra);
|
73230
|
-
|
73120
|
+
else
|
73231
73121
|
this[QUEUE].push([ev, data, extra]);
|
73232
|
-
}
|
73233
73122
|
}
|
73234
73123
|
[EMITMETA](entry) {
|
73235
73124
|
this[EMIT]("meta", this[META]);
|
@@ -73260,9 +73149,8 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73260
73149
|
this.warn("TAR_ABORT", error, { recoverable: false });
|
73261
73150
|
}
|
73262
73151
|
write(chunk) {
|
73263
|
-
if (this[ABORTED])
|
73152
|
+
if (this[ABORTED])
|
73264
73153
|
return;
|
73265
|
-
}
|
73266
73154
|
if (this[UNZIP] === null && chunk) {
|
73267
73155
|
if (this[BUFFER]) {
|
73268
73156
|
chunk = Buffer.concat([this[BUFFER], chunk]);
|
@@ -73273,9 +73161,8 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73273
73161
|
return true;
|
73274
73162
|
}
|
73275
73163
|
for (let i = 0; this[UNZIP] === null && i < gzipHeader.length; i++) {
|
73276
|
-
if (chunk[i] !== gzipHeader[i])
|
73164
|
+
if (chunk[i] !== gzipHeader[i])
|
73277
73165
|
this[UNZIP] = false;
|
73278
|
-
}
|
73279
73166
|
}
|
73280
73167
|
if (this[UNZIP] === null) {
|
73281
73168
|
const ended = this[ENDED];
|
@@ -73294,22 +73181,19 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73294
73181
|
}
|
73295
73182
|
}
|
73296
73183
|
this[WRITING] = true;
|
73297
|
-
if (this[UNZIP])
|
73184
|
+
if (this[UNZIP])
|
73298
73185
|
this[UNZIP].write(chunk);
|
73299
|
-
|
73186
|
+
else
|
73300
73187
|
this[CONSUMECHUNK](chunk);
|
73301
|
-
}
|
73302
73188
|
this[WRITING] = false;
|
73303
73189
|
const ret = this[QUEUE].length ? false : this[READENTRY] ? this[READENTRY].flowing : true;
|
73304
|
-
if (!ret && !this[QUEUE].length)
|
73190
|
+
if (!ret && !this[QUEUE].length)
|
73305
73191
|
this[READENTRY].once("drain", (_) => this.emit("drain"));
|
73306
|
-
}
|
73307
73192
|
return ret;
|
73308
73193
|
}
|
73309
73194
|
[BUFFERCONCAT](c) {
|
73310
|
-
if (c && !this[ABORTED])
|
73195
|
+
if (c && !this[ABORTED])
|
73311
73196
|
this[BUFFER] = this[BUFFER] ? Buffer.concat([this[BUFFER], c]) : c;
|
73312
|
-
}
|
73313
73197
|
}
|
73314
73198
|
[MAYBEEND]() {
|
73315
73199
|
if (this[ENDED] && !this[EMITTEDEND] && !this[ABORTED] && !this[CONSUMING]) {
|
@@ -73318,29 +73202,27 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73318
73202
|
if (entry && entry.blockRemain) {
|
73319
73203
|
const have = this[BUFFER] ? this[BUFFER].length : 0;
|
73320
73204
|
this.warn("TAR_BAD_ARCHIVE", `Truncated input (needed ${entry.blockRemain} more bytes, only ${have} available)`, { entry });
|
73321
|
-
if (this[BUFFER])
|
73205
|
+
if (this[BUFFER])
|
73322
73206
|
entry.write(this[BUFFER]);
|
73323
|
-
}
|
73324
73207
|
entry.end();
|
73325
73208
|
}
|
73326
73209
|
this[EMIT](DONE);
|
73327
73210
|
}
|
73328
73211
|
}
|
73329
73212
|
[CONSUMECHUNK](chunk) {
|
73330
|
-
if (this[CONSUMING])
|
73213
|
+
if (this[CONSUMING])
|
73331
73214
|
this[BUFFERCONCAT](chunk);
|
73332
|
-
|
73215
|
+
else if (!chunk && !this[BUFFER])
|
73333
73216
|
this[MAYBEEND]();
|
73334
|
-
|
73217
|
+
else {
|
73335
73218
|
this[CONSUMING] = true;
|
73336
73219
|
if (this[BUFFER]) {
|
73337
73220
|
this[BUFFERCONCAT](chunk);
|
73338
73221
|
const c = this[BUFFER];
|
73339
73222
|
this[BUFFER] = null;
|
73340
73223
|
this[CONSUMECHUNKSUB](c);
|
73341
|
-
} else
|
73224
|
+
} else
|
73342
73225
|
this[CONSUMECHUNKSUB](chunk);
|
73343
|
-
}
|
73344
73226
|
while (this[BUFFER] && this[BUFFER].length >= 512 && !this[ABORTED] && !this[SAW_EOF]) {
|
73345
73227
|
const c = this[BUFFER];
|
73346
73228
|
this[BUFFER] = null;
|
@@ -73348,9 +73230,8 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73348
73230
|
}
|
73349
73231
|
this[CONSUMING] = false;
|
73350
73232
|
}
|
73351
|
-
if (!this[BUFFER] || this[ENDED])
|
73233
|
+
if (!this[BUFFER] || this[ENDED])
|
73352
73234
|
this[MAYBEEND]();
|
73353
|
-
}
|
73354
73235
|
}
|
73355
73236
|
[CONSUMECHUNKSUB](chunk) {
|
73356
73237
|
let position = 0;
|
@@ -73374,18 +73255,17 @@ var require_parse = __commonJSMin((exports, module2) => {
|
|
73374
73255
|
}
|
73375
73256
|
}
|
73376
73257
|
if (position < length) {
|
73377
|
-
if (this[BUFFER])
|
73258
|
+
if (this[BUFFER])
|
73378
73259
|
this[BUFFER] = Buffer.concat([chunk.slice(position), this[BUFFER]]);
|
73379
|
-
|
73260
|
+
else
|
73380
73261
|
this[BUFFER] = chunk.slice(position);
|
73381
|
-
}
|
73382
73262
|
}
|
73383
73263
|
}
|
73384
73264
|
end(chunk) {
|
73385
73265
|
if (!this[ABORTED]) {
|
73386
|
-
if (this[UNZIP])
|
73266
|
+
if (this[UNZIP])
|
73387
73267
|
this[UNZIP].end(chunk);
|
73388
|
-
|
73268
|
+
else {
|
73389
73269
|
this[ENDED] = true;
|
73390
73270
|
this.write(chunk);
|
73391
73271
|
}
|
@@ -73402,32 +73282,25 @@ var require_list = __commonJSMin((exports, module2) => {
|
|
73402
73282
|
var path = __require("path");
|
73403
73283
|
var stripSlash = require_strip_trailing_slashes();
|
73404
73284
|
module2.exports = (opt_, files, cb) => {
|
73405
|
-
if (typeof opt_ === "function")
|
73285
|
+
if (typeof opt_ === "function")
|
73406
73286
|
cb = opt_, files = null, opt_ = {};
|
73407
|
-
|
73287
|
+
else if (Array.isArray(opt_))
|
73408
73288
|
files = opt_, opt_ = {};
|
73409
|
-
|
73410
|
-
if (typeof files === "function") {
|
73289
|
+
if (typeof files === "function")
|
73411
73290
|
cb = files, files = null;
|
73412
|
-
|
73413
|
-
if (!files) {
|
73291
|
+
if (!files)
|
73414
73292
|
files = [];
|
73415
|
-
|
73293
|
+
else
|
73416
73294
|
files = Array.from(files);
|
73417
|
-
}
|
73418
73295
|
const opt = hlo(opt_);
|
73419
|
-
if (opt.sync && typeof cb === "function")
|
73296
|
+
if (opt.sync && typeof cb === "function")
|
73420
73297
|
throw new TypeError("callback not supported for sync tar functions");
|
73421
|
-
|
73422
|
-
if (!opt.file && typeof cb === "function") {
|
73298
|
+
if (!opt.file && typeof cb === "function")
|
73423
73299
|
throw new TypeError("callback only supported with file option");
|
73424
|
-
|
73425
|
-
if (files.length) {
|
73300
|
+
if (files.length)
|
73426
73301
|
filesFilter(opt, files);
|
73427
|
-
|
73428
|
-
if (!opt.noResume) {
|
73302
|
+
if (!opt.noResume)
|
73429
73303
|
onentryFunction(opt);
|
73430
|
-
}
|
73431
73304
|
return opt.file && opt.sync ? listFileSync(opt) : opt.file ? listFile(opt, cb) : list(opt);
|
73432
73305
|
};
|
73433
73306
|
var onentryFunction = (opt) => {
|
@@ -73456,9 +73329,9 @@ var require_list = __commonJSMin((exports, module2) => {
|
|
73456
73329
|
try {
|
73457
73330
|
const stat = fs.statSync(file);
|
73458
73331
|
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
|
73459
|
-
if (stat.size < readSize)
|
73332
|
+
if (stat.size < readSize)
|
73460
73333
|
p.end(fs.readFileSync(file));
|
73461
|
-
|
73334
|
+
else {
|
73462
73335
|
let pos = 0;
|
73463
73336
|
const buf = Buffer.allocUnsafe(readSize);
|
73464
73337
|
fd = fs.openSync(file, "r");
|
@@ -73487,9 +73360,9 @@ var require_list = __commonJSMin((exports, module2) => {
|
|
73487
73360
|
parse.on("error", reject);
|
73488
73361
|
parse.on("end", resolve);
|
73489
73362
|
fs.stat(file, (er, stat) => {
|
73490
|
-
if (er)
|
73363
|
+
if (er)
|
73491
73364
|
reject(er);
|
73492
|
-
|
73365
|
+
else {
|
73493
73366
|
const stream = new fsm.ReadStream(file, {
|
73494
73367
|
readSize,
|
73495
73368
|
size: stat.size
|
@@ -73511,23 +73384,18 @@ var require_create = __commonJSMin((exports, module2) => {
|
|
73511
73384
|
var t = require_list();
|
73512
73385
|
var path = __require("path");
|
73513
73386
|
module2.exports = (opt_, files, cb) => {
|
73514
|
-
if (typeof files === "function")
|
73387
|
+
if (typeof files === "function")
|
73515
73388
|
cb = files;
|
73516
|
-
|
73517
|
-
if (Array.isArray(opt_)) {
|
73389
|
+
if (Array.isArray(opt_))
|
73518
73390
|
files = opt_, opt_ = {};
|
73519
|
-
|
73520
|
-
if (!files || !Array.isArray(files) || !files.length) {
|
73391
|
+
if (!files || !Array.isArray(files) || !files.length)
|
73521
73392
|
throw new TypeError("no files or directories specified");
|
73522
|
-
}
|
73523
73393
|
files = Array.from(files);
|
73524
73394
|
const opt = hlo(opt_);
|
73525
|
-
if (opt.sync && typeof cb === "function")
|
73395
|
+
if (opt.sync && typeof cb === "function")
|
73526
73396
|
throw new TypeError("callback not supported for sync tar functions");
|
73527
|
-
|
73528
|
-
if (!opt.file && typeof cb === "function") {
|
73397
|
+
if (!opt.file && typeof cb === "function")
|
73529
73398
|
throw new TypeError("callback only supported with file option");
|
73530
|
-
}
|
73531
73399
|
return opt.file && opt.sync ? createFileSync(opt, files) : opt.file ? createFile(opt, files, cb) : opt.sync ? createSync(opt, files) : create(opt, files);
|
73532
73400
|
};
|
73533
73401
|
var createFileSync = (opt, files) => {
|
@@ -73556,14 +73424,13 @@ var require_create = __commonJSMin((exports, module2) => {
|
|
73556
73424
|
files.forEach((file) => {
|
73557
73425
|
if (file.charAt(0) === "@") {
|
73558
73426
|
t({
|
73559
|
-
file: path.resolve(p.cwd, file.
|
73427
|
+
file: path.resolve(p.cwd, file.substr(1)),
|
73560
73428
|
sync: true,
|
73561
73429
|
noResume: true,
|
73562
73430
|
onentry: (entry) => p.add(entry)
|
73563
73431
|
});
|
73564
|
-
} else
|
73432
|
+
} else
|
73565
73433
|
p.add(file);
|
73566
|
-
}
|
73567
73434
|
});
|
73568
73435
|
p.end();
|
73569
73436
|
};
|
@@ -73572,13 +73439,12 @@ var require_create = __commonJSMin((exports, module2) => {
|
|
73572
73439
|
const file = files.shift();
|
73573
73440
|
if (file.charAt(0) === "@") {
|
73574
73441
|
return t({
|
73575
|
-
file: path.resolve(p.cwd, file.
|
73442
|
+
file: path.resolve(p.cwd, file.substr(1)),
|
73576
73443
|
noResume: true,
|
73577
73444
|
onentry: (entry) => p.add(entry)
|
73578
73445
|
}).then((_) => addFilesAsync(p, files));
|
73579
|
-
} else
|
73446
|
+
} else
|
73580
73447
|
p.add(file);
|
73581
|
-
}
|
73582
73448
|
}
|
73583
73449
|
p.end();
|
73584
73450
|
};
|
@@ -73604,15 +73470,12 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73604
73470
|
var Header = require_header();
|
73605
73471
|
module2.exports = (opt_, files, cb) => {
|
73606
73472
|
const opt = hlo(opt_);
|
73607
|
-
if (!opt.file)
|
73473
|
+
if (!opt.file)
|
73608
73474
|
throw new TypeError("file is required");
|
73609
|
-
|
73610
|
-
if (opt.gzip) {
|
73475
|
+
if (opt.gzip)
|
73611
73476
|
throw new TypeError("cannot append to compressed archives");
|
73612
|
-
|
73613
|
-
if (!files || !Array.isArray(files) || !files.length) {
|
73477
|
+
if (!files || !Array.isArray(files) || !files.length)
|
73614
73478
|
throw new TypeError("no files or directories specified");
|
73615
|
-
}
|
73616
73479
|
files = Array.from(files);
|
73617
73480
|
return opt.sync ? replaceSync(opt, files) : replace(opt, files, cb);
|
73618
73481
|
};
|
@@ -73625,11 +73488,10 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73625
73488
|
try {
|
73626
73489
|
fd = fs.openSync(opt.file, "r+");
|
73627
73490
|
} catch (er) {
|
73628
|
-
if (er.code === "ENOENT")
|
73491
|
+
if (er.code === "ENOENT")
|
73629
73492
|
fd = fs.openSync(opt.file, "w+");
|
73630
|
-
|
73493
|
+
else
|
73631
73494
|
throw er;
|
73632
|
-
}
|
73633
73495
|
}
|
73634
73496
|
const st = fs.fstatSync(fd);
|
73635
73497
|
const headBuf = Buffer.alloc(512);
|
@@ -73637,25 +73499,20 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73637
73499
|
for (position = 0; position < st.size; position += 512) {
|
73638
73500
|
for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
|
73639
73501
|
bytes = fs.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
|
73640
|
-
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
|
73502
|
+
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
|
73641
73503
|
throw new Error("cannot append to compressed archives");
|
73642
|
-
|
73643
|
-
if (!bytes) {
|
73504
|
+
if (!bytes)
|
73644
73505
|
break POSITION;
|
73645
|
-
}
|
73646
73506
|
}
|
73647
73507
|
const h = new Header(headBuf);
|
73648
|
-
if (!h.cksumValid)
|
73508
|
+
if (!h.cksumValid)
|
73649
73509
|
break;
|
73650
|
-
}
|
73651
73510
|
const entryBlockSize = 512 * Math.ceil(h.size / 512);
|
73652
|
-
if (position + entryBlockSize + 512 > st.size)
|
73511
|
+
if (position + entryBlockSize + 512 > st.size)
|
73653
73512
|
break;
|
73654
|
-
}
|
73655
73513
|
position += entryBlockSize;
|
73656
|
-
if (opt.mtimeCache)
|
73514
|
+
if (opt.mtimeCache)
|
73657
73515
|
opt.mtimeCache.set(h.path, h.mtime);
|
73658
|
-
}
|
73659
73516
|
}
|
73660
73517
|
threw = false;
|
73661
73518
|
streamSync(opt, p, position, fd, files);
|
@@ -73681,47 +73538,38 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73681
73538
|
const p = new Pack(opt);
|
73682
73539
|
const getPos = (fd, size, cb_) => {
|
73683
73540
|
const cb2 = (er, pos) => {
|
73684
|
-
if (er)
|
73541
|
+
if (er)
|
73685
73542
|
fs.close(fd, (_) => cb_(er));
|
73686
|
-
|
73543
|
+
else
|
73687
73544
|
cb_(null, pos);
|
73688
|
-
}
|
73689
73545
|
};
|
73690
73546
|
let position = 0;
|
73691
|
-
if (size === 0)
|
73547
|
+
if (size === 0)
|
73692
73548
|
return cb2(null, 0);
|
73693
|
-
}
|
73694
73549
|
let bufPos = 0;
|
73695
73550
|
const headBuf = Buffer.alloc(512);
|
73696
73551
|
const onread = (er, bytes) => {
|
73697
|
-
if (er)
|
73552
|
+
if (er)
|
73698
73553
|
return cb2(er);
|
73699
|
-
}
|
73700
73554
|
bufPos += bytes;
|
73701
73555
|
if (bufPos < 512 && bytes) {
|
73702
73556
|
return fs.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
|
73703
73557
|
}
|
73704
|
-
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
|
73558
|
+
if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
|
73705
73559
|
return cb2(new Error("cannot append to compressed archives"));
|
73706
|
-
|
73707
|
-
if (bufPos < 512) {
|
73560
|
+
if (bufPos < 512)
|
73708
73561
|
return cb2(null, position);
|
73709
|
-
}
|
73710
73562
|
const h = new Header(headBuf);
|
73711
|
-
if (!h.cksumValid)
|
73563
|
+
if (!h.cksumValid)
|
73712
73564
|
return cb2(null, position);
|
73713
|
-
}
|
73714
73565
|
const entryBlockSize = 512 * Math.ceil(h.size / 512);
|
73715
|
-
if (position + entryBlockSize + 512 > size)
|
73566
|
+
if (position + entryBlockSize + 512 > size)
|
73716
73567
|
return cb2(null, position);
|
73717
|
-
}
|
73718
73568
|
position += entryBlockSize + 512;
|
73719
|
-
if (position >= size)
|
73569
|
+
if (position >= size)
|
73720
73570
|
return cb2(null, position);
|
73721
|
-
|
73722
|
-
if (opt.mtimeCache) {
|
73571
|
+
if (opt.mtimeCache)
|
73723
73572
|
opt.mtimeCache.set(h.path, h.mtime);
|
73724
|
-
}
|
73725
73573
|
bufPos = 0;
|
73726
73574
|
fs.read(fd, headBuf, 0, 512, position, onread);
|
73727
73575
|
};
|
@@ -73735,17 +73583,14 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73735
73583
|
flag = "w+";
|
73736
73584
|
return fs.open(opt.file, flag, onopen);
|
73737
73585
|
}
|
73738
|
-
if (er)
|
73586
|
+
if (er)
|
73739
73587
|
return reject(er);
|
73740
|
-
}
|
73741
73588
|
fs.fstat(fd, (er2, st) => {
|
73742
|
-
if (er2)
|
73589
|
+
if (er2)
|
73743
73590
|
return fs.close(fd, () => reject(er2));
|
73744
|
-
}
|
73745
73591
|
getPos(fd, st.size, (er3, position) => {
|
73746
|
-
if (er3)
|
73592
|
+
if (er3)
|
73747
73593
|
return reject(er3);
|
73748
|
-
}
|
73749
73594
|
const stream = new fsm.WriteStream(opt.file, {
|
73750
73595
|
fd,
|
73751
73596
|
start: position
|
@@ -73765,14 +73610,13 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73765
73610
|
files.forEach((file) => {
|
73766
73611
|
if (file.charAt(0) === "@") {
|
73767
73612
|
t({
|
73768
|
-
file: path.resolve(p.cwd, file.
|
73613
|
+
file: path.resolve(p.cwd, file.substr(1)),
|
73769
73614
|
sync: true,
|
73770
73615
|
noResume: true,
|
73771
73616
|
onentry: (entry) => p.add(entry)
|
73772
73617
|
});
|
73773
|
-
} else
|
73618
|
+
} else
|
73774
73619
|
p.add(file);
|
73775
|
-
}
|
73776
73620
|
});
|
73777
73621
|
p.end();
|
73778
73622
|
};
|
@@ -73781,13 +73625,12 @@ var require_replace = __commonJSMin((exports, module2) => {
|
|
73781
73625
|
const file = files.shift();
|
73782
73626
|
if (file.charAt(0) === "@") {
|
73783
73627
|
return t({
|
73784
|
-
file: path.resolve(p.cwd, file.
|
73628
|
+
file: path.resolve(p.cwd, file.substr(1)),
|
73785
73629
|
noResume: true,
|
73786
73630
|
onentry: (entry) => p.add(entry)
|
73787
73631
|
}).then((_) => addFilesAsync(p, files));
|
73788
|
-
} else
|
73632
|
+
} else
|
73789
73633
|
p.add(file);
|
73790
|
-
}
|
73791
73634
|
}
|
73792
73635
|
p.end();
|
73793
73636
|
};
|
@@ -73798,24 +73641,20 @@ var require_update = __commonJSMin((exports, module2) => {
|
|
73798
73641
|
var r = require_replace();
|
73799
73642
|
module2.exports = (opt_, files, cb) => {
|
73800
73643
|
const opt = hlo(opt_);
|
73801
|
-
if (!opt.file)
|
73644
|
+
if (!opt.file)
|
73802
73645
|
throw new TypeError("file is required");
|
73803
|
-
|
73804
|
-
if (opt.gzip) {
|
73646
|
+
if (opt.gzip)
|
73805
73647
|
throw new TypeError("cannot append to compressed archives");
|
73806
|
-
|
73807
|
-
if (!files || !Array.isArray(files) || !files.length) {
|
73648
|
+
if (!files || !Array.isArray(files) || !files.length)
|
73808
73649
|
throw new TypeError("no files or directories specified");
|
73809
|
-
}
|
73810
73650
|
files = Array.from(files);
|
73811
73651
|
mtimeFilter(opt);
|
73812
73652
|
return r(opt, files, cb);
|
73813
73653
|
};
|
73814
73654
|
var mtimeFilter = (opt) => {
|
73815
73655
|
const filter = opt.filter;
|
73816
|
-
if (!opt.mtimeCache)
|
73656
|
+
if (!opt.mtimeCache)
|
73817
73657
|
opt.mtimeCache = /* @__PURE__ */ new Map();
|
73818
|
-
}
|
73819
73658
|
opt.filter = filter ? (path, stat) => filter(path, stat) && !(opt.mtimeCache.get(path) > stat.mtime) : (path, stat) => !(opt.mtimeCache.get(path) > stat.mtime);
|
73820
73659
|
};
|
73821
73660
|
});
|
@@ -74167,9 +74006,8 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74167
74006
|
var cSet = (cache, key, val) => cache.set(normPath(key), val);
|
74168
74007
|
var checkCwd = (dir, cb) => {
|
74169
74008
|
fs.stat(dir, (er, st) => {
|
74170
|
-
if (er || !st.isDirectory())
|
74009
|
+
if (er || !st.isDirectory())
|
74171
74010
|
er = new CwdError(dir, er && er.code || "ENOTDIR");
|
74172
|
-
}
|
74173
74011
|
cb(er);
|
74174
74012
|
});
|
74175
74013
|
};
|
@@ -74186,41 +74024,35 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74186
74024
|
const cache = opt.cache;
|
74187
74025
|
const cwd = normPath(opt.cwd);
|
74188
74026
|
const done = (er, created) => {
|
74189
|
-
if (er)
|
74027
|
+
if (er)
|
74190
74028
|
cb(er);
|
74191
|
-
|
74029
|
+
else {
|
74192
74030
|
cSet(cache, dir, true);
|
74193
|
-
if (created && doChown)
|
74031
|
+
if (created && doChown)
|
74194
74032
|
chownr(created, uid, gid, (er2) => done(er2));
|
74195
|
-
|
74033
|
+
else if (needChmod)
|
74196
74034
|
fs.chmod(dir, mode, cb);
|
74197
|
-
|
74035
|
+
else
|
74198
74036
|
cb();
|
74199
|
-
}
|
74200
74037
|
}
|
74201
74038
|
};
|
74202
|
-
if (cache && cGet(cache, dir) === true)
|
74039
|
+
if (cache && cGet(cache, dir) === true)
|
74203
74040
|
return done();
|
74204
|
-
|
74205
|
-
if (dir === cwd) {
|
74041
|
+
if (dir === cwd)
|
74206
74042
|
return checkCwd(dir, done);
|
74207
|
-
|
74208
|
-
if (preserve) {
|
74043
|
+
if (preserve)
|
74209
74044
|
return mkdirp(dir, { mode }).then((made) => done(null, made), done);
|
74210
|
-
}
|
74211
74045
|
const sub = normPath(path.relative(cwd, dir));
|
74212
74046
|
const parts = sub.split("/");
|
74213
74047
|
mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
|
74214
74048
|
};
|
74215
74049
|
var mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => {
|
74216
|
-
if (!parts.length)
|
74050
|
+
if (!parts.length)
|
74217
74051
|
return cb(null, created);
|
74218
|
-
}
|
74219
74052
|
const p = parts.shift();
|
74220
74053
|
const part = normPath(path.resolve(base + "/" + p));
|
74221
|
-
if (cGet(cache, part))
|
74054
|
+
if (cGet(cache, part))
|
74222
74055
|
return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
|
74223
|
-
}
|
74224
74056
|
fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
|
74225
74057
|
};
|
74226
74058
|
var onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
|
@@ -74229,20 +74061,18 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74229
74061
|
if (statEr) {
|
74230
74062
|
statEr.path = statEr.path && normPath(statEr.path);
|
74231
74063
|
cb(statEr);
|
74232
|
-
} else if (st.isDirectory())
|
74064
|
+
} else if (st.isDirectory())
|
74233
74065
|
mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
|
74234
|
-
|
74066
|
+
else if (unlink) {
|
74235
74067
|
fs.unlink(part, (er2) => {
|
74236
|
-
if (er2)
|
74068
|
+
if (er2)
|
74237
74069
|
return cb(er2);
|
74238
|
-
}
|
74239
74070
|
fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
|
74240
74071
|
});
|
74241
|
-
} else if (st.isSymbolicLink())
|
74072
|
+
} else if (st.isSymbolicLink())
|
74242
74073
|
return cb(new SymlinkError(part, part + "/" + parts.join("/")));
|
74243
|
-
|
74074
|
+
else
|
74244
74075
|
cb(er);
|
74245
|
-
}
|
74246
74076
|
});
|
74247
74077
|
} else {
|
74248
74078
|
created = created || part;
|
@@ -74257,9 +74087,8 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74257
74087
|
} catch (er) {
|
74258
74088
|
code = er.code;
|
74259
74089
|
} finally {
|
74260
|
-
if (!ok)
|
74090
|
+
if (!ok)
|
74261
74091
|
throw new CwdError(dir, code);
|
74262
|
-
}
|
74263
74092
|
}
|
74264
74093
|
};
|
74265
74094
|
module2.exports.sync = (dir, opt) => {
|
@@ -74276,31 +74105,26 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74276
74105
|
const cwd = normPath(opt.cwd);
|
74277
74106
|
const done = (created2) => {
|
74278
74107
|
cSet(cache, dir, true);
|
74279
|
-
if (created2 && doChown)
|
74108
|
+
if (created2 && doChown)
|
74280
74109
|
chownr.sync(created2, uid, gid);
|
74281
|
-
|
74282
|
-
if (needChmod) {
|
74110
|
+
if (needChmod)
|
74283
74111
|
fs.chmodSync(dir, mode);
|
74284
|
-
}
|
74285
74112
|
};
|
74286
|
-
if (cache && cGet(cache, dir) === true)
|
74113
|
+
if (cache && cGet(cache, dir) === true)
|
74287
74114
|
return done();
|
74288
|
-
}
|
74289
74115
|
if (dir === cwd) {
|
74290
74116
|
checkCwdSync(cwd);
|
74291
74117
|
return done();
|
74292
74118
|
}
|
74293
|
-
if (preserve)
|
74119
|
+
if (preserve)
|
74294
74120
|
return done(mkdirp.sync(dir, mode));
|
74295
|
-
}
|
74296
74121
|
const sub = normPath(path.relative(cwd, dir));
|
74297
74122
|
const parts = sub.split("/");
|
74298
74123
|
let created = null;
|
74299
74124
|
for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
|
74300
74125
|
part = normPath(path.resolve(part));
|
74301
|
-
if (cGet(cache, part))
|
74126
|
+
if (cGet(cache, part))
|
74302
74127
|
continue;
|
74303
|
-
}
|
74304
74128
|
try {
|
74305
74129
|
fs.mkdirSync(part, mode);
|
74306
74130
|
created = created || part;
|
@@ -74316,9 +74140,8 @@ var require_mkdir = __commonJSMin((exports, module2) => {
|
|
74316
74140
|
created = created || part;
|
74317
74141
|
cSet(cache, part, true);
|
74318
74142
|
continue;
|
74319
|
-
} else if (st.isSymbolicLink())
|
74143
|
+
} else if (st.isSymbolicLink())
|
74320
74144
|
return new SymlinkError(part, part + "/" + parts.join("/"));
|
74321
|
-
}
|
74322
74145
|
}
|
74323
74146
|
}
|
74324
74147
|
return done(created);
|
@@ -74328,9 +74151,8 @@ var require_normalize_unicode = __commonJSMin((exports, module2) => {
|
|
74328
74151
|
var normalizeCache = /* @__PURE__ */ Object.create(null);
|
74329
74152
|
var { hasOwnProperty } = Object.prototype;
|
74330
74153
|
module2.exports = (s) => {
|
74331
|
-
if (!hasOwnProperty.call(normalizeCache, s))
|
74154
|
+
if (!hasOwnProperty.call(normalizeCache, s))
|
74332
74155
|
normalizeCache[s] = s.normalize("NFKD");
|
74333
|
-
}
|
74334
74156
|
return normalizeCache[s];
|
74335
74157
|
};
|
74336
74158
|
});
|
@@ -74346,9 +74168,8 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
|
|
74346
74168
|
const reservations = /* @__PURE__ */ new Map();
|
74347
74169
|
const getDirs = (path) => {
|
74348
74170
|
const dirs = path.split("/").slice(0, -1).reduce((set, path2) => {
|
74349
|
-
if (set.length)
|
74171
|
+
if (set.length)
|
74350
74172
|
path2 = join(set[set.length - 1], path2);
|
74351
|
-
}
|
74352
74173
|
set.push(path2 || "/");
|
74353
74174
|
return set;
|
74354
74175
|
}, []);
|
@@ -74357,9 +74178,8 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
|
|
74357
74178
|
const running = /* @__PURE__ */ new Set();
|
74358
74179
|
const getQueues = (fn) => {
|
74359
74180
|
const res = reservations.get(fn);
|
74360
|
-
if (!res)
|
74181
|
+
if (!res)
|
74361
74182
|
throw new Error("function does not have any path reservations");
|
74362
|
-
}
|
74363
74183
|
return {
|
74364
74184
|
paths: res.paths.map((path) => queues.get(path)),
|
74365
74185
|
dirs: [...res.dirs].map((path) => queues.get(path))
|
@@ -74370,44 +74190,40 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
|
|
74370
74190
|
return paths.every((q) => q[0] === fn) && dirs.every((q) => q[0] instanceof Set && q[0].has(fn));
|
74371
74191
|
};
|
74372
74192
|
const run = (fn) => {
|
74373
|
-
if (running.has(fn) || !check(fn))
|
74193
|
+
if (running.has(fn) || !check(fn))
|
74374
74194
|
return false;
|
74375
|
-
}
|
74376
74195
|
running.add(fn);
|
74377
74196
|
fn(() => clear(fn));
|
74378
74197
|
return true;
|
74379
74198
|
};
|
74380
74199
|
const clear = (fn) => {
|
74381
|
-
if (!running.has(fn))
|
74200
|
+
if (!running.has(fn))
|
74382
74201
|
return false;
|
74383
|
-
}
|
74384
74202
|
const { paths, dirs } = reservations.get(fn);
|
74385
74203
|
const next = /* @__PURE__ */ new Set();
|
74386
74204
|
paths.forEach((path) => {
|
74387
74205
|
const q = queues.get(path);
|
74388
74206
|
assert.equal(q[0], fn);
|
74389
|
-
if (q.length === 1)
|
74207
|
+
if (q.length === 1)
|
74390
74208
|
queues.delete(path);
|
74391
|
-
|
74209
|
+
else {
|
74392
74210
|
q.shift();
|
74393
|
-
if (typeof q[0] === "function")
|
74211
|
+
if (typeof q[0] === "function")
|
74394
74212
|
next.add(q[0]);
|
74395
|
-
|
74213
|
+
else
|
74396
74214
|
q[0].forEach((fn2) => next.add(fn2));
|
74397
|
-
}
|
74398
74215
|
}
|
74399
74216
|
});
|
74400
74217
|
dirs.forEach((dir) => {
|
74401
74218
|
const q = queues.get(dir);
|
74402
74219
|
assert(q[0] instanceof Set);
|
74403
|
-
if (q[0].size === 1 && q.length === 1)
|
74220
|
+
if (q[0].size === 1 && q.length === 1)
|
74404
74221
|
queues.delete(dir);
|
74405
|
-
|
74222
|
+
else if (q[0].size === 1) {
|
74406
74223
|
q.shift();
|
74407
74224
|
next.add(q[0]);
|
74408
|
-
} else
|
74225
|
+
} else
|
74409
74226
|
q[0].delete(fn);
|
74410
|
-
}
|
74411
74227
|
});
|
74412
74228
|
running.delete(fn);
|
74413
74229
|
next.forEach((fn2) => run(fn2));
|
@@ -74421,21 +74237,19 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
|
|
74421
74237
|
reservations.set(fn, { dirs, paths });
|
74422
74238
|
paths.forEach((path) => {
|
74423
74239
|
const q = queues.get(path);
|
74424
|
-
if (!q)
|
74240
|
+
if (!q)
|
74425
74241
|
queues.set(path, [fn]);
|
74426
|
-
|
74242
|
+
else
|
74427
74243
|
q.push(fn);
|
74428
|
-
}
|
74429
74244
|
});
|
74430
74245
|
dirs.forEach((dir) => {
|
74431
74246
|
const q = queues.get(dir);
|
74432
|
-
if (!q)
|
74247
|
+
if (!q)
|
74433
74248
|
queues.set(dir, [/* @__PURE__ */ new Set([fn])]);
|
74434
|
-
|
74249
|
+
else if (q[q.length - 1] instanceof Set)
|
74435
74250
|
q[q.length - 1].add(fn);
|
74436
|
-
|
74251
|
+
else
|
74437
74252
|
q.push(/* @__PURE__ */ new Set([fn]));
|
74438
|
-
}
|
74439
74253
|
});
|
74440
74254
|
return run(fn);
|
74441
74255
|
};
|
@@ -74496,21 +74310,18 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74496
74310
|
var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
74497
74311
|
var isWindows = platform === "win32";
|
74498
74312
|
var unlinkFile = (path2, cb) => {
|
74499
|
-
if (!isWindows)
|
74313
|
+
if (!isWindows)
|
74500
74314
|
return fs.unlink(path2, cb);
|
74501
|
-
}
|
74502
74315
|
const name4 = path2 + ".DELETE." + crypto.randomBytes(16).toString("hex");
|
74503
74316
|
fs.rename(path2, name4, (er) => {
|
74504
|
-
if (er)
|
74317
|
+
if (er)
|
74505
74318
|
return cb(er);
|
74506
|
-
}
|
74507
74319
|
fs.unlink(name4, cb);
|
74508
74320
|
});
|
74509
74321
|
};
|
74510
74322
|
var unlinkFileSync = (path2) => {
|
74511
|
-
if (!isWindows)
|
74323
|
+
if (!isWindows)
|
74512
74324
|
return fs.unlinkSync(path2);
|
74513
|
-
}
|
74514
74325
|
const name4 = path2 + ".DELETE." + crypto.randomBytes(16).toString("hex");
|
74515
74326
|
fs.renameSync(path2, name4);
|
74516
74327
|
fs.unlinkSync(name4);
|
@@ -74521,21 +74332,18 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74521
74332
|
abs = cacheKeyNormalize(abs);
|
74522
74333
|
for (const path2 of cache.keys()) {
|
74523
74334
|
const pnorm = cacheKeyNormalize(path2);
|
74524
|
-
if (pnorm === abs || pnorm.indexOf(abs + "/") === 0)
|
74335
|
+
if (pnorm === abs || pnorm.indexOf(abs + "/") === 0)
|
74525
74336
|
cache.delete(path2);
|
74526
|
-
}
|
74527
74337
|
}
|
74528
74338
|
};
|
74529
74339
|
var dropCache = (cache) => {
|
74530
|
-
for (const key of cache.keys())
|
74340
|
+
for (const key of cache.keys())
|
74531
74341
|
cache.delete(key);
|
74532
|
-
}
|
74533
74342
|
};
|
74534
74343
|
var Unpack = class extends Parser {
|
74535
74344
|
constructor(opt) {
|
74536
|
-
if (!opt)
|
74345
|
+
if (!opt)
|
74537
74346
|
opt = {};
|
74538
|
-
}
|
74539
74347
|
opt.ondone = (_) => {
|
74540
74348
|
this[ENDED] = true;
|
74541
74349
|
this[MAYBECLOSE]();
|
@@ -74550,9 +74358,8 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74550
74358
|
this[ENDED] = false;
|
74551
74359
|
this.dirCache = opt.dirCache || /* @__PURE__ */ new Map();
|
74552
74360
|
if (typeof opt.uid === "number" || typeof opt.gid === "number") {
|
74553
|
-
if (typeof opt.uid !== "number" || typeof opt.gid !== "number")
|
74361
|
+
if (typeof opt.uid !== "number" || typeof opt.gid !== "number")
|
74554
74362
|
throw new TypeError("cannot set owner without number uid and gid");
|
74555
|
-
}
|
74556
74363
|
if (opt.preserveOwner) {
|
74557
74364
|
throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
|
74558
74365
|
}
|
@@ -74564,11 +74371,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74564
74371
|
this.gid = null;
|
74565
74372
|
this.setOwner = false;
|
74566
74373
|
}
|
74567
|
-
if (opt.preserveOwner === void 0 && typeof opt.uid !== "number")
|
74374
|
+
if (opt.preserveOwner === void 0 && typeof opt.uid !== "number")
|
74568
74375
|
this.preserveOwner = process.getuid && process.getuid() === 0;
|
74569
|
-
|
74376
|
+
else
|
74570
74377
|
this.preserveOwner = !!opt.preserveOwner;
|
74571
|
-
}
|
74572
74378
|
this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : null;
|
74573
74379
|
this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : null;
|
74574
74380
|
this.forceChown = opt.forceChown === true;
|
@@ -74587,9 +74393,8 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74587
74393
|
this.on("entry", (entry) => this[ONENTRY](entry));
|
74588
74394
|
}
|
74589
74395
|
warn(code, msg, data = {}) {
|
74590
|
-
if (code === "TAR_BAD_ARCHIVE" || code === "TAR_ABORT")
|
74396
|
+
if (code === "TAR_BAD_ARCHIVE" || code === "TAR_ABORT")
|
74591
74397
|
data.recoverable = false;
|
74592
|
-
}
|
74593
74398
|
return super.warn(code, msg, data);
|
74594
74399
|
}
|
74595
74400
|
[MAYBECLOSE]() {
|
@@ -74597,22 +74402,21 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74597
74402
|
this.emit("prefinish");
|
74598
74403
|
this.emit("finish");
|
74599
74404
|
this.emit("end");
|
74405
|
+
this.emit("close");
|
74600
74406
|
}
|
74601
74407
|
}
|
74602
74408
|
[CHECKPATH](entry) {
|
74603
74409
|
if (this.strip) {
|
74604
74410
|
const parts = normPath(entry.path).split("/");
|
74605
|
-
if (parts.length < this.strip)
|
74411
|
+
if (parts.length < this.strip)
|
74606
74412
|
return false;
|
74607
|
-
}
|
74608
74413
|
entry.path = parts.slice(this.strip).join("/");
|
74609
74414
|
if (entry.type === "Link") {
|
74610
74415
|
const linkparts = normPath(entry.linkpath).split("/");
|
74611
|
-
if (linkparts.length >= this.strip)
|
74416
|
+
if (linkparts.length >= this.strip)
|
74612
74417
|
entry.linkpath = linkparts.slice(this.strip).join("/");
|
74613
|
-
|
74418
|
+
else
|
74614
74419
|
return false;
|
74615
|
-
}
|
74616
74420
|
}
|
74617
74421
|
}
|
74618
74422
|
if (!this.preservePaths) {
|
@@ -74634,11 +74438,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74634
74438
|
});
|
74635
74439
|
}
|
74636
74440
|
}
|
74637
|
-
if (path.isAbsolute(entry.path))
|
74441
|
+
if (path.isAbsolute(entry.path))
|
74638
74442
|
entry.absolute = normPath(path.resolve(entry.path));
|
74639
|
-
|
74443
|
+
else
|
74640
74444
|
entry.absolute = normPath(path.resolve(this.cwd, entry.path));
|
74641
|
-
}
|
74642
74445
|
if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
|
74643
74446
|
this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
|
74644
74447
|
entry,
|
@@ -74648,28 +74451,25 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74648
74451
|
});
|
74649
74452
|
return false;
|
74650
74453
|
}
|
74651
|
-
if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir")
|
74454
|
+
if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir")
|
74652
74455
|
return false;
|
74653
|
-
}
|
74654
74456
|
if (this.win32) {
|
74655
74457
|
const { root: aRoot } = path.win32.parse(entry.absolute);
|
74656
|
-
entry.absolute = aRoot + wc.encode(entry.absolute.
|
74458
|
+
entry.absolute = aRoot + wc.encode(entry.absolute.substr(aRoot.length));
|
74657
74459
|
const { root: pRoot } = path.win32.parse(entry.path);
|
74658
|
-
entry.path = pRoot + wc.encode(entry.path.
|
74460
|
+
entry.path = pRoot + wc.encode(entry.path.substr(pRoot.length));
|
74659
74461
|
}
|
74660
74462
|
return true;
|
74661
74463
|
}
|
74662
74464
|
[ONENTRY](entry) {
|
74663
|
-
if (!this[CHECKPATH](entry))
|
74465
|
+
if (!this[CHECKPATH](entry))
|
74664
74466
|
return entry.resume();
|
74665
|
-
}
|
74666
74467
|
assert.equal(typeof entry.absolute, "string");
|
74667
74468
|
switch (entry.type) {
|
74668
74469
|
case "Directory":
|
74669
74470
|
case "GNUDumpDir":
|
74670
|
-
if (entry.mode)
|
74471
|
+
if (entry.mode)
|
74671
74472
|
entry.mode = entry.mode | 448;
|
74672
|
-
}
|
74673
74473
|
case "File":
|
74674
74474
|
case "OldFile":
|
74675
74475
|
case "ContiguousFile":
|
@@ -74684,9 +74484,9 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74684
74484
|
}
|
74685
74485
|
}
|
74686
74486
|
[ONERROR](er, entry) {
|
74687
|
-
if (er.name === "CwdError")
|
74487
|
+
if (er.name === "CwdError")
|
74688
74488
|
this.emit("error", er);
|
74689
|
-
|
74489
|
+
else {
|
74690
74490
|
this.warn("TAR_ENTRY_ERROR", er, { entry });
|
74691
74491
|
this[UNPEND]();
|
74692
74492
|
entry.resume();
|
@@ -74724,10 +74524,9 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74724
74524
|
autoClose: false
|
74725
74525
|
});
|
74726
74526
|
stream.on("error", (er) => {
|
74727
|
-
if (stream.fd)
|
74527
|
+
if (stream.fd)
|
74728
74528
|
fs.close(stream.fd, () => {
|
74729
74529
|
});
|
74730
|
-
}
|
74731
74530
|
stream.write = () => true;
|
74732
74531
|
this[ONERROR](er, entry);
|
74733
74532
|
fullyDone();
|
@@ -74735,21 +74534,19 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74735
74534
|
let actions = 1;
|
74736
74535
|
const done = (er) => {
|
74737
74536
|
if (er) {
|
74738
|
-
if (stream.fd)
|
74537
|
+
if (stream.fd)
|
74739
74538
|
fs.close(stream.fd, () => {
|
74740
74539
|
});
|
74741
|
-
}
|
74742
74540
|
this[ONERROR](er, entry);
|
74743
74541
|
fullyDone();
|
74744
74542
|
return;
|
74745
74543
|
}
|
74746
74544
|
if (--actions === 0) {
|
74747
74545
|
fs.close(stream.fd, (er2) => {
|
74748
|
-
if (er2)
|
74546
|
+
if (er2)
|
74749
74547
|
this[ONERROR](er2, entry);
|
74750
|
-
|
74548
|
+
else
|
74751
74549
|
this[UNPEND]();
|
74752
|
-
}
|
74753
74550
|
fullyDone();
|
74754
74551
|
});
|
74755
74552
|
}
|
@@ -74837,17 +74634,15 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74837
74634
|
[CHECKFS](entry) {
|
74838
74635
|
this[PEND]();
|
74839
74636
|
const paths = [entry.path];
|
74840
|
-
if (entry.linkpath)
|
74637
|
+
if (entry.linkpath)
|
74841
74638
|
paths.push(entry.linkpath);
|
74842
|
-
}
|
74843
74639
|
this.reservations.reserve(paths, (done) => this[CHECKFS2](entry, done));
|
74844
74640
|
}
|
74845
74641
|
[PRUNECACHE](entry) {
|
74846
|
-
if (entry.type === "SymbolicLink")
|
74642
|
+
if (entry.type === "SymbolicLink")
|
74847
74643
|
dropCache(this.dirCache);
|
74848
|
-
|
74644
|
+
else if (entry.type !== "Directory")
|
74849
74645
|
pruneCache(this.dirCache, entry.absolute);
|
74850
|
-
}
|
74851
74646
|
}
|
74852
74647
|
[CHECKFS2](entry, fullyDone) {
|
74853
74648
|
this[PRUNECACHE](entry);
|
@@ -74889,33 +74684,29 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74889
74684
|
done();
|
74890
74685
|
return;
|
74891
74686
|
}
|
74892
|
-
if (lstatEr || this[ISREUSABLE](entry, st))
|
74687
|
+
if (lstatEr || this[ISREUSABLE](entry, st))
|
74893
74688
|
return this[MAKEFS](null, entry, done);
|
74894
|
-
}
|
74895
74689
|
if (st.isDirectory()) {
|
74896
74690
|
if (entry.type === "Directory") {
|
74897
74691
|
const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
|
74898
74692
|
const afterChmod = (er) => this[MAKEFS](er, entry, done);
|
74899
|
-
if (!needChmod)
|
74693
|
+
if (!needChmod)
|
74900
74694
|
return afterChmod();
|
74901
|
-
}
|
74902
74695
|
return fs.chmod(entry.absolute, entry.mode, afterChmod);
|
74903
74696
|
}
|
74904
74697
|
if (entry.absolute !== this.cwd) {
|
74905
74698
|
return fs.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
|
74906
74699
|
}
|
74907
74700
|
}
|
74908
|
-
if (entry.absolute === this.cwd)
|
74701
|
+
if (entry.absolute === this.cwd)
|
74909
74702
|
return this[MAKEFS](null, entry, done);
|
74910
|
-
}
|
74911
74703
|
unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
|
74912
74704
|
});
|
74913
74705
|
};
|
74914
|
-
if (this[CHECKED_CWD])
|
74706
|
+
if (this[CHECKED_CWD])
|
74915
74707
|
start();
|
74916
|
-
|
74708
|
+
else
|
74917
74709
|
checkCwd();
|
74918
|
-
}
|
74919
74710
|
}
|
74920
74711
|
[MAKEFS](er, entry, done) {
|
74921
74712
|
if (er) {
|
@@ -74939,9 +74730,9 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74939
74730
|
}
|
74940
74731
|
[LINK](entry, linkpath, link, done) {
|
74941
74732
|
fs[link](linkpath, entry.absolute, (er) => {
|
74942
|
-
if (er)
|
74733
|
+
if (er)
|
74943
74734
|
this[ONERROR](er, entry);
|
74944
|
-
|
74735
|
+
else {
|
74945
74736
|
this[UNPEND]();
|
74946
74737
|
entry.resume();
|
74947
74738
|
}
|
@@ -74965,27 +74756,23 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
74965
74756
|
this[PRUNECACHE](entry);
|
74966
74757
|
if (!this[CHECKED_CWD]) {
|
74967
74758
|
const er2 = this[MKDIR](this.cwd, this.dmode);
|
74968
|
-
if (er2)
|
74759
|
+
if (er2)
|
74969
74760
|
return this[ONERROR](er2, entry);
|
74970
|
-
}
|
74971
74761
|
this[CHECKED_CWD] = true;
|
74972
74762
|
}
|
74973
74763
|
if (entry.absolute !== this.cwd) {
|
74974
74764
|
const parent = normPath(path.dirname(entry.absolute));
|
74975
74765
|
if (parent !== this.cwd) {
|
74976
74766
|
const mkParent = this[MKDIR](parent, this.dmode);
|
74977
|
-
if (mkParent)
|
74767
|
+
if (mkParent)
|
74978
74768
|
return this[ONERROR](mkParent, entry);
|
74979
|
-
}
|
74980
74769
|
}
|
74981
74770
|
}
|
74982
74771
|
const [lstatEr, st] = callSync(() => fs.lstatSync(entry.absolute));
|
74983
|
-
if (st && (this.keep || this.newer && st.mtime > entry.mtime))
|
74772
|
+
if (st && (this.keep || this.newer && st.mtime > entry.mtime))
|
74984
74773
|
return this[SKIP](entry);
|
74985
|
-
|
74986
|
-
if (lstatEr || this[ISREUSABLE](entry, st)) {
|
74774
|
+
if (lstatEr || this[ISREUSABLE](entry, st))
|
74987
74775
|
return this[MAKEFS](null, entry);
|
74988
|
-
}
|
74989
74776
|
if (st.isDirectory()) {
|
74990
74777
|
if (entry.type === "Directory") {
|
74991
74778
|
const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
|
@@ -75009,9 +74796,8 @@ var require_unpack = __commonJSMin((exports, module2) => {
|
|
75009
74796
|
} catch (e) {
|
75010
74797
|
closeError = e;
|
75011
74798
|
}
|
75012
|
-
if (er || closeError)
|
74799
|
+
if (er || closeError)
|
75013
74800
|
this[ONERROR](er || closeError, entry);
|
75014
|
-
}
|
75015
74801
|
done();
|
75016
74802
|
};
|
75017
74803
|
let fd;
|
@@ -75126,29 +74912,23 @@ var require_extract = __commonJSMin((exports, module2) => {
|
|
75126
74912
|
var path = __require("path");
|
75127
74913
|
var stripSlash = require_strip_trailing_slashes();
|
75128
74914
|
module2.exports = (opt_, files, cb) => {
|
75129
|
-
if (typeof opt_ === "function")
|
74915
|
+
if (typeof opt_ === "function")
|
75130
74916
|
cb = opt_, files = null, opt_ = {};
|
75131
|
-
|
74917
|
+
else if (Array.isArray(opt_))
|
75132
74918
|
files = opt_, opt_ = {};
|
75133
|
-
|
75134
|
-
if (typeof files === "function") {
|
74919
|
+
if (typeof files === "function")
|
75135
74920
|
cb = files, files = null;
|
75136
|
-
|
75137
|
-
if (!files) {
|
74921
|
+
if (!files)
|
75138
74922
|
files = [];
|
75139
|
-
|
74923
|
+
else
|
75140
74924
|
files = Array.from(files);
|
75141
|
-
}
|
75142
74925
|
const opt = hlo(opt_);
|
75143
|
-
if (opt.sync && typeof cb === "function")
|
74926
|
+
if (opt.sync && typeof cb === "function")
|
75144
74927
|
throw new TypeError("callback not supported for sync tar functions");
|
75145
|
-
|
75146
|
-
if (!opt.file && typeof cb === "function") {
|
74928
|
+
if (!opt.file && typeof cb === "function")
|
75147
74929
|
throw new TypeError("callback only supported with file option");
|
75148
|
-
|
75149
|
-
if (files.length) {
|
74930
|
+
if (files.length)
|
75150
74931
|
filesFilter(opt, files);
|
75151
|
-
}
|
75152
74932
|
return opt.file && opt.sync ? extractFileSync(opt) : opt.file ? extractFile(opt, cb) : opt.sync ? extractSync(opt) : extract(opt);
|
75153
74933
|
};
|
75154
74934
|
var filesFilter = (opt, files) => {
|
@@ -75181,9 +74961,9 @@ var require_extract = __commonJSMin((exports, module2) => {
|
|
75181
74961
|
u.on("error", reject);
|
75182
74962
|
u.on("close", resolve);
|
75183
74963
|
fs.stat(file, (er, stat) => {
|
75184
|
-
if (er)
|
74964
|
+
if (er)
|
75185
74965
|
reject(er);
|
75186
|
-
|
74966
|
+
else {
|
75187
74967
|
const stream = new fsm.ReadStream(file, {
|
75188
74968
|
readSize,
|
75189
74969
|
size: stat.size
|
@@ -75740,30 +75520,6 @@ function _classCallCheck(instance, Constructor) {
|
|
75740
75520
|
throw new TypeError("Cannot call a class as a function");
|
75741
75521
|
}
|
75742
75522
|
}
|
75743
|
-
function _typeof(obj) {
|
75744
|
-
"@babel/helpers - typeof";
|
75745
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
|
75746
|
-
return typeof obj2;
|
75747
|
-
} : function(obj2) {
|
75748
|
-
return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
75749
|
-
}, _typeof(obj);
|
75750
|
-
}
|
75751
|
-
function _toPrimitive(input, hint) {
|
75752
|
-
if (_typeof(input) !== "object" || input === null)
|
75753
|
-
return input;
|
75754
|
-
var prim = input[Symbol.toPrimitive];
|
75755
|
-
if (prim !== void 0) {
|
75756
|
-
var res = prim.call(input, hint || "default");
|
75757
|
-
if (_typeof(res) !== "object")
|
75758
|
-
return res;
|
75759
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
75760
|
-
}
|
75761
|
-
return (hint === "string" ? String : Number)(input);
|
75762
|
-
}
|
75763
|
-
function _toPropertyKey(arg) {
|
75764
|
-
var key = _toPrimitive(arg, "string");
|
75765
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
75766
|
-
}
|
75767
75523
|
function _defineProperties(target, props) {
|
75768
75524
|
for (var i = 0; i < props.length; i++) {
|
75769
75525
|
var descriptor = props[i];
|
@@ -75771,7 +75527,7 @@ function _defineProperties(target, props) {
|
|
75771
75527
|
descriptor.configurable = true;
|
75772
75528
|
if ("value" in descriptor)
|
75773
75529
|
descriptor.writable = true;
|
75774
|
-
Object.defineProperty(target,
|
75530
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
75775
75531
|
}
|
75776
75532
|
}
|
75777
75533
|
function _createClass(Constructor, protoProps, staticProps) {
|
@@ -75785,7 +75541,6 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
75785
75541
|
return Constructor;
|
75786
75542
|
}
|
75787
75543
|
function _defineProperty(obj, key, value) {
|
75788
|
-
key = _toPropertyKey(key);
|
75789
75544
|
if (key in obj) {
|
75790
75545
|
Object.defineProperty(obj, key, {
|
75791
75546
|
value,
|