Huge News!Announcing our $40M Series B led by Abstract Ventures.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.24.0-dev-16 to 4.24.0-dev-17

test/route.1.test.js

2

fastify.js
'use strict'
const VERSION = '4.24.0-dev-16'
const VERSION = '4.24.0-dev-17'

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

{
"name": "fastify-citgm",
"version": "4.24.0-dev-16",
"version": "4.24.0-dev-17",
"description": "Fast and low overhead web framework, for Node.js",

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

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

return new Promise((resolve, reject) => {
const stream = fs.createReadStream(process.cwd() + '/test/stream.test.js', 'utf8')
const stream = fs.createReadStream(__filename, 'utf8')
// stream.pipe(res)

@@ -708,3 +708,3 @@ // res.once('finish', resolve)

fastify.addHook('preHandler', async (req, reply) => {
const stream = fs.createReadStream(process.cwd() + '/test/stream.test.js', 'utf8')
const stream = fs.createReadStream(__filename, 'utf8')
reply.raw.once('finish', () => {

@@ -711,0 +711,0 @@ t.equal(order.shift(), 2)

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

pipeline(
fs.createReadStream(resolve(process.cwd() + '/test/stream.test.js'), 'utf8'),
fs.createReadStream(resolve(__filename), 'utf8'),
gzStream,

@@ -39,3 +39,3 @@ t.error

t.equal(res.headers['content-encoding'], 'gzip')
const file = fs.readFileSync(resolve(process.cwd() + '/test/stream.test.js'), 'utf8')
const file = fs.readFileSync(resolve(__filename), 'utf8')
const payload = zlib.gunzipSync(res.rawPayload)

@@ -42,0 +42,0 @@ t.equal(payload.toString('utf-8'), file)

Sorry, the diff of this file is too big to display

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