
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@contrast/code-events
Advanced tools
This module exposes CodeEvent data from the underlying v8 engine, such as the 'LAZY_COMPILE' and 'FUNCTION' types.
Register a listener for code events:
const { setCodeEventListener } = require('@contrast/code-events');
// with the default poll interval of 100ms:
setCodeEventListener((event) => {
console.log(event);
});
// with a custom poll interval of 500ms:
setCodeEventListener((event) => {
console.log(event);
}, { interval: 500 });
FAQs
Listen for v8 CodeEvents and make them available to JavaScript
We found that @contrast/code-events demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.