New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-swipeout

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-swipeout - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

6

example/package.json

@@ -6,9 +6,9 @@ {

"scripts": {
"start": "node_modules/react-native/packager/packager.sh"
, "latest": "npm install react-native-swipeout@* --save"
"start": "node_modules/react-native/packager/packager.sh",
"latest": "npm install react-native-swipeout@* --save"
},
"dependencies": {
"react-native": "^0.4.4",
"react-native-swipeout": "^0.3.1"
"react-native-swipeout": "^0.3.3"
}
}

@@ -94,3 +94,3 @@ var React = require('react-native')

if (this.state.exposed) var posX = gestureState.dx - this.state.btnsWidth
if (this.state.swiping) this.setState({ contentPos: Math.min(posX, 0) })
if (this.state.swiping) this.setState({ contentPos: Math.min(posX, 0) })
}

@@ -131,3 +131,3 @@ , _handlePanResponderEnd: function(e: Object, gestureState: Object) {

return lowerLimit - Math.pow(lowerLimit - value, 0.85);
}
}
return value;

@@ -171,3 +171,3 @@ }

return (
<View style={styles.swipeout}>
<View style={styleSwipeout}>
<View ref="swipeoutContent" style={styleSwipeoutContent} {...self._panResponder.panHandlers}>

@@ -174,0 +174,0 @@ {self.props.children}

{
"name": "react-native-swipeout",
"version": "0.3.3",
"version": "0.3.4",
"description": "iOS-style swipeout buttons behind component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -53,11 +53,2 @@ # react-native-swipeout

* [ ] prevent scroll when swiping
* [ ] close open other swipeouts when initiating swipeout
* [ ] custom button component support
* [ ] add overswipe to trigger action
* [ ] add prop to extend swipeout buttons to 100% width
* [ ] add swipeout from left support
* [ ] add different examples in example app
* [ ] add comments to index.js
* [ ] fix swipeout width on device rotation
* [ ] update sample gif
[https://github.com/dancormier/react-native-swipeout/issues](https://github.com/dancormier/react-native-swipeout/issues)
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