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

@blocksuite/affine-model

Package Overview
Dependencies
Maintainers
0
Versions
239
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-20241220001425 to 0.0.0-canary-20241221001402

10

CHANGELOG.md
# @blocksuite/affine-model
## 0.0.0-canary-20241220001425
## 0.0.0-canary-20241221001402

@@ -9,6 +9,6 @@ ### Patch Changes

- Updated dependencies
- @blocksuite/block-std@0.0.0-canary-20241220001425
- @blocksuite/global@0.0.0-canary-20241220001425
- @blocksuite/inline@0.0.0-canary-20241220001425
- @blocksuite/store@0.0.0-canary-20241220001425
- @blocksuite/block-std@0.0.0-canary-20241221001402
- @blocksuite/global@0.0.0-canary-20241221001402
- @blocksuite/inline@0.0.0-canary-20241221001402
- @blocksuite/store@0.0.0-canary-20241221001402

@@ -15,0 +15,0 @@ ## 0.19.5

@@ -23,3 +23,2 @@ import { BlockModel, type Text } from '@blocksuite/store';

text: Text;
constructor();
}

@@ -26,0 +25,0 @@ declare global {

@@ -23,13 +23,3 @@ import { BlockModel, defineBlockSchema } from '@blocksuite/store';

export class ParagraphBlockModel extends BlockModel {
constructor() {
super();
this.propsUpdated.on(({ key }) => {
if (key === 'type') {
if (!this.type.startsWith('h')) {
this.collapsed = false;
}
}
});
}
}
//# sourceMappingURL=paragraph-model.js.map
{
"name": "@blocksuite/affine-model",
"version": "0.0.0-canary-20241220001425",
"version": "0.0.0-canary-20241221001402",
"description": "Models for BlockSuite in Affine.",

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

"dependencies": {
"@blocksuite/block-std": "0.0.0-canary-20241220001425",
"@blocksuite/global": "0.0.0-canary-20241220001425",
"@blocksuite/inline": "0.0.0-canary-20241220001425",
"@blocksuite/store": "0.0.0-canary-20241220001425",
"@blocksuite/block-std": "0.0.0-canary-20241221001402",
"@blocksuite/global": "0.0.0-canary-20241221001402",
"@blocksuite/inline": "0.0.0-canary-20241221001402",
"@blocksuite/store": "0.0.0-canary-20241221001402",
"fractional-indexing": "^3.2.0",

@@ -28,0 +28,0 @@ "zod": "^3.23.8"

@@ -44,14 +44,2 @@ import { BlockModel, defineBlockSchema, type Text } from '@blocksuite/store';

override text!: Text;
constructor() {
super();
this.propsUpdated.on(({ key }) => {
if (key === 'type') {
if (!this.type.startsWith('h')) {
this.collapsed = false;
}
}
});
}
}

@@ -58,0 +46,0 @@

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