@blocksuite/phasor
Advanced tools
Comparing version 0.0.0-20230828163942-e5356e86-nightly to 0.0.0-20230829150056-df43987c-nightly
@@ -262,3 +262,3 @@ // something comes from https://github.com/excalidraw/excalidraw/blob/b1311a407a636c87ee0ca326fd20599d0ce4ba9b/src/utils.ts | ||
} | ||
return [...chunksGenerator(transformedDelta)]; | ||
return Array.from(chunksGenerator(transformedDelta)); | ||
} | ||
@@ -265,0 +265,0 @@ export function normalizeTextBound(text, bound) { |
@@ -159,3 +159,3 @@ import { assertExists, Slot } from '@blocksuite/global/utils'; | ||
getElementsBound() { | ||
return getCommonBound([...this._elements.values()]); | ||
return getCommonBound(Array.from(this._elements.values())); | ||
} | ||
@@ -279,3 +279,3 @@ addElement(type, properties) { | ||
getElements() { | ||
return [...this._elements.values()]; | ||
return Array.from(this._elements.values()); | ||
} | ||
@@ -282,0 +282,0 @@ getElementsByType(type) { |
{ | ||
"name": "@blocksuite/phasor", | ||
"version": "0.0.0-20230828163942-e5356e86-nightly", | ||
"version": "0.0.0-20230829150056-df43987c-nightly", | ||
"description": "Hybrid canvas renderer.", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
"fractional-indexing": "^3.2.0", | ||
"@blocksuite/global": "0.0.0-20230828163942-e5356e86-nightly" | ||
"@blocksuite/global": "0.0.0-20230829150056-df43987c-nightly" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -330,3 +330,3 @@ // something comes from https://github.com/excalidraw/excalidraw/blob/b1311a407a636c87ee0ca326fd20599d0ce4ba9b/src/utils.ts | ||
return [...chunksGenerator(transformedDelta)]; | ||
return Array.from(chunksGenerator(transformedDelta)); | ||
} | ||
@@ -333,0 +333,0 @@ |
@@ -233,3 +233,3 @@ import { assertExists, Slot } from '@blocksuite/global/utils'; | ||
getElementsBound(): IBound | null { | ||
return getCommonBound([...this._elements.values()]); | ||
return getCommonBound(Array.from(this._elements.values())); | ||
} | ||
@@ -393,3 +393,3 @@ | ||
getElements() { | ||
return [...this._elements.values()]; | ||
return Array.from(this._elements.values()); | ||
} | ||
@@ -396,0 +396,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1024977
+ Added@blocksuite/global@0.0.0-20230829150056-df43987c-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230828163942-e5356e86-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230829150056-df43987c-nightly