@modern-js/dependence-generator 3.7.21 → 3.7.23
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 +1252 -1129
- package/package.json +11 -12
package/dist/index.js
CHANGED
|
@@ -1629,1132 +1629,493 @@ var require_source = __commonJS({
|
|
|
1629
1629
|
}
|
|
1630
1630
|
});
|
|
1631
1631
|
|
|
1632
|
-
// ../../../../node_modules/.pnpm/
|
|
1633
|
-
var
|
|
1634
|
-
"../../../../node_modules/.pnpm/
|
|
1632
|
+
// ../../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
|
|
1633
|
+
var require_universalify = __commonJS({
|
|
1634
|
+
"../../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports) {
|
|
1635
1635
|
"use strict";
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
} else if (type === "number" && isFinite(val)) {
|
|
1648
|
-
return options.long ? fmtLong(val) : fmtShort(val);
|
|
1649
|
-
}
|
|
1650
|
-
throw new Error(
|
|
1651
|
-
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
1652
|
-
);
|
|
1636
|
+
exports.fromCallback = function(fn) {
|
|
1637
|
+
return Object.defineProperty(function(...args) {
|
|
1638
|
+
if (typeof args[args.length - 1] === "function")
|
|
1639
|
+
fn.apply(this, args);
|
|
1640
|
+
else {
|
|
1641
|
+
return new Promise((resolve, reject) => {
|
|
1642
|
+
args.push((err, res) => err != null ? reject(err) : resolve(res));
|
|
1643
|
+
fn.apply(this, args);
|
|
1644
|
+
});
|
|
1645
|
+
}
|
|
1646
|
+
}, "name", { value: fn.name });
|
|
1653
1647
|
};
|
|
1654
|
-
function
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
case "hrs":
|
|
1685
|
-
case "hr":
|
|
1686
|
-
case "h":
|
|
1687
|
-
return n * h;
|
|
1688
|
-
case "minutes":
|
|
1689
|
-
case "minute":
|
|
1690
|
-
case "mins":
|
|
1691
|
-
case "min":
|
|
1692
|
-
case "m":
|
|
1693
|
-
return n * m;
|
|
1694
|
-
case "seconds":
|
|
1695
|
-
case "second":
|
|
1696
|
-
case "secs":
|
|
1697
|
-
case "sec":
|
|
1698
|
-
case "s":
|
|
1699
|
-
return n * s;
|
|
1700
|
-
case "milliseconds":
|
|
1701
|
-
case "millisecond":
|
|
1702
|
-
case "msecs":
|
|
1703
|
-
case "msec":
|
|
1704
|
-
case "ms":
|
|
1705
|
-
return n;
|
|
1706
|
-
default:
|
|
1707
|
-
return void 0;
|
|
1708
|
-
}
|
|
1648
|
+
exports.fromPromise = function(fn) {
|
|
1649
|
+
return Object.defineProperty(function(...args) {
|
|
1650
|
+
const cb = args[args.length - 1];
|
|
1651
|
+
if (typeof cb !== "function")
|
|
1652
|
+
return fn.apply(this, args);
|
|
1653
|
+
else {
|
|
1654
|
+
args.pop();
|
|
1655
|
+
fn.apply(this, args).then((r) => cb(null, r), cb);
|
|
1656
|
+
}
|
|
1657
|
+
}, "name", { value: fn.name });
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
});
|
|
1661
|
+
|
|
1662
|
+
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
|
|
1663
|
+
var require_polyfills = __commonJS({
|
|
1664
|
+
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
|
1665
|
+
"use strict";
|
|
1666
|
+
var constants = require("constants");
|
|
1667
|
+
var origCwd = process.cwd;
|
|
1668
|
+
var cwd = null;
|
|
1669
|
+
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
1670
|
+
process.cwd = function() {
|
|
1671
|
+
if (!cwd)
|
|
1672
|
+
cwd = origCwd.call(process);
|
|
1673
|
+
return cwd;
|
|
1674
|
+
};
|
|
1675
|
+
try {
|
|
1676
|
+
process.cwd();
|
|
1677
|
+
} catch (er) {
|
|
1709
1678
|
}
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
if (msAbs >= m) {
|
|
1719
|
-
return Math.round(ms / m) + "m";
|
|
1720
|
-
}
|
|
1721
|
-
if (msAbs >= s) {
|
|
1722
|
-
return Math.round(ms / s) + "s";
|
|
1723
|
-
}
|
|
1724
|
-
return ms + "ms";
|
|
1679
|
+
if (typeof process.chdir === "function") {
|
|
1680
|
+
chdir = process.chdir;
|
|
1681
|
+
process.chdir = function(d) {
|
|
1682
|
+
cwd = null;
|
|
1683
|
+
chdir.call(process, d);
|
|
1684
|
+
};
|
|
1685
|
+
if (Object.setPrototypeOf)
|
|
1686
|
+
Object.setPrototypeOf(process.chdir, chdir);
|
|
1725
1687
|
}
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
if (msAbs >= h) {
|
|
1732
|
-
return plural(ms, msAbs, h, "hour");
|
|
1688
|
+
var chdir;
|
|
1689
|
+
module2.exports = patch;
|
|
1690
|
+
function patch(fs2) {
|
|
1691
|
+
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
|
1692
|
+
patchLchmod(fs2);
|
|
1733
1693
|
}
|
|
1734
|
-
if (
|
|
1735
|
-
|
|
1694
|
+
if (!fs2.lutimes) {
|
|
1695
|
+
patchLutimes(fs2);
|
|
1736
1696
|
}
|
|
1737
|
-
|
|
1738
|
-
|
|
1697
|
+
fs2.chown = chownFix(fs2.chown);
|
|
1698
|
+
fs2.fchown = chownFix(fs2.fchown);
|
|
1699
|
+
fs2.lchown = chownFix(fs2.lchown);
|
|
1700
|
+
fs2.chmod = chmodFix(fs2.chmod);
|
|
1701
|
+
fs2.fchmod = chmodFix(fs2.fchmod);
|
|
1702
|
+
fs2.lchmod = chmodFix(fs2.lchmod);
|
|
1703
|
+
fs2.chownSync = chownFixSync(fs2.chownSync);
|
|
1704
|
+
fs2.fchownSync = chownFixSync(fs2.fchownSync);
|
|
1705
|
+
fs2.lchownSync = chownFixSync(fs2.lchownSync);
|
|
1706
|
+
fs2.chmodSync = chmodFixSync(fs2.chmodSync);
|
|
1707
|
+
fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
|
|
1708
|
+
fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
|
|
1709
|
+
fs2.stat = statFix(fs2.stat);
|
|
1710
|
+
fs2.fstat = statFix(fs2.fstat);
|
|
1711
|
+
fs2.lstat = statFix(fs2.lstat);
|
|
1712
|
+
fs2.statSync = statFixSync(fs2.statSync);
|
|
1713
|
+
fs2.fstatSync = statFixSync(fs2.fstatSync);
|
|
1714
|
+
fs2.lstatSync = statFixSync(fs2.lstatSync);
|
|
1715
|
+
if (fs2.chmod && !fs2.lchmod) {
|
|
1716
|
+
fs2.lchmod = function(path5, mode, cb) {
|
|
1717
|
+
if (cb)
|
|
1718
|
+
process.nextTick(cb);
|
|
1719
|
+
};
|
|
1720
|
+
fs2.lchmodSync = function() {
|
|
1721
|
+
};
|
|
1739
1722
|
}
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
});
|
|
1748
|
-
|
|
1749
|
-
// ../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js
|
|
1750
|
-
var require_common = __commonJS({
|
|
1751
|
-
"../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js"(exports, module2) {
|
|
1752
|
-
"use strict";
|
|
1753
|
-
function setup(env) {
|
|
1754
|
-
createDebug.debug = createDebug;
|
|
1755
|
-
createDebug.default = createDebug;
|
|
1756
|
-
createDebug.coerce = coerce;
|
|
1757
|
-
createDebug.disable = disable;
|
|
1758
|
-
createDebug.enable = enable;
|
|
1759
|
-
createDebug.enabled = enabled;
|
|
1760
|
-
createDebug.humanize = require_ms();
|
|
1761
|
-
createDebug.destroy = destroy;
|
|
1762
|
-
Object.keys(env).forEach((key) => {
|
|
1763
|
-
createDebug[key] = env[key];
|
|
1764
|
-
});
|
|
1765
|
-
createDebug.names = [];
|
|
1766
|
-
createDebug.skips = [];
|
|
1767
|
-
createDebug.formatters = {};
|
|
1768
|
-
function selectColor(namespace) {
|
|
1769
|
-
let hash = 0;
|
|
1770
|
-
for (let i = 0; i < namespace.length; i++) {
|
|
1771
|
-
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
1772
|
-
hash |= 0;
|
|
1773
|
-
}
|
|
1774
|
-
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
1723
|
+
if (fs2.chown && !fs2.lchown) {
|
|
1724
|
+
fs2.lchown = function(path5, uid, gid, cb) {
|
|
1725
|
+
if (cb)
|
|
1726
|
+
process.nextTick(cb);
|
|
1727
|
+
};
|
|
1728
|
+
fs2.lchownSync = function() {
|
|
1729
|
+
};
|
|
1775
1730
|
}
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1731
|
+
if (platform === "win32") {
|
|
1732
|
+
fs2.rename = typeof fs2.rename !== "function" ? fs2.rename : function(fs$rename) {
|
|
1733
|
+
function rename(from, to, cb) {
|
|
1734
|
+
var start = Date.now();
|
|
1735
|
+
var backoff = 0;
|
|
1736
|
+
fs$rename(from, to, function CB(er) {
|
|
1737
|
+
if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
|
|
1738
|
+
setTimeout(function() {
|
|
1739
|
+
fs2.stat(to, function(stater, st) {
|
|
1740
|
+
if (stater && stater.code === "ENOENT")
|
|
1741
|
+
fs$rename(from, to, CB);
|
|
1742
|
+
else
|
|
1743
|
+
cb(er);
|
|
1744
|
+
});
|
|
1745
|
+
}, backoff);
|
|
1746
|
+
if (backoff < 100)
|
|
1747
|
+
backoff += 10;
|
|
1748
|
+
return;
|
|
1749
|
+
}
|
|
1750
|
+
if (cb)
|
|
1751
|
+
cb(er);
|
|
1752
|
+
});
|
|
1785
1753
|
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
if (typeof
|
|
1795
|
-
|
|
1754
|
+
if (Object.setPrototypeOf)
|
|
1755
|
+
Object.setPrototypeOf(rename, fs$rename);
|
|
1756
|
+
return rename;
|
|
1757
|
+
}(fs2.rename);
|
|
1758
|
+
}
|
|
1759
|
+
fs2.read = typeof fs2.read !== "function" ? fs2.read : function(fs$read) {
|
|
1760
|
+
function read(fd, buffer, offset, length, position, callback_) {
|
|
1761
|
+
var callback;
|
|
1762
|
+
if (callback_ && typeof callback_ === "function") {
|
|
1763
|
+
var eagCounter = 0;
|
|
1764
|
+
callback = function(er, _, __) {
|
|
1765
|
+
if (er && er.code === "EAGAIN" && eagCounter < 10) {
|
|
1766
|
+
eagCounter++;
|
|
1767
|
+
return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
|
|
1768
|
+
}
|
|
1769
|
+
callback_.apply(this, arguments);
|
|
1770
|
+
};
|
|
1796
1771
|
}
|
|
1797
|
-
|
|
1798
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
1799
|
-
if (match === "%%") {
|
|
1800
|
-
return "%";
|
|
1801
|
-
}
|
|
1802
|
-
index++;
|
|
1803
|
-
const formatter = createDebug.formatters[format];
|
|
1804
|
-
if (typeof formatter === "function") {
|
|
1805
|
-
const val = args[index];
|
|
1806
|
-
match = formatter.call(self3, val);
|
|
1807
|
-
args.splice(index, 1);
|
|
1808
|
-
index--;
|
|
1809
|
-
}
|
|
1810
|
-
return match;
|
|
1811
|
-
});
|
|
1812
|
-
createDebug.formatArgs.call(self3, args);
|
|
1813
|
-
const logFn = self3.log || createDebug.log;
|
|
1814
|
-
logFn.apply(self3, args);
|
|
1772
|
+
return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
|
|
1815
1773
|
}
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1774
|
+
if (Object.setPrototypeOf)
|
|
1775
|
+
Object.setPrototypeOf(read, fs$read);
|
|
1776
|
+
return read;
|
|
1777
|
+
}(fs2.read);
|
|
1778
|
+
fs2.readSync = typeof fs2.readSync !== "function" ? fs2.readSync : function(fs$readSync) {
|
|
1779
|
+
return function(fd, buffer, offset, length, position) {
|
|
1780
|
+
var eagCounter = 0;
|
|
1781
|
+
while (true) {
|
|
1782
|
+
try {
|
|
1783
|
+
return fs$readSync.call(fs2, fd, buffer, offset, length, position);
|
|
1784
|
+
} catch (er) {
|
|
1785
|
+
if (er.code === "EAGAIN" && eagCounter < 10) {
|
|
1786
|
+
eagCounter++;
|
|
1787
|
+
continue;
|
|
1788
|
+
}
|
|
1789
|
+
throw er;
|
|
1827
1790
|
}
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1791
|
+
}
|
|
1792
|
+
};
|
|
1793
|
+
}(fs2.readSync);
|
|
1794
|
+
function patchLchmod(fs3) {
|
|
1795
|
+
fs3.lchmod = function(path5, mode, callback) {
|
|
1796
|
+
fs3.open(
|
|
1797
|
+
path5,
|
|
1798
|
+
constants.O_WRONLY | constants.O_SYMLINK,
|
|
1799
|
+
mode,
|
|
1800
|
+
function(err, fd) {
|
|
1801
|
+
if (err) {
|
|
1802
|
+
if (callback)
|
|
1803
|
+
callback(err);
|
|
1804
|
+
return;
|
|
1805
|
+
}
|
|
1806
|
+
fs3.fchmod(fd, mode, function(err2) {
|
|
1807
|
+
fs3.close(fd, function(err22) {
|
|
1808
|
+
if (callback)
|
|
1809
|
+
callback(err2 || err22);
|
|
1810
|
+
});
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
);
|
|
1814
|
+
};
|
|
1815
|
+
fs3.lchmodSync = function(path5, mode) {
|
|
1816
|
+
var fd = fs3.openSync(path5, constants.O_WRONLY | constants.O_SYMLINK, mode);
|
|
1817
|
+
var threw = true;
|
|
1818
|
+
var ret;
|
|
1819
|
+
try {
|
|
1820
|
+
ret = fs3.fchmodSync(fd, mode);
|
|
1821
|
+
threw = false;
|
|
1822
|
+
} finally {
|
|
1823
|
+
if (threw) {
|
|
1824
|
+
try {
|
|
1825
|
+
fs3.closeSync(fd);
|
|
1826
|
+
} catch (er) {
|
|
1827
|
+
}
|
|
1828
|
+
} else {
|
|
1829
|
+
fs3.closeSync(fd);
|
|
1831
1830
|
}
|
|
1832
|
-
return enabledCache;
|
|
1833
|
-
},
|
|
1834
|
-
set: (v) => {
|
|
1835
|
-
enableOverride = v;
|
|
1836
1831
|
}
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
createDebug.init(debug);
|
|
1840
|
-
}
|
|
1841
|
-
return debug;
|
|
1842
|
-
}
|
|
1843
|
-
function extend(namespace, delimiter) {
|
|
1844
|
-
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
1845
|
-
newDebug.log = this.log;
|
|
1846
|
-
return newDebug;
|
|
1832
|
+
return ret;
|
|
1833
|
+
};
|
|
1847
1834
|
}
|
|
1848
|
-
function
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1835
|
+
function patchLutimes(fs3) {
|
|
1836
|
+
if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
|
|
1837
|
+
fs3.lutimes = function(path5, at, mt, cb) {
|
|
1838
|
+
fs3.open(path5, constants.O_SYMLINK, function(er, fd) {
|
|
1839
|
+
if (er) {
|
|
1840
|
+
if (cb)
|
|
1841
|
+
cb(er);
|
|
1842
|
+
return;
|
|
1843
|
+
}
|
|
1844
|
+
fs3.futimes(fd, at, mt, function(er2) {
|
|
1845
|
+
fs3.close(fd, function(er22) {
|
|
1846
|
+
if (cb)
|
|
1847
|
+
cb(er2 || er22);
|
|
1848
|
+
});
|
|
1849
|
+
});
|
|
1850
|
+
});
|
|
1851
|
+
};
|
|
1852
|
+
fs3.lutimesSync = function(path5, at, mt) {
|
|
1853
|
+
var fd = fs3.openSync(path5, constants.O_SYMLINK);
|
|
1854
|
+
var ret;
|
|
1855
|
+
var threw = true;
|
|
1856
|
+
try {
|
|
1857
|
+
ret = fs3.futimesSync(fd, at, mt);
|
|
1858
|
+
threw = false;
|
|
1859
|
+
} finally {
|
|
1860
|
+
if (threw) {
|
|
1861
|
+
try {
|
|
1862
|
+
fs3.closeSync(fd);
|
|
1863
|
+
} catch (er) {
|
|
1864
|
+
}
|
|
1865
|
+
} else {
|
|
1866
|
+
fs3.closeSync(fd);
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
return ret;
|
|
1870
|
+
};
|
|
1871
|
+
} else if (fs3.futimes) {
|
|
1872
|
+
fs3.lutimes = function(_a2, _b, _c, cb) {
|
|
1873
|
+
if (cb)
|
|
1874
|
+
process.nextTick(cb);
|
|
1875
|
+
};
|
|
1876
|
+
fs3.lutimesSync = function() {
|
|
1877
|
+
};
|
|
1866
1878
|
}
|
|
1867
1879
|
}
|
|
1868
|
-
function
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1880
|
+
function chmodFix(orig) {
|
|
1881
|
+
if (!orig)
|
|
1882
|
+
return orig;
|
|
1883
|
+
return function(target, mode, cb) {
|
|
1884
|
+
return orig.call(fs2, target, mode, function(er) {
|
|
1885
|
+
if (chownErOk(er))
|
|
1886
|
+
er = null;
|
|
1887
|
+
if (cb)
|
|
1888
|
+
cb.apply(this, arguments);
|
|
1889
|
+
});
|
|
1890
|
+
};
|
|
1875
1891
|
}
|
|
1876
|
-
function
|
|
1877
|
-
if (
|
|
1878
|
-
return
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
|
1888
|
-
if (createDebug.names[i].test(name)) {
|
|
1889
|
-
return true;
|
|
1892
|
+
function chmodFixSync(orig) {
|
|
1893
|
+
if (!orig)
|
|
1894
|
+
return orig;
|
|
1895
|
+
return function(target, mode) {
|
|
1896
|
+
try {
|
|
1897
|
+
return orig.call(fs2, target, mode);
|
|
1898
|
+
} catch (er) {
|
|
1899
|
+
if (!chownErOk(er))
|
|
1900
|
+
throw er;
|
|
1890
1901
|
}
|
|
1891
|
-
}
|
|
1892
|
-
return false;
|
|
1893
|
-
}
|
|
1894
|
-
function toNamespace(regexp) {
|
|
1895
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
1902
|
+
};
|
|
1896
1903
|
}
|
|
1897
|
-
function
|
|
1898
|
-
if (
|
|
1899
|
-
return
|
|
1900
|
-
|
|
1901
|
-
|
|
1904
|
+
function chownFix(orig) {
|
|
1905
|
+
if (!orig)
|
|
1906
|
+
return orig;
|
|
1907
|
+
return function(target, uid, gid, cb) {
|
|
1908
|
+
return orig.call(fs2, target, uid, gid, function(er) {
|
|
1909
|
+
if (chownErOk(er))
|
|
1910
|
+
er = null;
|
|
1911
|
+
if (cb)
|
|
1912
|
+
cb.apply(this, arguments);
|
|
1913
|
+
});
|
|
1914
|
+
};
|
|
1902
1915
|
}
|
|
1903
|
-
function
|
|
1904
|
-
|
|
1916
|
+
function chownFixSync(orig) {
|
|
1917
|
+
if (!orig)
|
|
1918
|
+
return orig;
|
|
1919
|
+
return function(target, uid, gid) {
|
|
1920
|
+
try {
|
|
1921
|
+
return orig.call(fs2, target, uid, gid);
|
|
1922
|
+
} catch (er) {
|
|
1923
|
+
if (!chownErOk(er))
|
|
1924
|
+
throw er;
|
|
1925
|
+
}
|
|
1926
|
+
};
|
|
1905
1927
|
}
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
warned = true;
|
|
1927
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
1928
|
-
}
|
|
1929
|
-
};
|
|
1930
|
-
})();
|
|
1931
|
-
exports.colors = [
|
|
1932
|
-
"#0000CC",
|
|
1933
|
-
"#0000FF",
|
|
1934
|
-
"#0033CC",
|
|
1935
|
-
"#0033FF",
|
|
1936
|
-
"#0066CC",
|
|
1937
|
-
"#0066FF",
|
|
1938
|
-
"#0099CC",
|
|
1939
|
-
"#0099FF",
|
|
1940
|
-
"#00CC00",
|
|
1941
|
-
"#00CC33",
|
|
1942
|
-
"#00CC66",
|
|
1943
|
-
"#00CC99",
|
|
1944
|
-
"#00CCCC",
|
|
1945
|
-
"#00CCFF",
|
|
1946
|
-
"#3300CC",
|
|
1947
|
-
"#3300FF",
|
|
1948
|
-
"#3333CC",
|
|
1949
|
-
"#3333FF",
|
|
1950
|
-
"#3366CC",
|
|
1951
|
-
"#3366FF",
|
|
1952
|
-
"#3399CC",
|
|
1953
|
-
"#3399FF",
|
|
1954
|
-
"#33CC00",
|
|
1955
|
-
"#33CC33",
|
|
1956
|
-
"#33CC66",
|
|
1957
|
-
"#33CC99",
|
|
1958
|
-
"#33CCCC",
|
|
1959
|
-
"#33CCFF",
|
|
1960
|
-
"#6600CC",
|
|
1961
|
-
"#6600FF",
|
|
1962
|
-
"#6633CC",
|
|
1963
|
-
"#6633FF",
|
|
1964
|
-
"#66CC00",
|
|
1965
|
-
"#66CC33",
|
|
1966
|
-
"#9900CC",
|
|
1967
|
-
"#9900FF",
|
|
1968
|
-
"#9933CC",
|
|
1969
|
-
"#9933FF",
|
|
1970
|
-
"#99CC00",
|
|
1971
|
-
"#99CC33",
|
|
1972
|
-
"#CC0000",
|
|
1973
|
-
"#CC0033",
|
|
1974
|
-
"#CC0066",
|
|
1975
|
-
"#CC0099",
|
|
1976
|
-
"#CC00CC",
|
|
1977
|
-
"#CC00FF",
|
|
1978
|
-
"#CC3300",
|
|
1979
|
-
"#CC3333",
|
|
1980
|
-
"#CC3366",
|
|
1981
|
-
"#CC3399",
|
|
1982
|
-
"#CC33CC",
|
|
1983
|
-
"#CC33FF",
|
|
1984
|
-
"#CC6600",
|
|
1985
|
-
"#CC6633",
|
|
1986
|
-
"#CC9900",
|
|
1987
|
-
"#CC9933",
|
|
1988
|
-
"#CCCC00",
|
|
1989
|
-
"#CCCC33",
|
|
1990
|
-
"#FF0000",
|
|
1991
|
-
"#FF0033",
|
|
1992
|
-
"#FF0066",
|
|
1993
|
-
"#FF0099",
|
|
1994
|
-
"#FF00CC",
|
|
1995
|
-
"#FF00FF",
|
|
1996
|
-
"#FF3300",
|
|
1997
|
-
"#FF3333",
|
|
1998
|
-
"#FF3366",
|
|
1999
|
-
"#FF3399",
|
|
2000
|
-
"#FF33CC",
|
|
2001
|
-
"#FF33FF",
|
|
2002
|
-
"#FF6600",
|
|
2003
|
-
"#FF6633",
|
|
2004
|
-
"#FF9900",
|
|
2005
|
-
"#FF9933",
|
|
2006
|
-
"#FFCC00",
|
|
2007
|
-
"#FFCC33"
|
|
2008
|
-
];
|
|
2009
|
-
function useColors() {
|
|
2010
|
-
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
2011
|
-
return true;
|
|
1928
|
+
function statFix(orig) {
|
|
1929
|
+
if (!orig)
|
|
1930
|
+
return orig;
|
|
1931
|
+
return function(target, options, cb) {
|
|
1932
|
+
if (typeof options === "function") {
|
|
1933
|
+
cb = options;
|
|
1934
|
+
options = null;
|
|
1935
|
+
}
|
|
1936
|
+
function callback(er, stats) {
|
|
1937
|
+
if (stats) {
|
|
1938
|
+
if (stats.uid < 0)
|
|
1939
|
+
stats.uid += 4294967296;
|
|
1940
|
+
if (stats.gid < 0)
|
|
1941
|
+
stats.gid += 4294967296;
|
|
1942
|
+
}
|
|
1943
|
+
if (cb)
|
|
1944
|
+
cb.apply(this, arguments);
|
|
1945
|
+
}
|
|
1946
|
+
return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
|
|
1947
|
+
};
|
|
2012
1948
|
}
|
|
2013
|
-
|
|
1949
|
+
function statFixSync(orig) {
|
|
1950
|
+
if (!orig)
|
|
1951
|
+
return orig;
|
|
1952
|
+
return function(target, options) {
|
|
1953
|
+
var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
|
|
1954
|
+
if (stats) {
|
|
1955
|
+
if (stats.uid < 0)
|
|
1956
|
+
stats.uid += 4294967296;
|
|
1957
|
+
if (stats.gid < 0)
|
|
1958
|
+
stats.gid += 4294967296;
|
|
1959
|
+
}
|
|
1960
|
+
return stats;
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
function chownErOk(er) {
|
|
1964
|
+
if (!er)
|
|
1965
|
+
return true;
|
|
1966
|
+
if (er.code === "ENOSYS")
|
|
1967
|
+
return true;
|
|
1968
|
+
var nonroot = !process.getuid || process.getuid() !== 0;
|
|
1969
|
+
if (nonroot) {
|
|
1970
|
+
if (er.code === "EINVAL" || er.code === "EPERM")
|
|
1971
|
+
return true;
|
|
1972
|
+
}
|
|
2014
1973
|
return false;
|
|
2015
1974
|
}
|
|
2016
|
-
let m;
|
|
2017
|
-
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
2018
|
-
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
2019
|
-
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
2020
|
-
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
2021
|
-
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
2022
1975
|
}
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
1976
|
+
}
|
|
1977
|
+
});
|
|
1978
|
+
|
|
1979
|
+
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
|
|
1980
|
+
var require_legacy_streams = __commonJS({
|
|
1981
|
+
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
|
1982
|
+
"use strict";
|
|
1983
|
+
var Stream = require("stream").Stream;
|
|
1984
|
+
module2.exports = legacy;
|
|
1985
|
+
function legacy(fs2) {
|
|
1986
|
+
return {
|
|
1987
|
+
ReadStream,
|
|
1988
|
+
WriteStream
|
|
1989
|
+
};
|
|
1990
|
+
function ReadStream(path5, options) {
|
|
1991
|
+
if (!(this instanceof ReadStream))
|
|
1992
|
+
return new ReadStream(path5, options);
|
|
1993
|
+
Stream.call(this);
|
|
1994
|
+
var self3 = this;
|
|
1995
|
+
this.path = path5;
|
|
1996
|
+
this.fd = null;
|
|
1997
|
+
this.readable = true;
|
|
1998
|
+
this.paused = false;
|
|
1999
|
+
this.flags = "r";
|
|
2000
|
+
this.mode = 438;
|
|
2001
|
+
this.bufferSize = 64 * 1024;
|
|
2002
|
+
options = options || {};
|
|
2003
|
+
var keys = Object.keys(options);
|
|
2004
|
+
for (var index = 0, length = keys.length; index < length; index++) {
|
|
2005
|
+
var key = keys[index];
|
|
2006
|
+
this[key] = options[key];
|
|
2035
2007
|
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2008
|
+
if (this.encoding)
|
|
2009
|
+
this.setEncoding(this.encoding);
|
|
2010
|
+
if (this.start !== void 0) {
|
|
2011
|
+
if ("number" !== typeof this.start) {
|
|
2012
|
+
throw TypeError("start must be a Number");
|
|
2013
|
+
}
|
|
2014
|
+
if (this.end === void 0) {
|
|
2015
|
+
this.end = Infinity;
|
|
2016
|
+
} else if ("number" !== typeof this.end) {
|
|
2017
|
+
throw TypeError("end must be a Number");
|
|
2018
|
+
}
|
|
2019
|
+
if (this.start > this.end) {
|
|
2020
|
+
throw new Error("start must be <= end");
|
|
2021
|
+
}
|
|
2022
|
+
this.pos = this.start;
|
|
2039
2023
|
}
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
function save(namespaces) {
|
|
2046
|
-
try {
|
|
2047
|
-
if (namespaces) {
|
|
2048
|
-
exports.storage.setItem("debug", namespaces);
|
|
2049
|
-
} else {
|
|
2050
|
-
exports.storage.removeItem("debug");
|
|
2024
|
+
if (this.fd !== null) {
|
|
2025
|
+
process.nextTick(function() {
|
|
2026
|
+
self3._read();
|
|
2027
|
+
});
|
|
2028
|
+
return;
|
|
2051
2029
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
r = process.env.DEBUG;
|
|
2030
|
+
fs2.open(this.path, this.flags, this.mode, function(err, fd) {
|
|
2031
|
+
if (err) {
|
|
2032
|
+
self3.emit("error", err);
|
|
2033
|
+
self3.readable = false;
|
|
2034
|
+
return;
|
|
2035
|
+
}
|
|
2036
|
+
self3.fd = fd;
|
|
2037
|
+
self3.emit("open", fd);
|
|
2038
|
+
self3._read();
|
|
2039
|
+
});
|
|
2063
2040
|
}
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2041
|
+
function WriteStream(path5, options) {
|
|
2042
|
+
if (!(this instanceof WriteStream))
|
|
2043
|
+
return new WriteStream(path5, options);
|
|
2044
|
+
Stream.call(this);
|
|
2045
|
+
this.path = path5;
|
|
2046
|
+
this.fd = null;
|
|
2047
|
+
this.writable = true;
|
|
2048
|
+
this.flags = "w";
|
|
2049
|
+
this.encoding = "binary";
|
|
2050
|
+
this.mode = 438;
|
|
2051
|
+
this.bytesWritten = 0;
|
|
2052
|
+
options = options || {};
|
|
2053
|
+
var keys = Object.keys(options);
|
|
2054
|
+
for (var index = 0, length = keys.length; index < length; index++) {
|
|
2055
|
+
var key = keys[index];
|
|
2056
|
+
this[key] = options[key];
|
|
2057
|
+
}
|
|
2058
|
+
if (this.start !== void 0) {
|
|
2059
|
+
if ("number" !== typeof this.start) {
|
|
2060
|
+
throw TypeError("start must be a Number");
|
|
2061
|
+
}
|
|
2062
|
+
if (this.start < 0) {
|
|
2063
|
+
throw new Error("start must be >= zero");
|
|
2064
|
+
}
|
|
2065
|
+
this.pos = this.start;
|
|
2066
|
+
}
|
|
2067
|
+
this.busy = false;
|
|
2068
|
+
this._queue = [];
|
|
2069
|
+
if (this.fd === null) {
|
|
2070
|
+
this._open = fs2.open;
|
|
2071
|
+
this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
|
|
2072
|
+
this.flush();
|
|
2073
|
+
}
|
|
2070
2074
|
}
|
|
2071
2075
|
}
|
|
2072
|
-
module2.exports = require_common()(exports);
|
|
2073
|
-
var { formatters } = module2.exports;
|
|
2074
|
-
formatters.j = function(v) {
|
|
2075
|
-
try {
|
|
2076
|
-
return JSON.stringify(v);
|
|
2077
|
-
} catch (error) {
|
|
2078
|
-
return "[UnexpectedJSONParseError]: " + error.message;
|
|
2079
|
-
}
|
|
2080
|
-
};
|
|
2081
2076
|
}
|
|
2082
2077
|
});
|
|
2083
2078
|
|
|
2084
|
-
// ../../../../node_modules/.pnpm/
|
|
2085
|
-
var
|
|
2086
|
-
"../../../../node_modules/.pnpm/
|
|
2079
|
+
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
|
|
2080
|
+
var require_clone = __commonJS({
|
|
2081
|
+
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module2) {
|
|
2087
2082
|
"use strict";
|
|
2088
|
-
|
|
2089
|
-
var
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
2102
|
-
try {
|
|
2103
|
-
const supportsColor = require_supports_color();
|
|
2104
|
-
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
2105
|
-
exports.colors = [
|
|
2106
|
-
20,
|
|
2107
|
-
21,
|
|
2108
|
-
26,
|
|
2109
|
-
27,
|
|
2110
|
-
32,
|
|
2111
|
-
33,
|
|
2112
|
-
38,
|
|
2113
|
-
39,
|
|
2114
|
-
40,
|
|
2115
|
-
41,
|
|
2116
|
-
42,
|
|
2117
|
-
43,
|
|
2118
|
-
44,
|
|
2119
|
-
45,
|
|
2120
|
-
56,
|
|
2121
|
-
57,
|
|
2122
|
-
62,
|
|
2123
|
-
63,
|
|
2124
|
-
68,
|
|
2125
|
-
69,
|
|
2126
|
-
74,
|
|
2127
|
-
75,
|
|
2128
|
-
76,
|
|
2129
|
-
77,
|
|
2130
|
-
78,
|
|
2131
|
-
79,
|
|
2132
|
-
80,
|
|
2133
|
-
81,
|
|
2134
|
-
92,
|
|
2135
|
-
93,
|
|
2136
|
-
98,
|
|
2137
|
-
99,
|
|
2138
|
-
112,
|
|
2139
|
-
113,
|
|
2140
|
-
128,
|
|
2141
|
-
129,
|
|
2142
|
-
134,
|
|
2143
|
-
135,
|
|
2144
|
-
148,
|
|
2145
|
-
149,
|
|
2146
|
-
160,
|
|
2147
|
-
161,
|
|
2148
|
-
162,
|
|
2149
|
-
163,
|
|
2150
|
-
164,
|
|
2151
|
-
165,
|
|
2152
|
-
166,
|
|
2153
|
-
167,
|
|
2154
|
-
168,
|
|
2155
|
-
169,
|
|
2156
|
-
170,
|
|
2157
|
-
171,
|
|
2158
|
-
172,
|
|
2159
|
-
173,
|
|
2160
|
-
178,
|
|
2161
|
-
179,
|
|
2162
|
-
184,
|
|
2163
|
-
185,
|
|
2164
|
-
196,
|
|
2165
|
-
197,
|
|
2166
|
-
198,
|
|
2167
|
-
199,
|
|
2168
|
-
200,
|
|
2169
|
-
201,
|
|
2170
|
-
202,
|
|
2171
|
-
203,
|
|
2172
|
-
204,
|
|
2173
|
-
205,
|
|
2174
|
-
206,
|
|
2175
|
-
207,
|
|
2176
|
-
208,
|
|
2177
|
-
209,
|
|
2178
|
-
214,
|
|
2179
|
-
215,
|
|
2180
|
-
220,
|
|
2181
|
-
221
|
|
2182
|
-
];
|
|
2183
|
-
}
|
|
2184
|
-
} catch (error) {
|
|
2185
|
-
}
|
|
2186
|
-
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
2187
|
-
return /^debug_/i.test(key);
|
|
2188
|
-
}).reduce((obj, key) => {
|
|
2189
|
-
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
2190
|
-
return k.toUpperCase();
|
|
2083
|
+
module2.exports = clone;
|
|
2084
|
+
var getPrototypeOf = Object.getPrototypeOf || function(obj) {
|
|
2085
|
+
return obj.__proto__;
|
|
2086
|
+
};
|
|
2087
|
+
function clone(obj) {
|
|
2088
|
+
if (obj === null || typeof obj !== "object")
|
|
2089
|
+
return obj;
|
|
2090
|
+
if (obj instanceof Object)
|
|
2091
|
+
var copy = { __proto__: getPrototypeOf(obj) };
|
|
2092
|
+
else
|
|
2093
|
+
var copy = /* @__PURE__ */ Object.create(null);
|
|
2094
|
+
Object.getOwnPropertyNames(obj).forEach(function(key) {
|
|
2095
|
+
Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key));
|
|
2191
2096
|
});
|
|
2192
|
-
|
|
2193
|
-
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
2194
|
-
val = true;
|
|
2195
|
-
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
2196
|
-
val = false;
|
|
2197
|
-
} else if (val === "null") {
|
|
2198
|
-
val = null;
|
|
2199
|
-
} else {
|
|
2200
|
-
val = Number(val);
|
|
2201
|
-
}
|
|
2202
|
-
obj[prop] = val;
|
|
2203
|
-
return obj;
|
|
2204
|
-
}, {});
|
|
2205
|
-
function useColors() {
|
|
2206
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
2207
|
-
}
|
|
2208
|
-
function formatArgs(args) {
|
|
2209
|
-
const { namespace: name, useColors: useColors2 } = this;
|
|
2210
|
-
if (useColors2) {
|
|
2211
|
-
const c = this.color;
|
|
2212
|
-
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
2213
|
-
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
2214
|
-
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
2215
|
-
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
2216
|
-
} else {
|
|
2217
|
-
args[0] = getDate() + name + " " + args[0];
|
|
2218
|
-
}
|
|
2219
|
-
}
|
|
2220
|
-
function getDate() {
|
|
2221
|
-
if (exports.inspectOpts.hideDate) {
|
|
2222
|
-
return "";
|
|
2223
|
-
}
|
|
2224
|
-
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
2225
|
-
}
|
|
2226
|
-
function log(...args) {
|
|
2227
|
-
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
2228
|
-
}
|
|
2229
|
-
function save(namespaces) {
|
|
2230
|
-
if (namespaces) {
|
|
2231
|
-
process.env.DEBUG = namespaces;
|
|
2232
|
-
} else {
|
|
2233
|
-
delete process.env.DEBUG;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
function load() {
|
|
2237
|
-
return process.env.DEBUG;
|
|
2238
|
-
}
|
|
2239
|
-
function init(debug) {
|
|
2240
|
-
debug.inspectOpts = {};
|
|
2241
|
-
const keys = Object.keys(exports.inspectOpts);
|
|
2242
|
-
for (let i = 0; i < keys.length; i++) {
|
|
2243
|
-
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
2244
|
-
}
|
|
2097
|
+
return copy;
|
|
2245
2098
|
}
|
|
2246
|
-
module2.exports = require_common()(exports);
|
|
2247
|
-
var { formatters } = module2.exports;
|
|
2248
|
-
formatters.o = function(v) {
|
|
2249
|
-
this.inspectOpts.colors = this.useColors;
|
|
2250
|
-
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
2251
|
-
};
|
|
2252
|
-
formatters.O = function(v) {
|
|
2253
|
-
this.inspectOpts.colors = this.useColors;
|
|
2254
|
-
return util.inspect(v, this.inspectOpts);
|
|
2255
|
-
};
|
|
2256
2099
|
}
|
|
2257
2100
|
});
|
|
2258
2101
|
|
|
2259
|
-
// ../../../../node_modules/.pnpm/
|
|
2260
|
-
var
|
|
2261
|
-
"../../../../node_modules/.pnpm/
|
|
2102
|
+
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
|
|
2103
|
+
var require_graceful_fs = __commonJS({
|
|
2104
|
+
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
|
2262
2105
|
"use strict";
|
|
2263
|
-
|
|
2264
|
-
|
|
2106
|
+
var fs2 = require("fs");
|
|
2107
|
+
var polyfills2 = require_polyfills();
|
|
2108
|
+
var legacy = require_legacy_streams();
|
|
2109
|
+
var clone = require_clone();
|
|
2110
|
+
var util = require("util");
|
|
2111
|
+
var gracefulQueue;
|
|
2112
|
+
var previousSymbol;
|
|
2113
|
+
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
|
2114
|
+
gracefulQueue = Symbol.for("graceful-fs.queue");
|
|
2115
|
+
previousSymbol = Symbol.for("graceful-fs.previous");
|
|
2265
2116
|
} else {
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
}
|
|
2269
|
-
});
|
|
2270
|
-
|
|
2271
|
-
// ../../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
|
|
2272
|
-
var require_universalify = __commonJS({
|
|
2273
|
-
"../../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports) {
|
|
2274
|
-
"use strict";
|
|
2275
|
-
exports.fromCallback = function(fn) {
|
|
2276
|
-
return Object.defineProperty(function(...args) {
|
|
2277
|
-
if (typeof args[args.length - 1] === "function")
|
|
2278
|
-
fn.apply(this, args);
|
|
2279
|
-
else {
|
|
2280
|
-
return new Promise((resolve, reject) => {
|
|
2281
|
-
args.push((err, res) => err != null ? reject(err) : resolve(res));
|
|
2282
|
-
fn.apply(this, args);
|
|
2283
|
-
});
|
|
2284
|
-
}
|
|
2285
|
-
}, "name", { value: fn.name });
|
|
2286
|
-
};
|
|
2287
|
-
exports.fromPromise = function(fn) {
|
|
2288
|
-
return Object.defineProperty(function(...args) {
|
|
2289
|
-
const cb = args[args.length - 1];
|
|
2290
|
-
if (typeof cb !== "function")
|
|
2291
|
-
return fn.apply(this, args);
|
|
2292
|
-
else {
|
|
2293
|
-
args.pop();
|
|
2294
|
-
fn.apply(this, args).then((r) => cb(null, r), cb);
|
|
2295
|
-
}
|
|
2296
|
-
}, "name", { value: fn.name });
|
|
2297
|
-
};
|
|
2298
|
-
}
|
|
2299
|
-
});
|
|
2300
|
-
|
|
2301
|
-
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
|
|
2302
|
-
var require_polyfills = __commonJS({
|
|
2303
|
-
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
|
2304
|
-
"use strict";
|
|
2305
|
-
var constants = require("constants");
|
|
2306
|
-
var origCwd = process.cwd;
|
|
2307
|
-
var cwd = null;
|
|
2308
|
-
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
2309
|
-
process.cwd = function() {
|
|
2310
|
-
if (!cwd)
|
|
2311
|
-
cwd = origCwd.call(process);
|
|
2312
|
-
return cwd;
|
|
2313
|
-
};
|
|
2314
|
-
try {
|
|
2315
|
-
process.cwd();
|
|
2316
|
-
} catch (er) {
|
|
2317
|
-
}
|
|
2318
|
-
if (typeof process.chdir === "function") {
|
|
2319
|
-
chdir = process.chdir;
|
|
2320
|
-
process.chdir = function(d) {
|
|
2321
|
-
cwd = null;
|
|
2322
|
-
chdir.call(process, d);
|
|
2323
|
-
};
|
|
2324
|
-
if (Object.setPrototypeOf)
|
|
2325
|
-
Object.setPrototypeOf(process.chdir, chdir);
|
|
2326
|
-
}
|
|
2327
|
-
var chdir;
|
|
2328
|
-
module2.exports = patch;
|
|
2329
|
-
function patch(fs2) {
|
|
2330
|
-
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
|
2331
|
-
patchLchmod(fs2);
|
|
2332
|
-
}
|
|
2333
|
-
if (!fs2.lutimes) {
|
|
2334
|
-
patchLutimes(fs2);
|
|
2335
|
-
}
|
|
2336
|
-
fs2.chown = chownFix(fs2.chown);
|
|
2337
|
-
fs2.fchown = chownFix(fs2.fchown);
|
|
2338
|
-
fs2.lchown = chownFix(fs2.lchown);
|
|
2339
|
-
fs2.chmod = chmodFix(fs2.chmod);
|
|
2340
|
-
fs2.fchmod = chmodFix(fs2.fchmod);
|
|
2341
|
-
fs2.lchmod = chmodFix(fs2.lchmod);
|
|
2342
|
-
fs2.chownSync = chownFixSync(fs2.chownSync);
|
|
2343
|
-
fs2.fchownSync = chownFixSync(fs2.fchownSync);
|
|
2344
|
-
fs2.lchownSync = chownFixSync(fs2.lchownSync);
|
|
2345
|
-
fs2.chmodSync = chmodFixSync(fs2.chmodSync);
|
|
2346
|
-
fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
|
|
2347
|
-
fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
|
|
2348
|
-
fs2.stat = statFix(fs2.stat);
|
|
2349
|
-
fs2.fstat = statFix(fs2.fstat);
|
|
2350
|
-
fs2.lstat = statFix(fs2.lstat);
|
|
2351
|
-
fs2.statSync = statFixSync(fs2.statSync);
|
|
2352
|
-
fs2.fstatSync = statFixSync(fs2.fstatSync);
|
|
2353
|
-
fs2.lstatSync = statFixSync(fs2.lstatSync);
|
|
2354
|
-
if (fs2.chmod && !fs2.lchmod) {
|
|
2355
|
-
fs2.lchmod = function(path5, mode, cb) {
|
|
2356
|
-
if (cb)
|
|
2357
|
-
process.nextTick(cb);
|
|
2358
|
-
};
|
|
2359
|
-
fs2.lchmodSync = function() {
|
|
2360
|
-
};
|
|
2361
|
-
}
|
|
2362
|
-
if (fs2.chown && !fs2.lchown) {
|
|
2363
|
-
fs2.lchown = function(path5, uid, gid, cb) {
|
|
2364
|
-
if (cb)
|
|
2365
|
-
process.nextTick(cb);
|
|
2366
|
-
};
|
|
2367
|
-
fs2.lchownSync = function() {
|
|
2368
|
-
};
|
|
2369
|
-
}
|
|
2370
|
-
if (platform === "win32") {
|
|
2371
|
-
fs2.rename = typeof fs2.rename !== "function" ? fs2.rename : function(fs$rename) {
|
|
2372
|
-
function rename(from, to, cb) {
|
|
2373
|
-
var start = Date.now();
|
|
2374
|
-
var backoff = 0;
|
|
2375
|
-
fs$rename(from, to, function CB(er) {
|
|
2376
|
-
if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
|
|
2377
|
-
setTimeout(function() {
|
|
2378
|
-
fs2.stat(to, function(stater, st) {
|
|
2379
|
-
if (stater && stater.code === "ENOENT")
|
|
2380
|
-
fs$rename(from, to, CB);
|
|
2381
|
-
else
|
|
2382
|
-
cb(er);
|
|
2383
|
-
});
|
|
2384
|
-
}, backoff);
|
|
2385
|
-
if (backoff < 100)
|
|
2386
|
-
backoff += 10;
|
|
2387
|
-
return;
|
|
2388
|
-
}
|
|
2389
|
-
if (cb)
|
|
2390
|
-
cb(er);
|
|
2391
|
-
});
|
|
2392
|
-
}
|
|
2393
|
-
if (Object.setPrototypeOf)
|
|
2394
|
-
Object.setPrototypeOf(rename, fs$rename);
|
|
2395
|
-
return rename;
|
|
2396
|
-
}(fs2.rename);
|
|
2397
|
-
}
|
|
2398
|
-
fs2.read = typeof fs2.read !== "function" ? fs2.read : function(fs$read) {
|
|
2399
|
-
function read(fd, buffer, offset, length, position, callback_) {
|
|
2400
|
-
var callback;
|
|
2401
|
-
if (callback_ && typeof callback_ === "function") {
|
|
2402
|
-
var eagCounter = 0;
|
|
2403
|
-
callback = function(er, _, __) {
|
|
2404
|
-
if (er && er.code === "EAGAIN" && eagCounter < 10) {
|
|
2405
|
-
eagCounter++;
|
|
2406
|
-
return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
|
|
2407
|
-
}
|
|
2408
|
-
callback_.apply(this, arguments);
|
|
2409
|
-
};
|
|
2410
|
-
}
|
|
2411
|
-
return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
|
|
2412
|
-
}
|
|
2413
|
-
if (Object.setPrototypeOf)
|
|
2414
|
-
Object.setPrototypeOf(read, fs$read);
|
|
2415
|
-
return read;
|
|
2416
|
-
}(fs2.read);
|
|
2417
|
-
fs2.readSync = typeof fs2.readSync !== "function" ? fs2.readSync : function(fs$readSync) {
|
|
2418
|
-
return function(fd, buffer, offset, length, position) {
|
|
2419
|
-
var eagCounter = 0;
|
|
2420
|
-
while (true) {
|
|
2421
|
-
try {
|
|
2422
|
-
return fs$readSync.call(fs2, fd, buffer, offset, length, position);
|
|
2423
|
-
} catch (er) {
|
|
2424
|
-
if (er.code === "EAGAIN" && eagCounter < 10) {
|
|
2425
|
-
eagCounter++;
|
|
2426
|
-
continue;
|
|
2427
|
-
}
|
|
2428
|
-
throw er;
|
|
2429
|
-
}
|
|
2430
|
-
}
|
|
2431
|
-
};
|
|
2432
|
-
}(fs2.readSync);
|
|
2433
|
-
function patchLchmod(fs3) {
|
|
2434
|
-
fs3.lchmod = function(path5, mode, callback) {
|
|
2435
|
-
fs3.open(
|
|
2436
|
-
path5,
|
|
2437
|
-
constants.O_WRONLY | constants.O_SYMLINK,
|
|
2438
|
-
mode,
|
|
2439
|
-
function(err, fd) {
|
|
2440
|
-
if (err) {
|
|
2441
|
-
if (callback)
|
|
2442
|
-
callback(err);
|
|
2443
|
-
return;
|
|
2444
|
-
}
|
|
2445
|
-
fs3.fchmod(fd, mode, function(err2) {
|
|
2446
|
-
fs3.close(fd, function(err22) {
|
|
2447
|
-
if (callback)
|
|
2448
|
-
callback(err2 || err22);
|
|
2449
|
-
});
|
|
2450
|
-
});
|
|
2451
|
-
}
|
|
2452
|
-
);
|
|
2453
|
-
};
|
|
2454
|
-
fs3.lchmodSync = function(path5, mode) {
|
|
2455
|
-
var fd = fs3.openSync(path5, constants.O_WRONLY | constants.O_SYMLINK, mode);
|
|
2456
|
-
var threw = true;
|
|
2457
|
-
var ret;
|
|
2458
|
-
try {
|
|
2459
|
-
ret = fs3.fchmodSync(fd, mode);
|
|
2460
|
-
threw = false;
|
|
2461
|
-
} finally {
|
|
2462
|
-
if (threw) {
|
|
2463
|
-
try {
|
|
2464
|
-
fs3.closeSync(fd);
|
|
2465
|
-
} catch (er) {
|
|
2466
|
-
}
|
|
2467
|
-
} else {
|
|
2468
|
-
fs3.closeSync(fd);
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
|
-
return ret;
|
|
2472
|
-
};
|
|
2473
|
-
}
|
|
2474
|
-
function patchLutimes(fs3) {
|
|
2475
|
-
if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
|
|
2476
|
-
fs3.lutimes = function(path5, at, mt, cb) {
|
|
2477
|
-
fs3.open(path5, constants.O_SYMLINK, function(er, fd) {
|
|
2478
|
-
if (er) {
|
|
2479
|
-
if (cb)
|
|
2480
|
-
cb(er);
|
|
2481
|
-
return;
|
|
2482
|
-
}
|
|
2483
|
-
fs3.futimes(fd, at, mt, function(er2) {
|
|
2484
|
-
fs3.close(fd, function(er22) {
|
|
2485
|
-
if (cb)
|
|
2486
|
-
cb(er2 || er22);
|
|
2487
|
-
});
|
|
2488
|
-
});
|
|
2489
|
-
});
|
|
2490
|
-
};
|
|
2491
|
-
fs3.lutimesSync = function(path5, at, mt) {
|
|
2492
|
-
var fd = fs3.openSync(path5, constants.O_SYMLINK);
|
|
2493
|
-
var ret;
|
|
2494
|
-
var threw = true;
|
|
2495
|
-
try {
|
|
2496
|
-
ret = fs3.futimesSync(fd, at, mt);
|
|
2497
|
-
threw = false;
|
|
2498
|
-
} finally {
|
|
2499
|
-
if (threw) {
|
|
2500
|
-
try {
|
|
2501
|
-
fs3.closeSync(fd);
|
|
2502
|
-
} catch (er) {
|
|
2503
|
-
}
|
|
2504
|
-
} else {
|
|
2505
|
-
fs3.closeSync(fd);
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
return ret;
|
|
2509
|
-
};
|
|
2510
|
-
} else if (fs3.futimes) {
|
|
2511
|
-
fs3.lutimes = function(_a2, _b, _c, cb) {
|
|
2512
|
-
if (cb)
|
|
2513
|
-
process.nextTick(cb);
|
|
2514
|
-
};
|
|
2515
|
-
fs3.lutimesSync = function() {
|
|
2516
|
-
};
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
function chmodFix(orig) {
|
|
2520
|
-
if (!orig)
|
|
2521
|
-
return orig;
|
|
2522
|
-
return function(target, mode, cb) {
|
|
2523
|
-
return orig.call(fs2, target, mode, function(er) {
|
|
2524
|
-
if (chownErOk(er))
|
|
2525
|
-
er = null;
|
|
2526
|
-
if (cb)
|
|
2527
|
-
cb.apply(this, arguments);
|
|
2528
|
-
});
|
|
2529
|
-
};
|
|
2530
|
-
}
|
|
2531
|
-
function chmodFixSync(orig) {
|
|
2532
|
-
if (!orig)
|
|
2533
|
-
return orig;
|
|
2534
|
-
return function(target, mode) {
|
|
2535
|
-
try {
|
|
2536
|
-
return orig.call(fs2, target, mode);
|
|
2537
|
-
} catch (er) {
|
|
2538
|
-
if (!chownErOk(er))
|
|
2539
|
-
throw er;
|
|
2540
|
-
}
|
|
2541
|
-
};
|
|
2542
|
-
}
|
|
2543
|
-
function chownFix(orig) {
|
|
2544
|
-
if (!orig)
|
|
2545
|
-
return orig;
|
|
2546
|
-
return function(target, uid, gid, cb) {
|
|
2547
|
-
return orig.call(fs2, target, uid, gid, function(er) {
|
|
2548
|
-
if (chownErOk(er))
|
|
2549
|
-
er = null;
|
|
2550
|
-
if (cb)
|
|
2551
|
-
cb.apply(this, arguments);
|
|
2552
|
-
});
|
|
2553
|
-
};
|
|
2554
|
-
}
|
|
2555
|
-
function chownFixSync(orig) {
|
|
2556
|
-
if (!orig)
|
|
2557
|
-
return orig;
|
|
2558
|
-
return function(target, uid, gid) {
|
|
2559
|
-
try {
|
|
2560
|
-
return orig.call(fs2, target, uid, gid);
|
|
2561
|
-
} catch (er) {
|
|
2562
|
-
if (!chownErOk(er))
|
|
2563
|
-
throw er;
|
|
2564
|
-
}
|
|
2565
|
-
};
|
|
2566
|
-
}
|
|
2567
|
-
function statFix(orig) {
|
|
2568
|
-
if (!orig)
|
|
2569
|
-
return orig;
|
|
2570
|
-
return function(target, options, cb) {
|
|
2571
|
-
if (typeof options === "function") {
|
|
2572
|
-
cb = options;
|
|
2573
|
-
options = null;
|
|
2574
|
-
}
|
|
2575
|
-
function callback(er, stats) {
|
|
2576
|
-
if (stats) {
|
|
2577
|
-
if (stats.uid < 0)
|
|
2578
|
-
stats.uid += 4294967296;
|
|
2579
|
-
if (stats.gid < 0)
|
|
2580
|
-
stats.gid += 4294967296;
|
|
2581
|
-
}
|
|
2582
|
-
if (cb)
|
|
2583
|
-
cb.apply(this, arguments);
|
|
2584
|
-
}
|
|
2585
|
-
return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
|
|
2586
|
-
};
|
|
2587
|
-
}
|
|
2588
|
-
function statFixSync(orig) {
|
|
2589
|
-
if (!orig)
|
|
2590
|
-
return orig;
|
|
2591
|
-
return function(target, options) {
|
|
2592
|
-
var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
|
|
2593
|
-
if (stats) {
|
|
2594
|
-
if (stats.uid < 0)
|
|
2595
|
-
stats.uid += 4294967296;
|
|
2596
|
-
if (stats.gid < 0)
|
|
2597
|
-
stats.gid += 4294967296;
|
|
2598
|
-
}
|
|
2599
|
-
return stats;
|
|
2600
|
-
};
|
|
2601
|
-
}
|
|
2602
|
-
function chownErOk(er) {
|
|
2603
|
-
if (!er)
|
|
2604
|
-
return true;
|
|
2605
|
-
if (er.code === "ENOSYS")
|
|
2606
|
-
return true;
|
|
2607
|
-
var nonroot = !process.getuid || process.getuid() !== 0;
|
|
2608
|
-
if (nonroot) {
|
|
2609
|
-
if (er.code === "EINVAL" || er.code === "EPERM")
|
|
2610
|
-
return true;
|
|
2611
|
-
}
|
|
2612
|
-
return false;
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2616
|
-
});
|
|
2617
|
-
|
|
2618
|
-
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
|
|
2619
|
-
var require_legacy_streams = __commonJS({
|
|
2620
|
-
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
|
2621
|
-
"use strict";
|
|
2622
|
-
var Stream = require("stream").Stream;
|
|
2623
|
-
module2.exports = legacy;
|
|
2624
|
-
function legacy(fs2) {
|
|
2625
|
-
return {
|
|
2626
|
-
ReadStream,
|
|
2627
|
-
WriteStream
|
|
2628
|
-
};
|
|
2629
|
-
function ReadStream(path5, options) {
|
|
2630
|
-
if (!(this instanceof ReadStream))
|
|
2631
|
-
return new ReadStream(path5, options);
|
|
2632
|
-
Stream.call(this);
|
|
2633
|
-
var self3 = this;
|
|
2634
|
-
this.path = path5;
|
|
2635
|
-
this.fd = null;
|
|
2636
|
-
this.readable = true;
|
|
2637
|
-
this.paused = false;
|
|
2638
|
-
this.flags = "r";
|
|
2639
|
-
this.mode = 438;
|
|
2640
|
-
this.bufferSize = 64 * 1024;
|
|
2641
|
-
options = options || {};
|
|
2642
|
-
var keys = Object.keys(options);
|
|
2643
|
-
for (var index = 0, length = keys.length; index < length; index++) {
|
|
2644
|
-
var key = keys[index];
|
|
2645
|
-
this[key] = options[key];
|
|
2646
|
-
}
|
|
2647
|
-
if (this.encoding)
|
|
2648
|
-
this.setEncoding(this.encoding);
|
|
2649
|
-
if (this.start !== void 0) {
|
|
2650
|
-
if ("number" !== typeof this.start) {
|
|
2651
|
-
throw TypeError("start must be a Number");
|
|
2652
|
-
}
|
|
2653
|
-
if (this.end === void 0) {
|
|
2654
|
-
this.end = Infinity;
|
|
2655
|
-
} else if ("number" !== typeof this.end) {
|
|
2656
|
-
throw TypeError("end must be a Number");
|
|
2657
|
-
}
|
|
2658
|
-
if (this.start > this.end) {
|
|
2659
|
-
throw new Error("start must be <= end");
|
|
2660
|
-
}
|
|
2661
|
-
this.pos = this.start;
|
|
2662
|
-
}
|
|
2663
|
-
if (this.fd !== null) {
|
|
2664
|
-
process.nextTick(function() {
|
|
2665
|
-
self3._read();
|
|
2666
|
-
});
|
|
2667
|
-
return;
|
|
2668
|
-
}
|
|
2669
|
-
fs2.open(this.path, this.flags, this.mode, function(err, fd) {
|
|
2670
|
-
if (err) {
|
|
2671
|
-
self3.emit("error", err);
|
|
2672
|
-
self3.readable = false;
|
|
2673
|
-
return;
|
|
2674
|
-
}
|
|
2675
|
-
self3.fd = fd;
|
|
2676
|
-
self3.emit("open", fd);
|
|
2677
|
-
self3._read();
|
|
2678
|
-
});
|
|
2679
|
-
}
|
|
2680
|
-
function WriteStream(path5, options) {
|
|
2681
|
-
if (!(this instanceof WriteStream))
|
|
2682
|
-
return new WriteStream(path5, options);
|
|
2683
|
-
Stream.call(this);
|
|
2684
|
-
this.path = path5;
|
|
2685
|
-
this.fd = null;
|
|
2686
|
-
this.writable = true;
|
|
2687
|
-
this.flags = "w";
|
|
2688
|
-
this.encoding = "binary";
|
|
2689
|
-
this.mode = 438;
|
|
2690
|
-
this.bytesWritten = 0;
|
|
2691
|
-
options = options || {};
|
|
2692
|
-
var keys = Object.keys(options);
|
|
2693
|
-
for (var index = 0, length = keys.length; index < length; index++) {
|
|
2694
|
-
var key = keys[index];
|
|
2695
|
-
this[key] = options[key];
|
|
2696
|
-
}
|
|
2697
|
-
if (this.start !== void 0) {
|
|
2698
|
-
if ("number" !== typeof this.start) {
|
|
2699
|
-
throw TypeError("start must be a Number");
|
|
2700
|
-
}
|
|
2701
|
-
if (this.start < 0) {
|
|
2702
|
-
throw new Error("start must be >= zero");
|
|
2703
|
-
}
|
|
2704
|
-
this.pos = this.start;
|
|
2705
|
-
}
|
|
2706
|
-
this.busy = false;
|
|
2707
|
-
this._queue = [];
|
|
2708
|
-
if (this.fd === null) {
|
|
2709
|
-
this._open = fs2.open;
|
|
2710
|
-
this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
|
|
2711
|
-
this.flush();
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
});
|
|
2717
|
-
|
|
2718
|
-
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
|
|
2719
|
-
var require_clone = __commonJS({
|
|
2720
|
-
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module2) {
|
|
2721
|
-
"use strict";
|
|
2722
|
-
module2.exports = clone;
|
|
2723
|
-
var getPrototypeOf = Object.getPrototypeOf || function(obj) {
|
|
2724
|
-
return obj.__proto__;
|
|
2725
|
-
};
|
|
2726
|
-
function clone(obj) {
|
|
2727
|
-
if (obj === null || typeof obj !== "object")
|
|
2728
|
-
return obj;
|
|
2729
|
-
if (obj instanceof Object)
|
|
2730
|
-
var copy = { __proto__: getPrototypeOf(obj) };
|
|
2731
|
-
else
|
|
2732
|
-
var copy = /* @__PURE__ */ Object.create(null);
|
|
2733
|
-
Object.getOwnPropertyNames(obj).forEach(function(key) {
|
|
2734
|
-
Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key));
|
|
2735
|
-
});
|
|
2736
|
-
return copy;
|
|
2737
|
-
}
|
|
2738
|
-
}
|
|
2739
|
-
});
|
|
2740
|
-
|
|
2741
|
-
// ../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
|
|
2742
|
-
var require_graceful_fs = __commonJS({
|
|
2743
|
-
"../../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
|
2744
|
-
"use strict";
|
|
2745
|
-
var fs2 = require("fs");
|
|
2746
|
-
var polyfills2 = require_polyfills();
|
|
2747
|
-
var legacy = require_legacy_streams();
|
|
2748
|
-
var clone = require_clone();
|
|
2749
|
-
var util = require("util");
|
|
2750
|
-
var gracefulQueue;
|
|
2751
|
-
var previousSymbol;
|
|
2752
|
-
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
|
2753
|
-
gracefulQueue = Symbol.for("graceful-fs.queue");
|
|
2754
|
-
previousSymbol = Symbol.for("graceful-fs.previous");
|
|
2755
|
-
} else {
|
|
2756
|
-
gracefulQueue = "___graceful-fs.queue";
|
|
2757
|
-
previousSymbol = "___graceful-fs.previous";
|
|
2117
|
+
gracefulQueue = "___graceful-fs.queue";
|
|
2118
|
+
previousSymbol = "___graceful-fs.previous";
|
|
2758
2119
|
}
|
|
2759
2120
|
function noop() {
|
|
2760
2121
|
}
|
|
@@ -11802,7 +11163,7 @@ var require_inherits = __commonJS({
|
|
|
11802
11163
|
});
|
|
11803
11164
|
|
|
11804
11165
|
// ../../../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js
|
|
11805
|
-
var
|
|
11166
|
+
var require_node = __commonJS({
|
|
11806
11167
|
"../../../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js"(exports, module2) {
|
|
11807
11168
|
"use strict";
|
|
11808
11169
|
module2.exports = require("util").deprecate;
|
|
@@ -11825,7 +11186,7 @@ var require_stream_writable = __commonJS({
|
|
|
11825
11186
|
var Duplex;
|
|
11826
11187
|
Writable.WritableState = WritableState;
|
|
11827
11188
|
var internalUtil = {
|
|
11828
|
-
deprecate:
|
|
11189
|
+
deprecate: require_node()
|
|
11829
11190
|
};
|
|
11830
11191
|
var Stream = require_stream2();
|
|
11831
11192
|
var Buffer2 = require("buffer").Buffer;
|
|
@@ -54374,7 +53735,7 @@ var require_util3 = __commonJS({
|
|
|
54374
53735
|
});
|
|
54375
53736
|
|
|
54376
53737
|
// ../../../../node_modules/.pnpm/array-timsort@1.0.3/node_modules/array-timsort/src/index.js
|
|
54377
|
-
var
|
|
53738
|
+
var require_src = __commonJS({
|
|
54378
53739
|
"../../../../node_modules/.pnpm/array-timsort@1.0.3/node_modules/array-timsort/src/index.js"(exports, module2) {
|
|
54379
53740
|
"use strict";
|
|
54380
53741
|
var DEFAULT_MIN_MERGE = 32;
|
|
@@ -55097,7 +54458,7 @@ var require_has_own_prop = __commonJS({
|
|
|
55097
54458
|
});
|
|
55098
54459
|
|
|
55099
54460
|
// ../../../../node_modules/.pnpm/comment-json@4.2.3/node_modules/comment-json/src/common.js
|
|
55100
|
-
var
|
|
54461
|
+
var require_common = __commonJS({
|
|
55101
54462
|
"../../../../node_modules/.pnpm/comment-json@4.2.3/node_modules/comment-json/src/common.js"(exports, module2) {
|
|
55102
54463
|
"use strict";
|
|
55103
54464
|
var hasOwnProperty4 = require_has_own_prop();
|
|
@@ -55250,14 +54611,14 @@ var require_array = __commonJS({
|
|
|
55250
54611
|
"../../../../node_modules/.pnpm/comment-json@4.2.3/node_modules/comment-json/src/array.js"(exports, module2) {
|
|
55251
54612
|
"use strict";
|
|
55252
54613
|
var { isArray: isArray3 } = require_util3();
|
|
55253
|
-
var { sort } =
|
|
54614
|
+
var { sort } = require_src();
|
|
55254
54615
|
var {
|
|
55255
54616
|
SYMBOL_PREFIXES,
|
|
55256
54617
|
UNDEFINED,
|
|
55257
54618
|
symbol,
|
|
55258
54619
|
copy_comments,
|
|
55259
54620
|
swap_comments
|
|
55260
|
-
} =
|
|
54621
|
+
} = require_common();
|
|
55261
54622
|
var reverse_comments = (array) => {
|
|
55262
54623
|
const { length } = array;
|
|
55263
54624
|
let i = 0;
|
|
@@ -55441,7 +54802,7 @@ var require_parse3 = __commonJS({
|
|
|
55441
54802
|
UNDEFINED,
|
|
55442
54803
|
define: define2,
|
|
55443
54804
|
assign_non_prop_comments
|
|
55444
|
-
} =
|
|
54805
|
+
} = require_common();
|
|
55445
54806
|
var tokenize = (code) => esprima.tokenize(code, {
|
|
55446
54807
|
comment: true,
|
|
55447
54808
|
loc: true
|
|
@@ -55778,7 +55139,7 @@ var require_stringify = __commonJS({
|
|
|
55778
55139
|
COMMA,
|
|
55779
55140
|
EMPTY,
|
|
55780
55141
|
UNDEFINED
|
|
55781
|
-
} =
|
|
55142
|
+
} = require_common();
|
|
55782
55143
|
var ESCAPABLE = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
|
|
55783
55144
|
var SPACE = " ";
|
|
55784
55145
|
var LF = "\n";
|
|
@@ -55951,13 +55312,13 @@ var require_stringify = __commonJS({
|
|
|
55951
55312
|
});
|
|
55952
55313
|
|
|
55953
55314
|
// ../../../../node_modules/.pnpm/comment-json@4.2.3/node_modules/comment-json/src/index.js
|
|
55954
|
-
var
|
|
55315
|
+
var require_src2 = __commonJS({
|
|
55955
55316
|
"../../../../node_modules/.pnpm/comment-json@4.2.3/node_modules/comment-json/src/index.js"(exports, module2) {
|
|
55956
55317
|
"use strict";
|
|
55957
55318
|
var { parse: parse3, tokenize } = require_parse3();
|
|
55958
55319
|
var stringify2 = require_stringify();
|
|
55959
55320
|
var { CommentArray } = require_array();
|
|
55960
|
-
var { assign } =
|
|
55321
|
+
var { assign } = require_common();
|
|
55961
55322
|
module2.exports = {
|
|
55962
55323
|
parse: parse3,
|
|
55963
55324
|
stringify: stringify2,
|
|
@@ -64151,6 +63512,768 @@ var require_lodash7 = __commonJS({
|
|
|
64151
63512
|
}
|
|
64152
63513
|
});
|
|
64153
63514
|
|
|
63515
|
+
// ../../../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
63516
|
+
var require_ms = __commonJS({
|
|
63517
|
+
"../../../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module2) {
|
|
63518
|
+
"use strict";
|
|
63519
|
+
var s = 1e3;
|
|
63520
|
+
var m = s * 60;
|
|
63521
|
+
var h = m * 60;
|
|
63522
|
+
var d = h * 24;
|
|
63523
|
+
var w = d * 7;
|
|
63524
|
+
var y = d * 365.25;
|
|
63525
|
+
module2.exports = function(val, options) {
|
|
63526
|
+
options = options || {};
|
|
63527
|
+
var type = typeof val;
|
|
63528
|
+
if (type === "string" && val.length > 0) {
|
|
63529
|
+
return parse3(val);
|
|
63530
|
+
} else if (type === "number" && isFinite(val)) {
|
|
63531
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
63532
|
+
}
|
|
63533
|
+
throw new Error(
|
|
63534
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
63535
|
+
);
|
|
63536
|
+
};
|
|
63537
|
+
function parse3(str) {
|
|
63538
|
+
str = String(str);
|
|
63539
|
+
if (str.length > 100) {
|
|
63540
|
+
return;
|
|
63541
|
+
}
|
|
63542
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
63543
|
+
str
|
|
63544
|
+
);
|
|
63545
|
+
if (!match) {
|
|
63546
|
+
return;
|
|
63547
|
+
}
|
|
63548
|
+
var n = parseFloat(match[1]);
|
|
63549
|
+
var type = (match[2] || "ms").toLowerCase();
|
|
63550
|
+
switch (type) {
|
|
63551
|
+
case "years":
|
|
63552
|
+
case "year":
|
|
63553
|
+
case "yrs":
|
|
63554
|
+
case "yr":
|
|
63555
|
+
case "y":
|
|
63556
|
+
return n * y;
|
|
63557
|
+
case "weeks":
|
|
63558
|
+
case "week":
|
|
63559
|
+
case "w":
|
|
63560
|
+
return n * w;
|
|
63561
|
+
case "days":
|
|
63562
|
+
case "day":
|
|
63563
|
+
case "d":
|
|
63564
|
+
return n * d;
|
|
63565
|
+
case "hours":
|
|
63566
|
+
case "hour":
|
|
63567
|
+
case "hrs":
|
|
63568
|
+
case "hr":
|
|
63569
|
+
case "h":
|
|
63570
|
+
return n * h;
|
|
63571
|
+
case "minutes":
|
|
63572
|
+
case "minute":
|
|
63573
|
+
case "mins":
|
|
63574
|
+
case "min":
|
|
63575
|
+
case "m":
|
|
63576
|
+
return n * m;
|
|
63577
|
+
case "seconds":
|
|
63578
|
+
case "second":
|
|
63579
|
+
case "secs":
|
|
63580
|
+
case "sec":
|
|
63581
|
+
case "s":
|
|
63582
|
+
return n * s;
|
|
63583
|
+
case "milliseconds":
|
|
63584
|
+
case "millisecond":
|
|
63585
|
+
case "msecs":
|
|
63586
|
+
case "msec":
|
|
63587
|
+
case "ms":
|
|
63588
|
+
return n;
|
|
63589
|
+
default:
|
|
63590
|
+
return void 0;
|
|
63591
|
+
}
|
|
63592
|
+
}
|
|
63593
|
+
function fmtShort(ms) {
|
|
63594
|
+
var msAbs = Math.abs(ms);
|
|
63595
|
+
if (msAbs >= d) {
|
|
63596
|
+
return Math.round(ms / d) + "d";
|
|
63597
|
+
}
|
|
63598
|
+
if (msAbs >= h) {
|
|
63599
|
+
return Math.round(ms / h) + "h";
|
|
63600
|
+
}
|
|
63601
|
+
if (msAbs >= m) {
|
|
63602
|
+
return Math.round(ms / m) + "m";
|
|
63603
|
+
}
|
|
63604
|
+
if (msAbs >= s) {
|
|
63605
|
+
return Math.round(ms / s) + "s";
|
|
63606
|
+
}
|
|
63607
|
+
return ms + "ms";
|
|
63608
|
+
}
|
|
63609
|
+
function fmtLong(ms) {
|
|
63610
|
+
var msAbs = Math.abs(ms);
|
|
63611
|
+
if (msAbs >= d) {
|
|
63612
|
+
return plural(ms, msAbs, d, "day");
|
|
63613
|
+
}
|
|
63614
|
+
if (msAbs >= h) {
|
|
63615
|
+
return plural(ms, msAbs, h, "hour");
|
|
63616
|
+
}
|
|
63617
|
+
if (msAbs >= m) {
|
|
63618
|
+
return plural(ms, msAbs, m, "minute");
|
|
63619
|
+
}
|
|
63620
|
+
if (msAbs >= s) {
|
|
63621
|
+
return plural(ms, msAbs, s, "second");
|
|
63622
|
+
}
|
|
63623
|
+
return ms + " ms";
|
|
63624
|
+
}
|
|
63625
|
+
function plural(ms, msAbs, n, name) {
|
|
63626
|
+
var isPlural = msAbs >= n * 1.5;
|
|
63627
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
63628
|
+
}
|
|
63629
|
+
}
|
|
63630
|
+
});
|
|
63631
|
+
|
|
63632
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
63633
|
+
var require_common2 = __commonJS({
|
|
63634
|
+
"../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
63635
|
+
"use strict";
|
|
63636
|
+
function setup(env) {
|
|
63637
|
+
createDebug.debug = createDebug;
|
|
63638
|
+
createDebug.default = createDebug;
|
|
63639
|
+
createDebug.coerce = coerce;
|
|
63640
|
+
createDebug.disable = disable;
|
|
63641
|
+
createDebug.enable = enable;
|
|
63642
|
+
createDebug.enabled = enabled;
|
|
63643
|
+
createDebug.humanize = require_ms();
|
|
63644
|
+
createDebug.destroy = destroy;
|
|
63645
|
+
Object.keys(env).forEach((key) => {
|
|
63646
|
+
createDebug[key] = env[key];
|
|
63647
|
+
});
|
|
63648
|
+
createDebug.names = [];
|
|
63649
|
+
createDebug.skips = [];
|
|
63650
|
+
createDebug.formatters = {};
|
|
63651
|
+
function selectColor(namespace) {
|
|
63652
|
+
let hash = 0;
|
|
63653
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
63654
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
63655
|
+
hash |= 0;
|
|
63656
|
+
}
|
|
63657
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
63658
|
+
}
|
|
63659
|
+
createDebug.selectColor = selectColor;
|
|
63660
|
+
function createDebug(namespace) {
|
|
63661
|
+
let prevTime;
|
|
63662
|
+
let enableOverride = null;
|
|
63663
|
+
let namespacesCache;
|
|
63664
|
+
let enabledCache;
|
|
63665
|
+
function debug(...args) {
|
|
63666
|
+
if (!debug.enabled) {
|
|
63667
|
+
return;
|
|
63668
|
+
}
|
|
63669
|
+
const self3 = debug;
|
|
63670
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
63671
|
+
const ms = curr - (prevTime || curr);
|
|
63672
|
+
self3.diff = ms;
|
|
63673
|
+
self3.prev = prevTime;
|
|
63674
|
+
self3.curr = curr;
|
|
63675
|
+
prevTime = curr;
|
|
63676
|
+
args[0] = createDebug.coerce(args[0]);
|
|
63677
|
+
if (typeof args[0] !== "string") {
|
|
63678
|
+
args.unshift("%O");
|
|
63679
|
+
}
|
|
63680
|
+
let index = 0;
|
|
63681
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
63682
|
+
if (match === "%%") {
|
|
63683
|
+
return "%";
|
|
63684
|
+
}
|
|
63685
|
+
index++;
|
|
63686
|
+
const formatter = createDebug.formatters[format];
|
|
63687
|
+
if (typeof formatter === "function") {
|
|
63688
|
+
const val = args[index];
|
|
63689
|
+
match = formatter.call(self3, val);
|
|
63690
|
+
args.splice(index, 1);
|
|
63691
|
+
index--;
|
|
63692
|
+
}
|
|
63693
|
+
return match;
|
|
63694
|
+
});
|
|
63695
|
+
createDebug.formatArgs.call(self3, args);
|
|
63696
|
+
const logFn = self3.log || createDebug.log;
|
|
63697
|
+
logFn.apply(self3, args);
|
|
63698
|
+
}
|
|
63699
|
+
debug.namespace = namespace;
|
|
63700
|
+
debug.useColors = createDebug.useColors();
|
|
63701
|
+
debug.color = createDebug.selectColor(namespace);
|
|
63702
|
+
debug.extend = extend;
|
|
63703
|
+
debug.destroy = createDebug.destroy;
|
|
63704
|
+
Object.defineProperty(debug, "enabled", {
|
|
63705
|
+
enumerable: true,
|
|
63706
|
+
configurable: false,
|
|
63707
|
+
get: () => {
|
|
63708
|
+
if (enableOverride !== null) {
|
|
63709
|
+
return enableOverride;
|
|
63710
|
+
}
|
|
63711
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
63712
|
+
namespacesCache = createDebug.namespaces;
|
|
63713
|
+
enabledCache = createDebug.enabled(namespace);
|
|
63714
|
+
}
|
|
63715
|
+
return enabledCache;
|
|
63716
|
+
},
|
|
63717
|
+
set: (v) => {
|
|
63718
|
+
enableOverride = v;
|
|
63719
|
+
}
|
|
63720
|
+
});
|
|
63721
|
+
if (typeof createDebug.init === "function") {
|
|
63722
|
+
createDebug.init(debug);
|
|
63723
|
+
}
|
|
63724
|
+
return debug;
|
|
63725
|
+
}
|
|
63726
|
+
function extend(namespace, delimiter) {
|
|
63727
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
63728
|
+
newDebug.log = this.log;
|
|
63729
|
+
return newDebug;
|
|
63730
|
+
}
|
|
63731
|
+
function enable(namespaces) {
|
|
63732
|
+
createDebug.save(namespaces);
|
|
63733
|
+
createDebug.namespaces = namespaces;
|
|
63734
|
+
createDebug.names = [];
|
|
63735
|
+
createDebug.skips = [];
|
|
63736
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
63737
|
+
for (const ns of split) {
|
|
63738
|
+
if (ns[0] === "-") {
|
|
63739
|
+
createDebug.skips.push(ns.slice(1));
|
|
63740
|
+
} else {
|
|
63741
|
+
createDebug.names.push(ns);
|
|
63742
|
+
}
|
|
63743
|
+
}
|
|
63744
|
+
}
|
|
63745
|
+
function matchesTemplate(search, template) {
|
|
63746
|
+
let searchIndex = 0;
|
|
63747
|
+
let templateIndex = 0;
|
|
63748
|
+
let starIndex = -1;
|
|
63749
|
+
let matchIndex = 0;
|
|
63750
|
+
while (searchIndex < search.length) {
|
|
63751
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
63752
|
+
if (template[templateIndex] === "*") {
|
|
63753
|
+
starIndex = templateIndex;
|
|
63754
|
+
matchIndex = searchIndex;
|
|
63755
|
+
templateIndex++;
|
|
63756
|
+
} else {
|
|
63757
|
+
searchIndex++;
|
|
63758
|
+
templateIndex++;
|
|
63759
|
+
}
|
|
63760
|
+
} else if (starIndex !== -1) {
|
|
63761
|
+
templateIndex = starIndex + 1;
|
|
63762
|
+
matchIndex++;
|
|
63763
|
+
searchIndex = matchIndex;
|
|
63764
|
+
} else {
|
|
63765
|
+
return false;
|
|
63766
|
+
}
|
|
63767
|
+
}
|
|
63768
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
63769
|
+
templateIndex++;
|
|
63770
|
+
}
|
|
63771
|
+
return templateIndex === template.length;
|
|
63772
|
+
}
|
|
63773
|
+
function disable() {
|
|
63774
|
+
const namespaces = [
|
|
63775
|
+
...createDebug.names,
|
|
63776
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
63777
|
+
].join(",");
|
|
63778
|
+
createDebug.enable("");
|
|
63779
|
+
return namespaces;
|
|
63780
|
+
}
|
|
63781
|
+
function enabled(name) {
|
|
63782
|
+
for (const skip of createDebug.skips) {
|
|
63783
|
+
if (matchesTemplate(name, skip)) {
|
|
63784
|
+
return false;
|
|
63785
|
+
}
|
|
63786
|
+
}
|
|
63787
|
+
for (const ns of createDebug.names) {
|
|
63788
|
+
if (matchesTemplate(name, ns)) {
|
|
63789
|
+
return true;
|
|
63790
|
+
}
|
|
63791
|
+
}
|
|
63792
|
+
return false;
|
|
63793
|
+
}
|
|
63794
|
+
function coerce(val) {
|
|
63795
|
+
if (val instanceof Error) {
|
|
63796
|
+
return val.stack || val.message;
|
|
63797
|
+
}
|
|
63798
|
+
return val;
|
|
63799
|
+
}
|
|
63800
|
+
function destroy() {
|
|
63801
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
63802
|
+
}
|
|
63803
|
+
createDebug.enable(createDebug.load());
|
|
63804
|
+
return createDebug;
|
|
63805
|
+
}
|
|
63806
|
+
module2.exports = setup;
|
|
63807
|
+
}
|
|
63808
|
+
});
|
|
63809
|
+
|
|
63810
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
63811
|
+
var require_browser = __commonJS({
|
|
63812
|
+
"../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
63813
|
+
"use strict";
|
|
63814
|
+
exports.formatArgs = formatArgs;
|
|
63815
|
+
exports.save = save;
|
|
63816
|
+
exports.load = load;
|
|
63817
|
+
exports.useColors = useColors;
|
|
63818
|
+
exports.storage = localstorage();
|
|
63819
|
+
exports.destroy = (() => {
|
|
63820
|
+
let warned = false;
|
|
63821
|
+
return () => {
|
|
63822
|
+
if (!warned) {
|
|
63823
|
+
warned = true;
|
|
63824
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
63825
|
+
}
|
|
63826
|
+
};
|
|
63827
|
+
})();
|
|
63828
|
+
exports.colors = [
|
|
63829
|
+
"#0000CC",
|
|
63830
|
+
"#0000FF",
|
|
63831
|
+
"#0033CC",
|
|
63832
|
+
"#0033FF",
|
|
63833
|
+
"#0066CC",
|
|
63834
|
+
"#0066FF",
|
|
63835
|
+
"#0099CC",
|
|
63836
|
+
"#0099FF",
|
|
63837
|
+
"#00CC00",
|
|
63838
|
+
"#00CC33",
|
|
63839
|
+
"#00CC66",
|
|
63840
|
+
"#00CC99",
|
|
63841
|
+
"#00CCCC",
|
|
63842
|
+
"#00CCFF",
|
|
63843
|
+
"#3300CC",
|
|
63844
|
+
"#3300FF",
|
|
63845
|
+
"#3333CC",
|
|
63846
|
+
"#3333FF",
|
|
63847
|
+
"#3366CC",
|
|
63848
|
+
"#3366FF",
|
|
63849
|
+
"#3399CC",
|
|
63850
|
+
"#3399FF",
|
|
63851
|
+
"#33CC00",
|
|
63852
|
+
"#33CC33",
|
|
63853
|
+
"#33CC66",
|
|
63854
|
+
"#33CC99",
|
|
63855
|
+
"#33CCCC",
|
|
63856
|
+
"#33CCFF",
|
|
63857
|
+
"#6600CC",
|
|
63858
|
+
"#6600FF",
|
|
63859
|
+
"#6633CC",
|
|
63860
|
+
"#6633FF",
|
|
63861
|
+
"#66CC00",
|
|
63862
|
+
"#66CC33",
|
|
63863
|
+
"#9900CC",
|
|
63864
|
+
"#9900FF",
|
|
63865
|
+
"#9933CC",
|
|
63866
|
+
"#9933FF",
|
|
63867
|
+
"#99CC00",
|
|
63868
|
+
"#99CC33",
|
|
63869
|
+
"#CC0000",
|
|
63870
|
+
"#CC0033",
|
|
63871
|
+
"#CC0066",
|
|
63872
|
+
"#CC0099",
|
|
63873
|
+
"#CC00CC",
|
|
63874
|
+
"#CC00FF",
|
|
63875
|
+
"#CC3300",
|
|
63876
|
+
"#CC3333",
|
|
63877
|
+
"#CC3366",
|
|
63878
|
+
"#CC3399",
|
|
63879
|
+
"#CC33CC",
|
|
63880
|
+
"#CC33FF",
|
|
63881
|
+
"#CC6600",
|
|
63882
|
+
"#CC6633",
|
|
63883
|
+
"#CC9900",
|
|
63884
|
+
"#CC9933",
|
|
63885
|
+
"#CCCC00",
|
|
63886
|
+
"#CCCC33",
|
|
63887
|
+
"#FF0000",
|
|
63888
|
+
"#FF0033",
|
|
63889
|
+
"#FF0066",
|
|
63890
|
+
"#FF0099",
|
|
63891
|
+
"#FF00CC",
|
|
63892
|
+
"#FF00FF",
|
|
63893
|
+
"#FF3300",
|
|
63894
|
+
"#FF3333",
|
|
63895
|
+
"#FF3366",
|
|
63896
|
+
"#FF3399",
|
|
63897
|
+
"#FF33CC",
|
|
63898
|
+
"#FF33FF",
|
|
63899
|
+
"#FF6600",
|
|
63900
|
+
"#FF6633",
|
|
63901
|
+
"#FF9900",
|
|
63902
|
+
"#FF9933",
|
|
63903
|
+
"#FFCC00",
|
|
63904
|
+
"#FFCC33"
|
|
63905
|
+
];
|
|
63906
|
+
function useColors() {
|
|
63907
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
63908
|
+
return true;
|
|
63909
|
+
}
|
|
63910
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
63911
|
+
return false;
|
|
63912
|
+
}
|
|
63913
|
+
let m;
|
|
63914
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
63915
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
63916
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
63917
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
63918
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
63919
|
+
}
|
|
63920
|
+
function formatArgs(args) {
|
|
63921
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
63922
|
+
if (!this.useColors) {
|
|
63923
|
+
return;
|
|
63924
|
+
}
|
|
63925
|
+
const c = "color: " + this.color;
|
|
63926
|
+
args.splice(1, 0, c, "color: inherit");
|
|
63927
|
+
let index = 0;
|
|
63928
|
+
let lastC = 0;
|
|
63929
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
63930
|
+
if (match === "%%") {
|
|
63931
|
+
return;
|
|
63932
|
+
}
|
|
63933
|
+
index++;
|
|
63934
|
+
if (match === "%c") {
|
|
63935
|
+
lastC = index;
|
|
63936
|
+
}
|
|
63937
|
+
});
|
|
63938
|
+
args.splice(lastC, 0, c);
|
|
63939
|
+
}
|
|
63940
|
+
exports.log = console.debug || console.log || (() => {
|
|
63941
|
+
});
|
|
63942
|
+
function save(namespaces) {
|
|
63943
|
+
try {
|
|
63944
|
+
if (namespaces) {
|
|
63945
|
+
exports.storage.setItem("debug", namespaces);
|
|
63946
|
+
} else {
|
|
63947
|
+
exports.storage.removeItem("debug");
|
|
63948
|
+
}
|
|
63949
|
+
} catch (error) {
|
|
63950
|
+
}
|
|
63951
|
+
}
|
|
63952
|
+
function load() {
|
|
63953
|
+
let r;
|
|
63954
|
+
try {
|
|
63955
|
+
r = exports.storage.getItem("debug");
|
|
63956
|
+
} catch (error) {
|
|
63957
|
+
}
|
|
63958
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
63959
|
+
r = process.env.DEBUG;
|
|
63960
|
+
}
|
|
63961
|
+
return r;
|
|
63962
|
+
}
|
|
63963
|
+
function localstorage() {
|
|
63964
|
+
try {
|
|
63965
|
+
return localStorage;
|
|
63966
|
+
} catch (error) {
|
|
63967
|
+
}
|
|
63968
|
+
}
|
|
63969
|
+
module2.exports = require_common2()(exports);
|
|
63970
|
+
var { formatters } = module2.exports;
|
|
63971
|
+
formatters.j = function(v) {
|
|
63972
|
+
try {
|
|
63973
|
+
return JSON.stringify(v);
|
|
63974
|
+
} catch (error) {
|
|
63975
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
63976
|
+
}
|
|
63977
|
+
};
|
|
63978
|
+
}
|
|
63979
|
+
});
|
|
63980
|
+
|
|
63981
|
+
// ../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
63982
|
+
var require_has_flag2 = __commonJS({
|
|
63983
|
+
"../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
63984
|
+
"use strict";
|
|
63985
|
+
module2.exports = (flag, argv) => {
|
|
63986
|
+
argv = argv || process.argv;
|
|
63987
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
63988
|
+
const pos = argv.indexOf(prefix + flag);
|
|
63989
|
+
const terminatorPos = argv.indexOf("--");
|
|
63990
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
63991
|
+
};
|
|
63992
|
+
}
|
|
63993
|
+
});
|
|
63994
|
+
|
|
63995
|
+
// ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
63996
|
+
var require_supports_color2 = __commonJS({
|
|
63997
|
+
"../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
63998
|
+
"use strict";
|
|
63999
|
+
var os = require("os");
|
|
64000
|
+
var hasFlag = require_has_flag2();
|
|
64001
|
+
var env = process.env;
|
|
64002
|
+
var forceColor;
|
|
64003
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
64004
|
+
forceColor = false;
|
|
64005
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
64006
|
+
forceColor = true;
|
|
64007
|
+
}
|
|
64008
|
+
if ("FORCE_COLOR" in env) {
|
|
64009
|
+
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
64010
|
+
}
|
|
64011
|
+
function translateLevel(level) {
|
|
64012
|
+
if (level === 0) {
|
|
64013
|
+
return false;
|
|
64014
|
+
}
|
|
64015
|
+
return {
|
|
64016
|
+
level,
|
|
64017
|
+
hasBasic: true,
|
|
64018
|
+
has256: level >= 2,
|
|
64019
|
+
has16m: level >= 3
|
|
64020
|
+
};
|
|
64021
|
+
}
|
|
64022
|
+
function supportsColor(stream) {
|
|
64023
|
+
if (forceColor === false) {
|
|
64024
|
+
return 0;
|
|
64025
|
+
}
|
|
64026
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
64027
|
+
return 3;
|
|
64028
|
+
}
|
|
64029
|
+
if (hasFlag("color=256")) {
|
|
64030
|
+
return 2;
|
|
64031
|
+
}
|
|
64032
|
+
if (stream && !stream.isTTY && forceColor !== true) {
|
|
64033
|
+
return 0;
|
|
64034
|
+
}
|
|
64035
|
+
const min = forceColor ? 1 : 0;
|
|
64036
|
+
if (process.platform === "win32") {
|
|
64037
|
+
const osRelease = os.release().split(".");
|
|
64038
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
64039
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
64040
|
+
}
|
|
64041
|
+
return 1;
|
|
64042
|
+
}
|
|
64043
|
+
if ("CI" in env) {
|
|
64044
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
64045
|
+
return 1;
|
|
64046
|
+
}
|
|
64047
|
+
return min;
|
|
64048
|
+
}
|
|
64049
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
64050
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
64051
|
+
}
|
|
64052
|
+
if (env.COLORTERM === "truecolor") {
|
|
64053
|
+
return 3;
|
|
64054
|
+
}
|
|
64055
|
+
if ("TERM_PROGRAM" in env) {
|
|
64056
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
64057
|
+
switch (env.TERM_PROGRAM) {
|
|
64058
|
+
case "iTerm.app":
|
|
64059
|
+
return version >= 3 ? 3 : 2;
|
|
64060
|
+
case "Apple_Terminal":
|
|
64061
|
+
return 2;
|
|
64062
|
+
}
|
|
64063
|
+
}
|
|
64064
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
64065
|
+
return 2;
|
|
64066
|
+
}
|
|
64067
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
64068
|
+
return 1;
|
|
64069
|
+
}
|
|
64070
|
+
if ("COLORTERM" in env) {
|
|
64071
|
+
return 1;
|
|
64072
|
+
}
|
|
64073
|
+
if (env.TERM === "dumb") {
|
|
64074
|
+
return min;
|
|
64075
|
+
}
|
|
64076
|
+
return min;
|
|
64077
|
+
}
|
|
64078
|
+
function getSupportLevel(stream) {
|
|
64079
|
+
const level = supportsColor(stream);
|
|
64080
|
+
return translateLevel(level);
|
|
64081
|
+
}
|
|
64082
|
+
module2.exports = {
|
|
64083
|
+
supportsColor: getSupportLevel,
|
|
64084
|
+
stdout: getSupportLevel(process.stdout),
|
|
64085
|
+
stderr: getSupportLevel(process.stderr)
|
|
64086
|
+
};
|
|
64087
|
+
}
|
|
64088
|
+
});
|
|
64089
|
+
|
|
64090
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
64091
|
+
var require_node2 = __commonJS({
|
|
64092
|
+
"../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
64093
|
+
"use strict";
|
|
64094
|
+
var tty = require("tty");
|
|
64095
|
+
var util = require("util");
|
|
64096
|
+
exports.init = init;
|
|
64097
|
+
exports.log = log;
|
|
64098
|
+
exports.formatArgs = formatArgs;
|
|
64099
|
+
exports.save = save;
|
|
64100
|
+
exports.load = load;
|
|
64101
|
+
exports.useColors = useColors;
|
|
64102
|
+
exports.destroy = util.deprecate(
|
|
64103
|
+
() => {
|
|
64104
|
+
},
|
|
64105
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
64106
|
+
);
|
|
64107
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
64108
|
+
try {
|
|
64109
|
+
const supportsColor = require_supports_color2();
|
|
64110
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
64111
|
+
exports.colors = [
|
|
64112
|
+
20,
|
|
64113
|
+
21,
|
|
64114
|
+
26,
|
|
64115
|
+
27,
|
|
64116
|
+
32,
|
|
64117
|
+
33,
|
|
64118
|
+
38,
|
|
64119
|
+
39,
|
|
64120
|
+
40,
|
|
64121
|
+
41,
|
|
64122
|
+
42,
|
|
64123
|
+
43,
|
|
64124
|
+
44,
|
|
64125
|
+
45,
|
|
64126
|
+
56,
|
|
64127
|
+
57,
|
|
64128
|
+
62,
|
|
64129
|
+
63,
|
|
64130
|
+
68,
|
|
64131
|
+
69,
|
|
64132
|
+
74,
|
|
64133
|
+
75,
|
|
64134
|
+
76,
|
|
64135
|
+
77,
|
|
64136
|
+
78,
|
|
64137
|
+
79,
|
|
64138
|
+
80,
|
|
64139
|
+
81,
|
|
64140
|
+
92,
|
|
64141
|
+
93,
|
|
64142
|
+
98,
|
|
64143
|
+
99,
|
|
64144
|
+
112,
|
|
64145
|
+
113,
|
|
64146
|
+
128,
|
|
64147
|
+
129,
|
|
64148
|
+
134,
|
|
64149
|
+
135,
|
|
64150
|
+
148,
|
|
64151
|
+
149,
|
|
64152
|
+
160,
|
|
64153
|
+
161,
|
|
64154
|
+
162,
|
|
64155
|
+
163,
|
|
64156
|
+
164,
|
|
64157
|
+
165,
|
|
64158
|
+
166,
|
|
64159
|
+
167,
|
|
64160
|
+
168,
|
|
64161
|
+
169,
|
|
64162
|
+
170,
|
|
64163
|
+
171,
|
|
64164
|
+
172,
|
|
64165
|
+
173,
|
|
64166
|
+
178,
|
|
64167
|
+
179,
|
|
64168
|
+
184,
|
|
64169
|
+
185,
|
|
64170
|
+
196,
|
|
64171
|
+
197,
|
|
64172
|
+
198,
|
|
64173
|
+
199,
|
|
64174
|
+
200,
|
|
64175
|
+
201,
|
|
64176
|
+
202,
|
|
64177
|
+
203,
|
|
64178
|
+
204,
|
|
64179
|
+
205,
|
|
64180
|
+
206,
|
|
64181
|
+
207,
|
|
64182
|
+
208,
|
|
64183
|
+
209,
|
|
64184
|
+
214,
|
|
64185
|
+
215,
|
|
64186
|
+
220,
|
|
64187
|
+
221
|
|
64188
|
+
];
|
|
64189
|
+
}
|
|
64190
|
+
} catch (error) {
|
|
64191
|
+
}
|
|
64192
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
64193
|
+
return /^debug_/i.test(key);
|
|
64194
|
+
}).reduce((obj, key) => {
|
|
64195
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
64196
|
+
return k.toUpperCase();
|
|
64197
|
+
});
|
|
64198
|
+
let val = process.env[key];
|
|
64199
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
64200
|
+
val = true;
|
|
64201
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
64202
|
+
val = false;
|
|
64203
|
+
} else if (val === "null") {
|
|
64204
|
+
val = null;
|
|
64205
|
+
} else {
|
|
64206
|
+
val = Number(val);
|
|
64207
|
+
}
|
|
64208
|
+
obj[prop] = val;
|
|
64209
|
+
return obj;
|
|
64210
|
+
}, {});
|
|
64211
|
+
function useColors() {
|
|
64212
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
64213
|
+
}
|
|
64214
|
+
function formatArgs(args) {
|
|
64215
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
64216
|
+
if (useColors2) {
|
|
64217
|
+
const c = this.color;
|
|
64218
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
64219
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
64220
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
64221
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
64222
|
+
} else {
|
|
64223
|
+
args[0] = getDate() + name + " " + args[0];
|
|
64224
|
+
}
|
|
64225
|
+
}
|
|
64226
|
+
function getDate() {
|
|
64227
|
+
if (exports.inspectOpts.hideDate) {
|
|
64228
|
+
return "";
|
|
64229
|
+
}
|
|
64230
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
64231
|
+
}
|
|
64232
|
+
function log(...args) {
|
|
64233
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
64234
|
+
}
|
|
64235
|
+
function save(namespaces) {
|
|
64236
|
+
if (namespaces) {
|
|
64237
|
+
process.env.DEBUG = namespaces;
|
|
64238
|
+
} else {
|
|
64239
|
+
delete process.env.DEBUG;
|
|
64240
|
+
}
|
|
64241
|
+
}
|
|
64242
|
+
function load() {
|
|
64243
|
+
return process.env.DEBUG;
|
|
64244
|
+
}
|
|
64245
|
+
function init(debug) {
|
|
64246
|
+
debug.inspectOpts = {};
|
|
64247
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
64248
|
+
for (let i = 0; i < keys.length; i++) {
|
|
64249
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
64250
|
+
}
|
|
64251
|
+
}
|
|
64252
|
+
module2.exports = require_common2()(exports);
|
|
64253
|
+
var { formatters } = module2.exports;
|
|
64254
|
+
formatters.o = function(v) {
|
|
64255
|
+
this.inspectOpts.colors = this.useColors;
|
|
64256
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
64257
|
+
};
|
|
64258
|
+
formatters.O = function(v) {
|
|
64259
|
+
this.inspectOpts.colors = this.useColors;
|
|
64260
|
+
return util.inspect(v, this.inspectOpts);
|
|
64261
|
+
};
|
|
64262
|
+
}
|
|
64263
|
+
});
|
|
64264
|
+
|
|
64265
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
64266
|
+
var require_src3 = __commonJS({
|
|
64267
|
+
"../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
64268
|
+
"use strict";
|
|
64269
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
64270
|
+
module2.exports = require_browser();
|
|
64271
|
+
} else {
|
|
64272
|
+
module2.exports = require_node2();
|
|
64273
|
+
}
|
|
64274
|
+
}
|
|
64275
|
+
});
|
|
64276
|
+
|
|
64154
64277
|
// ../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/utils/get-type.js
|
|
64155
64278
|
var require_get_type = __commonJS({
|
|
64156
64279
|
"../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/utils/get-type.js"(exports) {
|
|
@@ -64303,7 +64426,7 @@ var require_filter3 = __commonJS({
|
|
|
64303
64426
|
return r;
|
|
64304
64427
|
};
|
|
64305
64428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64306
|
-
var debug_1 =
|
|
64429
|
+
var debug_1 = require_src3();
|
|
64307
64430
|
var mongo_eql_1 = require_mongo_eql();
|
|
64308
64431
|
var ops = require_ops();
|
|
64309
64432
|
var get_type_1 = require_get_type();
|
|
@@ -64463,7 +64586,7 @@ var require_mods = __commonJS({
|
|
|
64463
64586
|
return r;
|
|
64464
64587
|
};
|
|
64465
64588
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64466
|
-
var debug_1 =
|
|
64589
|
+
var debug_1 = require_src3();
|
|
64467
64590
|
var mongoDot = require_mongo_dot();
|
|
64468
64591
|
var mongo_eql_1 = require_mongo_eql();
|
|
64469
64592
|
var get_type_1 = require_get_type();
|
|
@@ -64924,7 +65047,7 @@ var require_query = __commonJS({
|
|
|
64924
65047
|
"../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/query.js"(exports) {
|
|
64925
65048
|
"use strict";
|
|
64926
65049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64927
|
-
var debug_1 =
|
|
65050
|
+
var debug_1 = require_src3();
|
|
64928
65051
|
var filter_1 = require_filter3();
|
|
64929
65052
|
var mods = require_mods();
|
|
64930
65053
|
var mongoDot = require_mongo_dot();
|
|
@@ -65023,16 +65146,16 @@ __export(src_exports, {
|
|
|
65023
65146
|
module.exports = __toCommonJS(src_exports);
|
|
65024
65147
|
var import_path5 = __toESM(require("path"));
|
|
65025
65148
|
|
|
65026
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65149
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
|
|
65027
65150
|
var import_chalk = __toESM(require_source());
|
|
65028
65151
|
|
|
65029
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65152
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
|
|
65030
65153
|
var import_fs_extra = __toESM(require_lib());
|
|
65031
65154
|
|
|
65032
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
65155
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
65033
65156
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
65034
65157
|
|
|
65035
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
65158
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
65036
65159
|
function fsExists(path5) {
|
|
65037
65160
|
return __async(this, null, function* () {
|
|
65038
65161
|
try {
|
|
@@ -65044,19 +65167,19 @@ function fsExists(path5) {
|
|
|
65044
65167
|
});
|
|
65045
65168
|
}
|
|
65046
65169
|
|
|
65047
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65170
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
|
|
65048
65171
|
var import_execa = __toESM(require_execa());
|
|
65049
65172
|
|
|
65050
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65173
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
65051
65174
|
var import_semver = __toESM(require_semver2());
|
|
65052
65175
|
|
|
65053
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.
|
|
65176
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
|
|
65054
65177
|
var import_ejs = __toESM(require_ejs());
|
|
65055
65178
|
function renderString(template, fullData) {
|
|
65056
65179
|
return import_ejs.default.render(template, fullData) || "";
|
|
65057
65180
|
}
|
|
65058
65181
|
|
|
65059
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.
|
|
65182
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
|
|
65060
65183
|
var EjsAPI = class {
|
|
65061
65184
|
renderTemplate(_0, _1) {
|
|
65062
65185
|
return __async(this, arguments, function* (templateResource, target, parameters = {}) {
|
|
@@ -65091,7 +65214,7 @@ var EjsAPI = class {
|
|
|
65091
65214
|
}
|
|
65092
65215
|
};
|
|
65093
65216
|
|
|
65094
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.
|
|
65217
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
|
|
65095
65218
|
var import_path = __toESM(require("path"));
|
|
65096
65219
|
var FsAPI = class {
|
|
65097
65220
|
renderFile(resource, target) {
|
|
@@ -65120,7 +65243,7 @@ var FsAPI = class {
|
|
|
65120
65243
|
}
|
|
65121
65244
|
};
|
|
65122
65245
|
|
|
65123
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.
|
|
65246
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
|
|
65124
65247
|
function canUseGit() {
|
|
65125
65248
|
return __async(this, null, function* () {
|
|
65126
65249
|
try {
|
|
@@ -65204,7 +65327,7 @@ function gitCommit(cwd, commitMessage) {
|
|
|
65204
65327
|
});
|
|
65205
65328
|
}
|
|
65206
65329
|
|
|
65207
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.
|
|
65330
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
|
|
65208
65331
|
var GitAPI = class {
|
|
65209
65332
|
isInGitRepo() {
|
|
65210
65333
|
return __async(this, arguments, function* (cwd = this.generatorCore.outputPath) {
|
|
@@ -65260,7 +65383,7 @@ var GitAPI = class {
|
|
|
65260
65383
|
}
|
|
65261
65384
|
};
|
|
65262
65385
|
|
|
65263
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.
|
|
65386
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
|
|
65264
65387
|
var import_handlebars = __toESM(require_lib2());
|
|
65265
65388
|
function renderString2(template, fullData, registers) {
|
|
65266
65389
|
const helpers = __spreadValues({}, registers === null || registers === void 0 ? void 0 : registers.helpers);
|
|
@@ -65270,7 +65393,7 @@ function renderString2(template, fullData, registers) {
|
|
|
65270
65393
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
65271
65394
|
}
|
|
65272
65395
|
|
|
65273
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.
|
|
65396
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
|
|
65274
65397
|
var HandlebarsAPI = class {
|
|
65275
65398
|
registerHelp(helpers) {
|
|
65276
65399
|
return __async(this, null, function* () {
|
|
@@ -65427,7 +65550,7 @@ function __generator(thisArg, body) {
|
|
|
65427
65550
|
}
|
|
65428
65551
|
}
|
|
65429
65552
|
|
|
65430
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65553
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
|
|
65431
65554
|
var import_execa3 = __toESM(require_execa());
|
|
65432
65555
|
function canUseNvm() {
|
|
65433
65556
|
return _canUseNvm.apply(this, arguments);
|
|
@@ -65648,7 +65771,7 @@ function _canUsePnpm() {
|
|
|
65648
65771
|
return _canUsePnpm.apply(this, arguments);
|
|
65649
65772
|
}
|
|
65650
65773
|
|
|
65651
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.
|
|
65774
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
|
|
65652
65775
|
function execaWithStreamLog(command, args, options) {
|
|
65653
65776
|
const promise = (0, import_execa.default)(command, args, __spreadProps(__spreadValues({}, options), {
|
|
65654
65777
|
stdin: "inherit",
|
|
@@ -65749,7 +65872,7 @@ function pnpmInstall(_0) {
|
|
|
65749
65872
|
});
|
|
65750
65873
|
}
|
|
65751
65874
|
|
|
65752
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.
|
|
65875
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
|
|
65753
65876
|
var NpmAPI = class {
|
|
65754
65877
|
npmInstall({ cwd, registryUrl, ignoreScripts }) {
|
|
65755
65878
|
return npmInstall({
|
|
@@ -65777,7 +65900,7 @@ var NpmAPI = class {
|
|
|
65777
65900
|
}
|
|
65778
65901
|
};
|
|
65779
65902
|
|
|
65780
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
65903
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
|
|
65781
65904
|
var import_lodash = __toESM(require_lodash());
|
|
65782
65905
|
var import_lodash2 = __toESM(require_lodash2());
|
|
65783
65906
|
var import_lodash3 = __toESM(require_lodash3());
|
|
@@ -71544,10 +71667,10 @@ var Schema = (
|
|
|
71544
71667
|
}()
|
|
71545
71668
|
);
|
|
71546
71669
|
|
|
71547
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
71670
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
71548
71671
|
var import_inquirer = __toESM(require_inquirer());
|
|
71549
71672
|
|
|
71550
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
71673
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
|
|
71551
71674
|
function validateSchema(schema) {
|
|
71552
71675
|
const { type, properties } = schema;
|
|
71553
71676
|
if (type !== "object") {
|
|
@@ -71634,7 +71757,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
71634
71757
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
71635
71758
|
}
|
|
71636
71759
|
|
|
71637
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
71760
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
71638
71761
|
var compileRule = (rule, scope) => {
|
|
71639
71762
|
const state = Schema.compile(rule, __spreadValues({
|
|
71640
71763
|
$self: {},
|
|
@@ -71734,7 +71857,7 @@ function prompt(_0) {
|
|
|
71734
71857
|
});
|
|
71735
71858
|
}
|
|
71736
71859
|
|
|
71737
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
71860
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
|
|
71738
71861
|
var CLIReader = class {
|
|
71739
71862
|
getAnswers() {
|
|
71740
71863
|
return this.answers;
|
|
@@ -71762,8 +71885,8 @@ var CLIReader = class {
|
|
|
71762
71885
|
}
|
|
71763
71886
|
};
|
|
71764
71887
|
|
|
71765
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
71766
|
-
var import_comment_json = __toESM(
|
|
71888
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
71889
|
+
var import_comment_json = __toESM(require_src2());
|
|
71767
71890
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
71768
71891
|
|
|
71769
71892
|
// ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.60.3/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
|
|
@@ -71829,7 +71952,7 @@ var I18n = class {
|
|
|
71829
71952
|
}
|
|
71830
71953
|
};
|
|
71831
71954
|
|
|
71832
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
71955
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
|
|
71833
71956
|
var EN_LOCALE = {
|
|
71834
71957
|
environment: {
|
|
71835
71958
|
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
@@ -71856,7 +71979,7 @@ var EN_LOCALE = {
|
|
|
71856
71979
|
}
|
|
71857
71980
|
};
|
|
71858
71981
|
|
|
71859
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
71982
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
|
|
71860
71983
|
var ZH_LOCALE = {
|
|
71861
71984
|
environment: {
|
|
71862
71985
|
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
@@ -71883,14 +72006,14 @@ var ZH_LOCALE = {
|
|
|
71883
72006
|
}
|
|
71884
72007
|
};
|
|
71885
72008
|
|
|
71886
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
72009
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
|
|
71887
72010
|
var i18n = new I18n();
|
|
71888
72011
|
var localeKeys = i18n.init("zh", {
|
|
71889
72012
|
zh: ZH_LOCALE,
|
|
71890
72013
|
en: EN_LOCALE
|
|
71891
72014
|
});
|
|
71892
72015
|
|
|
71893
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
72016
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
|
|
71894
72017
|
var import_path3 = __toESM(require("path"));
|
|
71895
72018
|
var NODE_MAJOR_VERSION_MAP = {
|
|
71896
72019
|
"lts/*": 18,
|
|
@@ -71941,7 +72064,7 @@ function checkUseNvm(cwd, logger) {
|
|
|
71941
72064
|
});
|
|
71942
72065
|
}
|
|
71943
72066
|
|
|
71944
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
72067
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
|
|
71945
72068
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
71946
72069
|
for (const question of questions) {
|
|
71947
72070
|
question.default = initValue[question.name] || question.default;
|
|
@@ -71968,7 +72091,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
71968
72091
|
return questions;
|
|
71969
72092
|
}
|
|
71970
72093
|
|
|
71971
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
72094
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
71972
72095
|
var AppAPI = class {
|
|
71973
72096
|
checkEnvironment(nodeVersion) {
|
|
71974
72097
|
return __async(this, null, function* () {
|
|
@@ -72211,11 +72334,11 @@ var AppAPI = class {
|
|
|
72211
72334
|
}
|
|
72212
72335
|
};
|
|
72213
72336
|
|
|
72214
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
72215
|
-
var import_comment_json2 = __toESM(
|
|
72337
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
72338
|
+
var import_comment_json2 = __toESM(require_src2());
|
|
72216
72339
|
var declarationUpdate = __toESM(require_dist());
|
|
72217
72340
|
|
|
72218
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
72341
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
|
|
72219
72342
|
function editJson(generatorCore, resource, getNewJsonValue) {
|
|
72220
72343
|
return __async(this, null, function* () {
|
|
72221
72344
|
const originJsonValue = yield resource.value();
|
|
@@ -72230,7 +72353,7 @@ function editJson(generatorCore, resource, getNewJsonValue) {
|
|
|
72230
72353
|
});
|
|
72231
72354
|
}
|
|
72232
72355
|
|
|
72233
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
72356
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
72234
72357
|
var JsonAPI = class {
|
|
72235
72358
|
get(resource) {
|
|
72236
72359
|
return __async(this, null, function* () {
|