@builderbot/bot 1.3.13 → 1.3.14
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.cjs +124 -124
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1421,17 +1421,17 @@ var hasRequiredBrowser$1;
|
|
|
1421
1421
|
function requireBrowser$1 () {
|
|
1422
1422
|
if (hasRequiredBrowser$1) return browser$1.exports;
|
|
1423
1423
|
hasRequiredBrowser$1 = 1;
|
|
1424
|
-
(function (module, exports) {
|
|
1424
|
+
(function (module, exports$1) {
|
|
1425
1425
|
/**
|
|
1426
1426
|
* This is the web browser implementation of `debug()`.
|
|
1427
1427
|
*/
|
|
1428
1428
|
|
|
1429
|
-
exports.formatArgs = formatArgs;
|
|
1430
|
-
exports.save = save;
|
|
1431
|
-
exports.load = load;
|
|
1432
|
-
exports.useColors = useColors;
|
|
1433
|
-
exports.storage = localstorage();
|
|
1434
|
-
exports.destroy = (() => {
|
|
1429
|
+
exports$1.formatArgs = formatArgs;
|
|
1430
|
+
exports$1.save = save;
|
|
1431
|
+
exports$1.load = load;
|
|
1432
|
+
exports$1.useColors = useColors;
|
|
1433
|
+
exports$1.storage = localstorage();
|
|
1434
|
+
exports$1.destroy = (() => {
|
|
1435
1435
|
let warned = false;
|
|
1436
1436
|
|
|
1437
1437
|
return () => {
|
|
@@ -1446,7 +1446,7 @@ function requireBrowser$1 () {
|
|
|
1446
1446
|
* Colors.
|
|
1447
1447
|
*/
|
|
1448
1448
|
|
|
1449
|
-
exports.colors = [
|
|
1449
|
+
exports$1.colors = [
|
|
1450
1450
|
'#0000CC',
|
|
1451
1451
|
'#0000FF',
|
|
1452
1452
|
'#0033CC',
|
|
@@ -1611,7 +1611,7 @@ function requireBrowser$1 () {
|
|
|
1611
1611
|
*
|
|
1612
1612
|
* @api public
|
|
1613
1613
|
*/
|
|
1614
|
-
exports.log = console.debug || console.log || (() => {});
|
|
1614
|
+
exports$1.log = console.debug || console.log || (() => {});
|
|
1615
1615
|
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Save `namespaces`.
|
|
@@ -1622,9 +1622,9 @@ function requireBrowser$1 () {
|
|
|
1622
1622
|
function save(namespaces) {
|
|
1623
1623
|
try {
|
|
1624
1624
|
if (namespaces) {
|
|
1625
|
-
exports.storage.setItem('debug', namespaces);
|
|
1625
|
+
exports$1.storage.setItem('debug', namespaces);
|
|
1626
1626
|
} else {
|
|
1627
|
-
exports.storage.removeItem('debug');
|
|
1627
|
+
exports$1.storage.removeItem('debug');
|
|
1628
1628
|
}
|
|
1629
1629
|
} catch (error) {
|
|
1630
1630
|
// Swallow
|
|
@@ -1641,7 +1641,7 @@ function requireBrowser$1 () {
|
|
|
1641
1641
|
function load() {
|
|
1642
1642
|
let r;
|
|
1643
1643
|
try {
|
|
1644
|
-
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
|
|
1644
|
+
r = exports$1.storage.getItem('debug') || exports$1.storage.getItem('DEBUG') ;
|
|
1645
1645
|
} catch (error) {
|
|
1646
1646
|
// Swallow
|
|
1647
1647
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -1677,7 +1677,7 @@ function requireBrowser$1 () {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
|
-
module.exports = requireCommon()(exports);
|
|
1680
|
+
module.exports = requireCommon()(exports$1);
|
|
1681
1681
|
|
|
1682
1682
|
const {formatters} = module.exports;
|
|
1683
1683
|
|
|
@@ -1866,7 +1866,7 @@ var hasRequiredNode$1;
|
|
|
1866
1866
|
function requireNode$1 () {
|
|
1867
1867
|
if (hasRequiredNode$1) return node$1.exports;
|
|
1868
1868
|
hasRequiredNode$1 = 1;
|
|
1869
|
-
(function (module, exports) {
|
|
1869
|
+
(function (module, exports$1) {
|
|
1870
1870
|
const tty = require$$0$4;
|
|
1871
1871
|
const util = require$$1$1;
|
|
1872
1872
|
|
|
@@ -1874,13 +1874,13 @@ function requireNode$1 () {
|
|
|
1874
1874
|
* This is the Node.js implementation of `debug()`.
|
|
1875
1875
|
*/
|
|
1876
1876
|
|
|
1877
|
-
exports.init = init;
|
|
1878
|
-
exports.log = log;
|
|
1879
|
-
exports.formatArgs = formatArgs;
|
|
1880
|
-
exports.save = save;
|
|
1881
|
-
exports.load = load;
|
|
1882
|
-
exports.useColors = useColors;
|
|
1883
|
-
exports.destroy = util.deprecate(
|
|
1877
|
+
exports$1.init = init;
|
|
1878
|
+
exports$1.log = log;
|
|
1879
|
+
exports$1.formatArgs = formatArgs;
|
|
1880
|
+
exports$1.save = save;
|
|
1881
|
+
exports$1.load = load;
|
|
1882
|
+
exports$1.useColors = useColors;
|
|
1883
|
+
exports$1.destroy = util.deprecate(
|
|
1884
1884
|
() => {},
|
|
1885
1885
|
'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
|
|
1886
1886
|
);
|
|
@@ -1889,7 +1889,7 @@ function requireNode$1 () {
|
|
|
1889
1889
|
* Colors.
|
|
1890
1890
|
*/
|
|
1891
1891
|
|
|
1892
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
1892
|
+
exports$1.colors = [6, 2, 3, 4, 5, 1];
|
|
1893
1893
|
|
|
1894
1894
|
try {
|
|
1895
1895
|
// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
|
|
@@ -1897,7 +1897,7 @@ function requireNode$1 () {
|
|
|
1897
1897
|
const supportsColor = requireSupportsColor();
|
|
1898
1898
|
|
|
1899
1899
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
1900
|
-
exports.colors = [
|
|
1900
|
+
exports$1.colors = [
|
|
1901
1901
|
20,
|
|
1902
1902
|
21,
|
|
1903
1903
|
26,
|
|
@@ -1986,7 +1986,7 @@ function requireNode$1 () {
|
|
|
1986
1986
|
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
1987
1987
|
*/
|
|
1988
1988
|
|
|
1989
|
-
exports.inspectOpts = Object.keys(process.env).filter(key => {
|
|
1989
|
+
exports$1.inspectOpts = Object.keys(process.env).filter(key => {
|
|
1990
1990
|
return /^debug_/i.test(key);
|
|
1991
1991
|
}).reduce((obj, key) => {
|
|
1992
1992
|
// Camel-case
|
|
@@ -2018,8 +2018,8 @@ function requireNode$1 () {
|
|
|
2018
2018
|
*/
|
|
2019
2019
|
|
|
2020
2020
|
function useColors() {
|
|
2021
|
-
return 'colors' in exports.inspectOpts ?
|
|
2022
|
-
Boolean(exports.inspectOpts.colors) :
|
|
2021
|
+
return 'colors' in exports$1.inspectOpts ?
|
|
2022
|
+
Boolean(exports$1.inspectOpts.colors) :
|
|
2023
2023
|
tty.isatty(process.stderr.fd);
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
@@ -2045,7 +2045,7 @@ function requireNode$1 () {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
|
|
2047
2047
|
function getDate() {
|
|
2048
|
-
if (exports.inspectOpts.hideDate) {
|
|
2048
|
+
if (exports$1.inspectOpts.hideDate) {
|
|
2049
2049
|
return '';
|
|
2050
2050
|
}
|
|
2051
2051
|
return new Date().toISOString() + ' ';
|
|
@@ -2056,7 +2056,7 @@ function requireNode$1 () {
|
|
|
2056
2056
|
*/
|
|
2057
2057
|
|
|
2058
2058
|
function log(...args) {
|
|
2059
|
-
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n');
|
|
2059
|
+
return process.stderr.write(util.formatWithOptions(exports$1.inspectOpts, ...args) + '\n');
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
2062
|
/**
|
|
@@ -2096,13 +2096,13 @@ function requireNode$1 () {
|
|
|
2096
2096
|
function init(debug) {
|
|
2097
2097
|
debug.inspectOpts = {};
|
|
2098
2098
|
|
|
2099
|
-
const keys = Object.keys(exports.inspectOpts);
|
|
2099
|
+
const keys = Object.keys(exports$1.inspectOpts);
|
|
2100
2100
|
for (let i = 0; i < keys.length; i++) {
|
|
2101
|
-
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
2101
|
+
debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
2105
|
-
module.exports = requireCommon()(exports);
|
|
2105
|
+
module.exports = requireCommon()(exports$1);
|
|
2106
2106
|
|
|
2107
2107
|
const {formatters} = module.exports;
|
|
2108
2108
|
|
|
@@ -2663,7 +2663,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
2663
2663
|
// Wraps the key/value object of protocols with redirect functionality
|
|
2664
2664
|
function wrap(protocols) {
|
|
2665
2665
|
// Default settings
|
|
2666
|
-
var exports = {
|
|
2666
|
+
var exports$1 = {
|
|
2667
2667
|
maxRedirects: 21,
|
|
2668
2668
|
maxBodyLength: 10 * 1024 * 1024,
|
|
2669
2669
|
};
|
|
@@ -2673,7 +2673,7 @@ function wrap(protocols) {
|
|
|
2673
2673
|
Object.keys(protocols).forEach(function (scheme) {
|
|
2674
2674
|
var protocol = scheme + ":";
|
|
2675
2675
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
2676
|
-
var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
|
2676
|
+
var wrappedProtocol = exports$1[scheme] = Object.create(nativeProtocol);
|
|
2677
2677
|
|
|
2678
2678
|
// Executes a request, following redirects
|
|
2679
2679
|
function request(input, options, callback) {
|
|
@@ -2696,8 +2696,8 @@ function wrap(protocols) {
|
|
|
2696
2696
|
|
|
2697
2697
|
// Set defaults
|
|
2698
2698
|
options = Object.assign({
|
|
2699
|
-
maxRedirects: exports.maxRedirects,
|
|
2700
|
-
maxBodyLength: exports.maxBodyLength,
|
|
2699
|
+
maxRedirects: exports$1.maxRedirects,
|
|
2700
|
+
maxBodyLength: exports$1.maxBodyLength,
|
|
2701
2701
|
}, input, options);
|
|
2702
2702
|
options.nativeProtocols = nativeProtocols;
|
|
2703
2703
|
if (!isString(options.host) && !isString(options.hostname)) {
|
|
@@ -2722,7 +2722,7 @@ function wrap(protocols) {
|
|
|
2722
2722
|
get: { value: get, configurable: true, enumerable: true, writable: true },
|
|
2723
2723
|
});
|
|
2724
2724
|
});
|
|
2725
|
-
return exports;
|
|
2725
|
+
return exports$1;
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
2728
|
function noop() { /* empty */ }
|
|
@@ -13591,7 +13591,7 @@ var hasRequiredMimeTypes;
|
|
|
13591
13591
|
function requireMimeTypes () {
|
|
13592
13592
|
if (hasRequiredMimeTypes) return mimeTypes$1;
|
|
13593
13593
|
hasRequiredMimeTypes = 1;
|
|
13594
|
-
(function (exports) {
|
|
13594
|
+
(function (exports$1) {
|
|
13595
13595
|
|
|
13596
13596
|
/**
|
|
13597
13597
|
* Module dependencies.
|
|
@@ -13614,16 +13614,16 @@ function requireMimeTypes () {
|
|
|
13614
13614
|
* @public
|
|
13615
13615
|
*/
|
|
13616
13616
|
|
|
13617
|
-
exports.charset = charset;
|
|
13618
|
-
exports.charsets = { lookup: charset };
|
|
13619
|
-
exports.contentType = contentType;
|
|
13620
|
-
exports.extension = extension;
|
|
13621
|
-
exports.extensions = Object.create(null);
|
|
13622
|
-
exports.lookup = lookup;
|
|
13623
|
-
exports.types = Object.create(null);
|
|
13617
|
+
exports$1.charset = charset;
|
|
13618
|
+
exports$1.charsets = { lookup: charset };
|
|
13619
|
+
exports$1.contentType = contentType;
|
|
13620
|
+
exports$1.extension = extension;
|
|
13621
|
+
exports$1.extensions = Object.create(null);
|
|
13622
|
+
exports$1.lookup = lookup;
|
|
13623
|
+
exports$1.types = Object.create(null);
|
|
13624
13624
|
|
|
13625
13625
|
// Populate the extensions/types maps
|
|
13626
|
-
populateMaps(exports.extensions, exports.types);
|
|
13626
|
+
populateMaps(exports$1.extensions, exports$1.types);
|
|
13627
13627
|
|
|
13628
13628
|
/**
|
|
13629
13629
|
* Get the default charset for a MIME type.
|
|
@@ -13667,7 +13667,7 @@ function requireMimeTypes () {
|
|
|
13667
13667
|
}
|
|
13668
13668
|
|
|
13669
13669
|
var mime = str.indexOf('/') === -1
|
|
13670
|
-
? exports.lookup(str)
|
|
13670
|
+
? exports$1.lookup(str)
|
|
13671
13671
|
: str;
|
|
13672
13672
|
|
|
13673
13673
|
if (!mime) {
|
|
@@ -13676,7 +13676,7 @@ function requireMimeTypes () {
|
|
|
13676
13676
|
|
|
13677
13677
|
// TODO: use content-type or other module
|
|
13678
13678
|
if (mime.indexOf('charset') === -1) {
|
|
13679
|
-
var charset = exports.charset(mime);
|
|
13679
|
+
var charset = exports$1.charset(mime);
|
|
13680
13680
|
if (charset) mime += '; charset=' + charset.toLowerCase();
|
|
13681
13681
|
}
|
|
13682
13682
|
|
|
@@ -13699,7 +13699,7 @@ function requireMimeTypes () {
|
|
|
13699
13699
|
var match = EXTRACT_TYPE_REGEXP.exec(type);
|
|
13700
13700
|
|
|
13701
13701
|
// get extensions
|
|
13702
|
-
var exts = match && exports.extensions[match[1].toLowerCase()];
|
|
13702
|
+
var exts = match && exports$1.extensions[match[1].toLowerCase()];
|
|
13703
13703
|
|
|
13704
13704
|
if (!exts || !exts.length) {
|
|
13705
13705
|
return false
|
|
@@ -13729,7 +13729,7 @@ function requireMimeTypes () {
|
|
|
13729
13729
|
return false
|
|
13730
13730
|
}
|
|
13731
13731
|
|
|
13732
|
-
return exports.types[extension] || false
|
|
13732
|
+
return exports$1.types[extension] || false
|
|
13733
13733
|
}
|
|
13734
13734
|
|
|
13735
13735
|
/**
|
|
@@ -16412,7 +16412,7 @@ function requireHttpErrors () {
|
|
|
16412
16412
|
* @private
|
|
16413
16413
|
*/
|
|
16414
16414
|
|
|
16415
|
-
function populateConstructorExports (exports, codes, HttpError) {
|
|
16415
|
+
function populateConstructorExports (exports$1, codes, HttpError) {
|
|
16416
16416
|
codes.forEach(function forEachCode (code) {
|
|
16417
16417
|
var CodeError;
|
|
16418
16418
|
var name = toIdentifier(statuses.message[code]);
|
|
@@ -16428,8 +16428,8 @@ function requireHttpErrors () {
|
|
|
16428
16428
|
|
|
16429
16429
|
if (CodeError) {
|
|
16430
16430
|
// export the constructor
|
|
16431
|
-
exports[code] = CodeError;
|
|
16432
|
-
exports[name] = CodeError;
|
|
16431
|
+
exports$1[code] = CodeError;
|
|
16432
|
+
exports$1[name] = CodeError;
|
|
16433
16433
|
}
|
|
16434
16434
|
});
|
|
16435
16435
|
}
|
|
@@ -16620,7 +16620,7 @@ var hasRequiredDebug;
|
|
|
16620
16620
|
function requireDebug () {
|
|
16621
16621
|
if (hasRequiredDebug) return debug.exports;
|
|
16622
16622
|
hasRequiredDebug = 1;
|
|
16623
|
-
(function (module, exports) {
|
|
16623
|
+
(function (module, exports$1) {
|
|
16624
16624
|
/**
|
|
16625
16625
|
* This is the common logic for both the Node.js and web browser
|
|
16626
16626
|
* implementations of `debug()`.
|
|
@@ -16628,19 +16628,19 @@ function requireDebug () {
|
|
|
16628
16628
|
* Expose `debug()` as the module.
|
|
16629
16629
|
*/
|
|
16630
16630
|
|
|
16631
|
-
exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
|
|
16632
|
-
exports.coerce = coerce;
|
|
16633
|
-
exports.disable = disable;
|
|
16634
|
-
exports.enable = enable;
|
|
16635
|
-
exports.enabled = enabled;
|
|
16636
|
-
exports.humanize = requireMs();
|
|
16631
|
+
exports$1 = module.exports = createDebug.debug = createDebug['default'] = createDebug;
|
|
16632
|
+
exports$1.coerce = coerce;
|
|
16633
|
+
exports$1.disable = disable;
|
|
16634
|
+
exports$1.enable = enable;
|
|
16635
|
+
exports$1.enabled = enabled;
|
|
16636
|
+
exports$1.humanize = requireMs();
|
|
16637
16637
|
|
|
16638
16638
|
/**
|
|
16639
16639
|
* The currently active debug mode names, and names to skip.
|
|
16640
16640
|
*/
|
|
16641
16641
|
|
|
16642
|
-
exports.names = [];
|
|
16643
|
-
exports.skips = [];
|
|
16642
|
+
exports$1.names = [];
|
|
16643
|
+
exports$1.skips = [];
|
|
16644
16644
|
|
|
16645
16645
|
/**
|
|
16646
16646
|
* Map of special "%n" handling functions, for the debug "format" argument.
|
|
@@ -16648,7 +16648,7 @@ function requireDebug () {
|
|
|
16648
16648
|
* Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
|
|
16649
16649
|
*/
|
|
16650
16650
|
|
|
16651
|
-
exports.formatters = {};
|
|
16651
|
+
exports$1.formatters = {};
|
|
16652
16652
|
|
|
16653
16653
|
/**
|
|
16654
16654
|
* Previous log timestamp.
|
|
@@ -16671,7 +16671,7 @@ function requireDebug () {
|
|
|
16671
16671
|
hash |= 0; // Convert to 32bit integer
|
|
16672
16672
|
}
|
|
16673
16673
|
|
|
16674
|
-
return exports.colors[Math.abs(hash) % exports.colors.length];
|
|
16674
|
+
return exports$1.colors[Math.abs(hash) % exports$1.colors.length];
|
|
16675
16675
|
}
|
|
16676
16676
|
|
|
16677
16677
|
/**
|
|
@@ -16704,7 +16704,7 @@ function requireDebug () {
|
|
|
16704
16704
|
args[i] = arguments[i];
|
|
16705
16705
|
}
|
|
16706
16706
|
|
|
16707
|
-
args[0] = exports.coerce(args[0]);
|
|
16707
|
+
args[0] = exports$1.coerce(args[0]);
|
|
16708
16708
|
|
|
16709
16709
|
if ('string' !== typeof args[0]) {
|
|
16710
16710
|
// anything else let's inspect with %O
|
|
@@ -16717,7 +16717,7 @@ function requireDebug () {
|
|
|
16717
16717
|
// if we encounter an escaped % then don't increase the array index
|
|
16718
16718
|
if (match === '%%') return match;
|
|
16719
16719
|
index++;
|
|
16720
|
-
var formatter = exports.formatters[format];
|
|
16720
|
+
var formatter = exports$1.formatters[format];
|
|
16721
16721
|
if ('function' === typeof formatter) {
|
|
16722
16722
|
var val = args[index];
|
|
16723
16723
|
match = formatter.call(self, val);
|
|
@@ -16730,20 +16730,20 @@ function requireDebug () {
|
|
|
16730
16730
|
});
|
|
16731
16731
|
|
|
16732
16732
|
// apply env-specific formatting (colors, etc.)
|
|
16733
|
-
exports.formatArgs.call(self, args);
|
|
16733
|
+
exports$1.formatArgs.call(self, args);
|
|
16734
16734
|
|
|
16735
|
-
var logFn = debug.log || exports.log || console.log.bind(console);
|
|
16735
|
+
var logFn = debug.log || exports$1.log || console.log.bind(console);
|
|
16736
16736
|
logFn.apply(self, args);
|
|
16737
16737
|
}
|
|
16738
16738
|
|
|
16739
16739
|
debug.namespace = namespace;
|
|
16740
|
-
debug.enabled = exports.enabled(namespace);
|
|
16741
|
-
debug.useColors = exports.useColors();
|
|
16740
|
+
debug.enabled = exports$1.enabled(namespace);
|
|
16741
|
+
debug.useColors = exports$1.useColors();
|
|
16742
16742
|
debug.color = selectColor(namespace);
|
|
16743
16743
|
|
|
16744
16744
|
// env-specific initialization logic for debug instances
|
|
16745
|
-
if ('function' === typeof exports.init) {
|
|
16746
|
-
exports.init(debug);
|
|
16745
|
+
if ('function' === typeof exports$1.init) {
|
|
16746
|
+
exports$1.init(debug);
|
|
16747
16747
|
}
|
|
16748
16748
|
|
|
16749
16749
|
return debug;
|
|
@@ -16758,10 +16758,10 @@ function requireDebug () {
|
|
|
16758
16758
|
*/
|
|
16759
16759
|
|
|
16760
16760
|
function enable(namespaces) {
|
|
16761
|
-
exports.save(namespaces);
|
|
16761
|
+
exports$1.save(namespaces);
|
|
16762
16762
|
|
|
16763
|
-
exports.names = [];
|
|
16764
|
-
exports.skips = [];
|
|
16763
|
+
exports$1.names = [];
|
|
16764
|
+
exports$1.skips = [];
|
|
16765
16765
|
|
|
16766
16766
|
var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
|
|
16767
16767
|
var len = split.length;
|
|
@@ -16770,9 +16770,9 @@ function requireDebug () {
|
|
|
16770
16770
|
if (!split[i]) continue; // ignore empty strings
|
|
16771
16771
|
namespaces = split[i].replace(/\*/g, '.*?');
|
|
16772
16772
|
if (namespaces[0] === '-') {
|
|
16773
|
-
exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
|
|
16773
|
+
exports$1.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
|
|
16774
16774
|
} else {
|
|
16775
|
-
exports.names.push(new RegExp('^' + namespaces + '$'));
|
|
16775
|
+
exports$1.names.push(new RegExp('^' + namespaces + '$'));
|
|
16776
16776
|
}
|
|
16777
16777
|
}
|
|
16778
16778
|
}
|
|
@@ -16784,7 +16784,7 @@ function requireDebug () {
|
|
|
16784
16784
|
*/
|
|
16785
16785
|
|
|
16786
16786
|
function disable() {
|
|
16787
|
-
exports.enable('');
|
|
16787
|
+
exports$1.enable('');
|
|
16788
16788
|
}
|
|
16789
16789
|
|
|
16790
16790
|
/**
|
|
@@ -16797,13 +16797,13 @@ function requireDebug () {
|
|
|
16797
16797
|
|
|
16798
16798
|
function enabled(name) {
|
|
16799
16799
|
var i, len;
|
|
16800
|
-
for (i = 0, len = exports.skips.length; i < len; i++) {
|
|
16801
|
-
if (exports.skips[i].test(name)) {
|
|
16800
|
+
for (i = 0, len = exports$1.skips.length; i < len; i++) {
|
|
16801
|
+
if (exports$1.skips[i].test(name)) {
|
|
16802
16802
|
return false;
|
|
16803
16803
|
}
|
|
16804
16804
|
}
|
|
16805
|
-
for (i = 0, len = exports.names.length; i < len; i++) {
|
|
16806
|
-
if (exports.names[i].test(name)) {
|
|
16805
|
+
for (i = 0, len = exports$1.names.length; i < len; i++) {
|
|
16806
|
+
if (exports$1.names[i].test(name)) {
|
|
16807
16807
|
return true;
|
|
16808
16808
|
}
|
|
16809
16809
|
}
|
|
@@ -16837,14 +16837,14 @@ var hasRequiredBrowser;
|
|
|
16837
16837
|
function requireBrowser () {
|
|
16838
16838
|
if (hasRequiredBrowser) return browser.exports;
|
|
16839
16839
|
hasRequiredBrowser = 1;
|
|
16840
|
-
(function (module, exports) {
|
|
16841
|
-
exports = module.exports = requireDebug();
|
|
16842
|
-
exports.log = log;
|
|
16843
|
-
exports.formatArgs = formatArgs;
|
|
16844
|
-
exports.save = save;
|
|
16845
|
-
exports.load = load;
|
|
16846
|
-
exports.useColors = useColors;
|
|
16847
|
-
exports.storage = 'undefined' != typeof chrome
|
|
16840
|
+
(function (module, exports$1) {
|
|
16841
|
+
exports$1 = module.exports = requireDebug();
|
|
16842
|
+
exports$1.log = log;
|
|
16843
|
+
exports$1.formatArgs = formatArgs;
|
|
16844
|
+
exports$1.save = save;
|
|
16845
|
+
exports$1.load = load;
|
|
16846
|
+
exports$1.useColors = useColors;
|
|
16847
|
+
exports$1.storage = 'undefined' != typeof chrome
|
|
16848
16848
|
&& 'undefined' != typeof chrome.storage
|
|
16849
16849
|
? chrome.storage.local
|
|
16850
16850
|
: localstorage();
|
|
@@ -16853,7 +16853,7 @@ function requireBrowser () {
|
|
|
16853
16853
|
* Colors.
|
|
16854
16854
|
*/
|
|
16855
16855
|
|
|
16856
|
-
exports.colors = [
|
|
16856
|
+
exports$1.colors = [
|
|
16857
16857
|
'lightseagreen',
|
|
16858
16858
|
'forestgreen',
|
|
16859
16859
|
'goldenrod',
|
|
@@ -16894,7 +16894,7 @@ function requireBrowser () {
|
|
|
16894
16894
|
* Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
|
|
16895
16895
|
*/
|
|
16896
16896
|
|
|
16897
|
-
exports.formatters.j = function(v) {
|
|
16897
|
+
exports$1.formatters.j = function(v) {
|
|
16898
16898
|
try {
|
|
16899
16899
|
return JSON.stringify(v);
|
|
16900
16900
|
} catch (err) {
|
|
@@ -16917,7 +16917,7 @@ function requireBrowser () {
|
|
|
16917
16917
|
+ (useColors ? ' %c' : ' ')
|
|
16918
16918
|
+ args[0]
|
|
16919
16919
|
+ (useColors ? '%c ' : ' ')
|
|
16920
|
-
+ '+' + exports.humanize(this.diff);
|
|
16920
|
+
+ '+' + exports$1.humanize(this.diff);
|
|
16921
16921
|
|
|
16922
16922
|
if (!useColors) return;
|
|
16923
16923
|
|
|
@@ -16967,9 +16967,9 @@ function requireBrowser () {
|
|
|
16967
16967
|
function save(namespaces) {
|
|
16968
16968
|
try {
|
|
16969
16969
|
if (null == namespaces) {
|
|
16970
|
-
exports.storage.removeItem('debug');
|
|
16970
|
+
exports$1.storage.removeItem('debug');
|
|
16971
16971
|
} else {
|
|
16972
|
-
exports.storage.debug = namespaces;
|
|
16972
|
+
exports$1.storage.debug = namespaces;
|
|
16973
16973
|
}
|
|
16974
16974
|
} catch(e) {}
|
|
16975
16975
|
}
|
|
@@ -16984,7 +16984,7 @@ function requireBrowser () {
|
|
|
16984
16984
|
function load() {
|
|
16985
16985
|
var r;
|
|
16986
16986
|
try {
|
|
16987
|
-
r = exports.storage.debug;
|
|
16987
|
+
r = exports$1.storage.debug;
|
|
16988
16988
|
} catch(e) {}
|
|
16989
16989
|
|
|
16990
16990
|
// If debug isn't set in LS, and we're in Electron, try to load $DEBUG
|
|
@@ -16999,7 +16999,7 @@ function requireBrowser () {
|
|
|
16999
16999
|
* Enable namespaces listed in `localStorage.debug` initially.
|
|
17000
17000
|
*/
|
|
17001
17001
|
|
|
17002
|
-
exports.enable(load());
|
|
17002
|
+
exports$1.enable(load());
|
|
17003
17003
|
|
|
17004
17004
|
/**
|
|
17005
17005
|
* Localstorage attempts to return the localstorage.
|
|
@@ -17032,7 +17032,7 @@ var hasRequiredNode;
|
|
|
17032
17032
|
function requireNode () {
|
|
17033
17033
|
if (hasRequiredNode) return node.exports;
|
|
17034
17034
|
hasRequiredNode = 1;
|
|
17035
|
-
(function (module, exports) {
|
|
17035
|
+
(function (module, exports$1) {
|
|
17036
17036
|
var tty = require$$0$4;
|
|
17037
17037
|
var util = require$$1$1;
|
|
17038
17038
|
|
|
@@ -17042,19 +17042,19 @@ function requireNode () {
|
|
|
17042
17042
|
* Expose `debug()` as the module.
|
|
17043
17043
|
*/
|
|
17044
17044
|
|
|
17045
|
-
exports = module.exports = requireDebug();
|
|
17046
|
-
exports.init = init;
|
|
17047
|
-
exports.log = log;
|
|
17048
|
-
exports.formatArgs = formatArgs;
|
|
17049
|
-
exports.save = save;
|
|
17050
|
-
exports.load = load;
|
|
17051
|
-
exports.useColors = useColors;
|
|
17045
|
+
exports$1 = module.exports = requireDebug();
|
|
17046
|
+
exports$1.init = init;
|
|
17047
|
+
exports$1.log = log;
|
|
17048
|
+
exports$1.formatArgs = formatArgs;
|
|
17049
|
+
exports$1.save = save;
|
|
17050
|
+
exports$1.load = load;
|
|
17051
|
+
exports$1.useColors = useColors;
|
|
17052
17052
|
|
|
17053
17053
|
/**
|
|
17054
17054
|
* Colors.
|
|
17055
17055
|
*/
|
|
17056
17056
|
|
|
17057
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
17057
|
+
exports$1.colors = [6, 2, 3, 4, 5, 1];
|
|
17058
17058
|
|
|
17059
17059
|
/**
|
|
17060
17060
|
* Build up the default `inspectOpts` object from the environment variables.
|
|
@@ -17062,7 +17062,7 @@ function requireNode () {
|
|
|
17062
17062
|
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
17063
17063
|
*/
|
|
17064
17064
|
|
|
17065
|
-
exports.inspectOpts = Object.keys(process.env).filter(function (key) {
|
|
17065
|
+
exports$1.inspectOpts = Object.keys(process.env).filter(function (key) {
|
|
17066
17066
|
return /^debug_/i.test(key);
|
|
17067
17067
|
}).reduce(function (obj, key) {
|
|
17068
17068
|
// camel-case
|
|
@@ -17104,8 +17104,8 @@ function requireNode () {
|
|
|
17104
17104
|
*/
|
|
17105
17105
|
|
|
17106
17106
|
function useColors() {
|
|
17107
|
-
return 'colors' in exports.inspectOpts
|
|
17108
|
-
? Boolean(exports.inspectOpts.colors)
|
|
17107
|
+
return 'colors' in exports$1.inspectOpts
|
|
17108
|
+
? Boolean(exports$1.inspectOpts.colors)
|
|
17109
17109
|
: tty.isatty(fd);
|
|
17110
17110
|
}
|
|
17111
17111
|
|
|
@@ -17113,7 +17113,7 @@ function requireNode () {
|
|
|
17113
17113
|
* Map %o to `util.inspect()`, all on a single line.
|
|
17114
17114
|
*/
|
|
17115
17115
|
|
|
17116
|
-
exports.formatters.o = function(v) {
|
|
17116
|
+
exports$1.formatters.o = function(v) {
|
|
17117
17117
|
this.inspectOpts.colors = this.useColors;
|
|
17118
17118
|
return util.inspect(v, this.inspectOpts)
|
|
17119
17119
|
.split('\n').map(function(str) {
|
|
@@ -17125,7 +17125,7 @@ function requireNode () {
|
|
|
17125
17125
|
* Map %o to `util.inspect()`, allowing multiple lines if needed.
|
|
17126
17126
|
*/
|
|
17127
17127
|
|
|
17128
|
-
exports.formatters.O = function(v) {
|
|
17128
|
+
exports$1.formatters.O = function(v) {
|
|
17129
17129
|
this.inspectOpts.colors = this.useColors;
|
|
17130
17130
|
return util.inspect(v, this.inspectOpts);
|
|
17131
17131
|
};
|
|
@@ -17145,7 +17145,7 @@ function requireNode () {
|
|
|
17145
17145
|
var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m';
|
|
17146
17146
|
|
|
17147
17147
|
args[0] = prefix + args[0].split('\n').join('\n' + prefix);
|
|
17148
|
-
args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');
|
|
17148
|
+
args.push('\u001b[3' + c + 'm+' + exports$1.humanize(this.diff) + '\u001b[0m');
|
|
17149
17149
|
} else {
|
|
17150
17150
|
args[0] = new Date().toUTCString()
|
|
17151
17151
|
+ ' ' + name + ' ' + args[0];
|
|
@@ -17266,9 +17266,9 @@ function requireNode () {
|
|
|
17266
17266
|
function init (debug) {
|
|
17267
17267
|
debug.inspectOpts = {};
|
|
17268
17268
|
|
|
17269
|
-
var keys = Object.keys(exports.inspectOpts);
|
|
17269
|
+
var keys = Object.keys(exports$1.inspectOpts);
|
|
17270
17270
|
for (var i = 0; i < keys.length; i++) {
|
|
17271
|
-
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
17271
|
+
debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
|
|
17272
17272
|
}
|
|
17273
17273
|
}
|
|
17274
17274
|
|
|
@@ -17276,7 +17276,7 @@ function requireNode () {
|
|
|
17276
17276
|
* Enable namespaces listed in `process.env.DEBUG` initially.
|
|
17277
17277
|
*/
|
|
17278
17278
|
|
|
17279
|
-
exports.enable(load());
|
|
17279
|
+
exports$1.enable(load());
|
|
17280
17280
|
} (node, node.exports));
|
|
17281
17281
|
return node.exports;
|
|
17282
17282
|
}
|
|
@@ -28086,7 +28086,7 @@ var hasRequiredEncodings;
|
|
|
28086
28086
|
function requireEncodings () {
|
|
28087
28087
|
if (hasRequiredEncodings) return encodings;
|
|
28088
28088
|
hasRequiredEncodings = 1;
|
|
28089
|
-
(function (exports) {
|
|
28089
|
+
(function (exports$1) {
|
|
28090
28090
|
|
|
28091
28091
|
// Update this array if you add/rename/remove files in this directory.
|
|
28092
28092
|
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
|
@@ -28106,7 +28106,7 @@ function requireEncodings () {
|
|
|
28106
28106
|
var module = modules[i];
|
|
28107
28107
|
for (var enc in module)
|
|
28108
28108
|
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
28109
|
-
exports[enc] = module[enc];
|
|
28109
|
+
exports$1[enc] = module[enc];
|
|
28110
28110
|
}
|
|
28111
28111
|
} (encodings));
|
|
28112
28112
|
return encodings;
|
|
@@ -33904,7 +33904,7 @@ function requireUrlencoded () {
|
|
|
33904
33904
|
* MIT Licensed
|
|
33905
33905
|
*/
|
|
33906
33906
|
|
|
33907
|
-
(function (module, exports) {
|
|
33907
|
+
(function (module, exports$1) {
|
|
33908
33908
|
|
|
33909
33909
|
/**
|
|
33910
33910
|
* Module dependencies.
|
|
@@ -33934,7 +33934,7 @@ function requireUrlencoded () {
|
|
|
33934
33934
|
* @type {Parsers}
|
|
33935
33935
|
*/
|
|
33936
33936
|
|
|
33937
|
-
exports = module.exports = deprecate.function(bodyParser,
|
|
33937
|
+
exports$1 = module.exports = deprecate.function(bodyParser,
|
|
33938
33938
|
'bodyParser: use individual json/urlencoded middlewares');
|
|
33939
33939
|
|
|
33940
33940
|
/**
|
|
@@ -33942,7 +33942,7 @@ function requireUrlencoded () {
|
|
|
33942
33942
|
* @public
|
|
33943
33943
|
*/
|
|
33944
33944
|
|
|
33945
|
-
Object.defineProperty(exports, 'json', {
|
|
33945
|
+
Object.defineProperty(exports$1, 'json', {
|
|
33946
33946
|
configurable: true,
|
|
33947
33947
|
enumerable: true,
|
|
33948
33948
|
get: createParserGetter('json')
|
|
@@ -33953,7 +33953,7 @@ function requireUrlencoded () {
|
|
|
33953
33953
|
* @public
|
|
33954
33954
|
*/
|
|
33955
33955
|
|
|
33956
|
-
Object.defineProperty(exports, 'raw', {
|
|
33956
|
+
Object.defineProperty(exports$1, 'raw', {
|
|
33957
33957
|
configurable: true,
|
|
33958
33958
|
enumerable: true,
|
|
33959
33959
|
get: createParserGetter('raw')
|
|
@@ -33964,7 +33964,7 @@ function requireUrlencoded () {
|
|
|
33964
33964
|
* @public
|
|
33965
33965
|
*/
|
|
33966
33966
|
|
|
33967
|
-
Object.defineProperty(exports, 'text', {
|
|
33967
|
+
Object.defineProperty(exports$1, 'text', {
|
|
33968
33968
|
configurable: true,
|
|
33969
33969
|
enumerable: true,
|
|
33970
33970
|
get: createParserGetter('text')
|
|
@@ -33975,7 +33975,7 @@ function requireUrlencoded () {
|
|
|
33975
33975
|
* @public
|
|
33976
33976
|
*/
|
|
33977
33977
|
|
|
33978
|
-
Object.defineProperty(exports, 'urlencoded', {
|
|
33978
|
+
Object.defineProperty(exports$1, 'urlencoded', {
|
|
33979
33979
|
configurable: true,
|
|
33980
33980
|
enumerable: true,
|
|
33981
33981
|
get: createParserGetter('urlencoded')
|
|
@@ -34001,8 +34001,8 @@ function requireUrlencoded () {
|
|
|
34001
34001
|
}
|
|
34002
34002
|
});
|
|
34003
34003
|
|
|
34004
|
-
var _urlencoded = exports.urlencoded(opts);
|
|
34005
|
-
var _json = exports.json(opts);
|
|
34004
|
+
var _urlencoded = exports$1.urlencoded(opts);
|
|
34005
|
+
var _json = exports$1.json(opts);
|
|
34006
34006
|
|
|
34007
34007
|
return function bodyParser (req, res, next) {
|
|
34008
34008
|
_json(req, res, function (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builderbot/bot",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"description": "core typescript",
|
|
5
5
|
"author": "Leifer Mendez <leifer33@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/codigoencasa/bot-whatsapp#readme",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"optionalDependencies": {
|
|
63
63
|
"sharp": "0.33.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "b9bacfa917364b27d22fe7398c1219cbd28b2a22"
|
|
66
66
|
}
|