mol_wire_lib 1.0.811 → 1.0.812

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
@@ -150,7 +150,12 @@ var $;
150
150
  if (!val)
151
151
  return null;
152
152
  if ($.$mol_dev_format_head in val) {
153
- return val[$.$mol_dev_format_head]();
153
+ try {
154
+ return val[$.$mol_dev_format_head]();
155
+ }
156
+ catch (error) {
157
+ return $.$mol_dev_format_accent($mol_dev_format_native(val), '💨', $mol_dev_format_native(error), '');
158
+ }
154
159
  }
155
160
  if (typeof val === 'function') {
156
161
  return $mol_dev_format_native(val);
package/node.test.js CHANGED
@@ -142,7 +142,12 @@ var $;
142
142
  if (!val)
143
143
  return null;
144
144
  if ($.$mol_dev_format_head in val) {
145
- return val[$.$mol_dev_format_head]();
145
+ try {
146
+ return val[$.$mol_dev_format_head]();
147
+ }
148
+ catch (error) {
149
+ return $.$mol_dev_format_accent($mol_dev_format_native(val), '💨', $mol_dev_format_native(error), '');
150
+ }
146
151
  }
147
152
  if (typeof val === 'function') {
148
153
  return $mol_dev_format_native(val);