
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@es-pkg/utils
Advanced tools
gulp node执行
npm install @es-pkg/utils
| 参数 | 类型 |
|---|---|
| 🎗️autoUpgrade | Functions |
| 🎗️compare | Functions |
| 🎗️error | Functions |
| 🎗️getValidPkgName | Functions |
| 🎗️info | Functions |
| 🎗️isDirectory | Functions |
| 🎗️isValidHttp | Functions |
| 🎗️log | Functions |
| 🎗️remove | Functions |
| 🎗️run | Functions |
| 🎗️step | Functions |
| 🎗️success | Functions |
| 🎗️titleCase | Functions |
| 🎗️warn | Functions |
autoUpgrade(str:string): string
版本号比较大小
compare(v1:string, v2:string): number
error(content:string, ...rest:any[]): void
getValidPkgName(str:string): string
info(content:string, ...rest:any[]): void
isDirectory(path:string): boolean
isValidHttp(url:string): boolean
string, ...rest:any[]): void| 参数 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| debug | : typeof log | ||
| error | : ((content:string, ...rest:any[]) => void) | ||
| info | : ((content:string, ...rest:any[]) => void) | ||
| success | : ((content:string, ...rest:any[]) => void) | ||
| warn | : ((content:string, ...rest:any[]) => void) |
删除文件或者文件夹
remove(url:string, folders?:boolean): Promise<void>
run(bin:string, args:string[], opts?:Options<string>): Promise<ExecaReturnValue<string>>
step(msg:string): void
success(content:string, ...rest:any[]): void
titleCase(str:string): string
string, ...rest:any[]): voidFAQs
gulp node执行
We found that @es-pkg/utils 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.