mol_jsx_lib 0.0.735 → 0.0.736

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/web.mjs CHANGED
@@ -574,8 +574,6 @@ var $;
574
574
  function $mol_dev_format_native(obj) {
575
575
  if (typeof obj === 'undefined')
576
576
  return $.$mol_dev_format_shade('undefined');
577
- if (typeof obj !== 'object' && typeof obj !== 'function')
578
- return obj;
579
577
  return [
580
578
  'object',
581
579
  {
@@ -1213,11 +1211,11 @@ var $;
1213
1211
  return true;
1214
1212
  }
1215
1213
  function compare_buffer(left, right) {
1216
- if (left instanceof DataView)
1217
- return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1218
1214
  const len = left.byteLength;
1219
1215
  if (len !== right.byteLength)
1220
1216
  return false;
1217
+ if (left instanceof DataView)
1218
+ return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1221
1219
  for (let i = 0; i < len; ++i) {
1222
1220
  if (left[i] !== right[i])
1223
1221
  return false;