@blocksuite/phasor
Advanced tools
Comparing version 0.0.0-20230829150056-df43987c-nightly to 0.0.0-20230830111255-92eab248-nightly
{ | ||
"name": "@blocksuite/phasor", | ||
"version": "0.0.0-20230829150056-df43987c-nightly", | ||
"version": "0.0.0-20230830111255-92eab248-nightly", | ||
"description": "Hybrid canvas renderer.", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
"fractional-indexing": "^3.2.0", | ||
"@blocksuite/global": "0.0.0-20230829150056-df43987c-nightly" | ||
"@blocksuite/global": "0.0.0-20230830111255-92eab248-nightly" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -45,3 +45,3 @@ import type * as Y from 'yjs'; | ||
T extends ISurfaceElement = ISurfaceElement, | ||
L extends ISurfaceElementLocalRecord = ISurfaceElementLocalRecord | ||
L extends ISurfaceElementLocalRecord = ISurfaceElementLocalRecord, | ||
> { | ||
@@ -48,0 +48,0 @@ abstract containedByBounds(bounds: Bound): boolean; |
@@ -36,3 +36,3 @@ import { assertExists } from '@blocksuite/global/utils'; | ||
export function compare< | ||
T extends { id: string; index: string; batch?: string | null } | ||
T extends { id: string; index: string; batch?: string | null }, | ||
>(a: T, b: T): number { | ||
@@ -39,0 +39,0 @@ if (a.batch && b.batch) { |
@@ -20,3 +20,3 @@ import type { StrokeOptions, StrokePoint } from './types.js'; | ||
T extends number[], | ||
K extends { x: number; y: number; pressure?: number } | ||
K extends { x: number; y: number; pressure?: number }, | ||
>(points: (T | K)[], options = {} as StrokeOptions): StrokePoint[] { | ||
@@ -23,0 +23,0 @@ const { streamline = 0.5, size = 16, last: isComplete = false } = options; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1023662
+ Added@blocksuite/global@0.0.0-20230830111255-92eab248-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230829150056-df43987c-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230830111255-92eab248-nightly