shelving 1.110.3 → 1.110.5
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/db/ItemStore.js +1 -1
- package/db/QueryStore.js +1 -1
- package/package.json +1 -1
- package/util/number.js +1 -1
package/db/ItemStore.js
CHANGED
|
@@ -34,7 +34,7 @@ export class ItemStore extends LazyStore {
|
|
|
34
34
|
this.collection = collection;
|
|
35
35
|
this.id = id;
|
|
36
36
|
// Start loading the value from the provider if it doesn't exist.
|
|
37
|
-
if (
|
|
37
|
+
if (time === undefined)
|
|
38
38
|
this.refresh();
|
|
39
39
|
}
|
|
40
40
|
/** Refresh this store from the source provider. */
|
package/db/QueryStore.js
CHANGED
|
@@ -53,7 +53,7 @@ export class QueryStore extends LazyStore {
|
|
|
53
53
|
this.query = query;
|
|
54
54
|
this.limit = getLimit(query) ?? Infinity;
|
|
55
55
|
// Start loading the value from the provider if it doesn't exist.
|
|
56
|
-
if (
|
|
56
|
+
if (time === undefined)
|
|
57
57
|
this.refresh();
|
|
58
58
|
}
|
|
59
59
|
/** Refresh this store from the source provider. */
|
package/package.json
CHANGED
package/util/number.js
CHANGED
|
@@ -117,7 +117,7 @@ export function wrapNumber(num, min, max) {
|
|
|
117
117
|
return num;
|
|
118
118
|
}
|
|
119
119
|
/** Format a number (based on the user's browser language settings). */
|
|
120
|
-
export function formatNumber(num, options
|
|
120
|
+
export function formatNumber(num, options) {
|
|
121
121
|
if (Number.isNaN(num))
|
|
122
122
|
return "None";
|
|
123
123
|
if (!Number.isFinite(num))
|