Socket
Socket
Sign inDemoInstall

@types/draft-js

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/draft-js - npm Package Compare versions

Comparing version 0.10.12 to 0.10.13

11

draft-js/index.d.ts

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

// Type definitions for Draft.js v0.10.0
// Type definitions for Draft.js v0.10.1
// Project: https://facebook.github.io/draft-js/

@@ -9,2 +9,3 @@ // Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>

// Willis Plummer <https://github.com/willisplummer>
// Santiago Vilar <https://github.com/smvilar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -129,7 +130,7 @@ // TypeScript Version: 2.3

// removing the style from an empty list item.
handleReturn?(e: SyntheticKeyboardEvent): DraftHandleValue,
handleReturn?(e: SyntheticKeyboardEvent, editorState: EditorState): DraftHandleValue,
// Map a key command string provided by your key binding function to a
// specified behavior.
handleKeyCommand?(command: EditorCommand): DraftHandleValue,
handleKeyCommand?(command: EditorCommand, editorState: EditorState): DraftHandleValue,

@@ -141,5 +142,5 @@ // Handle intended text insertion before the insertion occurs. This may be

// quotes.
handleBeforeInput?(chars: string): DraftHandleValue,
handleBeforeInput?(chars: string, editorState: EditorState): DraftHandleValue,
handlePastedText?(text: string, html?: string): DraftHandleValue,
handlePastedText?(text: string, html: string|undefined, editorState: EditorState): DraftHandleValue,

@@ -146,0 +147,0 @@ handlePastedFiles?(files: Array<Blob>): DraftHandleValue,

{
"name": "@types/draft-js",
"version": "0.10.12",
"version": "0.10.13",
"description": "TypeScript definitions for Draft.js",

@@ -36,2 +36,7 @@ "license": "MIT",

"githubUsername": "willisplummer"
},
{
"name": "Santiago Vilar",
"url": "https://github.com/smvilar",
"githubUsername": "smvilar"
}

@@ -49,4 +54,4 @@ ],

},
"typesPublisherContentHash": "b5eb9d8105d6cd42cc66c63a5d926e7666ce65f3c8e0dabedc2344617e361f92",
"typesPublisherContentHash": "bd05a99e9bee808ad80883f21c21600adc90c6c1547740842bb0185e4552272f",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Thu, 31 Aug 2017 21:47:30 GMT
* Last updated: Mon, 18 Sep 2017 21:23:40 GMT
* Dependencies: react, immutable

@@ -17,2 +17,2 @@ * Global values: Draft

# Credits
These definitions were written by Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Eelco Lempsink <https://github.com/eelco>, Yale Cason <https://github.com/ghotiphud>, Ryan Schwers <https://github.com/schwers>, Michael Wu <https://github.com/michael-yx-wu>, Willis Plummer <https://github.com/willisplummer>.
These definitions were written by Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Eelco Lempsink <https://github.com/eelco>, Yale Cason <https://github.com/ghotiphud>, Ryan Schwers <https://github.com/schwers>, Michael Wu <https://github.com/michael-yx-wu>, Willis Plummer <https://github.com/willisplummer>, Santiago Vilar <https://github.com/smvilar>.
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