mol_plot_all 1.2.832 → 1.2.834
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.test.js +31 -6
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +8 -3
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -2997,7 +2997,12 @@ var $;
|
|
|
2997
2997
|
(function ($) {
|
|
2998
2998
|
class $mol_storage extends $mol_object2 {
|
|
2999
2999
|
static native() {
|
|
3000
|
-
return this.$.$mol_dom_context.navigator.storage
|
|
3000
|
+
return this.$.$mol_dom_context.navigator.storage ?? {
|
|
3001
|
+
persisted: async () => false,
|
|
3002
|
+
persist: async () => false,
|
|
3003
|
+
estimate: async () => ({}),
|
|
3004
|
+
getDirectory: async () => null,
|
|
3005
|
+
};
|
|
3001
3006
|
}
|
|
3002
3007
|
static persisted(next, cache) {
|
|
3003
3008
|
$mol_mem_persist();
|
|
@@ -3016,7 +3021,7 @@ var $;
|
|
|
3016
3021
|
return next ?? $mol_wire_sync(native).persisted();
|
|
3017
3022
|
}
|
|
3018
3023
|
static estimate() {
|
|
3019
|
-
return $mol_wire_sync(this.native()).estimate();
|
|
3024
|
+
return $mol_wire_sync(this.native() ?? {}).estimate();
|
|
3020
3025
|
}
|
|
3021
3026
|
static dir() {
|
|
3022
3027
|
return $mol_wire_sync(this.native()).getDirectory();
|
|
@@ -3030,7 +3035,7 @@ var $;
|
|
|
3030
3035
|
], $mol_storage, "persisted", null);
|
|
3031
3036
|
$.$mol_storage = $mol_storage;
|
|
3032
3037
|
})($ || ($ = {}));
|
|
3033
|
-
//mol/storage/storage.
|
|
3038
|
+
//mol/storage/storage.ts
|
|
3034
3039
|
;
|
|
3035
3040
|
"use strict";
|
|
3036
3041
|
var $;
|