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

@blocksuite/store

Package Overview
Dependencies
Maintainers
5
Versions
1281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/store - npm Package Compare versions

Comparing version 0.4.1-20230225180029-daf8dec to 0.4.1-20230226175811-d32fc6d

2

package.json
{
"name": "@blocksuite/store",
"version": "0.4.1-20230225180029-daf8dec",
"version": "0.4.1-20230226175811-d32fc6d",
"description": "BlockSuite data store built for general purpose state management.",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -12,5 +12,3 @@ import { Signal } from '@blocksuite/global/utils';

endOffset: number;
startBlockId: string;
endBlockId: string;
betweenBlockIds: string[];
blockIds: string[];
}

@@ -17,0 +15,0 @@

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

import type { BlockModels } from '@blocksuite/global/types';
import { Signal } from '@blocksuite/global/utils';

@@ -102,3 +103,3 @@ import type * as Y from 'yjs';

static version: number;
flavour!: keyof BlockSuiteInternal.BlockModels & string;
flavour!: keyof BlockModels & string;
tag!: StaticValue;

@@ -105,0 +106,0 @@ id: string;

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

import type { BlockModels } from '@blocksuite/global/types';
import { isPrimitive, matchFlavours, SYS_KEYS } from '@blocksuite/global/utils';

@@ -123,3 +124,3 @@ import { fromBase64, toBase64 } from 'lib0/buffer.js';

block: BaseBlockModel | string,
flavour: keyof BlockSuiteInternal.BlockModels
flavour: keyof BlockModels
): boolean {

@@ -126,0 +127,0 @@ const parent = page.getParent(block);

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