Update to latest Skeletor

So that we can use the `getAll` IndexedDB method to fetch multiple
entries at once. Should result in a significant speedup.
This commit is contained in:
JC Brand 2022-02-28 10:25:16 +01:00
parent 21d3159081
commit 9328db645d
4 changed files with 517 additions and 424 deletions

View File

@ -6,6 +6,7 @@
- Increased stanza timeout from 10 to 20 seconds
- Replace various font icons with SVG icons
- Fix bug where MUC config wasn't persisted across page loads
- Add support for calling the IndexedDB `getAll` method to speed up fetching models from storage.
- #1761: Add a new dark theme based on the [Dracula](https://draculatheme.com/) theme
- #2627: Spoiler toggles only after switching to another tab and back
- #2733: Fix OMEMO race condition related to automatic reconnection and SMACKS

881
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@converse/headless",
"version": "8.0.0",
"version": "9.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -10,9 +10,8 @@
"integrity": "sha512-oA1TKrm6H838isYZJxMWXpXyOUezkD49eMJ6bkI+FfL2MsVuOV3ZbhBV+c07mLSknKXO7pUbWTVa5f7bXJXYjQ=="
},
"@converse/skeletor": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@converse/skeletor/-/skeletor-0.0.5.tgz",
"integrity": "sha512-x9aQTCwQOao8jdgfb/+EzITB5/sj+WhCu2yp+uccURte3zTZbG6TSJEI2dqpLxThpgmSQwrsRQDDQ3jc7FZ/2Q==",
"version": "github:conversejs/skeletor#c7e76b023337a8ac201c74507f7a1209de1c6d18",
"from": "github:conversejs/skeletor#c7e76b023337a8ac201c74507f7a1209de1c6d18",
"requires": {
"lit-html": "^2.0.0-rc.2",
"lodash-es": "^4.17.21",
@ -20,9 +19,15 @@
}
},
"@types/trusted-types": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-1.0.6.tgz",
"integrity": "sha512-230RC8sFeHoT6sSUlRO6a8cAnclO06eeiq1QDfiv2FGCLWFvvERWgwIQD4FWqD9A69BN7Lzee4OXwoMVnnsWDw=="
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz",
"integrity": "sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg=="
},
"@xmldom/xmldom": {
"version": "0.7.5",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
"integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==",
"optional": true
},
"abab": {
"version": "2.0.5",
@ -67,11 +72,11 @@
}
},
"lit-html": {
"version": "2.0.0-rc.3",
"resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.0.0-rc.3.tgz",
"integrity": "sha512-Y6P8LlAyQuqvzq6l/Nc4z5/P5M/rVLYKQIRxcNwSuGajK0g4kbcBFQqZmgvqKG+ak+dHZjfm2HUw9TF5N/pkCw==",
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.2.0.tgz",
"integrity": "sha512-dJnevgV8VkCuOXLWrjQopDE8nSy8CzipZ/ATfYQv7z7Dct4abblcKecf50gkIScuwCTzKvRLgvTgV0zzagW4gA==",
"requires": {
"@types/trusted-types": "^1.0.1"
"@types/trusted-types": "^2.0.2"
}
},
"localforage": {
@ -96,6 +101,13 @@
"tslib": "^1.6.0"
}
},
"localforage-getitems": {
"version": "github:conversejs/localForage-getItems#de039970de16a9d3b54cdaa816aed5adaefb80c9",
"from": "github:conversejs/localForage-getItems#de039970de16a9d3b54cdaa816aed5adaefb80c9",
"requires": {
"localforage": ">=1.4.0"
}
},
"localforage-setitems": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/localforage-setitems/-/localforage-setitems-1.4.0.tgz",
@ -150,13 +162,13 @@
"integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug=="
},
"strophe.js": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/strophe.js/-/strophe.js-1.4.2.tgz",
"integrity": "sha512-jkyZQCZLm7Zgmra0zJKxpHPNIUncYj/e/eYfgxFoc5gwrWeHWigNBs0q7wtqhCiqG6Qxcf22PUpcyBq8cK+9ew==",
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/strophe.js/-/strophe.js-1.4.4.tgz",
"integrity": "sha512-Y6JMbv8EQyvajfR6QKZERTxJsO1pvYjbsEhjKkDKBns8KTWn6RRAP+lZ8Fdh/NpbMjjRPi0hg89KeUWsWCLklw==",
"requires": {
"@xmldom/xmldom": "0.7.5",
"abab": "^2.0.3",
"ws": "^7.0.0",
"xmldom": "0.5.0"
"ws": "^7.5.1"
}
},
"tslib": {
@ -170,15 +182,9 @@
"integrity": "sha512-Id+IKjdU0Hx+7Zx717jwLPsPeUqz7rAtuVBRLLs+qn+J2nf9NGITWVCxcijgYxBqe83C7sqsQPs6H1pyz3x9gA=="
},
"ws": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz",
"integrity": "sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==",
"optional": true
},
"xmldom": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.5.0.tgz",
"integrity": "sha512-Foaj5FXVzgn7xFzsKeNIde9g6aFBxTPi37iwsno8QvApmtg7KYrr+OPyRHcJF7dud2a5nGRBXK3n0dL62Gf7PA==",
"version": "7.5.7",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz",
"integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==",
"optional": true
}
}

View File

@ -37,11 +37,12 @@
"gitHead": "9641dcdc820e029b05930479c242d2b707bbe8e2",
"devDependencies": {},
"dependencies": {
"@converse/skeletor": "0.0.5",
"@converse/skeletor": "conversejs/skeletor#c7e76b023337a8ac201c74507f7a1209de1c6d18",
"dayjs": "1.10.6",
"filesize": "^7.0.0",
"localforage": "^1.10.0",
"localforage-driver-memory": "^1.0.5",
"localforage-getitems": "conversejs/localForage-getItems#de039970de16a9d3b54cdaa816aed5adaefb80c9",
"localforage-setitems": "^1.4.0",
"localforage-webextensionstorage-driver": "^2.0.0",
"lodash-es": "^4.17.21",