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.
metro-inspector-proxy
Advanced tools
🚇 Inspector proxy for React Native and dev tools integration.
The metro-inspector-proxy npm package is designed to enable debugging of React Native applications by acting as a bridge between the Metro bundler and various debugging tools. It facilitates the connection and communication between the Metro server and debugging clients, allowing developers to inspect and debug their React Native apps more effectively.
Debugging Connection Setup
This code sample demonstrates how to set up the metro-inspector-proxy to start a debugging session. It involves creating an instance of the MetroInspectorProxy and calling the start method to initiate the proxy server, enabling the connection between the Metro bundler and debugging tools.
const MetroInspectorProxy = require('metro-inspector-proxy');
async function setupDebugging() {
const proxy = new MetroInspectorProxy();
await proxy.start();
console.log('Inspector proxy started');
}
setupDebugging();
This package provides core functionalities for React DevTools to connect to React and React Native applications. It is similar to metro-inspector-proxy in that it facilitates debugging, but it is more focused on providing a standalone DevTools environment rather than acting as a proxy.
Remotedev-server is used to set up a local server for remote Redux devtools. It is similar to metro-inspector-proxy as both provide a server environment to aid in debugging applications, but remotedev-server is specifically tailored for Redux applications.
FAQs
🚇 Inspector proxy for React Native and dev tools integration.
We found that metro-inspector-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.