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-11 to 4.23.2-dev-12

.vscode/launch.json

2

fastify.js
'use strict'
const VERSION = '4.23.2-dev-11'
const VERSION = '4.23.2-dev-12'

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

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

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

@@ -424,15 +424,3 @@ 'use strict'

// const DNS_LOOKUP_LOCALHOST_IPV4 = { address: '127.0.0.1', family: 4 }
// const DNS_LOOKUP_LOCALHOST_IPV6 = { address: '::1', family: 6 }
function dnsLookup (host, options) {
// 10/10 dns lookup works on CITGM
// TODO remove at the end
// if (process.env.CITGM) {
// if (options?.all) {
// return [DNS_LOOKUP_LOCALHOST_IPV4, DNS_LOOKUP_LOCALHOST_IPV6]
// }
// return DNS_LOOKUP_LOCALHOST_IPV6
// }
return dns.lookup(host, options)

@@ -439,0 +427,0 @@ }

@@ -152,3 +152,3 @@ 'use strict'

]
t.plan(lines.length + 3)
const { file, cleanup } = createTempFile(t)

@@ -159,2 +159,3 @@

})
t.teardown(() => {

@@ -181,12 +182,12 @@ // cleanup the file after sonic-boom closed

// we already own the full log
const stream = fs.createReadStream(file).pipe(split(JSON.parse))
t.teardown(stream.resume.bind(stream))
const log = fs.readFileSync(file, 'utf8').split('\n')
// strip last line
log.pop()
let id
for await (const [line] of on(stream, 'data')) {
for (let line of log) {
line = JSON.parse(line)
if (id === undefined && line.reqId) id = line.reqId
if (id !== undefined && line.reqId) t.equal(line.reqId, id)
t.match(line, lines.shift())
if (lines.length === 0) break
}

@@ -193,0 +194,0 @@ })

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