Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/global

Package Overview
Dependencies
Maintainers
0
Versions
1139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/global - npm Package Compare versions

Comparing version 0.18.6 to 0.18.7

28

CHANGELOG.md
# @blocksuite/global
## 0.18.7
### Patch Changes
- 1057773: Blocksuite patch release.
## Feat
- feat(edgeless): rewrite mind map drag indicator (#8805)
- feat: remove data transfer from dnd api (#8955)
## Fix
- fix: dnd from entity api (#8958)
- fix(std): edge case on pointer controller (#8954)
- fix: indent behavior (#8941)
- fix(edgeless): add index reorder buttong for frame block (#8951)
## Chore
- chore: run headless vitest locally by default (#8957)
- chore(blocks): disable image peekview on mobile (#8952)
## Refactor
- refactor(database): refactor addRow functionality in kanban and table views (#8956)
- refactor: notion html adapter (#8947)
## 0.18.6

@@ -4,0 +32,0 @@

1

dist/utils/model/bound.d.ts

@@ -59,2 +59,3 @@ import type { SerializedXYWH, XYWH } from '../xywh.js';

isVerticalCross(bound: Bound): boolean;
moveDelta(dx: number, dy: number): Bound;
serialize(): SerializedXYWH;

@@ -61,0 +62,0 @@ toRelative([x, y]: IVec): IVec;

@@ -190,2 +190,5 @@ import { getIBoundFromPoints } from '../bound.js';

}
moveDelta(dx, dy) {
return new Bound(this.x + dx, this.y + dy, this.w, this.h);
}
serialize() {

@@ -192,0 +195,0 @@ return serializeXYWH(this.x, this.y, this.w, this.h);

2

package.json
{
"name": "@blocksuite/global",
"version": "0.18.6",
"version": "0.18.7",
"types": "./index.d.ts",

@@ -5,0 +5,0 @@ "type": "module",

@@ -279,2 +279,6 @@ import type { SerializedXYWH, XYWH } from '../xywh.js';

moveDelta(dx: number, dy: number) {
return new Bound(this.x + dx, this.y + dy, this.w, this.h);
}
serialize(): SerializedXYWH {

@@ -281,0 +285,0 @@ return serializeXYWH(this.x, this.y, this.w, this.h);

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