
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Better debug information for co.
co-debug
turns
TypeError: You may only yield a function, promise, generator, array, or object, but the following object was passed: "undefined"
at next (co-debug/node_modules/co/index.js:101:25)
...
into
TypeError: You may only yield a function, promise, generator, array, or object, but the following object was passed: "undefined"
co-debug/test/test.js function: foo
0: yield bar()
1: yield Promise.resolve()
at next (co-debug/node_modules/co/index.js:101:25)
...
npm i co-debug
You may need to install co
by yourself.
node -r co-debug
Or add require('co-debug')
to your main file and make sure it's loaded before other packages:
require('co-debug')
const Koa = require('koa')
const app = new Koa()
app.use(function * () {})
co-debug
has some limitationsco-debug
only can tell:
yield
within the functionExamples:
co-debug/test/test.js function: foo
0: yield bar()
1: yield Promise.resolve()
co-debug
may have trouble working with transpilers.
co-debug
when neededif (process.env.NODE_ENV !== 'production') {
require('co-debug')
}
const co = require('co')
// other stuffs
FAQs
Better debug information for co
The npm package co-debug receives a total of 0 weekly downloads. As such, co-debug popularity was classified as not popular.
We found that co-debug 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.