node-gulp-4.0.2+~cs38.20.35/000077500000000000000000000000001415667007300150405ustar00rootroot00000000000000node-gulp-4.0.2+~cs38.20.35/LICENSE000077500000000000000000000021651415667007300160540ustar00rootroot00000000000000 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE node-gulp-4.0.2+~cs38.20.35/README.md000077500000000000000000000014161415667007300163240ustar00rootroot00000000000000# Installation > `npm install --save @types/undertaker` # Summary This package contains type definitions for undertaker (https://github.com/gulpjs/undertaker). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/undertaker. ### Additional Details * Last updated: Fri, 02 Jul 2021 18:04:49 GMT * Dependencies: [@types/undertaker-registry](https://npmjs.com/package/@types/undertaker-registry), [@types/async-done](https://npmjs.com/package/@types/async-done), [@types/node](https://npmjs.com/package/@types/node) * Global values: none # Credits These definitions were written by [Qubo](https://github.com/tkqubo), [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas), and [Evan Yamanishi](https://github.com/sh0ji). node-gulp-4.0.2+~cs38.20.35/index.d.ts000077500000000000000000000123111415667007300167420ustar00rootroot00000000000000// Type definitions for undertaker 1.2 // Project: https://github.com/gulpjs/undertaker // Definitions by: Qubo // Giedrius Grabauskas // Evan Yamanishi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import * as Registry from "undertaker-registry"; import { AsyncTask } from "async-done"; import { EventEmitter } from "events"; declare namespace Undertaker { interface TaskFunctionParams { readonly name?: string | undefined; displayName?: string | undefined; description?: string | undefined; flags?: TaskFlags | undefined; } interface TaskFlags { [arg: string]: string; } interface TaskCallback { (error?: Error | null): void; } interface TaskFunctionBase { (done: TaskCallback): ReturnType; } interface TaskFunction extends TaskFunctionBase, TaskFunctionParams {} type Task = string | TaskFunction; interface TaskFunctionWrapped extends TaskFunctionBase { displayName: string; unwrap(): TaskFunction; } interface TreeOptions { /** * Whether or not the whole tree should be returned. * Default: false */ deep?: boolean | undefined; } interface TreeResult { label: "Tasks"; nodes: Node[]; } interface Node { label: string; nodes: Node[]; type?: string | undefined; branch?: boolean | undefined; } } declare class Undertaker extends EventEmitter { constructor(registry?: Registry); /** * Returns the wrapped registered function. * @param taskName - Task name. */ task(taskName: string): Undertaker.TaskFunctionWrapped; /** * Register the task by the taskName. * @param taskName - Task name. * @param fn - Task function. */ task(taskName: string, fn: Undertaker.TaskFunction): void; /** * Register the task by the name property of the function. * @param fn - Task function. */ task(fn: Undertaker.TaskFunction): void; /** * Takes a variable amount of strings (taskName) and/or functions (fn) * and returns a function of the composed tasks or functions. * Any taskNames are retrieved from the registry using the get method. * * When the returned function is executed, the tasks or functions will be executed in series, * each waiting for the prior to finish. If an error occurs, execution will stop. * @param tasks - List of tasks. */ series(...tasks: Undertaker.Task[]): Undertaker.TaskFunction; /** * Takes a variable amount of strings (taskName) and/or functions (fn) * and returns a function of the composed tasks or functions. * Any taskNames are retrieved from the registry using the get method. * * When the returned function is executed, the tasks or functions will be executed in series, * each waiting for the prior to finish. If an error occurs, execution will stop. * @param tasks - List of tasks. */ series(tasks: Undertaker.Task[]): Undertaker.TaskFunction; /** * Takes a variable amount of strings (taskName) and/or functions (fn) * and returns a function of the composed tasks or functions. * Any taskNames are retrieved from the registry using the get method. * * When the returned function is executed, the tasks or functions will be executed in parallel, * all being executed at the same time. If an error occurs, all execution will complete. * @param tasks - list of tasks. */ parallel(...tasks: Undertaker.Task[]): Undertaker.TaskFunction; /** * Takes a variable amount of strings (taskName) and/or functions (fn) * and returns a function of the composed tasks or functions. * Any taskNames are retrieved from the registry using the get method. * * When the returned function is executed, the tasks or functions will be executed in parallel, * all being executed at the same time. If an error occurs, all execution will complete. * @param tasks - list of tasks. */ parallel(tasks: Undertaker.Task[]): Undertaker.TaskFunction; /** * Returns the current registry object. */ registry(): Registry; /** * The tasks from the current registry will be transferred to it * and the current registry will be replaced with the new registry. * @param registry - Instance of registry. */ registry(registry: Registry): void; /** * Optionally takes an object (options) and returns an object representing the tree of registered tasks. * @param options - Tree options. */ tree(options?: Undertaker.TreeOptions): Undertaker.TreeResult; /** * Takes a string or function (task) and returns a timestamp of the last time the task was run successfully. * The time will be the time the task started. Returns undefined if the task has not been run. * @param task - Task. * @param [timeResolution] - Time resolution. */ lastRun(task: Undertaker.Task, timeResolution?: number): number; } export = Undertaker; node-gulp-4.0.2+~cs38.20.35/package.json000077500000000000000000000022741415667007300173360ustar00rootroot00000000000000{ "name": "@types/undertaker", "version": "1.2.7", "description": "TypeScript definitions for undertaker", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/undertaker", "license": "MIT", "contributors": [ { "name": "Qubo", "url": "https://github.com/tkqubo", "githubUsername": "tkqubo" }, { "name": "Giedrius Grabauskas", "url": "https://github.com/GiedriusGrabauskas", "githubUsername": "GiedriusGrabauskas" }, { "name": "Evan Yamanishi", "url": "https://github.com/sh0ji", "githubUsername": "sh0ji" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/undertaker" }, "scripts": {}, "dependencies": { "@types/node": "*", "@types/undertaker-registry": "*", "async-done": "~1.3.2" }, "typesPublisherContentHash": "48475b16307468d22b3198b14f37858d9be47fde0eaad4184c156c208ca863c0", "typeScriptVersion": "3.6" }