ueberdb2 4.2.81 → 4.2.82

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.
Files changed (2) hide show
  1. package/dist/index.js +127 -945
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -52628,7 +52628,7 @@ function getEnv(key) {
52628
52628
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
52629
52629
  }
52630
52630
 
52631
- proxyFromEnv$1.getProxyForUrl = getProxyForUrl;var followRedirects$1 = {exports: {}};var src$4 = {exports: {}};var browser$2 = {exports: {}};/**
52631
+ proxyFromEnv$1.getProxyForUrl = getProxyForUrl;var followRedirects$1 = {exports: {}};var src$3 = {exports: {}};var browser$1 = {exports: {}};/**
52632
52632
  * Helpers.
52633
52633
  */
52634
52634
 
@@ -52797,12 +52797,12 @@ function requireMs$1 () {
52797
52797
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
52798
52798
  }
52799
52799
  return ms$2;
52800
- }var common$4;
52801
- var hasRequiredCommon$2;
52800
+ }var common$3;
52801
+ var hasRequiredCommon$1;
52802
52802
 
52803
- function requireCommon$2 () {
52804
- if (hasRequiredCommon$2) return common$4;
52805
- hasRequiredCommon$2 = 1;
52803
+ function requireCommon$1 () {
52804
+ if (hasRequiredCommon$1) return common$3;
52805
+ hasRequiredCommon$1 = 1;
52806
52806
 
52807
52807
  /**
52808
52808
  * This is the common logic for both the Node.js and web browser
@@ -53049,13 +53049,13 @@ function requireCommon$2 () {
53049
53049
  return createDebug;
53050
53050
  }
53051
53051
 
53052
- common$4 = setup;
53053
- return common$4;
53054
- }var hasRequiredBrowser$2;
53052
+ common$3 = setup;
53053
+ return common$3;
53054
+ }var hasRequiredBrowser$1;
53055
53055
 
53056
- function requireBrowser$2 () {
53057
- if (hasRequiredBrowser$2) return browser$2.exports;
53058
- hasRequiredBrowser$2 = 1;
53056
+ function requireBrowser$1 () {
53057
+ if (hasRequiredBrowser$1) return browser$1.exports;
53058
+ hasRequiredBrowser$1 = 1;
53059
53059
  (function (module, exports) {
53060
53060
 
53061
53061
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -53222,7 +53222,7 @@ function requireBrowser$2 () {
53222
53222
  }
53223
53223
  }
53224
53224
 
53225
- module.exports = requireCommon$2()(exports);
53225
+ module.exports = requireCommon$1()(exports);
53226
53226
  var formatters = module.exports.formatters;
53227
53227
  /**
53228
53228
  * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
@@ -53235,9 +53235,9 @@ function requireBrowser$2 () {
53235
53235
  return '[UnexpectedJSONParseError]: ' + error.message;
53236
53236
  }
53237
53237
  };
53238
- } (browser$2, browser$2.exports));
53239
- return browser$2.exports;
53240
- }var node$3 = {exports: {}};var hasFlag;
53238
+ } (browser$1, browser$1.exports));
53239
+ return browser$1.exports;
53240
+ }var node$2 = {exports: {}};var hasFlag;
53241
53241
  var hasRequiredHasFlag;
53242
53242
 
53243
53243
  function requireHasFlag () {
@@ -53392,11 +53392,11 @@ function requireSupportsColor () {
53392
53392
  stderr: translateLevel(supportsColor(true, tty.isatty(2)))
53393
53393
  };
53394
53394
  return supportsColor_1;
53395
- }var hasRequiredNode$2;
53395
+ }var hasRequiredNode$1;
53396
53396
 
53397
- function requireNode$2 () {
53398
- if (hasRequiredNode$2) return node$3.exports;
53399
- hasRequiredNode$2 = 1;
53397
+ function requireNode$1 () {
53398
+ if (hasRequiredNode$1) return node$2.exports;
53399
+ hasRequiredNode$1 = 1;
53400
53400
  (function (module, exports) {
53401
53401
 
53402
53402
  /**
@@ -53551,7 +53551,7 @@ function requireNode$2 () {
53551
53551
  }
53552
53552
  }
53553
53553
 
53554
- module.exports = requireCommon$2()(exports);
53554
+ module.exports = requireCommon$1()(exports);
53555
53555
  var formatters = module.exports.formatters;
53556
53556
  /**
53557
53557
  * Map %o to `util.inspect()`, all on a single line.
@@ -53573,31 +53573,31 @@ function requireNode$2 () {
53573
53573
  this.inspectOpts.colors = this.useColors;
53574
53574
  return util.inspect(v, this.inspectOpts);
53575
53575
  };
53576
- } (node$3, node$3.exports));
53577
- return node$3.exports;
53578
- }var hasRequiredSrc$1;
53576
+ } (node$2, node$2.exports));
53577
+ return node$2.exports;
53578
+ }var hasRequiredSrc;
53579
53579
 
53580
- function requireSrc$1 () {
53581
- if (hasRequiredSrc$1) return src$4.exports;
53582
- hasRequiredSrc$1 = 1;
53580
+ function requireSrc () {
53581
+ if (hasRequiredSrc) return src$3.exports;
53582
+ hasRequiredSrc = 1;
53583
53583
 
53584
53584
  /**
53585
53585
  * Detect Electron renderer / nwjs process, which is node, but we should
53586
53586
  * treat as a browser.
53587
53587
  */
53588
53588
  if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
53589
- src$4.exports = requireBrowser$2();
53589
+ src$3.exports = requireBrowser$1();
53590
53590
  } else {
53591
- src$4.exports = requireNode$2();
53591
+ src$3.exports = requireNode$1();
53592
53592
  }
53593
- return src$4.exports;
53593
+ return src$3.exports;
53594
53594
  }var debug$i;
53595
53595
 
53596
53596
  var debug_1$6 = function () {
53597
53597
  if (!debug$i) {
53598
53598
  try {
53599
53599
  /* eslint global-require: off */
53600
- debug$i = requireSrc$1()("follow-redirects");
53600
+ debug$i = requireSrc()("follow-redirects");
53601
53601
  }
53602
53602
  catch (error) { /* */ }
53603
53603
  if (typeof debug$i !== "function") {
@@ -60972,7 +60972,7 @@ class Dirty_db extends AbstractDatabase {
60972
60972
  if (callback)
60973
60973
  callback();
60974
60974
  }
60975
- }var dist$d = {};var src$3 = {};var src$2 = {exports: {}};var browser$1 = {exports: {}};/**
60975
+ }var dist$d = {};var src$2 = {};var src$1 = {exports: {}};var browser = {exports: {}};/**
60976
60976
  * Helpers.
60977
60977
  */
60978
60978
 
@@ -61141,12 +61141,12 @@ function requireMs () {
61141
61141
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
61142
61142
  }
61143
61143
  return ms$1;
61144
- }var common$3;
61145
- var hasRequiredCommon$1;
61144
+ }var common$2;
61145
+ var hasRequiredCommon;
61146
61146
 
61147
- function requireCommon$1 () {
61148
- if (hasRequiredCommon$1) return common$3;
61149
- hasRequiredCommon$1 = 1;
61147
+ function requireCommon () {
61148
+ if (hasRequiredCommon) return common$2;
61149
+ hasRequiredCommon = 1;
61150
61150
  /**
61151
61151
  * This is the common logic for both the Node.js and web browser
61152
61152
  * implementations of `debug()`.
@@ -61419,15 +61419,15 @@ function requireCommon$1 () {
61419
61419
  return createDebug;
61420
61420
  }
61421
61421
 
61422
- common$3 = setup;
61423
- return common$3;
61422
+ common$2 = setup;
61423
+ return common$2;
61424
61424
  }/* eslint-env browser */
61425
61425
 
61426
- var hasRequiredBrowser$1;
61426
+ var hasRequiredBrowser;
61427
61427
 
61428
- function requireBrowser$1 () {
61429
- if (hasRequiredBrowser$1) return browser$1.exports;
61430
- hasRequiredBrowser$1 = 1;
61428
+ function requireBrowser () {
61429
+ if (hasRequiredBrowser) return browser.exports;
61430
+ hasRequiredBrowser = 1;
61431
61431
  (function (module, exports) {
61432
61432
  /**
61433
61433
  * This is the web browser implementation of `debug()`.
@@ -61681,7 +61681,7 @@ function requireBrowser$1 () {
61681
61681
  }
61682
61682
  }
61683
61683
 
61684
- module.exports = requireCommon$1()(exports);
61684
+ module.exports = requireCommon()(exports);
61685
61685
 
61686
61686
  const {formatters} = module.exports;
61687
61687
 
@@ -61696,17 +61696,17 @@ function requireBrowser$1 () {
61696
61696
  return '[UnexpectedJSONParseError]: ' + error.message;
61697
61697
  }
61698
61698
  };
61699
- } (browser$1, browser$1.exports));
61700
- return browser$1.exports;
61701
- }var node$2 = {exports: {}};/**
61699
+ } (browser, browser.exports));
61700
+ return browser.exports;
61701
+ }var node$1 = {exports: {}};/**
61702
61702
  * Module dependencies.
61703
61703
  */
61704
61704
 
61705
- var hasRequiredNode$1;
61705
+ var hasRequiredNode;
61706
61706
 
61707
- function requireNode$1 () {
61708
- if (hasRequiredNode$1) return node$2.exports;
61709
- hasRequiredNode$1 = 1;
61707
+ function requireNode () {
61708
+ if (hasRequiredNode) return node$1.exports;
61709
+ hasRequiredNode = 1;
61710
61710
  (function (module, exports) {
61711
61711
  const tty = require$$0$h;
61712
61712
  const util = require$$0$6;
@@ -61943,7 +61943,7 @@ function requireNode$1 () {
61943
61943
  }
61944
61944
  }
61945
61945
 
61946
- module.exports = requireCommon$1()(exports);
61946
+ module.exports = requireCommon()(exports);
61947
61947
 
61948
61948
  const {formatters} = module.exports;
61949
61949
 
@@ -61967,20 +61967,20 @@ function requireNode$1 () {
61967
61967
  this.inspectOpts.colors = this.useColors;
61968
61968
  return util.inspect(v, this.inspectOpts);
61969
61969
  };
61970
- } (node$2, node$2.exports));
61971
- return node$2.exports;
61970
+ } (node$1, node$1.exports));
61971
+ return node$1.exports;
61972
61972
  }/**
61973
61973
  * Detect Electron renderer / nwjs process, which is node, but we should
61974
61974
  * treat as a browser.
61975
61975
  */
61976
61976
 
61977
61977
  if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
61978
- src$2.exports = requireBrowser$1();
61978
+ src$1.exports = requireBrowser();
61979
61979
  } else {
61980
- src$2.exports = requireNode$1();
61980
+ src$1.exports = requireNode();
61981
61981
  }
61982
61982
 
61983
- var srcExports = src$2.exports;
61983
+ var srcExports = src$1.exports;
61984
61984
  var debug$g = /*@__PURE__*/getDefaultExportFromCjs(srcExports);(function (exports) {
61985
61985
  var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
61986
61986
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -62036,12 +62036,12 @@ var debug$g = /*@__PURE__*/getDefaultExportFromCjs(srcExports);(function (export
62036
62036
  */
62037
62037
  exports.READABLE = exports.FILE + exports.FOLDER;
62038
62038
 
62039
- } (src$3));(function (exports) {
62039
+ } (src$2));(function (exports) {
62040
62040
  function __export(m) {
62041
62041
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
62042
62042
  }
62043
62043
  Object.defineProperty(exports, "__esModule", { value: true });
62044
- __export(src$3);
62044
+ __export(src$2);
62045
62045
 
62046
62046
  } (dist$d));var dist$c = {};Object.defineProperty(dist$c, "__esModule", { value: true });
62047
62047
  var createDeferred = dist$c.createDeferred = deferred_1 = dist$c.deferred = void 0;
@@ -67448,851 +67448,7 @@ var _tslib = {
67448
67448
  __classPrivateFieldIn: __classPrivateFieldIn,
67449
67449
  __addDisposableResource: __addDisposableResource,
67450
67450
  __disposeResources: __disposeResources,
67451
- };var _tslib$1=/*#__PURE__*/Object.freeze({__proto__:null,__addDisposableResource:__addDisposableResource,get __assign(){return __assign},__asyncDelegator:__asyncDelegator,__asyncGenerator:__asyncGenerator,__asyncValues:__asyncValues,__await:__await,__awaiter:__awaiter,__classPrivateFieldGet:__classPrivateFieldGet$8,__classPrivateFieldIn:__classPrivateFieldIn,__classPrivateFieldSet:__classPrivateFieldSet$8,__createBinding:__createBinding$3,__decorate:__decorate,__disposeResources:__disposeResources,__esDecorate:__esDecorate,__exportStar:__exportStar,__extends:__extends,__generator:__generator,__importDefault:__importDefault$6,__importStar:__importStar$3,__makeTemplateObject:__makeTemplateObject,__metadata:__metadata,__param:__param,__propKey:__propKey,__read:__read,__rest:__rest,__runInitializers:__runInitializers,__setFunctionName:__setFunctionName,__spread:__spread,__spreadArray:__spreadArray,__spreadArrays:__spreadArrays,__values:__values,default:_tslib});var require$$0$4 = /*@__PURE__*/getAugmentedNamespace(_tslib$1);var src$1 = {exports: {}};var browser = {exports: {}};var common$2;
67452
- var hasRequiredCommon;
67453
-
67454
- function requireCommon () {
67455
- if (hasRequiredCommon) return common$2;
67456
- hasRequiredCommon = 1;
67457
- /**
67458
- * This is the common logic for both the Node.js and web browser
67459
- * implementations of `debug()`.
67460
- */
67461
-
67462
- function setup(env) {
67463
- createDebug.debug = createDebug;
67464
- createDebug.default = createDebug;
67465
- createDebug.coerce = coerce;
67466
- createDebug.disable = disable;
67467
- createDebug.enable = enable;
67468
- createDebug.enabled = enabled;
67469
- createDebug.humanize = requireMs();
67470
- createDebug.destroy = destroy;
67471
-
67472
- Object.keys(env).forEach(key => {
67473
- createDebug[key] = env[key];
67474
- });
67475
-
67476
- /**
67477
- * The currently active debug mode names, and names to skip.
67478
- */
67479
-
67480
- createDebug.names = [];
67481
- createDebug.skips = [];
67482
-
67483
- /**
67484
- * Map of special "%n" handling functions, for the debug "format" argument.
67485
- *
67486
- * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
67487
- */
67488
- createDebug.formatters = {};
67489
-
67490
- /**
67491
- * Selects a color for a debug namespace
67492
- * @param {String} namespace The namespace string for the debug instance to be colored
67493
- * @return {Number|String} An ANSI color code for the given namespace
67494
- * @api private
67495
- */
67496
- function selectColor(namespace) {
67497
- let hash = 0;
67498
-
67499
- for (let i = 0; i < namespace.length; i++) {
67500
- hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
67501
- hash |= 0; // Convert to 32bit integer
67502
- }
67503
-
67504
- return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
67505
- }
67506
- createDebug.selectColor = selectColor;
67507
-
67508
- /**
67509
- * Create a debugger with the given `namespace`.
67510
- *
67511
- * @param {String} namespace
67512
- * @return {Function}
67513
- * @api public
67514
- */
67515
- function createDebug(namespace) {
67516
- let prevTime;
67517
- let enableOverride = null;
67518
- let namespacesCache;
67519
- let enabledCache;
67520
-
67521
- function debug(...args) {
67522
- // Disabled?
67523
- if (!debug.enabled) {
67524
- return;
67525
- }
67526
-
67527
- const self = debug;
67528
-
67529
- // Set `diff` timestamp
67530
- const curr = Number(new Date());
67531
- const ms = curr - (prevTime || curr);
67532
- self.diff = ms;
67533
- self.prev = prevTime;
67534
- self.curr = curr;
67535
- prevTime = curr;
67536
-
67537
- args[0] = createDebug.coerce(args[0]);
67538
-
67539
- if (typeof args[0] !== 'string') {
67540
- // Anything else let's inspect with %O
67541
- args.unshift('%O');
67542
- }
67543
-
67544
- // Apply any `formatters` transformations
67545
- let index = 0;
67546
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
67547
- // If we encounter an escaped % then don't increase the array index
67548
- if (match === '%%') {
67549
- return '%';
67550
- }
67551
- index++;
67552
- const formatter = createDebug.formatters[format];
67553
- if (typeof formatter === 'function') {
67554
- const val = args[index];
67555
- match = formatter.call(self, val);
67556
-
67557
- // Now we need to remove `args[index]` since it's inlined in the `format`
67558
- args.splice(index, 1);
67559
- index--;
67560
- }
67561
- return match;
67562
- });
67563
-
67564
- // Apply env-specific formatting (colors, etc.)
67565
- createDebug.formatArgs.call(self, args);
67566
-
67567
- const logFn = self.log || createDebug.log;
67568
- logFn.apply(self, args);
67569
- }
67570
-
67571
- debug.namespace = namespace;
67572
- debug.useColors = createDebug.useColors();
67573
- debug.color = createDebug.selectColor(namespace);
67574
- debug.extend = extend;
67575
- debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
67576
-
67577
- Object.defineProperty(debug, 'enabled', {
67578
- enumerable: true,
67579
- configurable: false,
67580
- get: () => {
67581
- if (enableOverride !== null) {
67582
- return enableOverride;
67583
- }
67584
- if (namespacesCache !== createDebug.namespaces) {
67585
- namespacesCache = createDebug.namespaces;
67586
- enabledCache = createDebug.enabled(namespace);
67587
- }
67588
-
67589
- return enabledCache;
67590
- },
67591
- set: v => {
67592
- enableOverride = v;
67593
- }
67594
- });
67595
-
67596
- // Env-specific initialization logic for debug instances
67597
- if (typeof createDebug.init === 'function') {
67598
- createDebug.init(debug);
67599
- }
67600
-
67601
- return debug;
67602
- }
67603
-
67604
- function extend(namespace, delimiter) {
67605
- const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
67606
- newDebug.log = this.log;
67607
- return newDebug;
67608
- }
67609
-
67610
- /**
67611
- * Enables a debug mode by namespaces. This can include modes
67612
- * separated by a colon and wildcards.
67613
- *
67614
- * @param {String} namespaces
67615
- * @api public
67616
- */
67617
- function enable(namespaces) {
67618
- createDebug.save(namespaces);
67619
- createDebug.namespaces = namespaces;
67620
-
67621
- createDebug.names = [];
67622
- createDebug.skips = [];
67623
-
67624
- let i;
67625
- const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
67626
- const len = split.length;
67627
-
67628
- for (i = 0; i < len; i++) {
67629
- if (!split[i]) {
67630
- // ignore empty strings
67631
- continue;
67632
- }
67633
-
67634
- namespaces = split[i].replace(/\*/g, '.*?');
67635
-
67636
- if (namespaces[0] === '-') {
67637
- createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
67638
- } else {
67639
- createDebug.names.push(new RegExp('^' + namespaces + '$'));
67640
- }
67641
- }
67642
- }
67643
-
67644
- /**
67645
- * Disable debug output.
67646
- *
67647
- * @return {String} namespaces
67648
- * @api public
67649
- */
67650
- function disable() {
67651
- const namespaces = [
67652
- ...createDebug.names.map(toNamespace),
67653
- ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)
67654
- ].join(',');
67655
- createDebug.enable('');
67656
- return namespaces;
67657
- }
67658
-
67659
- /**
67660
- * Returns true if the given mode name is enabled, false otherwise.
67661
- *
67662
- * @param {String} name
67663
- * @return {Boolean}
67664
- * @api public
67665
- */
67666
- function enabled(name) {
67667
- if (name[name.length - 1] === '*') {
67668
- return true;
67669
- }
67670
-
67671
- let i;
67672
- let len;
67673
-
67674
- for (i = 0, len = createDebug.skips.length; i < len; i++) {
67675
- if (createDebug.skips[i].test(name)) {
67676
- return false;
67677
- }
67678
- }
67679
-
67680
- for (i = 0, len = createDebug.names.length; i < len; i++) {
67681
- if (createDebug.names[i].test(name)) {
67682
- return true;
67683
- }
67684
- }
67685
-
67686
- return false;
67687
- }
67688
-
67689
- /**
67690
- * Convert regexp to namespace
67691
- *
67692
- * @param {RegExp} regxep
67693
- * @return {String} namespace
67694
- * @api private
67695
- */
67696
- function toNamespace(regexp) {
67697
- return regexp.toString()
67698
- .substring(2, regexp.toString().length - 2)
67699
- .replace(/\.\*\?$/, '*');
67700
- }
67701
-
67702
- /**
67703
- * Coerce `val`.
67704
- *
67705
- * @param {Mixed} val
67706
- * @return {Mixed}
67707
- * @api private
67708
- */
67709
- function coerce(val) {
67710
- if (val instanceof Error) {
67711
- return val.stack || val.message;
67712
- }
67713
- return val;
67714
- }
67715
-
67716
- /**
67717
- * XXX DO NOT USE. This is a temporary stub function.
67718
- * XXX It WILL be removed in the next major release.
67719
- */
67720
- function destroy() {
67721
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
67722
- }
67723
-
67724
- createDebug.enable(createDebug.load());
67725
-
67726
- return createDebug;
67727
- }
67728
-
67729
- common$2 = setup;
67730
- return common$2;
67731
- }/* eslint-env browser */
67732
-
67733
- var hasRequiredBrowser;
67734
-
67735
- function requireBrowser () {
67736
- if (hasRequiredBrowser) return browser.exports;
67737
- hasRequiredBrowser = 1;
67738
- (function (module, exports) {
67739
- /**
67740
- * This is the web browser implementation of `debug()`.
67741
- */
67742
-
67743
- exports.formatArgs = formatArgs;
67744
- exports.save = save;
67745
- exports.load = load;
67746
- exports.useColors = useColors;
67747
- exports.storage = localstorage();
67748
- exports.destroy = (() => {
67749
- let warned = false;
67750
-
67751
- return () => {
67752
- if (!warned) {
67753
- warned = true;
67754
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
67755
- }
67756
- };
67757
- })();
67758
-
67759
- /**
67760
- * Colors.
67761
- */
67762
-
67763
- exports.colors = [
67764
- '#0000CC',
67765
- '#0000FF',
67766
- '#0033CC',
67767
- '#0033FF',
67768
- '#0066CC',
67769
- '#0066FF',
67770
- '#0099CC',
67771
- '#0099FF',
67772
- '#00CC00',
67773
- '#00CC33',
67774
- '#00CC66',
67775
- '#00CC99',
67776
- '#00CCCC',
67777
- '#00CCFF',
67778
- '#3300CC',
67779
- '#3300FF',
67780
- '#3333CC',
67781
- '#3333FF',
67782
- '#3366CC',
67783
- '#3366FF',
67784
- '#3399CC',
67785
- '#3399FF',
67786
- '#33CC00',
67787
- '#33CC33',
67788
- '#33CC66',
67789
- '#33CC99',
67790
- '#33CCCC',
67791
- '#33CCFF',
67792
- '#6600CC',
67793
- '#6600FF',
67794
- '#6633CC',
67795
- '#6633FF',
67796
- '#66CC00',
67797
- '#66CC33',
67798
- '#9900CC',
67799
- '#9900FF',
67800
- '#9933CC',
67801
- '#9933FF',
67802
- '#99CC00',
67803
- '#99CC33',
67804
- '#CC0000',
67805
- '#CC0033',
67806
- '#CC0066',
67807
- '#CC0099',
67808
- '#CC00CC',
67809
- '#CC00FF',
67810
- '#CC3300',
67811
- '#CC3333',
67812
- '#CC3366',
67813
- '#CC3399',
67814
- '#CC33CC',
67815
- '#CC33FF',
67816
- '#CC6600',
67817
- '#CC6633',
67818
- '#CC9900',
67819
- '#CC9933',
67820
- '#CCCC00',
67821
- '#CCCC33',
67822
- '#FF0000',
67823
- '#FF0033',
67824
- '#FF0066',
67825
- '#FF0099',
67826
- '#FF00CC',
67827
- '#FF00FF',
67828
- '#FF3300',
67829
- '#FF3333',
67830
- '#FF3366',
67831
- '#FF3399',
67832
- '#FF33CC',
67833
- '#FF33FF',
67834
- '#FF6600',
67835
- '#FF6633',
67836
- '#FF9900',
67837
- '#FF9933',
67838
- '#FFCC00',
67839
- '#FFCC33'
67840
- ];
67841
-
67842
- /**
67843
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
67844
- * and the Firebug extension (any Firefox version) are known
67845
- * to support "%c" CSS customizations.
67846
- *
67847
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
67848
- */
67849
-
67850
- // eslint-disable-next-line complexity
67851
- function useColors() {
67852
- // NB: In an Electron preload script, document will be defined but not fully
67853
- // initialized. Since we know we're in Chrome, we'll just detect this case
67854
- // explicitly
67855
- if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
67856
- return true;
67857
- }
67858
-
67859
- // Internet Explorer and Edge do not support colors.
67860
- if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
67861
- return false;
67862
- }
67863
-
67864
- // Is webkit? http://stackoverflow.com/a/16459606/376773
67865
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
67866
- return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
67867
- // Is firebug? http://stackoverflow.com/a/398120/376773
67868
- (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
67869
- // Is firefox >= v31?
67870
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
67871
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
67872
- // Double check webkit in userAgent just in case we are in a worker
67873
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
67874
- }
67875
-
67876
- /**
67877
- * Colorize log arguments if enabled.
67878
- *
67879
- * @api public
67880
- */
67881
-
67882
- function formatArgs(args) {
67883
- args[0] = (this.useColors ? '%c' : '') +
67884
- this.namespace +
67885
- (this.useColors ? ' %c' : ' ') +
67886
- args[0] +
67887
- (this.useColors ? '%c ' : ' ') +
67888
- '+' + module.exports.humanize(this.diff);
67889
-
67890
- if (!this.useColors) {
67891
- return;
67892
- }
67893
-
67894
- const c = 'color: ' + this.color;
67895
- args.splice(1, 0, c, 'color: inherit');
67896
-
67897
- // The final "%c" is somewhat tricky, because there could be other
67898
- // arguments passed either before or after the %c, so we need to
67899
- // figure out the correct index to insert the CSS into
67900
- let index = 0;
67901
- let lastC = 0;
67902
- args[0].replace(/%[a-zA-Z%]/g, match => {
67903
- if (match === '%%') {
67904
- return;
67905
- }
67906
- index++;
67907
- if (match === '%c') {
67908
- // We only are interested in the *last* %c
67909
- // (the user may have provided their own)
67910
- lastC = index;
67911
- }
67912
- });
67913
-
67914
- args.splice(lastC, 0, c);
67915
- }
67916
-
67917
- /**
67918
- * Invokes `console.debug()` when available.
67919
- * No-op when `console.debug` is not a "function".
67920
- * If `console.debug` is not available, falls back
67921
- * to `console.log`.
67922
- *
67923
- * @api public
67924
- */
67925
- exports.log = console.debug || console.log || (() => {});
67926
-
67927
- /**
67928
- * Save `namespaces`.
67929
- *
67930
- * @param {String} namespaces
67931
- * @api private
67932
- */
67933
- function save(namespaces) {
67934
- try {
67935
- if (namespaces) {
67936
- exports.storage.setItem('debug', namespaces);
67937
- } else {
67938
- exports.storage.removeItem('debug');
67939
- }
67940
- } catch (error) {
67941
- // Swallow
67942
- // XXX (@Qix-) should we be logging these?
67943
- }
67944
- }
67945
-
67946
- /**
67947
- * Load `namespaces`.
67948
- *
67949
- * @return {String} returns the previously persisted debug modes
67950
- * @api private
67951
- */
67952
- function load() {
67953
- let r;
67954
- try {
67955
- r = exports.storage.getItem('debug');
67956
- } catch (error) {
67957
- // Swallow
67958
- // XXX (@Qix-) should we be logging these?
67959
- }
67960
-
67961
- // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
67962
- if (!r && typeof process !== 'undefined' && 'env' in process) {
67963
- r = process.env.DEBUG;
67964
- }
67965
-
67966
- return r;
67967
- }
67968
-
67969
- /**
67970
- * Localstorage attempts to return the localstorage.
67971
- *
67972
- * This is necessary because safari throws
67973
- * when a user disables cookies/localstorage
67974
- * and you attempt to access it.
67975
- *
67976
- * @return {LocalStorage}
67977
- * @api private
67978
- */
67979
-
67980
- function localstorage() {
67981
- try {
67982
- // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
67983
- // The Browser also has localStorage in the global context.
67984
- return localStorage;
67985
- } catch (error) {
67986
- // Swallow
67987
- // XXX (@Qix-) should we be logging these?
67988
- }
67989
- }
67990
-
67991
- module.exports = requireCommon()(exports);
67992
-
67993
- const {formatters} = module.exports;
67994
-
67995
- /**
67996
- * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
67997
- */
67998
-
67999
- formatters.j = function (v) {
68000
- try {
68001
- return JSON.stringify(v);
68002
- } catch (error) {
68003
- return '[UnexpectedJSONParseError]: ' + error.message;
68004
- }
68005
- };
68006
- } (browser, browser.exports));
68007
- return browser.exports;
68008
- }var node$1 = {exports: {}};/**
68009
- * Module dependencies.
68010
- */
68011
-
68012
- var hasRequiredNode;
68013
-
68014
- function requireNode () {
68015
- if (hasRequiredNode) return node$1.exports;
68016
- hasRequiredNode = 1;
68017
- (function (module, exports) {
68018
- const tty = require$$0$h;
68019
- const util = require$$0$6;
68020
-
68021
- /**
68022
- * This is the Node.js implementation of `debug()`.
68023
- */
68024
-
68025
- exports.init = init;
68026
- exports.log = log;
68027
- exports.formatArgs = formatArgs;
68028
- exports.save = save;
68029
- exports.load = load;
68030
- exports.useColors = useColors;
68031
- exports.destroy = util.deprecate(
68032
- () => {},
68033
- 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
68034
- );
68035
-
68036
- /**
68037
- * Colors.
68038
- */
68039
-
68040
- exports.colors = [6, 2, 3, 4, 5, 1];
68041
-
68042
- try {
68043
- // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
68044
- // eslint-disable-next-line import/no-extraneous-dependencies
68045
- const supportsColor = requireSupportsColor();
68046
-
68047
- if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
68048
- exports.colors = [
68049
- 20,
68050
- 21,
68051
- 26,
68052
- 27,
68053
- 32,
68054
- 33,
68055
- 38,
68056
- 39,
68057
- 40,
68058
- 41,
68059
- 42,
68060
- 43,
68061
- 44,
68062
- 45,
68063
- 56,
68064
- 57,
68065
- 62,
68066
- 63,
68067
- 68,
68068
- 69,
68069
- 74,
68070
- 75,
68071
- 76,
68072
- 77,
68073
- 78,
68074
- 79,
68075
- 80,
68076
- 81,
68077
- 92,
68078
- 93,
68079
- 98,
68080
- 99,
68081
- 112,
68082
- 113,
68083
- 128,
68084
- 129,
68085
- 134,
68086
- 135,
68087
- 148,
68088
- 149,
68089
- 160,
68090
- 161,
68091
- 162,
68092
- 163,
68093
- 164,
68094
- 165,
68095
- 166,
68096
- 167,
68097
- 168,
68098
- 169,
68099
- 170,
68100
- 171,
68101
- 172,
68102
- 173,
68103
- 178,
68104
- 179,
68105
- 184,
68106
- 185,
68107
- 196,
68108
- 197,
68109
- 198,
68110
- 199,
68111
- 200,
68112
- 201,
68113
- 202,
68114
- 203,
68115
- 204,
68116
- 205,
68117
- 206,
68118
- 207,
68119
- 208,
68120
- 209,
68121
- 214,
68122
- 215,
68123
- 220,
68124
- 221
68125
- ];
68126
- }
68127
- } catch (error) {
68128
- // Swallow - we only care if `supports-color` is available; it doesn't have to be.
68129
- }
68130
-
68131
- /**
68132
- * Build up the default `inspectOpts` object from the environment variables.
68133
- *
68134
- * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
68135
- */
68136
-
68137
- exports.inspectOpts = Object.keys(process.env).filter(key => {
68138
- return /^debug_/i.test(key);
68139
- }).reduce((obj, key) => {
68140
- // Camel-case
68141
- const prop = key
68142
- .substring(6)
68143
- .toLowerCase()
68144
- .replace(/_([a-z])/g, (_, k) => {
68145
- return k.toUpperCase();
68146
- });
68147
-
68148
- // Coerce string value into JS value
68149
- let val = process.env[key];
68150
- if (/^(yes|on|true|enabled)$/i.test(val)) {
68151
- val = true;
68152
- } else if (/^(no|off|false|disabled)$/i.test(val)) {
68153
- val = false;
68154
- } else if (val === 'null') {
68155
- val = null;
68156
- } else {
68157
- val = Number(val);
68158
- }
68159
-
68160
- obj[prop] = val;
68161
- return obj;
68162
- }, {});
68163
-
68164
- /**
68165
- * Is stdout a TTY? Colored output is enabled when `true`.
68166
- */
68167
-
68168
- function useColors() {
68169
- return 'colors' in exports.inspectOpts ?
68170
- Boolean(exports.inspectOpts.colors) :
68171
- tty.isatty(process.stderr.fd);
68172
- }
68173
-
68174
- /**
68175
- * Adds ANSI color escape codes if enabled.
68176
- *
68177
- * @api public
68178
- */
68179
-
68180
- function formatArgs(args) {
68181
- const {namespace: name, useColors} = this;
68182
-
68183
- if (useColors) {
68184
- const c = this.color;
68185
- const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c);
68186
- const prefix = ` ${colorCode};1m${name} \u001B[0m`;
68187
-
68188
- args[0] = prefix + args[0].split('\n').join('\n' + prefix);
68189
- args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
68190
- } else {
68191
- args[0] = getDate() + name + ' ' + args[0];
68192
- }
68193
- }
68194
-
68195
- function getDate() {
68196
- if (exports.inspectOpts.hideDate) {
68197
- return '';
68198
- }
68199
- return new Date().toISOString() + ' ';
68200
- }
68201
-
68202
- /**
68203
- * Invokes `util.format()` with the specified arguments and writes to stderr.
68204
- */
68205
-
68206
- function log(...args) {
68207
- return process.stderr.write(util.format(...args) + '\n');
68208
- }
68209
-
68210
- /**
68211
- * Save `namespaces`.
68212
- *
68213
- * @param {String} namespaces
68214
- * @api private
68215
- */
68216
- function save(namespaces) {
68217
- if (namespaces) {
68218
- process.env.DEBUG = namespaces;
68219
- } else {
68220
- // If you set a process.env field to null or undefined, it gets cast to the
68221
- // string 'null' or 'undefined'. Just delete instead.
68222
- delete process.env.DEBUG;
68223
- }
68224
- }
68225
-
68226
- /**
68227
- * Load `namespaces`.
68228
- *
68229
- * @return {String} returns the previously persisted debug modes
68230
- * @api private
68231
- */
68232
-
68233
- function load() {
68234
- return process.env.DEBUG;
68235
- }
68236
-
68237
- /**
68238
- * Init logic for `debug` instances.
68239
- *
68240
- * Create a new `inspectOpts` object in case `useColors` is set
68241
- * differently for a particular `debug` instance.
68242
- */
68243
-
68244
- function init(debug) {
68245
- debug.inspectOpts = {};
68246
-
68247
- const keys = Object.keys(exports.inspectOpts);
68248
- for (let i = 0; i < keys.length; i++) {
68249
- debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
68250
- }
68251
- }
68252
-
68253
- module.exports = requireCommon()(exports);
68254
-
68255
- const {formatters} = module.exports;
68256
-
68257
- /**
68258
- * Map %o to `util.inspect()`, all on a single line.
68259
- */
68260
-
68261
- formatters.o = function (v) {
68262
- this.inspectOpts.colors = this.useColors;
68263
- return util.inspect(v, this.inspectOpts)
68264
- .split('\n')
68265
- .map(str => str.trim())
68266
- .join(' ');
68267
- };
68268
-
68269
- /**
68270
- * Map %O to `util.inspect()`, allowing multiple lines if needed.
68271
- */
68272
-
68273
- formatters.O = function (v) {
68274
- this.inspectOpts.colors = this.useColors;
68275
- return util.inspect(v, this.inspectOpts);
68276
- };
68277
- } (node$1, node$1.exports));
68278
- return node$1.exports;
68279
- }/**
68280
- * Detect Electron renderer / nwjs process, which is node, but we should
68281
- * treat as a browser.
68282
- */
68283
-
68284
- var hasRequiredSrc;
68285
-
68286
- function requireSrc () {
68287
- if (hasRequiredSrc) return src$1.exports;
68288
- hasRequiredSrc = 1;
68289
- if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
68290
- src$1.exports = requireBrowser();
68291
- } else {
68292
- src$1.exports = requireNode();
68293
- }
68294
- return src$1.exports;
68295
- }var Serializer$4 = {};var secureJsonParse = {exports: {}};var hasRequiredSecureJsonParse;
67451
+ };var _tslib$1=/*#__PURE__*/Object.freeze({__proto__:null,__addDisposableResource:__addDisposableResource,get __assign(){return __assign},__asyncDelegator:__asyncDelegator,__asyncGenerator:__asyncGenerator,__asyncValues:__asyncValues,__await:__await,__awaiter:__awaiter,__classPrivateFieldGet:__classPrivateFieldGet$8,__classPrivateFieldIn:__classPrivateFieldIn,__classPrivateFieldSet:__classPrivateFieldSet$8,__createBinding:__createBinding$3,__decorate:__decorate,__disposeResources:__disposeResources,__esDecorate:__esDecorate,__exportStar:__exportStar,__extends:__extends,__generator:__generator,__importDefault:__importDefault$6,__importStar:__importStar$3,__makeTemplateObject:__makeTemplateObject,__metadata:__metadata,__param:__param,__propKey:__propKey,__read:__read,__rest:__rest,__runInitializers:__runInitializers,__setFunctionName:__setFunctionName,__spread:__spread,__spreadArray:__spreadArray,__spreadArrays:__spreadArrays,__values:__values,default:_tslib});var require$$0$4 = /*@__PURE__*/getAugmentedNamespace(_tslib$1);var Serializer$4 = {};var secureJsonParse = {exports: {}};var hasRequiredSecureJsonParse;
68296
67452
 
68297
67453
  function requireSecureJsonParse () {
68298
67454
  if (hasRequiredSecureJsonParse) return secureJsonParse.exports;
@@ -68502,7 +67658,7 @@ var _a$9;
68502
67658
  Object.defineProperty(Serializer$4, "__esModule", { value: true });
68503
67659
  const tslib_1$5 = require$$0$4;
68504
67660
  const querystring_1 = require$$1$4;
68505
- const debug_1$5 = tslib_1$5.__importDefault(requireSrc());
67661
+ const debug_1$5 = tslib_1$5.__importDefault(srcExports);
68506
67662
  const secure_json_parse_1 = tslib_1$5.__importDefault(requireSecureJsonParse());
68507
67663
  const errors_1$9 = errors$e;
68508
67664
  const symbols_1$1 = requireSymbols$5();
@@ -68698,7 +67854,7 @@ var _a$8, _b$1, _c$1, _d$1, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s,
68698
67854
  Object.defineProperty(Transport$3, "__esModule", { value: true });
68699
67855
  Transport$3.lowerCaseHeaders = Transport$3.generateRequestId = void 0;
68700
67856
  const tslib_1$4 = require$$0$4;
68701
- const debug_1$4 = tslib_1$4.__importDefault(requireSrc());
67857
+ const debug_1$4 = tslib_1$4.__importDefault(srcExports);
68702
67858
  const os_1$1 = tslib_1$4.__importDefault(require$$0$c);
68703
67859
  const zlib_1$1 = tslib_1$4.__importDefault(require$$0$e);
68704
67860
  const buffer_1$2 = tslib_1$4.__importDefault(require$$0$k);
@@ -69697,7 +68853,7 @@ function requireHttpConnection () {
69697
68853
  const hpagent_1 = tslib_1.__importDefault(requireHpagent());
69698
68854
  const http_1 = tslib_1.__importDefault(http$5);
69699
68855
  const https_1 = tslib_1.__importDefault(require$$2$2);
69700
- const debug_1 = tslib_1.__importDefault(requireSrc());
68856
+ const debug_1 = tslib_1.__importDefault(srcExports);
69701
68857
  const buffer_1 = tslib_1.__importDefault(require$$0$k);
69702
68858
  const BaseConnection_1 = tslib_1.__importStar(requireBaseConnection());
69703
68859
  const symbols_1 = requireSymbols$5();
@@ -93575,7 +92731,7 @@ function requireUndiciConnection () {
93575
92731
  const tslib_1 = require$$0$4;
93576
92732
  /* eslint-disable @typescript-eslint/restrict-template-expressions */
93577
92733
  const events_1 = require$$0$8;
93578
- const debug_1 = tslib_1.__importDefault(requireSrc());
92734
+ const debug_1 = tslib_1.__importDefault(srcExports);
93579
92735
  const buffer_1 = tslib_1.__importDefault(require$$0$k);
93580
92736
  const BaseConnection_1 = tslib_1.__importStar(requireBaseConnection());
93581
92737
  const undici_1 = requireUndici();
@@ -93861,7 +93017,7 @@ function requireBaseConnectionPool () {
93861
93017
  Object.defineProperty(BaseConnectionPool$3, "__esModule", { value: true });
93862
93018
  const tslib_1 = require$$0$4;
93863
93019
  const url_1 = require$$0$f;
93864
- const debug_1 = tslib_1.__importDefault(requireSrc());
93020
+ const debug_1 = tslib_1.__importDefault(srcExports);
93865
93021
  const Diagnostic_1 = tslib_1.__importDefault(Diagnostic$2);
93866
93022
  const symbols_1 = requireSymbols$5();
93867
93023
  const connection_1 = connection$5;
@@ -94335,7 +93491,7 @@ function requireClusterConnectionPool () {
94335
93491
  const tslib_1 = require$$0$4;
94336
93492
  const BaseConnectionPool_1 = tslib_1.__importDefault(requireBaseConnectionPool());
94337
93493
  const assert_1 = tslib_1.__importDefault(require$$0$i);
94338
- const debug_1 = tslib_1.__importDefault(requireSrc());
93494
+ const debug_1 = tslib_1.__importDefault(srcExports);
94339
93495
  const connection_1 = connection$5;
94340
93496
  const debug = (0, debug_1.default)('elasticsearch');
94341
93497
  class ClusterConnectionPool extends BaseConnectionPool_1.default {
@@ -219458,46 +218614,54 @@ const coerce$2 = (version, options) => {
219458
218614
 
219459
218615
  return parse$7(`${major}.${minor}.${patch}${prerelease}${build}`, options)
219460
218616
  };
219461
- var coerce_1 = coerce$2;let LRUCache$1=class LRUCache {
219462
- constructor () {
219463
- this.max = 1000;
219464
- this.map = new Map();
219465
- }
218617
+ var coerce_1 = coerce$2;var lrucache;
218618
+ var hasRequiredLrucache;
219466
218619
 
219467
- get (key) {
219468
- const value = this.map.get(key);
219469
- if (value === undefined) {
219470
- return undefined
219471
- } else {
219472
- // Remove the key from the map and add it to the end
219473
- this.map.delete(key);
219474
- this.map.set(key, value);
219475
- return value
219476
- }
219477
- }
218620
+ function requireLrucache () {
218621
+ if (hasRequiredLrucache) return lrucache;
218622
+ hasRequiredLrucache = 1;
218623
+ class LRUCache {
218624
+ constructor () {
218625
+ this.max = 1000;
218626
+ this.map = new Map();
218627
+ }
219478
218628
 
219479
- delete (key) {
219480
- return this.map.delete(key)
219481
- }
218629
+ get (key) {
218630
+ const value = this.map.get(key);
218631
+ if (value === undefined) {
218632
+ return undefined
218633
+ } else {
218634
+ // Remove the key from the map and add it to the end
218635
+ this.map.delete(key);
218636
+ this.map.set(key, value);
218637
+ return value
218638
+ }
218639
+ }
219482
218640
 
219483
- set (key, value) {
219484
- const deleted = this.delete(key);
218641
+ delete (key) {
218642
+ return this.map.delete(key)
218643
+ }
219485
218644
 
219486
- if (!deleted && value !== undefined) {
219487
- // If cache is full, delete the least recently used item
219488
- if (this.map.size >= this.max) {
219489
- const firstKey = this.map.keys().next().value;
219490
- this.delete(firstKey);
219491
- }
218645
+ set (key, value) {
218646
+ const deleted = this.delete(key);
219492
218647
 
219493
- this.map.set(key, value);
219494
- }
218648
+ if (!deleted && value !== undefined) {
218649
+ // If cache is full, delete the least recently used item
218650
+ if (this.map.size >= this.max) {
218651
+ const firstKey = this.map.keys().next().value;
218652
+ this.delete(firstKey);
218653
+ }
219495
218654
 
219496
- return this
219497
- }
219498
- };
218655
+ this.map.set(key, value);
218656
+ }
219499
218657
 
219500
- var lrucache = LRUCache$1;var range;
218658
+ return this
218659
+ }
218660
+ }
218661
+
218662
+ lrucache = LRUCache;
218663
+ return lrucache;
218664
+ }var range;
219501
218665
  var hasRequiredRange;
219502
218666
 
219503
218667
  function requireRange () {
@@ -219703,7 +218867,7 @@ function requireRange () {
219703
218867
 
219704
218868
  range = Range;
219705
218869
 
219706
- const LRU = lrucache;
218870
+ const LRU = requireLrucache();
219707
218871
  const cache = new LRU();
219708
218872
 
219709
218873
  const parseOptions = parseOptions_1;
@@ -285437,6 +284601,24 @@ function compile(fields, options, config) {
285437
284601
  );
285438
284602
  }
285439
284603
 
284604
+ if (
284605
+ [Types$1.DATETIME, Types$1.NEWDATE, Types$1.TIMESTAMP, Types$1.DATE].includes(
284606
+ field.columnType,
284607
+ )
284608
+ ) {
284609
+ return packet.readDateTimeString(parseInt(field.decimals, 10));
284610
+ }
284611
+
284612
+ if (field.columnType === Types$1.TINY) {
284613
+ const unsigned = field.flags & FieldFlags.UNSIGNED;
284614
+
284615
+ return String(unsigned ? packet.readInt8() : packet.readSInt8());
284616
+ }
284617
+
284618
+ if (field.columnType === Types$1.TIME) {
284619
+ return packet.readTimeString();
284620
+ }
284621
+
285440
284622
  return packet.readLengthCodedString(encoding);
285441
284623
  },
285442
284624
  buffer: function () {
@@ -286177,7 +285359,7 @@ var commands$7 = {
286177
285359
  ChangeUser,
286178
285360
  Quit
286179
285361
  };var name$1 = "mysql2";
286180
- var version$2 = "3.10.1";
285362
+ var version$2 = "3.10.2";
286181
285363
  var description = "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS";
286182
285364
  var main$1 = "index.js";
286183
285365
  var typings = "typings/mysql/index";
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "@types/pg": "^8.11.5",
35
35
  "@types/rethinkdb": "^2.3.21",
36
36
  "async": "^3.2.5",
37
- "better-sqlite3": "^11.1.1",
37
+ "better-sqlite3": "^11.1.2",
38
38
  "cassandra-driver": "^4.7.2",
39
39
  "cli-table": "^0.3.11",
40
40
  "dirty-ts": "^1.1.8",
@@ -44,7 +44,7 @@
44
44
  "eslint-plugin-import": "^2.29.1",
45
45
  "mongodb": "^6.8.0",
46
46
  "mssql": "^11.0.1",
47
- "mysql2": "^3.10.1",
47
+ "mysql2": "^3.10.2",
48
48
  "nano": "^10.1.3",
49
49
  "pg": "^8.12.0",
50
50
  "randexp-ts": "^1.0.5",
@@ -55,7 +55,7 @@
55
55
  "simple-git": "^3.25.0",
56
56
  "surrealdb.js": "^0.11.1",
57
57
  "typescript": "^5.5.2",
58
- "vitest": "^1.5.3",
58
+ "vitest": "^2.0.1",
59
59
  "wtfnode": "^0.9.2",
60
60
  "rollup": "^4.18.0"
61
61
  },
@@ -64,7 +64,7 @@
64
64
  "url": "https://github.com/ether/ueberDB.git"
65
65
  },
66
66
  "main": "./dist/index.js",
67
- "version": "4.2.81",
67
+ "version": "4.2.82",
68
68
  "bugs": {
69
69
  "url": "https://github.com/ether/ueberDB/issues"
70
70
  },