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

@blocksuite/store

Package Overview
Dependencies
Maintainers
0
Versions
1250
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.0.0-canary-20241024001413 to 0.0.0-canary-20241025001424

56

CHANGELOG.md
# @blocksuite/store
## 0.0.0-canary-20241024001413
## 0.0.0-canary-20241025001424

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

- Updated dependencies
- @blocksuite/global@0.0.0-canary-20241024001413
- @blocksuite/inline@0.0.0-canary-20241024001413
- @blocksuite/sync@0.0.0-canary-20241024001413
- @blocksuite/global@0.0.0-canary-20241025001424
- @blocksuite/inline@0.0.0-canary-20241025001424
- @blocksuite/sync@0.0.0-canary-20241025001424
## 0.17.20
### Patch Changes
- 99d69d5: ## Feat
- feat(blocks): add more html transformer apis (#8573)
- feat(blocks): support more markdown transformer api (#8564)
- feat(blocks): add abort controller to peekviewservice (#8558)
- feat: add docLinkMiddleware for linked doc export (#8553)
## Fix
- fix: mind map dragging issue (#8563)
- fix(database): can't use horizontal scrollbar (#8576)
- fix: note width is less than minimum width after resize and arrange (#8550)
- fix: newly created note alignments cannot be stored persistently (#8551)
- fix: inline range calculation not expected (#8552)
- fix(database): avoid filter bar flickering (#8562)
- fix(database): drag and drop block into database block (#8561)
- fix(blocks): split paragraphs based on newlines (#8556)
- fix(database): incorrect delete row logic (#8544)
- fix: note height less than minimum height (#8542)
## Chore
- chore: add changelog generating script (#8582)
- chore: optimize zip transformer api (#8580)
- chore: adjust attachment click events, like image, to support opening in peek view (#8579)
- chore: remove useless import (#8571)
## Refactor
- refactor: convert built-in component to widget (#8577)
- refactor: migrating legacy tools (#8471)
- refactor: edgeless tool manager (#8438)
- refactor(playground): organize export and import menu items into submenus in the debug menu (#8557)
- refactor: combine unsafeCSS and cssVar (#8545)
## Perf
- perf(edgeless): use css var to place collaboration cursors-n-selections on board zoom change (#8543)
- Updated dependencies [99d69d5]
- @blocksuite/global@0.17.20
- @blocksuite/inline@0.17.20
- @blocksuite/sync@0.17.20
## 0.17.19

@@ -15,0 +63,0 @@

2

dist/reactive/text.js

@@ -43,3 +43,3 @@ import { BlockSuiteError, ErrorCode } from '@blocksuite/global/exceptions';

this._length$ = signal(length);
this._deltas$ = signal([]);
this._deltas$ = signal(this._yText.doc ? this._yText.toDelta() : []);
this._yText.observe(() => {

@@ -46,0 +46,0 @@ this._length$.value = this._yText.length;

@@ -105,4 +105,8 @@ import type { Signal } from '@preact/signals-core';

export declare class BlockModel<Props extends object = object, PropsSignal extends object = SignaledProps<Props>> extends BlockModel_base<PropsSignal> {
private _children;
/**
* @deprecated use doc instead
*/
page: Doc;
private _childModels;
private _children;
private _onCreated;

@@ -118,6 +122,2 @@ private _onDeleted;

[modelLabel]: Props;
/**
* @deprecated use doc instead
*/
page: Doc;
pop: (prop: keyof Props & string) => void;

@@ -124,0 +124,0 @@ propsUpdated: Slot<{

@@ -90,2 +90,3 @@ var _a;

super();
this._children = signal([]);
this._childModels = computed(() => {

@@ -101,3 +102,2 @@ const value = [];

});
this._children = signal([]);
this.childMap = computed(() => this._children.value.reduce((map, id, index) => {

@@ -104,0 +104,0 @@ map.set(id, index);

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

enable_shape_shadow_blur: false,
enable_new_dnd: false,
readonly: {},

@@ -65,0 +66,0 @@ };

{
"name": "@blocksuite/store",
"version": "0.0.0-canary-20241024001413",
"version": "0.0.0-canary-20241025001424",
"description": "BlockSuite data store built for general purpose state management.",

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

"dependencies": {
"@blocksuite/global": "0.0.0-canary-20241024001413",
"@blocksuite/inline": "0.0.0-canary-20241024001413",
"@blocksuite/sync": "0.0.0-canary-20241024001413",
"@blocksuite/global": "0.0.0-canary-20241025001424",
"@blocksuite/inline": "0.0.0-canary-20241025001424",
"@blocksuite/sync": "0.0.0-canary-20241025001424",
"@preact/signals-core": "^1.8.0",

@@ -28,0 +28,0 @@ "@types/flexsearch": "^0.7.6",

@@ -11,2 +11,3 @@ import type { BaseTextAttributes, DeltaInsert } from '@blocksuite/inline';

}
export type DeltaOperation = {

@@ -71,3 +72,3 @@ insert?: string;

this._length$ = signal(length);
this._deltas$ = signal([]);
this._deltas$ = signal(this._yText.doc ? this._yText.toDelta() : []);
this._yText.observe(() => {

@@ -74,0 +75,0 @@ this._length$.value = this._yText.length;

@@ -182,2 +182,9 @@ import type { Signal } from '@preact/signals-core';

> extends MagicProps()<PropsSignal> {
private _children = signal<string[]>([]);
/**
* @deprecated use doc instead
*/
page!: Doc;
private _childModels = computed(() => {

@@ -194,4 +201,2 @@ const value: BlockModel[] = [];

private _children = signal<string[]>([]);
private _onCreated: Disposable;

@@ -225,7 +230,2 @@

/**
* @deprecated use doc instead
*/
page!: Doc;
pop!: (prop: keyof Props & string) => void;

@@ -232,0 +232,0 @@

@@ -68,2 +68,3 @@ import type { BlockSuiteFlags } from '@blocksuite/global/types';

enable_shape_shadow_blur: false,
enable_new_dnd: false,
readonly: {},

@@ -70,0 +71,0 @@ } satisfies BlockSuiteFlags;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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