@dxos/hypercore 0.1.56-main.c19b7cd → 0.1.56-main.c277f68

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.
@@ -19,7 +19,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
19
19
  }) : x)(function(x) {
20
20
  if (typeof require !== "undefined")
21
21
  return require.apply(this, arguments);
22
- throw new Error('Dynamic require of "' + x + '" is not supported');
22
+ throw Error('Dynamic require of "' + x + '" is not supported');
23
23
  });
24
24
  var __commonJS = (cb, mod) => function __require2() {
25
25
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -7509,7 +7509,7 @@ var require_common = __commonJS({
7509
7509
  return;
7510
7510
  }
7511
7511
  const self = debug;
7512
- const curr = Number(new Date());
7512
+ const curr = Number(/* @__PURE__ */ new Date());
7513
7513
  const ms = curr - (prevTime || curr);
7514
7514
  self.diff = ms;
7515
7515
  self.prev = prevTime;
@@ -7737,7 +7737,11 @@ var require_browser5 = __commonJS({
7737
7737
  if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
7738
7738
  return false;
7739
7739
  }
7740
- return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
7740
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
7741
+ typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
7742
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
7743
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
7744
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
7741
7745
  }
7742
7746
  function formatArgs(args) {
7743
7747
  args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);