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

react-easy-swipe

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-easy-swipe - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

react-easy-swipe.d.ts

2

lib/react-swipe.js

@@ -253,3 +253,3 @@ (function (global, factory) {

if (shouldPreventDefault) {
if (shouldPreventDefault && event.cancelable) {
event.preventDefault();

@@ -256,0 +256,0 @@ }

{
"name": "react-easy-swipe",
"version": "0.0.18",
"version": "0.0.19",
"description": "React easy swipe - Easy handler for common touch operations",
"main": "./lib/index.js",
"types": "./react-easy-swipe.d.ts",
"engines": {

@@ -29,6 +30,7 @@ "node": ">= 6"

"name": "Leandro Augusto Lemos",
"url": "leandrowd@gmail.com"
"url": "http://leandrowd.github.io/"
},
"license": "MIT",
"devDependencies": {
"@types/react": "^16.9.17",
"babel-cli": "^6.22.2",

@@ -35,0 +37,0 @@ "babel-core": "^6.3.15",

@@ -20,2 +20,4 @@ # REACT EASY SWIPE

3) To prevent accidental swipes on scroll, pass a prop tolerance with the tolerance pixel as number.
## Instalation

@@ -85,3 +87,4 @@ `npm install react-easy-swipe --save`

onSwipeMove: PropTypes.func,
onSwipeEnd: PropTypes.func
onSwipeEnd: PropTypes.func,
tolerance: PropTypes.number.isRequired
}

@@ -88,0 +91,0 @@ ```

Sorry, the diff of this file is not supported yet

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