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

swiped-events

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiped-events - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

.DS_Store

2

dist/swiped-events.min.js
/*!
* swiped-events.js - v1.0.9
* swiped-events.js - v1.1.0
* Pure JavaScript swipe events

@@ -4,0 +4,0 @@ * https://github.com/john-doherty/swiped-events

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

var del = require('del');
var runSequence = require('run-sequence');
var runSequence = require('gulp4-run-sequence');
var replace = require('gulp-string-replace');

@@ -9,0 +9,0 @@ var pjson = require('./package.json');

{
"name": "swiped-events",
"version": "1.0.9",
"version": "1.1.0",
"description": "A 0.7k script that adds swipe events to the DOM for touch enabled devices",

@@ -26,3 +26,3 @@ "main": "src/swiped-events.js",

"devDependencies": {
"del": "2.2.2",
"del": "^5.1.0",
"eslint": "^3.19.0",

@@ -32,7 +32,7 @@ "eslint-config-airbnb-base": "^11.2.0",

"express": "^4.15.3",
"gulp": "3.9.1",
"gulp-minify": "1.0.0",
"gulp-string-replace": "^0.4.0",
"run-sequence": "1.2.2",
"gulp-sizereport": "^1.2.0"
"gulp": "^4.0.2",
"gulp-minify": "^3.1.0",
"gulp-sizereport": "^1.2.1",
"gulp-string-replace": "^1.1.2",
"gulp4-run-sequence": "^1.0.1"
},

@@ -150,3 +150,6 @@ "eslintConfig": {

}
},
"dependencies": {
"natives": "^1.1.6"
}
}
# swiped-events
[![Linked In](https://img.shields.io/badge/Linked-In-blue.svg)](https://www.linkedin.com/in/john-i-doherty) [![Twitter Follow](https://img.shields.io/twitter/follow/mrjohndoherty.svg?style=social&label=Twitter&style=plastic)](https://twitter.com/mrjohndoherty)
A **0.7k** script that adds `swiped-left`, `swiped-right`, `swiped-up` and `swiped-down` events to the DOM using [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent) and pure JS. Based on the StackOverflow thread [Detect a finger swipe through JavaScript on the iPhone and Android](https://stackoverflow.com/questions/2264072/detect-a-finger-swipe-through-javascript-on-the-iphone-and-android)

@@ -104,2 +102,2 @@

Licensed under [MIT License](LICENSE) © [John Doherty](http://www.johndoherty.info)
Licensed under [MIT License](LICENSE) © [John Doherty](https://twitter.com/mrjohndoherty)
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