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

rc-swipeout

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-swipeout - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

5

es/Swipeout.js

@@ -30,2 +30,3 @@ import _extends from 'babel-runtime/helpers/extends';

_this.onPanEnd = _this.onPanEnd.bind(_this);
_this.onCloseSwipe = _this.onCloseSwipe.bind(_this);
_this.openedLeft = false;

@@ -52,3 +53,3 @@ _this.openedRight = false;

this.btnsRightWidth = width / 5 * right.length;
document.body.addEventListener('touchstart', this.onCloseSwipe.bind(this), true);
document.body.addEventListener('touchstart', this.onCloseSwipe, true);
}

@@ -58,3 +59,3 @@ }, {

value: function componentWillUnmount() {
document.body.removeEventListener('touchstart', this.onCloseSwipe.bind(this));
document.body.removeEventListener('touchstart', this.onCloseSwipe);
}

@@ -61,0 +62,0 @@ }, {

@@ -65,2 +65,3 @@ 'use strict';

_this.onPanEnd = _this.onPanEnd.bind(_this);
_this.onCloseSwipe = _this.onCloseSwipe.bind(_this);
_this.openedLeft = false;

@@ -87,3 +88,3 @@ _this.openedRight = false;

this.btnsRightWidth = width / 5 * right.length;
document.body.addEventListener('touchstart', this.onCloseSwipe.bind(this), true);
document.body.addEventListener('touchstart', this.onCloseSwipe, true);
}

@@ -93,3 +94,3 @@ }, {

value: function componentWillUnmount() {
document.body.removeEventListener('touchstart', this.onCloseSwipe.bind(this));
document.body.removeEventListener('touchstart', this.onCloseSwipe);
}

@@ -96,0 +97,0 @@ }, {

2

package.json
{
"name": "rc-swipeout",
"version": "1.3.5",
"version": "1.3.6",
"description": "swipe out ui component for react(web and react-native)",

@@ -5,0 +5,0 @@ "keywords": [

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