
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.