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.2.4 to 1.2.5

4

HISTORY.md
# History
# 1.2.5
- fix: onCloseSwipe prefixCls bug;
## 1.2.3

@@ -4,0 +8,0 @@

8

lib/Swipeout.web.js

@@ -85,6 +85,8 @@ 'use strict';

Swipeout.prototype.onCloseSwipe = function onCloseSwipe(ev) {
var _this2 = this;
if (this.openedLeft || this.openedRight) {
var pNode = function (node) {
while (node.parentNode && node.parentNode !== document.body) {
if (node.className.indexOf('rc-swipeout-actions') > -1) {
if (node.className.indexOf(_this2.props.prefixCls + '-actions') > -1) {
return node;

@@ -217,3 +219,3 @@ }

Swipeout.prototype.renderButtons = function renderButtons(buttons, ref) {
var _this2 = this;
var _this3 = this;

@@ -232,3 +234,3 @@ var prefixCls = this.props.prefixCls;

onClick: function onClick(e) {
return _this2.onBtnClick(e, btn);
return _this3.onBtnClick(e, btn);
}

@@ -235,0 +237,0 @@ },

{
"name": "rc-swipeout",
"version": "1.2.4",
"version": "1.2.5",
"description": "swipe out ui component for react(web and react-native)",

@@ -52,3 +52,3 @@ "keywords": [

"pre-commit": "1.x",
"rc-tools": "5.x",
"rc-tools": "~5.10.3",
"react": "~15.2.1",

@@ -55,0 +55,0 @@ "react-addons-test-utils": "~15.2.1",

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