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
245
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-20240829050359 to 0.0.0-canary-20240829114838

2

dist/elements/group/group.js

@@ -65,3 +65,3 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {

static propsToY(props) {
if (props.title && !(props.title instanceof DocCollection.Y.Text)) {
if ('title' in props && !(props.title instanceof DocCollection.Y.Text)) {
props.title = new DocCollection.Y.Text(props.title);

@@ -68,0 +68,0 @@ }

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

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

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

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

@@ -34,3 +34,3 @@ import type {

static override propsToY(props: Record<string, unknown>) {
if (props.title && !(props.title instanceof DocCollection.Y.Text)) {
if ('title' in props && !(props.title instanceof DocCollection.Y.Text)) {
props.title = new DocCollection.Y.Text(props.title as string);

@@ -37,0 +37,0 @@ }

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