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

@blocksuite/virgo

Package Overview
Dependencies
Maintainers
5
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/virgo - npm Package Compare versions

Comparing version 0.5.0-20230309082016-5a8e126 to 0.5.0-20230309172823-10ecf66

9

dist/virgo.d.ts

@@ -11,4 +11,7 @@ import { Slot } from '@blocksuite/global/utils';

}
export type UpdateVRangeProp = [VRange | null, 'native' | 'input' | 'other'];
export type DeltaEntry = [DeltaInsert, VRange];
export type UpdateVRangeProp = [
range: VRange | null,
type: 'native' | 'input' | 'other'
];
export type DeltaEntry = [delta: DeltaInsert, range: VRange];
export type NativePoint = readonly [node: Node, offset: number];

@@ -38,2 +41,4 @@ export type TextPoint = readonly [text: Text, offset: number];

slots: {
mounted: Slot;
unmounted: Slot;
updateVRange: Slot<UpdateVRangeProp>;

@@ -40,0 +45,0 @@ };

@@ -47,4 +47,6 @@ import { assertExists, Slot } from '@blocksuite/global/utils';

return null;
text = texts[0];
textOffset = offset === 0 ? offset : text.length;
for (let i = 0; i < texts.length; i++) {
text = texts[i];
textOffset = offset === 0 ? offset : text.length;
}
break;

@@ -358,2 +360,4 @@ }

this.slots = {
mounted: new Slot(),
unmounted: new Slot(),
updateVRange: new Slot(),

@@ -407,2 +411,3 @@ };

});
this.slots.mounted.emit();
}

@@ -422,2 +427,3 @@ unmount() {

this._rootElement = null;
this.slots.unmounted.emit();
}

@@ -424,0 +430,0 @@ requestUpdate() {

{
"name": "@blocksuite/virgo",
"version": "0.5.0-20230309082016-5a8e126",
"version": "0.5.0-20230309172823-10ecf66",
"description": "A micro editor.",

@@ -26,3 +26,3 @@ "main": "dist/index.js",

"dependencies": {
"@blocksuite/global": "0.5.0-20230309082016-5a8e126",
"@blocksuite/global": "0.5.0-20230309172823-10ecf66",
"zod": "^3.20.6"

@@ -29,0 +29,0 @@ },

@@ -20,5 +20,8 @@ import { assertExists, Slot } from '@blocksuite/global/utils';

export type UpdateVRangeProp = [VRange | null, 'native' | 'input' | 'other'];
export type UpdateVRangeProp = [
range: VRange | null,
type: 'native' | 'input' | 'other'
];
export type DeltaEntry = [DeltaInsert, VRange];
export type DeltaEntry = [delta: DeltaInsert, range: VRange];

@@ -78,4 +81,6 @@ // corresponding to [anchorNode/focusNode, anchorOffset/focusOffset]

if (texts.length === 0) return null;
text = texts[0];
textOffset = offset === 0 ? offset : text.length;
for (let i = 0; i < texts.length; i++) {
text = texts[i];
textOffset = offset === 0 ? offset : text.length;
}
break;

@@ -268,2 +273,4 @@ }

slots: {
mounted: Slot;
unmounted: Slot;
updateVRange: Slot<UpdateVRangeProp>;

@@ -289,2 +296,4 @@ };

this.slots = {
mounted: new Slot(),
unmounted: new Slot(),
updateVRange: new Slot<UpdateVRangeProp>(),

@@ -358,2 +367,4 @@ };

});
this.slots.mounted.emit();
}

@@ -378,2 +389,4 @@

this._rootElement = null;
this.slots.unmounted.emit();
}

@@ -380,0 +393,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

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