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

@types/slate-react

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/slate-react - npm Package Compare versions

Comparing version 0.21.0 to 0.21.1

21

slate-react/index.d.ts

@@ -375,18 +375,9 @@ // Type definitions for slate-react 0.21

export function cloneFragment(
event: Event,
value: Value,
fragment?: Document,
callback?: () => void
): void;
export function cloneFragment(event: Event | React.SyntheticEvent, editor: CoreEditor, callback?: () => void): void;
export function findDOMNode(node: Node, win?: Window): Element;
export function findDOMRange(range: Range, win?: Window): Range;
export function findNode(element: Element, value: Value): Node;
export function findRange(selection: Selection, value: Value): Range;
export function getEventRange(event: Event, value: Value): Range;
export function getEventTransfer(event: Event): { type: SlateType; node: Node };
export function setEventTransfer(
event: Event,
type: SlateType,
data: any
): void;
export function findNode(element: Element, editor: CoreEditor): Node;
export function findRange(selection: Selection | Range, editor: CoreEditor): Range;
export function getEventRange(event: Event | React.SyntheticEvent, editor: CoreEditor): Range;
export function getEventTransfer(event: Event | React.SyntheticEvent): { type: SlateType; node: Node };
export function setEventTransfer(event: Event | React.SyntheticEvent, type: SlateType, data: any): void;
{
"name": "@types/slate-react",
"version": "0.21.0",
"version": "0.21.1",
"description": "TypeScript definitions for slate-react",

@@ -66,4 +66,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "c47da2c13915885b661cfbf3f9b4abb3994adfbf1461e17e8eb1429191022860",
"typesPublisherContentHash": "04bd6f5ca1de16ec972a7e71afa5a911127aee97b979a9cf335a2a14b6773c40",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Sat, 02 Mar 2019 01:57:48 GMT
* Last updated: Tue, 12 Mar 2019 18:08:27 GMT
* Dependencies: @types/slate, @types/immutable, @types/react

@@ -14,0 +14,0 @@ * Global values: none

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