mol_jsx_lib 0.0.675 → 0.0.676

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
@@ -1222,7 +1222,6 @@ var $;
1222
1222
  $.$mol_dev_format_element = $mol_dev_format_element;
1223
1223
  function $mol_dev_format_span(style, ...content) {
1224
1224
  return $mol_dev_format_element('span', {
1225
- 'vertical-align': '8%',
1226
1225
  ...style,
1227
1226
  }, ...content);
1228
1227
  }
@@ -2611,7 +2610,7 @@ var $;
2611
2610
  if (super.get(key) === value)
2612
2611
  return this;
2613
2612
  super.set(key, value);
2614
- this.pub.emit();
2613
+ this.pub?.emit();
2615
2614
  return this;
2616
2615
  }
2617
2616
  delete(key) {
package/node.test.js CHANGED
@@ -1214,7 +1214,6 @@ var $;
1214
1214
  $.$mol_dev_format_element = $mol_dev_format_element;
1215
1215
  function $mol_dev_format_span(style, ...content) {
1216
1216
  return $mol_dev_format_element('span', {
1217
- 'vertical-align': '8%',
1218
1217
  ...style,
1219
1218
  }, ...content);
1220
1219
  }
@@ -2603,7 +2602,7 @@ var $;
2603
2602
  if (super.get(key) === value)
2604
2603
  return this;
2605
2604
  super.set(key, value);
2606
- this.pub.emit();
2605
+ this.pub?.emit();
2607
2606
  return this;
2608
2607
  }
2609
2608
  delete(key) {
@@ -2930,7 +2929,7 @@ var $;
2930
2929
  if ('outerHTML' in val)
2931
2930
  return val.outerHTML;
2932
2931
  try {
2933
- return JSON.stringify(val, null, '\t');
2932
+ return JSON.stringify(val, (k, v) => typeof v === 'bigint' ? String(v) : v, '\t');
2934
2933
  }
2935
2934
  catch (error) {
2936
2935
  console.error(error);