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 9.1.1 to 9.1.2

2

lib/index.d.ts

@@ -150,3 +150,3 @@ import * as React from "react";

onDrag(e: RndDragEvent, data: DraggableData): void;
onDragStop(e: RndDragEvent, data: DraggableData): void;
onDragStop(e: RndDragEvent, data: DraggableData): false | void;
onResizeStart(e: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>, dir: ResizableDirection, elementRef: HTMLDivElement): void;

@@ -153,0 +153,0 @@ onResize(e: MouseEvent | TouchEvent, direction: ResizableDirection, elementRef: HTMLDivElement, delta: {

@@ -212,3 +212,3 @@ 'use strict';

var _a = this.getOffsetFromParent(), left = _a.left, top_3 = _a.top;
this.props.onDragStop(e, __assign({}, data, { x: data.x + left, y: data.y + top_3 }));
return this.props.onDragStop(e, __assign({}, data, { x: data.x + left, y: data.y + top_3 }));
}

@@ -215,0 +215,0 @@ };

@@ -206,3 +206,3 @@ import { createElement, Component } from 'react';

var _a = this.getOffsetFromParent(), left = _a.left, top_3 = _a.top;
this.props.onDragStop(e, __assign({}, data, { x: data.x + left, y: data.y + top_3 }));
return this.props.onDragStop(e, __assign({}, data, { x: data.x + left, y: data.y + top_3 }));
}

@@ -209,0 +209,0 @@ };

{
"name": "react-rnd",
"version": "9.1.1",
"version": "9.1.2",
"description": "",

@@ -46,22 +46,22 @@ "title": "react-rnd",

"@storybook/react": "3.4.11",
"@types/enzyme": "3.1.13",
"@types/enzyme-adapter-react-16": "1.0.3",
"@types/enzyme": "3.1.16",
"@types/enzyme-adapter-react-16": "1.0.4",
"@types/react": "16.4.1",
"@types/node": "^10.12.19",
"@types/react-dom": "16.0.11",
"@types/sinon": "7.0.5",
"@types/sinon": "7.0.6",
"@types/storybook__addon-actions": "3.4.1",
"@types/storybook__react": "4.0.0",
"@types/storybook__react": "4.0.1",
"avaron": "0.2.0",
"cpy-cli": "2.0.0",
"enzyme": "3.8.0",
"enzyme-adapter-react-16": "1.8.0",
"enzyme-adapter-react-16": "1.9.1",
"gh-pages": "2.0.1",
"light-ts-loader": "1.1.2",
"npm-run-all": "4.1.5",
"prettier": "1.16.1",
"react": "16.7.0",
"react-dom": "16.7.0",
"react-test-renderer": "16.7.0",
"rollup": "0.61.1",
"prettier": "1.16.3",
"react": "16.8.2",
"react-dom": "16.8.2",
"react-test-renderer": "16.8.2",
"rollup": "0.68.2",
"rollup-plugin-babel": "3.0.5",

@@ -79,3 +79,3 @@ "rollup-plugin-commonjs": "9.2.0",

"tslint-react": "3.6.0",
"typescript": "3.2.4"
"typescript": "3.3.3"
},

@@ -82,0 +82,0 @@ "files": [

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

#### v9.1.2
- Fix: Fixes memory leak #499
#### v9.1.1

@@ -496,0 +500,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