Page MenuHomePhabricator

D12836.id42942.diff
No OneTemporary

D12836.id42942.diff

diff --git a/web/flow-typed/npm/localforage_v1.5.x.js b/web/flow-typed/npm/localforage_v1.5.x.js
--- a/web/flow-typed/npm/localforage_v1.5.x.js
+++ b/web/flow-typed/npm/localforage_v1.5.x.js
@@ -36,6 +36,17 @@
keys(
successCallback?: (keyNames: Array<string>) => mixed,
): ?Promise<Array<string>>,
+ getMultipleItems<T>(
+ keys: $ReadOnlyArray<$Keys<T>>,
+ synchronizationKey: string
+ ): Promise<{+values: T, +synchronizationValue: ?string}>,
+ setMultipleItems<T>(
+ input: T,
+ synchronizationKey: string,
+ expectedSynchronizationValue: ?string,
+ newSynchronizationValue: string,
+ forceWrite: boolean
+ ): Promise<void>,
...
};
@@ -65,6 +76,17 @@
keys(
successCallback?: (keyNames: Array<string>) => mixed,
): Promise<Array<string>>,
+ getMultipleItems<T>(
+ keys: $ReadOnlyArray<$Keys<T>>,
+ synchronizationKey: string
+ ): Promise<{+values: T, +synchronizationValue: ?string}>,
+ setMultipleItems<T>(
+ input: T,
+ synchronizationKey: string,
+ expectedSynchronizationValue: ?string,
+ newSynchronizationValue: string,
+ forceWrite: boolean
+ ): Promise<void>,
iterate<T>(
iteratorCallback: (value: T, key: string, iterationNumber: number) => mixed,
successCallback?: (result: void | [string, T]) => mixed,
diff --git a/web/package.json b/web/package.json
--- a/web/package.json
+++ b/web/package.json
@@ -71,7 +71,7 @@
"is-svg": "^4.3.0",
"isomorphic-fetch": "^3.0.0",
"lib": "0.0.1",
- "localforage": "^1.10.0",
+ "localforage": "github:marcinwasowicz/localForage#2983b84d9cccf23e6c10a15250c1027df8b94a21",
"lodash": "^4.17.21",
"qrcode.react": "^3.1.0",
"react": "18.1.0",
diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -16510,8 +16510,13 @@
localforage@^1.10.0:
version "1.10.0"
- resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.10.0.tgz#5c465dc5f62b2807c3a84c0c6a1b1b3212781dd4"
- integrity sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==
+ resolved "https://codeload.github.com/marcinwasowicz/localForage/tar.gz/222299278edcc2328ad61a13f2972388c6029436"
+ dependencies:
+ lie "3.1.1"
+
+"localforage@github:marcinwasowicz/localForage#2983b84d9cccf23e6c10a15250c1027df8b94a21":
+ version "1.10.0"
+ resolved "https://codeload.github.com/marcinwasowicz/localForage/tar.gz/2983b84d9cccf23e6c10a15250c1027df8b94a21"
dependencies:
lie "3.1.1"

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 12:20 AM (15 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2566821
Default Alt Text
D12836.id42942.diff (2 KB)

Event Timeline