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 10.1.5 to 10.1.6

8

lib/index.test.js

@@ -201,4 +201,4 @@ "use strict";

t.is(onDrag.callCount, 1);
t.is(onDrag.firstCall.args[1].x, 600);
t.is(onDrag.firstCall.args[1].y, 620);
t.is(onDrag.firstCall.args[1].x, 500);
t.is(onDrag.firstCall.args[1].y, 520);
t.not((rnd.getDOMNode().getAttribute("style") || "").indexOf("transform: translate(400px, 420px)"), -1);

@@ -220,4 +220,4 @@ return [2 /*return*/];

t.is(onDragStop.callCount, 1);
t.is(onDragStop.firstCall.args[1].x, -100);
t.is(onDragStop.firstCall.args[1].y, -100);
t.is(onDragStop.firstCall.args[1].x, 200);
t.is(onDragStop.firstCall.args[1].y, 220);
return [2 /*return*/];

@@ -224,0 +224,0 @@ });

{
"name": "react-rnd",
"version": "10.1.5",
"version": "10.1.6",
"description": "",

@@ -24,3 +24,3 @@ "title": "react-rnd",

"build": "npm-run-all --serial build:prod:* copy:flow",
"test": "cross-env NODE_ENV='test' tsc && avaron lib/index.test.js --renderer",
"test": "cross-env NODE_ENV='test' npm run tsc && avaron lib/index.test.js --renderer",
"copy:flow": "cpy src/index.js.flow lib && cpy src/index.js.flow lib --rename index.es5.js.flow",

@@ -44,16 +44,16 @@ "test:ci": "npm run flow && npm run build",

"devDependencies": {
"@babel/cli": "7.8.0",
"@babel/core": "7.8.0",
"@babel/plugin-proposal-class-properties": "7.8.0",
"@babel/plugin-transform-modules-commonjs": "7.8.0",
"@babel/preset-react": "7.8.0",
"@babel/preset-typescript": "7.8.0",
"@babel/traverse": "7.8.0",
"@babel/types": "7.8.0",
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.8.3",
"@babel/preset-react": "7.8.3",
"@babel/preset-typescript": "7.8.3",
"@babel/traverse": "7.8.4",
"@babel/types": "7.8.3",
"@emotion/core": "10.0.27",
"@storybook/addon-actions": "5.3.1",
"@storybook/addon-info": "5.3.1",
"@storybook/addon-links": "5.3.1",
"@storybook/addon-options": "5.3.1",
"@storybook/react": "5.3.1",
"@storybook/addon-actions": "5.3.12",
"@storybook/addon-info": "5.3.12",
"@storybook/addon-links": "5.3.12",
"@storybook/addon-options": "5.3.12",
"@storybook/react": "5.3.12",
"@types/enzyme": "3.1.16",

@@ -73,3 +73,3 @@ "@types/enzyme-adapter-react-16": "1.0.5",

"cross-env": "6.0.3",
"enzyme": "3.8.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.9.1",

@@ -83,5 +83,5 @@ "gh-pages": "2.0.1",

"react-test-renderer": "16.12.0",
"rollup": "1.17.0",
"rollup": "1.31.0",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.0.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-globals": "1.4.0",

@@ -92,8 +92,8 @@ "rollup-plugin-node-resolve": "5.2.0",

"rollup-watch": "4.3.1",
"sinon": "8.0.4",
"sinon": "8.1.1",
"tslint": "5.20.1",
"tslint-eslint-rules": "5.4.0",
"tslint-plugin-prettier": "2.1.0",
"tslint-react": "4.1.0",
"typescript": "3.7.4"
"tslint-react": "4.2.0",
"typescript": "3.7.5"
},

@@ -107,3 +107,3 @@ "files": [

"dependencies": {
"re-resizable": "6.1.1",
"re-resizable": "6.2.0",
"react-draggable": "4.2.0",

@@ -110,0 +110,0 @@ "tslib": "1.10.0"

@@ -511,2 +511,6 @@ <p align="center"><img src ="https://github.com/bokuweb/react-rnd/blob/master/logo.png?raw=true" /></p>

#### v10.1.5
- Fixed a bug, react-draggable not bundling with rollup #641
#### v10.1.4

@@ -513,0 +517,0 @@

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