toad-scheduler
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -6,4 +6,4 @@ export declare class AsyncTask { | ||
private readonly errorHandler; | ||
constructor(id: string, handler: () => Promise<void>, errorHandler?: (err: Error) => void); | ||
constructor(id: string, handler: () => Promise<unknown>, errorHandler?: (err: Error) => void); | ||
execute(): void; | ||
} |
{ | ||
"name": "toad-scheduler", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "description": "In-memory Node.js and browser job scheduler", | ||
"lint": "eslint \"lib/**/*.ts\" \"test/**/*.ts\"", | ||
"prettier": "prettier --write \"{lib,test}/**/*.{js,ts}\" index.ts", | ||
"format": "prettier --write \"{lib,test}/**/*.{js,ts}\" index.ts", | ||
"prepublishOnly": "npm run build" | ||
@@ -26,6 +26,6 @@ }, | ||
"@types/jest": "^28.1.8", | ||
"@types/node": "^18.11.11", | ||
"@typescript-eslint/eslint-plugin": "^5.45.1", | ||
"@typescript-eslint/parser": "^5.45.1", | ||
"eslint": "^8.25.0", | ||
"@types/node": "^18.11.17", | ||
"@typescript-eslint/eslint-plugin": "^5.47.0", | ||
"@typescript-eslint/parser": "^5.47.0", | ||
"eslint": "^8.30.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -39,5 +39,5 @@ "eslint-plugin-prettier": "^4.2.1", | ||
"karma-typescript": "^5.5.3", | ||
"prettier": "^2.8.0", | ||
"prettier": "^2.8.1", | ||
"ts-jest": "^28.0.8", | ||
"typescript": "4.9.3" | ||
"typescript": "4.9.4" | ||
}, | ||
@@ -44,0 +44,0 @@ "homepage": "https://github.com/kibertoad/toad-scheduler", |
@@ -0,0 +0,0 @@ # toad-scheduler |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40161