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

slate

Package Overview
Dependencies
Maintainers
5
Versions
748
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate - npm Package Compare versions

Comparing version 0.102.1-20240401232455 to 0.103.0-20240421200940

dist/editor/should-merge-nodes-remove-prev-node.d.ts

1

dist/editor/index.d.ts

@@ -55,2 +55,3 @@ export * from './above';

export * from './without-normalizing';
export * from './should-merge-nodes-remove-prev-node';
//# sourceMappingURL=index.d.ts.map

@@ -115,2 +115,3 @@ import { Ancestor, Descendant, Element, ExtendedType, Location, Node, NodeEntry, Operation, Path, PathRef, Point, PointRef, Range, RangeRef, Span, Text, Transforms } from '..';

void: OmitFirstArg<typeof Editor.void>;
shouldMergeNodesRemovePrevNode: OmitFirstArg<typeof Editor.shouldMergeNodesRemovePrevNode>;
}

@@ -491,2 +492,6 @@ export type Editor = ExtendedType<'Editor', BaseEditor>;

withoutNormalizing: (editor: Editor, fn: () => void) => void;
/**
* Call a function, Determine whether or not remove the previous node when merge.
*/
shouldMergeNodesRemovePrevNode: (editor: Editor, prevNodeEntry: NodeEntry, curNodeEntry: NodeEntry) => boolean;
}

@@ -493,0 +498,0 @@ export declare const Editor: EditorInterface;

2

package.json
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.102.1-20240401232455",
"version": "0.103.0-20240421200940",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "git://github.com/ianstormtaylor/slate.git",

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is too big to display

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