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

react-rnd

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-rnd - npm Package Compare versions

Comparing version 5.0.8 to 5.0.9

8

lib/index.js

@@ -87,2 +87,10 @@ 'use strict';

(0, _createClass3.default)(Rnd, [{
key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(nextProps) {
if (this.props.z === nextProps.z) return;
this.setState({
z: nextProps.z
});
}
}, {
key: 'onDragStart',

@@ -89,0 +97,0 @@ value: function onDragStart(e, data) {

14

package.json
{
"name": "react-rnd",
"license": "MIT",
"version": "5.0.8",
"version": "5.0.9",
"main": "lib/index.js",

@@ -27,3 +27,3 @@ "scripts": {

"devDependencies": {
"ava": "^0.19.1",
"ava": "^0.20.0",
"babel-cli": "^6.24.1",

@@ -44,11 +44,11 @@ "babel-core": "^6.24.1",

"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint": "^4.1.0",
"eslint-config-airbnb": "^15.0.0",
"eslint-plugin-flowtype": "^2.30.4",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.0",
"eslint-plugin-jsx-a11y": "^6.0.0",
"eslint-plugin-react": "^7.0.0",
"flow-bin": "^0.47.0",
"flow-bin": "^0.49.1",
"flow-copy-source": "^1.1.0",
"flow-runtime": "^0.12.0",
"flow-runtime": "^0.13.0",
"http-server": "^0.10.0",

@@ -69,3 +69,3 @@ "karma": "^1.6.0",

"sinon": "^2.1.0",
"webpack": "2.6.1",
"webpack": "^2.6.1",
"webpack-async-await": "^1.1.0",

@@ -72,0 +72,0 @@ "webpack-dev-server": "^2.4.2"

@@ -354,3 +354,3 @@ # react-rnd

#### `updatePosition({ x: number, x: number })`
#### `updatePosition({ x: number, y: number })`

@@ -419,2 +419,6 @@ Update component size.

#### v5.0.9
- Fix bug new `z` props is not applied to state.
#### v5.0.8

@@ -421,0 +425,0 @@

Sorry, the diff of this file is not supported yet

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