You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

slate-react

Package Overview
Dependencies
Maintainers
5
Versions
841
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate-react - npm Package Compare versions

Comparing version

to
0.110.1-20240912175838

5

dist/plugin/react-editor.d.ts

@@ -143,2 +143,7 @@ import { BaseEditor, Editor, Node, Path, Point, Range } from 'slate';

suppressThrow: T;
/**
* The direction to search for Slate leaf nodes if `domPoint` is
* non-editable and non-void.
*/
searchDirection?: 'forward' | 'backward';
}) => T extends true ? Point | null : Point;

@@ -145,0 +150,0 @@ /**

@@ -92,2 +92,10 @@ /**

export declare const getActiveElement: () => DOMElement | null;
/**
* @returns `true` if `otherNode` is before `node` in the document; otherwise, `false`.
*/
export declare const isBefore: (node: DOMNode, otherNode: DOMNode) => boolean;
/**
* @returns `true` if `otherNode` is after `node` in the document; otherwise, `false`.
*/
export declare const isAfter: (node: DOMNode, otherNode: DOMNode) => boolean;
//# sourceMappingURL=dom.d.ts.map

2

package.json
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.110.0",
"version": "0.110.1-20240912175838",
"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 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