New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

slate-react

Package Overview
Dependencies
Maintainers
1
Versions
835
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 0.10.17 to 0.10.18

5

lib/components/content.js

@@ -98,3 +98,6 @@ 'use strict';

_this.componentDidMount = function () {
var editor = _this.props.editor;
// Restrict scoped of `beforeinput` to mobile.
if ((_environment.IS_IOS || _environment.IS_ANDROID) && _environment.SUPPORTED_EVENTS.beforeinput) {

@@ -107,3 +110,3 @@ _this.element.addEventListener('beforeinput', _this.onNativeBeforeInput);

if (_this.props.autoFocus) {
_this.element.focus();
editor.focus();
}

@@ -110,0 +113,0 @@ };

16

package.json
{
"name": "slate-react",
"description": "A set of React components for building completely customizable rich-text editors.",
"version": "0.10.17",
"version": "0.10.18",
"license": "MIT",

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

"selection-is-backward": "^1.0.0",
"slate-base64-serializer": "^0.2.13",
"slate-base64-serializer": "^0.2.14",
"slate-dev-logger": "^0.1.36",
"slate-plain-serializer": "^0.4.11",
"slate-prop-types": "^0.4.11"
"slate-plain-serializer": "^0.4.12",
"slate-prop-types": "^0.4.12"
},

@@ -28,3 +28,3 @@ "peerDependencies": {

"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0",
"slate": "^0.31.3"
"slate": "^0.31.4"
},

@@ -35,5 +35,5 @@ "devDependencies": {

"mocha": "^2.5.3",
"slate": "^0.31.3",
"slate-hyperscript": "^0.4.11",
"slate-simulator": "^0.4.11",
"slate": "^0.31.4",
"slate-hyperscript": "^0.4.12",
"slate-simulator": "^0.4.12",
"uglify-js": "^2.7.0"

@@ -40,0 +40,0 @@ },

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

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

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