New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/affine-model

Package Overview
Dependencies
Maintainers
2
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/affine-model - npm Package Compare versions

Comparing version 0.0.0-canary-20240904094417 to 0.0.0-canary-20240905001306

5

dist/blocks/frame/frame-model.d.ts

@@ -1,2 +0,2 @@

import type { GfxBlockElementModel } from '@blocksuite/block-std/gfx';
import type { GfxBlockElementModel, GfxModel } from '@blocksuite/block-std/gfx';
import { type GfxContainerElement, type GfxElementGeometry, type PointTestOptions, gfxContainerSymbol } from '@blocksuite/block-std/gfx';

@@ -33,2 +33,3 @@ import { Bound, type SerializedXYWH } from '@blocksuite/global/utils';

addChild(element: BlockSuite.EdgelessModel | string): void;
hasDescendant(element: string | GfxModel): boolean;
containsBound(bound: Bound): boolean;

@@ -38,3 +39,3 @@ includesPoint(x: number, y: number, _: PointTestOptions): boolean;

removeChild(element: BlockSuite.EdgelessModel | string): void;
get childElements(): import("@blocksuite/block-std/gfx").GfxModel[];
get childElements(): GfxModel[];
get childIds(): string[];

@@ -41,0 +42,0 @@ }

4

dist/blocks/frame/frame-model.js

@@ -39,2 +39,6 @@ var _a;

}
hasDescendant(element) {
const id = typeof element === 'string' ? element : element.id;
return !!this.childElementIds?.[id];
}
containsBound(bound) {

@@ -41,0 +45,0 @@ return this.elementBound.contains(bound);

{
"name": "@blocksuite/affine-model",
"version": "0.0.0-canary-20240904094417",
"version": "0.0.0-canary-20240905001306",
"description": "Default BlockSuite editable blocks.",

@@ -12,6 +12,6 @@ "type": "module",

"zod": "^3.23.8",
"@blocksuite/block-std": "0.0.0-canary-20240904094417",
"@blocksuite/global": "0.0.0-canary-20240904094417",
"@blocksuite/store": "0.0.0-canary-20240904094417",
"@blocksuite/inline": "0.0.0-canary-20240904094417"
"@blocksuite/block-std": "0.0.0-canary-20240905001306",
"@blocksuite/store": "0.0.0-canary-20240905001306",
"@blocksuite/inline": "0.0.0-canary-20240905001306",
"@blocksuite/global": "0.0.0-canary-20240905001306"
},

@@ -18,0 +18,0 @@ "exports": {

@@ -1,2 +0,2 @@

import type { GfxBlockElementModel } from '@blocksuite/block-std/gfx';
import type { GfxBlockElementModel, GfxModel } from '@blocksuite/block-std/gfx';

@@ -59,2 +59,7 @@ import {

hasDescendant(element: string | GfxModel): boolean {
const id = typeof element === 'string' ? element : element.id;
return !!this.childElementIds?.[id];
}
override containsBound(bound: Bound): boolean {

@@ -61,0 +66,0 @@ return this.elementBound.contains(bound);

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