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

adonisjs-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonisjs-scheduler - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

3

build/src/scheduler.d.ts

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

import { BaseCommand } from '@adonisjs/core/build/standalone';
declare abstract class BaseSchedule {

@@ -46,5 +47,5 @@ abstract type: string;

items: BaseSchedule[];
command(name: string, args?: string[]): ScheduleCommand;
command(name: string | typeof BaseCommand, args?: string[]): ScheduleCommand;
call(callback: Function): ScheduleCallback;
}
export {};

@@ -164,3 +164,3 @@ "use strict";

command(name, args = []) {
let newCommand = new ScheduleCommand(name, args);
let newCommand = new ScheduleCommand(typeof name === "string" ? name : name.commandName, args);
this.items.push(newCommand);

@@ -167,0 +167,0 @@ return newCommand;

{
"name": "adonisjs-scheduler",
"version": "0.0.14",
"version": "0.0.15",
"description": "Task scheduler for AdonisJS",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/KABBOUCHI/adonisjs-scheduler#readme",

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