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.37 to 0.10.38

6

draft-js/index.d.ts

@@ -101,5 +101,5 @@ // Type definitions for Draft.js v0.10.5

// Provide a function that will construct CSS style objects given inline
// style names.
customStyleFn?: (style: DraftInlineStyle, block: ContentBlock) => DraftStyleMap;
// Define a function to transform inline styles to CSS objects
// that are applied to spans of text.
customStyleFn?: (style: DraftInlineStyle, block: ContentBlock) => React.CSSProperties;

@@ -106,0 +106,0 @@ // A function that accepts a synthetic key event and returns

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

@@ -74,3 +74,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -86,4 +86,4 @@ "type": "git",

},
"typesPublisherContentHash": "a1bb98264cb23db758faede518dabab3ecb13a4803cd1d8c7296471cdabcdaa8",
"typesPublisherContentHash": "ffd5ead557cec0efcf1bfb04350cc5d56c598d92913cd659d14bd46dd47827ae",
"typeScriptVersion": "2.9"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/draft-js
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/draft-js.
Additional Details
* Last updated: Mon, 14 Oct 2019 20:16:51 GMT
* Dependencies: @types/react, @types/immutable
* Global values: Draft
### Additional Details
* Last updated: Thu, 02 Jan 2020 23:59:03 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/immutable](https://npmjs.com/package/@types/immutable)
* 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>, Santiago Vilar <https://github.com/smvilar>, Ulf Schwekendiek <https://github.com/sulf>, Pablo Varela <https://github.com/pablopunk>, Claudio Procida <https://github.com/claudiopro>, Kevin Hawkinson <https://github.com/khawkinson>, Munif Tanjim <https://github.com/MunifTanjim>, and Ben Salili-James <https://github.com/benhjames>.
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), Ulf Schwekendiek (https://github.com/sulf), Pablo Varela (https://github.com/pablopunk), Claudio Procida (https://github.com/claudiopro), Kevin Hawkinson (https://github.com/khawkinson), Munif Tanjim (https://github.com/MunifTanjim), and Ben Salili-James (https://github.com/benhjames).
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