Skip to content

Commit 863746f

Browse files
authored
Merge pull request #27 from jsonjoy-com/deps
feat: 🎸 update dependencies
2 parents 6dee6bb + 352cc87 commit 863746f

File tree

4 files changed

+696
-643
lines changed

4 files changed

+696
-643
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@
7676
},
7777
"dependencies": {
7878
"@jsonjoy.com/jit-router": "^1.0.1",
79-
"@jsonjoy.com/json-pack": "^1.1.0",
80-
"@jsonjoy.com/util": "^1.4.0",
79+
"@jsonjoy.com/json-pack": "^1.2.0",
80+
"@jsonjoy.com/util": "^1.6.0",
8181
"abstract-level": "^2.0.0",
8282
"classic-level": "^1.4.1",
8383
"fs-zoo": "^1.1.0",
8484
"memory-level": "^1.0.0",
8585
"rpc-error": "^1.1.0",
86-
"rx-use": "^1.8.1",
87-
"sonic-forest": "^1.0.3",
88-
"thingies": "^2.4.0"
86+
"rx-use": "^1.8.2",
87+
"sonic-forest": "^1.2.0",
88+
"thingies": "^2.5.0"
8989
},
9090
"devDependencies": {
9191
"@biomejs/biome": "^1.9.3",

src/__demos__/json-crdt-server/services/blocks/store/level/LevelStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class LevelStore implements types.Store {
6969
const key = this.startKey(id);
7070
try {
7171
const blob = await kv.get(key);
72-
const snapshot = decoder.decode(blob) as types.StoreSnapshot;
72+
const snapshot = decoder.decode(blob as any) as types.StoreSnapshot;
7373
const batches: types.StoreBatch[] = [];
7474
if (snapshot.seq < seq) {
7575
const gte = this.batchKey(id, snapshot.seq + 1);
@@ -187,7 +187,7 @@ export class LevelStore implements types.Store {
187187
const {encoder, decoder} = codec;
188188
const key = this.startKey(id);
189189
await this.mutex.acquire(id + '.trunc', async () => {
190-
const start = decoder.decode(await kv.get(key)) as types.StoreSnapshot;
190+
const start = decoder.decode((await kv.get(key)) as any) as types.StoreSnapshot;
191191
if (start.seq >= to) return;
192192
const gt = this.batchKey(id, start.seq);
193193
const lte = this.batchKey(id, to);

tslint.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)