
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@es-pkg/gulp
Advanced tools
gulp node执行
npm install @es-pkg/gulp
| 参数 | 类型 |
|---|---|
| 🐕Gulp | Classes |
| ☀️default | Variables |
| 🎗️lastRun | Functions |
| 🎗️parallel | Functions |
| 🎗️registry | Functions |
| 🎗️series | Functions |
| 🎗️task | Functions |
| 🎗️tree | Functions |
| 参数 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| __constructor | * new Gulp(): Gulp | ||
| Gulp | : undefined | typeof Gulp | ||
| dest | : ((folder:string | ((file:File) => string), opt?:DestOptions) => __global.NodeJS.ReadWriteStream) = vfs.dest | vfs.dest | |
| src | : ((globs:string | string[], opt?:SrcOptions) => __global.NodeJS.ReadWriteStream) = vfs.src | vfs.src | |
| symlink | : ((folder:string | ((File:File) => string), opts?:{}) => __global.NodeJS.ReadWriteStream) = vfs.symlink | vfs.symlink | |
| watch | * watch(globs:GulpClient.Globs, fn?:Undertaker.TaskFunction): "fs".FSWatcher |
GulpClient.Globs, opts?:GulpClient.WatchOptions, fn?:Undertaker.TaskFunction): "fs".FSWatcher|||Const gulp: Gulp = ...
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.
lastRun(task:Undertaker.Task, timeResolution?:number): number
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.
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.
parallel(tasks:Undertaker.Task[]): Undertaker.TaskFunction
Returns the current registry object.
registry(): UndertakerRegistry
The tasks from the current registry will be transferred to it and the current registry will be replaced with the new registry.
registry(registry:UndertakerRegistry): 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.
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.
series(tasks:Undertaker.Task[]): Undertaker.TaskFunction
Returns the wrapped registered function.
task(taskName:string): undefined | Undertaker.TaskFunctionWrapped
Register the task by the taskName.
task(taskName:string, fn:Undertaker.TaskFunction): void
Register the task by the name property of the function.
task(fn:Undertaker.TaskFunction): void
Optionally takes an object (options) and returns an object representing the tree of registered tasks.
tree(options?:Undertaker.TreeOptions): Undertaker.TreeResult
FAQs
gulp node执行
The npm package @es-pkg/gulp receives a total of 3 weekly downloads. As such, @es-pkg/gulp popularity was classified as not popular.
We found that @es-pkg/gulp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.