Socket
Socket
Sign inDemoInstall

fastclick

Package Overview
Dependencies
0
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

15

lib/fastclick.js

@@ -738,2 +738,3 @@ ;(function () {

var blackberryVersion;
var firefoxVersion;

@@ -796,2 +797,14 @@ // Devices that don't support touch don't need FastClick

// Firefox version - zero for other browsers
firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
if (firefoxVersion >= 27) {
// Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
metaViewport = document.querySelector('meta[name=viewport]');
if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
return true;
}
}
// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version

@@ -818,3 +831,3 @@ // http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx

if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {

@@ -821,0 +834,0 @@ // AMD. Register as an anonymous module.

2

package.json
{
"name": "fastclick",
"version": "1.0.5",
"version": "1.0.6",
"description": "Polyfill to remove click delays on browsers with touch UIs.",

@@ -5,0 +5,0 @@ "maintainers": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc