![pnpm 10.0.0 Blocks Lifecycle Scripts by Default](https://cdn.sanity.io/images/cgdhsj6q/production/387e09b040c564e324704dac66871c6456fe5ded-1024x1024.png?w=400&fit=max&auto=format)
Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
async-listen
Advanced tools
`net.Server#listen()` helper that returns a Promise for async / await
Promisify server.listen
for your HTTP/HTTPS/TCP server.
npm install async-listen
import listen from 'async-listen';
import { createServer } from 'http';
async function main() {
const port = 3000;
const server = createServer();
const address = await listen(server, port);
console.log(address); // => URL('http://127.0.0.1:3000')
}
main().catch(console.error);
FAQs
`net.Server#listen()` helper that returns a Promise for async / await
The npm package async-listen receives a total of 945,682 weekly downloads. As such, async-listen popularity was classified as popular.
We found that async-listen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.