mol_jsx_lib 0.0.679 → 0.0.681

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
@@ -1155,7 +1155,12 @@ var $;
1155
1155
  if (!val)
1156
1156
  return null;
1157
1157
  if ($.$mol_dev_format_head in val) {
1158
- return val[$.$mol_dev_format_head]();
1158
+ try {
1159
+ return val[$.$mol_dev_format_head]();
1160
+ }
1161
+ catch (error) {
1162
+ return $.$mol_dev_format_accent($mol_dev_format_native(val), '💨', $mol_dev_format_native(error), '');
1163
+ }
1159
1164
  }
1160
1165
  if (typeof val === 'function') {
1161
1166
  return $mol_dev_format_native(val);
package/node.test.js CHANGED
@@ -1147,7 +1147,12 @@ var $;
1147
1147
  if (!val)
1148
1148
  return null;
1149
1149
  if ($.$mol_dev_format_head in val) {
1150
- return val[$.$mol_dev_format_head]();
1150
+ try {
1151
+ return val[$.$mol_dev_format_head]();
1152
+ }
1153
+ catch (error) {
1154
+ return $.$mol_dev_format_accent($mol_dev_format_native(val), '💨', $mol_dev_format_native(error), '');
1155
+ }
1151
1156
  }
1152
1157
  if (typeof val === 'function') {
1153
1158
  return $mol_dev_format_native(val);