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

yow

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yow - npm Package Compare versions

Comparing version 1.0.85 to 1.0.86

2

package.json
{
"name": "yow",
"version": "1.0.85",
"version": "1.0.86",
"description": "You Only Wish module",

@@ -5,0 +5,0 @@ "main": "yow.js",

@@ -7,3 +7,3 @@

_this.cancel = function() {
function cancel() {
if (_timer != undefined)

@@ -13,15 +13,19 @@ clearTimeout(_timer);

_timer = undefined;
};
}
_this.setTimer = function(delay, fn) {
function setTimer(delay, fn) {
if (delay == undefined)
delay = 3000;
if (_timer != undefined)
clearTimeout(_timer);
cancel();
_timer = setTimeout(fn, delay);
_timer = setTimeout(function() {
cancel();
fn();
}, delay);
}
};
_this.cancel = cancel();
_this.setTimer = setTimer();
};
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