chore: bump all dependencies (#5891)

This commit is contained in:
LongYinan
2024-02-23 09:37:13 +00:00
parent db1d0dcf52
commit ae41c6c544
42 changed files with 3232 additions and 3311 deletions

View File

@@ -6,7 +6,7 @@
"debug": "^4.3.4"
},
"devDependencies": {
"@types/debug": "^4.1.9",
"@types/debug": "^4.1.12",
"vitest": "1.3.1"
},
"version": "0.12.0"

View File

@@ -23,7 +23,7 @@
"@blocksuite/global": "0.11.0-nightly-202401020419-752a5b8"
},
"dependencies": {
"lit": "^3.0.2",
"lit": "^3.1.2",
"zod": "^3.22.4"
},
"version": "0.12.0"

View File

@@ -20,14 +20,14 @@
"@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/global": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"foxact": "^0.2.20",
"jotai": "^2.5.1",
"foxact": "^0.2.31",
"jotai": "^2.6.5",
"jotai-effect": "^0.5.0",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.3",
"nanoid": "^5.0.6",
"react": "18.2.0",
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
"yjs": "^13.6.10",
"yjs": "^13.6.12",
"zod": "^3.22.4"
},
"devDependencies": {
@@ -35,11 +35,11 @@
"@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@testing-library/react": "^14.0.0",
"async-call-rpc": "^6.3.1",
"@testing-library/react": "^14.2.1",
"async-call-rpc": "^6.4.0",
"react": "^18.2.0",
"rxjs": "^7.8.1",
"vite": "^5.0.6",
"vite": "^5.1.4",
"vite-plugin-dts": "3.7.3",
"vitest": "1.3.1"
},

View File

@@ -24,11 +24,12 @@ export type ServiceIdentifier<T> = {
__TYPE__: T;
};
export type ServiceIdentifierType<T> = T extends ServiceIdentifier<infer R>
? R
: T extends Type<infer R>
export type ServiceIdentifierType<T> =
T extends ServiceIdentifier<infer R>
? R
: never;
: T extends Type<infer R>
? R
: never;
export type TypesToDeps<T extends any[]> = {
[index in keyof T]:

View File

@@ -81,8 +81,8 @@ export class PriorityAsyncQueue<
override next(abort?: AbortSignal | undefined): Promise<T> {
return super.next(abort, arr => {
if (this.priorityTarget.priorityRule !== null) {
const index = arr.findIndex(
update => this.priorityTarget.priorityRule?.(update.id)
const index = arr.findIndex(update =>
this.priorityTarget.priorityRule?.(update.id)
);
if (index !== -1) {
return arr.splice(index, 1)[0];

View File

@@ -34,18 +34,18 @@
"dependencies": {
"@blocksuite/global": "0.12.0-canary-202402220729-0868ac6",
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"nanoid": "^5.0.6",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"fake-indexeddb": "^5.0.2",
"vite": "^5.1.4",
"vite-plugin-dts": "3.7.3",
"vitest": "1.3.1",
"y-indexeddb": "^9.0.11",
"yjs": "^13.6.10"
"y-indexeddb": "^9.0.12",
"yjs": "^13.6.12"
},
"peerDependencies": {
"yjs": "^13"

View File

@@ -25,10 +25,10 @@
},
"devDependencies": {
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"vite": "^5.0.6",
"vite": "^5.1.4",
"vite-plugin-dts": "3.7.3",
"vitest": "1.3.1",
"yjs": "^13.6.10"
"yjs": "^13.6.12"
},
"peerDependencies": {
"@blocksuite/global": "*",