Socket
Socket
Sign inDemoInstall

@blocksuite/phasor

Package Overview
Dependencies
Maintainers
5
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/phasor - npm Package Compare versions

Comparing version 0.0.0-20230828163942-e5356e86-nightly to 0.0.0-20230829150056-df43987c-nightly

2

dist/elements/text/utils.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc