A system for building static webapps
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: allow for async migration funcs in store

+21 -4
+19 -2
deno.lock
··· 11 11 "jsr:@deno-library/progress@^1.5.1": "1.5.1", 12 12 "jsr:@deno/cache-dir@0.22.2": "0.22.2", 13 13 "jsr:@denosaurs/plug@1.1.0": "1.1.0", 14 + "jsr:@hono/hono@^4.12.5": "4.12.5", 14 15 "jsr:@luca/esbuild-deno-loader@~0.11.1": "0.11.1", 15 16 "jsr:@paulmillr/qr@~0.5.5": "0.5.5", 16 17 "jsr:@rodney/parsedown@^1.4.3": "1.4.3", ··· 19 20 "jsr:@std/async@1": "1.2.0", 20 21 "jsr:@std/async@^1.1.0": "1.2.0", 21 22 "jsr:@std/bytes@^1.0.2": "1.0.6", 23 + "jsr:@std/bytes@^1.0.6": "1.0.6", 22 24 "jsr:@std/cli@^1.0.28": "1.0.28", 23 25 "jsr:@std/collections@^1.1.3": "1.1.6", 26 + "jsr:@std/crypto@^1.0.5": "1.0.5", 24 27 "jsr:@std/data-structures@^1.0.10": "1.0.10", 25 28 "jsr:@std/dotenv@~0.225.6": "0.225.6", 26 29 "jsr:@std/encoding@1": "1.0.10", ··· 51 54 "jsr:@std/testing@^1.0.17": "1.0.17", 52 55 "jsr:@std/text@^1.0.17": "1.0.17", 53 56 "jsr:@std/toml@^1.0.3": "1.0.11", 57 + "jsr:@std/uuid@^1.1.0": "1.1.0", 54 58 "jsr:@std/yaml@^1.0.5": "1.0.12", 55 59 "jsr:@zip-js/zip-js@^2.7.52": "2.8.24", 56 60 "npm:@hono/zod-openapi@^1.2.2": "1.2.2_hono@4.12.5_zod@4.3.6", ··· 145 149 "jsr:@std/path@1" 146 150 ] 147 151 }, 152 + "@hono/hono@4.12.5": { 153 + "integrity": "16e6ac6d6ab65c3d08fa4c019c3d9236389044074f3932bf0922fcb582e530c6" 154 + }, 148 155 "@luca/esbuild-deno-loader@0.11.1": { 149 156 "integrity": "dc020d16d75b591f679f6b9288b10f38bdb4f24345edb2f5732affa1d9885267", 150 157 "dependencies": [ 151 - "jsr:@std/bytes", 158 + "jsr:@std/bytes@^1.0.2", 152 159 "jsr:@std/encoding@^1.0.5", 153 160 "jsr:@std/path@^1.0.6" 154 161 ] ··· 177 184 "@std/collections@1.1.6": { 178 185 "integrity": "b458160ce65ea5ad35da05d0a5cbee4b583677c8b443a10d7beb0c4ac63f2baa" 179 186 }, 187 + "@std/crypto@1.0.5": { 188 + "integrity": "0dcfbb319fe0bba1bd3af904ceb4f948cde1b92979ec1614528380ed308a3b40" 189 + }, 180 190 "@std/data-structures@1.0.10": { 181 191 "integrity": "f574f86b0e07c69b9edc555fcc814b57d29258bad39fd5a34ba8a80ecf033cfe" 182 192 }, ··· 229 239 "@std/io@0.225.0": { 230 240 "integrity": "c1db7c5e5a231629b32d64b9a53139445b2ca640d828c26bf23e1c55f8c079b3", 231 241 "dependencies": [ 232 - "jsr:@std/bytes" 242 + "jsr:@std/bytes@^1.0.2" 233 243 ] 234 244 }, 235 245 "@std/media-types@1.1.0": { ··· 268 278 "integrity": "e084988b872ca4bad6aedfb7350f6eeed0e8ba88e9ee5e1590621c5b5bb8f715", 269 279 "dependencies": [ 270 280 "jsr:@std/collections" 281 + ] 282 + }, 283 + "@std/uuid@1.1.0": { 284 + "integrity": "6268db2ccf172849c9be80763354ca305d49ef4af41fe995623d44fcc3f7457c", 285 + "dependencies": [ 286 + "jsr:@std/bytes@^1.0.6", 287 + "jsr:@std/crypto" 271 288 ] 272 289 }, 273 290 "@std/yaml@1.0.12": {
+1 -1
packages/sync/deno.json
··· 1 1 { 2 2 "name": "@civility/sync", 3 - "version": "0.1.0", 3 + "version": "0.1.1", 4 4 "license": "MIT", 5 5 "exports": { 6 6 ".": "./mod.ts",
+1 -1
packages/sync/mod.ts
··· 799 799 * or do something different. 800 800 */ 801 801 // deno-lint-ignore no-explicit-any 802 - const metadata = (this.#storage as any).parseMetadata( 802 + const metadata = await (this.#storage as any).parseMetadata( 803 803 // Pass the raw serialized data directly so parseMetadata can detect version 804 804 // and apply migrations. Don't wrap it in metadata yet. 805 805 this.#storage.serialize(data),