Socket
Socket
Sign inDemoInstall

ckn

Package Overview
Dependencies
6
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.18 to 2.0.19

ckn.timer.js

25

ckn.js

@@ -0,1 +1,2 @@

import { CKNTimer } from './ckn.timer.js';
Array.prototype.select = function(selectFunc) {

@@ -345,26 +346,2 @@ let output = [];

};
class CKNTimer {
constructor(_intervalTime = 1000) {
this.intervalTime = _intervalTime;
this.#started = false;
}
#started = false;
async start() {
this.#started = true;
this.#run();
}
async stop() {
this.#started = false;
}
async #run() {
if (this.onProcess != null) this.onProcess();
if (this.#started) {
setTimeout(() => {
this.#run();
}, this.intervalTime);
}
}
}
export { ckn,CKNTimer };
{
"name": "ckn",
"version": "2.0.18",
"version": "2.0.19",
"description": "CKN Framework",

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

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