Socket
Socket
Sign inDemoInstall

react-rnd

Package Overview
Dependencies
3
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.1.6 to 10.1.7

2

lib/index.d.ts

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

onDragStart(e: RndDragEvent, data: DraggableData): void;
onDrag(e: RndDragEvent, data: DraggableData): void;
onDrag(e: RndDragEvent, data: DraggableData): false | void;
onDragStop(e: RndDragEvent, data: DraggableData): false | void;

@@ -172,0 +172,0 @@ onResizeStart(e: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>, dir: ResizeDirection, elementRef: HTMLDivElement): void;

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

var offset = this.offsetFromParent;
this.props.onDrag(e, __assign(__assign({}, data), { x: data.x - offset.left, y: data.y - offset.top }));
return this.props.onDrag(e, __assign(__assign({}, data), { x: data.x - offset.left, y: data.y - offset.top }));
}

@@ -232,0 +232,0 @@ };

@@ -223,3 +223,3 @@ import { createElement, PureComponent } from 'react';

var offset = this.offsetFromParent;
this.props.onDrag(e, __assign(__assign({}, data), { x: data.x - offset.left, y: data.y - offset.top }));
return this.props.onDrag(e, __assign(__assign({}, data), { x: data.x - offset.left, y: data.y - offset.top }));
}

@@ -226,0 +226,0 @@ };

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

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

"enzyme-adapter-react-16": "1.9.1",
"gh-pages": "2.0.1",
"gh-pages": "2.2.0",
"light-ts-loader": "1.1.2",

@@ -94,3 +94,3 @@ "npm-run-all": "4.1.5",

"tslint-react": "4.2.0",
"typescript": "3.7.5"
"typescript": "3.8.2"
},

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc