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

adonis-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-scheduler - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

3

package.json
{
"name": "adonis-scheduler",
"version": "2.0.3",
"version": "2.1.0",
"description": "Easy task scheduling for AdonisJS",

@@ -14,2 +14,3 @@ "main": "index.js",

"dependencies": {
"co": "^4.6.0",
"node-schedule": "^1.1.1"

@@ -16,0 +17,0 @@ },

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

# Adonis Kue Provider
# Adonis Scheduler Provider

@@ -3,0 +3,0 @@ This library provides an easy way to schedule recurring tasks for AdonisJS.

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

'user strict';
'use strict';

@@ -3,0 +3,0 @@ const Ioc = require('adonis-fold').Ioc;

'use strict';
const co = require('co');
const fs = require('fs');

@@ -51,3 +52,3 @@ const path = require('path');

// Register task handler
this.instance.scheduleJob(Task.schedule, taskInstance.handle.bind(taskInstance));
this.instance.scheduleJob(Task.schedule, co.wrap(taskInstance.handle.bind(taskInstance)));
} catch (e) {

@@ -54,0 +55,0 @@ // If this file is not a valid javascript class, print warning and return

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