
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@nomikos/module-koa-common
Advanced tools
Configura logging, y varios middleware para koa
Configura pino logging para apis koa
Maneja y reporta unhandled promise rejection.
Exporta funciones de logging
Reporta logs en apps que no siguen un flujo down-up sobre un request http.
tracer-session-id:
tracer-request-id:
tracer-systems
tracer-user-id:
Todos estos tracers se pasan por headers HTTP o por mensaje (key headers) en colas.
En push notification desde killbill: No habrá empezado en pwa. Setear tracer-user-id a initialOwner
Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code
Se debe ejecutar al cuando se levanta la aplicación. Queda escuchando por "Unhandled promise rejections" y envía log de immediato, ya que loggerMiddleware no se ejecutará normalmente al ser este un error fatal. El log setea stage a "fatal". De todas formas puede recolectar y enviar tambien to otro log ya grabado para envio en stage: end.
FAQs
Configura logging, y varios middleware para koa
We found that @nomikos/module-koa-common demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.