🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

node-task-runner

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

node-task-runner - npm Package Compare versions

Comparing version
2.2.0
to
2.3.0
+12
types.d.ts
declare module "node-task-runner" {
interface TaskDefinitions {
[id: string]: TaskFunction;
}
function runTask(name: string, parallel?: boolean): Promise<unknown>;
function runFunction(name: string, func: TaskFunction, parallel?: boolean): Promise<unknown>;
type Reporter = (s: string) => void;
type TaskFunction = (reporter: Reporter, chainValue: unknown, ...args: unknown[]) => void|Promise<unknown>;
}
+7
-0
# Changelog
## Version 2.3.0
Released on April 16, 2019.
- Added typescript definitions.
## Version 2.2.0

@@ -4,0 +11,0 @@

+6
-6
{
"name": "node-task-runner",
"version": "2.2.0",
"version": "2.3.0",
"description": "A promise-based dependency-free task runner for Node.",
"main": "lib/cli.js",
"types": "types.d.ts",
"bin": {

@@ -10,5 +11,5 @@ "ntr": "lib/cli.js"

"keywords": [
"task",
"cli",
"promise",
"task",
"cli",
"promise",
"node"

@@ -22,4 +23,3 @@ ],

},
"license": "MIT",
"dependencies": {}
"license": "MIT"
}