
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@curong/function
Advanced tools
@curong/function
@curong/function
主要包含以下的方法:
before
: 在执行某一个函数之前,先执行一个其他函数cancelExec
: 随时取消对 Promise
、同步函数或异步函数的执行collectItems
: 收集 Promise
,返回收集的 Promise
数组的结果curring
: 把接受多个参数的函数变成接受任意多个参数的函数,并且返回接受余下的参数的新函数noCatch
: 获取函数返回的值,并忽略抛出的错误reach
: 当函数执行到达指定次数后执行回调函数sleepAsync
: 异步阻塞一段时间sleepRun
: 等待一段时间后执行一个同步或异步的函数sleepSync
: 同步阻塞一段时间timeoutCallback
: 执行一个函数,并获取函数的返回值,如果函数的执行时间超过 duration
时,就执行回调函数timeoutThrow
: 执行一个函数,并获取函数的返回值。如果函数的执行时间超过 duration
时,就会抛出异常tryCatch
: try...catch...
语法的 Promise
包装包括以下类型:
ClassInstanceKeys
: 类的实例方法名的类型数组FAQs
`@curong/function` 主要包含以下的方法:
The npm package @curong/function receives a total of 0 weekly downloads. As such, @curong/function popularity was classified as not popular.
We found that @curong/function demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.