swiped-events
Advanced tools
Comparing version 1.0.9 to 1.1.0
/*! | ||
* 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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220518
13
1
102
2
+ Addednatives@^1.1.6
+ Addednatives@1.1.6(transitive)