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

lesca-click

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesca-click - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

lib/click.js

@@ -12,2 +12,4 @@ "use strict";

var install = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
var down_fn = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};
var move_fn = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function () {};
this.px = this.mx = 0;

@@ -34,2 +36,3 @@ this.py = this.my = 0;

down_fn(e);
_this.is_press = true;

@@ -56,2 +59,4 @@ };

}
move_fn();
};

@@ -58,0 +63,0 @@

2

package.json
{
"name": "lesca-click",
"version": "1.0.1",
"version": "1.0.2",
"description": "replace click / touch start on SPY page",

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

@@ -5,3 +5,3 @@ module.exports = {

deviation: 30,
init(clickEventAlso = true, install = true) {
init(clickEventAlso = true, install = true, down_fn = () => {}, move_fn = () => {}) {
this.px = this.mx = 0;

@@ -25,2 +25,3 @@ this.py = this.my = 0;

}
down_fn(e);
this.is_press = true;

@@ -46,2 +47,4 @@ };

}
move_fn();
};

@@ -48,0 +51,0 @@

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