mol_jsx_lib 0.0.734 → 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/node.d.ts +1 -1
- package/node.deps.json +1 -1
- package/node.js +2 -4
- package/node.js.map +1 -1
- package/node.mjs +2 -4
- package/node.test.js +2 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -4
- package/web.js.map +1 -1
- package/web.mjs +2 -4
package/node.mjs
CHANGED
|
@@ -1177,8 +1177,6 @@ var $;
|
|
|
1177
1177
|
function $mol_dev_format_native(obj) {
|
|
1178
1178
|
if (typeof obj === 'undefined')
|
|
1179
1179
|
return $.$mol_dev_format_shade('undefined');
|
|
1180
|
-
if (typeof obj !== 'object' && typeof obj !== 'function')
|
|
1181
|
-
return obj;
|
|
1182
1180
|
return [
|
|
1183
1181
|
'object',
|
|
1184
1182
|
{
|
|
@@ -1810,11 +1808,11 @@ var $;
|
|
|
1810
1808
|
return true;
|
|
1811
1809
|
}
|
|
1812
1810
|
function compare_buffer(left, right) {
|
|
1813
|
-
if (left instanceof DataView)
|
|
1814
|
-
return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
|
|
1815
1811
|
const len = left.byteLength;
|
|
1816
1812
|
if (len !== right.byteLength)
|
|
1817
1813
|
return false;
|
|
1814
|
+
if (left instanceof DataView)
|
|
1815
|
+
return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
|
|
1818
1816
|
for (let i = 0; i < len; ++i) {
|
|
1819
1817
|
if (left[i] !== right[i])
|
|
1820
1818
|
return false;
|
package/node.test.js
CHANGED
|
@@ -1169,8 +1169,6 @@ var $;
|
|
|
1169
1169
|
function $mol_dev_format_native(obj) {
|
|
1170
1170
|
if (typeof obj === 'undefined')
|
|
1171
1171
|
return $.$mol_dev_format_shade('undefined');
|
|
1172
|
-
if (typeof obj !== 'object' && typeof obj !== 'function')
|
|
1173
|
-
return obj;
|
|
1174
1172
|
return [
|
|
1175
1173
|
'object',
|
|
1176
1174
|
{
|
|
@@ -1802,11 +1800,11 @@ var $;
|
|
|
1802
1800
|
return true;
|
|
1803
1801
|
}
|
|
1804
1802
|
function compare_buffer(left, right) {
|
|
1805
|
-
if (left instanceof DataView)
|
|
1806
|
-
return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
|
|
1807
1803
|
const len = left.byteLength;
|
|
1808
1804
|
if (len !== right.byteLength)
|
|
1809
1805
|
return false;
|
|
1806
|
+
if (left instanceof DataView)
|
|
1807
|
+
return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
|
|
1810
1808
|
for (let i = 0; i < len; ++i) {
|
|
1811
1809
|
if (left[i] !== right[i])
|
|
1812
1810
|
return false;
|