chore: bump all dependencies (#5891)
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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]:
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user