mol_wire_lib 1.0.1506 → 1.0.1508

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/node.mjs CHANGED
@@ -201,7 +201,7 @@ var $;
201
201
  if (typeof val === 'function') {
202
202
  return $mol_dev_format_native(val);
203
203
  }
204
- if (Error.isError(val)) {
204
+ if (val instanceof Error) {
205
205
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
206
206
  }
207
207
  if (val instanceof Promise) {
@@ -1124,7 +1124,7 @@ var $;
1124
1124
  var $;
1125
1125
  (function ($) {
1126
1126
  function $mol_log3_area_lazy(event) {
1127
- const self = this;
1127
+ const self = this.$;
1128
1128
  const stack = self.$mol_log3_stack;
1129
1129
  const deep = stack.length;
1130
1130
  let logged = false;
package/node.test.js CHANGED
@@ -192,7 +192,7 @@ var $;
192
192
  if (typeof val === 'function') {
193
193
  return $mol_dev_format_native(val);
194
194
  }
195
- if (Error.isError(val)) {
195
+ if (val instanceof Error) {
196
196
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
197
197
  }
198
198
  if (val instanceof Promise) {
@@ -1115,7 +1115,7 @@ var $;
1115
1115
  var $;
1116
1116
  (function ($) {
1117
1117
  function $mol_log3_area_lazy(event) {
1118
- const self = this;
1118
+ const self = this.$;
1119
1119
  const stack = self.$mol_log3_stack;
1120
1120
  const deep = stack.length;
1121
1121
  let logged = false;