
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
A tiny, zero overhead debugging utility.
npm install nanodebug
By default, nanodebug is completely noop:
const debug = require('nanodebug')()
// Does nothing!
debug('You encountered a %s!', '🐛')
// Also does nothing!
debug(() => { debug('It accepts functions as well') })
// This... does nothing!
await debug(async () => { debug('They can even be async!') })
Go ahead and put some debugs in your code and enable nanodebug when :bug: hits the fan:
const debug = require('nanodebug')({ enabled: true })
By default, debug will log to stderr using console.error, which is also why we were able to specify a formatting string in the examples above. To change this, pass a log function in the options:
const debug = require('nanodebug')({ log: console.log.bind(console) })
Now, debug will instead log to stdout using console.log.
ISC
FAQs
A tiny, zero overhead debugging utility
The npm package nanodebug receives a total of 0 weekly downloads. As such, nanodebug popularity was classified as not popular.
We found that nanodebug 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.