New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/block-std

Package Overview
Dependencies
Maintainers
5
Versions
917
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/block-std - npm Package Compare versions

Comparing version 0.0.0-20230806233219-17ca6eee-nightly to 0.0.0-20230807164933-9f6fb698-nightly

6

dist/event/control/range.js

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

import { assertExists } from '@blocksuite/global/utils';
import { UIEventState, UIEventStateContext } from '../base.js';

@@ -73,4 +72,5 @@ export class RangeControl {

const view = getBlockView(ancestor)?.view;
assertExists(view);
return [view];
if (view) {
return [view];
}
}

@@ -77,0 +77,0 @@ const nodes = new Set();

@@ -44,3 +44,3 @@ import { PathFinder } from '../../store/path-finder.js';

isCollapsed() {
return this.to === null;
return this.to === null && this.from.length === 0;
}

@@ -47,0 +47,0 @@ isInSameBlock() {

{
"name": "@blocksuite/block-std",
"version": "0.0.0-20230806233219-17ca6eee-nightly",
"version": "0.0.0-20230807164933-9f6fb698-nightly",
"description": "Std for blocksuite blocks",

@@ -12,10 +12,10 @@ "main": "dist/index.js",

"peerDependencies": {
"@blocksuite/store": "0.0.0-20230806233219-17ca6eee-nightly"
"@blocksuite/store": "0.0.0-20230807164933-9f6fb698-nightly"
},
"dependencies": {
"w3c-keyname": "^2.2.8",
"@blocksuite/global": "0.0.0-20230806233219-17ca6eee-nightly"
"@blocksuite/global": "0.0.0-20230807164933-9f6fb698-nightly"
},
"devDependencies": {
"@blocksuite/store": "0.0.0-20230806233219-17ca6eee-nightly"
"@blocksuite/store": "0.0.0-20230807164933-9f6fb698-nightly"
},

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

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

import { assertExists } from '@blocksuite/global/utils';
import type { BlockElement } from '@blocksuite/lit';

@@ -117,4 +116,5 @@

const view = getBlockView(ancestor)?.view;
assertExists(view);
return [view];
if (view) {
return [view];
}
}

@@ -121,0 +121,0 @@ const nodes = new Set<Node>();

@@ -76,3 +76,3 @@ import { PathFinder } from '../../store/path-finder.js';

isCollapsed(): boolean {
return this.to === null;
return this.to === null && this.from.length === 0;
}

@@ -79,0 +79,0 @@

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