mol_plot_all 1.2.1481 → 1.2.1482

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
@@ -418,7 +418,7 @@ var $;
418
418
  if (typeof val === 'function') {
419
419
  return $mol_dev_format_native(val);
420
420
  }
421
- if (Error.isError(val)) {
421
+ if (val instanceof Error) {
422
422
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
423
423
  }
424
424
  if (val instanceof Promise) {
@@ -1242,7 +1242,7 @@ var $;
1242
1242
  var $;
1243
1243
  (function ($) {
1244
1244
  function $mol_log3_area_lazy(event) {
1245
- const self = this;
1245
+ const self = this.$;
1246
1246
  const stack = self.$mol_log3_stack;
1247
1247
  const deep = stack.length;
1248
1248
  let logged = false;
package/node.test.js CHANGED
@@ -409,7 +409,7 @@ var $;
409
409
  if (typeof val === 'function') {
410
410
  return $mol_dev_format_native(val);
411
411
  }
412
- if (Error.isError(val)) {
412
+ if (val instanceof Error) {
413
413
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
414
414
  }
415
415
  if (val instanceof Promise) {
@@ -1233,7 +1233,7 @@ var $;
1233
1233
  var $;
1234
1234
  (function ($) {
1235
1235
  function $mol_log3_area_lazy(event) {
1236
- const self = this;
1236
+ const self = this.$;
1237
1237
  const stack = self.$mol_log3_stack;
1238
1238
  const deep = stack.length;
1239
1239
  let logged = false;