mol_jsx_lib 0.0.1369 → 0.0.1371

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
@@ -595,7 +595,7 @@ var $;
595
595
  if (typeof val === 'function') {
596
596
  return $mol_dev_format_native(val);
597
597
  }
598
- if (Error.isError(val)) {
598
+ if (val instanceof Error) {
599
599
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
600
600
  }
601
601
  if (val instanceof Promise) {
@@ -1321,7 +1321,7 @@ var $;
1321
1321
  var $;
1322
1322
  (function ($) {
1323
1323
  function $mol_log3_area_lazy(event) {
1324
- const self = this;
1324
+ const self = this.$;
1325
1325
  const stack = self.$mol_log3_stack;
1326
1326
  const deep = stack.length;
1327
1327
  let logged = false;
package/node.test.js CHANGED
@@ -586,7 +586,7 @@ var $;
586
586
  if (typeof val === 'function') {
587
587
  return $mol_dev_format_native(val);
588
588
  }
589
- if (Error.isError(val)) {
589
+ if (val instanceof Error) {
590
590
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
591
591
  }
592
592
  if (val instanceof Promise) {
@@ -1312,7 +1312,7 @@ var $;
1312
1312
  var $;
1313
1313
  (function ($) {
1314
1314
  function $mol_log3_area_lazy(event) {
1315
- const self = this;
1315
+ const self = this.$;
1316
1316
  const stack = self.$mol_log3_stack;
1317
1317
  const deep = stack.length;
1318
1318
  let logged = false;