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.d.ts +1 -0
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -0
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
- package/web.mjs +2 -2
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
|
|
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
|
|
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;
|