mol_dump_lib 0.0.148 → 0.0.150
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.deps.json +1 -1
- package/node.js +5 -1
- package/node.js.map +1 -1
- package/node.mjs +5 -1
- package/node.test.js +6 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +26 -1
- package/web.deps.json +1 -1
- package/web.js +70 -4
- package/web.js.map +1 -1
- package/web.mjs +70 -4
- package/web.test.js +1 -53
- package/web.test.js.map +1 -1
package/node.mjs
CHANGED
|
@@ -888,11 +888,15 @@ var $;
|
|
|
888
888
|
(function ($) {
|
|
889
889
|
$.$mol_key_store = new WeakMap();
|
|
890
890
|
function $mol_key(value) {
|
|
891
|
+
if (typeof value === 'bigint')
|
|
892
|
+
return value.toString() + 'n';
|
|
891
893
|
if (!value)
|
|
892
894
|
return JSON.stringify(value);
|
|
893
895
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
894
896
|
return JSON.stringify(value);
|
|
895
897
|
return JSON.stringify(value, (field, value) => {
|
|
898
|
+
if (typeof value === 'bigint')
|
|
899
|
+
return value.toString() + 'n';
|
|
896
900
|
if (!value)
|
|
897
901
|
return value;
|
|
898
902
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -6187,7 +6191,7 @@ var $;
|
|
|
6187
6191
|
"use strict";
|
|
6188
6192
|
var $;
|
|
6189
6193
|
(function ($) {
|
|
6190
|
-
$mol_style_attach("mol/check/check.css", "[mol_check] {\n\tflex: 0 0 auto;\n\tjustify-content: flex-start;\n\talign-content: center;\n\
|
|
6194
|
+
$mol_style_attach("mol/check/check.css", "[mol_check] {\n\tflex: 0 0 auto;\n\tjustify-content: flex-start;\n\talign-content: center;\n\t/* align-items: flex-start; */\n\tborder: none;\n\tfont-weight: inherit;\n\tbox-shadow: none;\n\ttext-align: left;\n\tdisplay: inline-flex;\n\tflex-wrap: nowrap;\n}\n\n[mol_check_title] {\n\tflex-shrink: 1;\n}\n");
|
|
6191
6195
|
})($ || ($ = {}));
|
|
6192
6196
|
//mol/check/-css/check.css.ts
|
|
6193
6197
|
;
|
package/node.test.js
CHANGED
|
@@ -880,11 +880,15 @@ var $;
|
|
|
880
880
|
(function ($) {
|
|
881
881
|
$.$mol_key_store = new WeakMap();
|
|
882
882
|
function $mol_key(value) {
|
|
883
|
+
if (typeof value === 'bigint')
|
|
884
|
+
return value.toString() + 'n';
|
|
883
885
|
if (!value)
|
|
884
886
|
return JSON.stringify(value);
|
|
885
887
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
886
888
|
return JSON.stringify(value);
|
|
887
889
|
return JSON.stringify(value, (field, value) => {
|
|
890
|
+
if (typeof value === 'bigint')
|
|
891
|
+
return value.toString() + 'n';
|
|
888
892
|
if (!value)
|
|
889
893
|
return value;
|
|
890
894
|
if (typeof value !== 'object' && typeof value !== 'function')
|
|
@@ -6179,7 +6183,7 @@ var $;
|
|
|
6179
6183
|
"use strict";
|
|
6180
6184
|
var $;
|
|
6181
6185
|
(function ($) {
|
|
6182
|
-
$mol_style_attach("mol/check/check.css", "[mol_check] {\n\tflex: 0 0 auto;\n\tjustify-content: flex-start;\n\talign-content: center;\n\
|
|
6186
|
+
$mol_style_attach("mol/check/check.css", "[mol_check] {\n\tflex: 0 0 auto;\n\tjustify-content: flex-start;\n\talign-content: center;\n\t/* align-items: flex-start; */\n\tborder: none;\n\tfont-weight: inherit;\n\tbox-shadow: none;\n\ttext-align: left;\n\tdisplay: inline-flex;\n\tflex-wrap: nowrap;\n}\n\n[mol_check_title] {\n\tflex-shrink: 1;\n}\n");
|
|
6183
6187
|
})($ || ($ = {}));
|
|
6184
6188
|
//mol/check/-css/check.css.ts
|
|
6185
6189
|
;
|
|
@@ -8840,6 +8844,7 @@ var $;
|
|
|
8840
8844
|
$mol_assert_equal($mol_key(false), 'false');
|
|
8841
8845
|
$mol_assert_equal($mol_key(true), 'true');
|
|
8842
8846
|
$mol_assert_equal($mol_key(0), '0');
|
|
8847
|
+
$mol_assert_equal($mol_key(1n << 64n), '18446744073709551616n');
|
|
8843
8848
|
$mol_assert_equal($mol_key(''), '""');
|
|
8844
8849
|
},
|
|
8845
8850
|
'Array & POJO'() {
|