New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fastify-citgm

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-citgm - npm Package Compare versions

Comparing version 4.23.2-dev-13 to 4.23.2-dev-14

2

fastify.js
'use strict'
const VERSION = '4.23.2-dev-13'
const VERSION = '4.23.2-dev-14'

@@ -5,0 +5,0 @@ const Avvio = require('avvio')

{
"name": "fastify-citgm",
"version": "4.23.2-dev-13",
"version": "4.23.2-dev-14",
"description": "Fast and low overhead web framework, for Node.js",

@@ -5,0 +5,0 @@ "main": "fastify.js",

@@ -161,12 +161,17 @@ 'use strict'

t.teardown(() => {
if (!process.env.CITGM) {
// cleanup the file after sonic-boom closed
// otherwise we may face racing condition
fastify.log[streamSym].once('close', cleanup)
// we must flush the stream ourself
// otherwise buffer may whole sonic-boom
fastify.log[streamSym].flushSync()
// end after flushing to actually close file
fastify.log[streamSym].end()
}
setTimeout(() => {
// may fail on win
try {
// cleanup the file after sonic-boom closed
// otherwise we may face racing condition
fastify.log[streamSym].once('close', cleanup)
// we must flush the stream ourself
// otherwise buffer may whole sonic-boom
fastify.log[streamSym].flushSync()
// end after flushing to actually close file
fastify.log[streamSym].end()
} catch (err) {
console.warn(err)
}
}, 500)
})

@@ -173,0 +178,0 @@ t.teardown(fastify.close.bind(fastify))

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc