mol_wire_lib 1.0.806 → 1.0.808

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
@@ -204,7 +204,6 @@ var $;
204
204
  $.$mol_dev_format_element = $mol_dev_format_element;
205
205
  function $mol_dev_format_span(style, ...content) {
206
206
  return $mol_dev_format_element('span', {
207
- 'vertical-align': '8%',
208
207
  ...style,
209
208
  }, ...content);
210
209
  }
@@ -1756,7 +1755,7 @@ var $;
1756
1755
  if (super.get(key) === value)
1757
1756
  return this;
1758
1757
  super.set(key, value);
1759
- this.pub.emit();
1758
+ this.pub?.emit();
1760
1759
  return this;
1761
1760
  }
1762
1761
  delete(key) {
package/node.test.js CHANGED
@@ -196,7 +196,6 @@ var $;
196
196
  $.$mol_dev_format_element = $mol_dev_format_element;
197
197
  function $mol_dev_format_span(style, ...content) {
198
198
  return $mol_dev_format_element('span', {
199
- 'vertical-align': '8%',
200
199
  ...style,
201
200
  }, ...content);
202
201
  }
@@ -1748,7 +1747,7 @@ var $;
1748
1747
  if (super.get(key) === value)
1749
1748
  return this;
1750
1749
  super.set(key, value);
1751
- this.pub.emit();
1750
+ this.pub?.emit();
1752
1751
  return this;
1753
1752
  }
1754
1753
  delete(key) {
@@ -3360,7 +3359,7 @@ var $;
3360
3359
  if ('outerHTML' in val)
3361
3360
  return val.outerHTML;
3362
3361
  try {
3363
- return JSON.stringify(val, null, '\t');
3362
+ return JSON.stringify(val, (k, v) => typeof v === 'bigint' ? String(v) : v, '\t');
3364
3363
  }
3365
3364
  catch (error) {
3366
3365
  console.error(error);