Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastify

Package Overview
Dependencies
Maintainers
2
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify - npm Package Compare versions

Comparing version 0.28.0 to 0.28.1

2

docs/Routes.md

@@ -116,3 +116,3 @@ <h1 align="center">Fastify</h1>

```
As you can see we are not calling `reply.send` to send back the data to the user. You just need to return the body and you are done!
As you can see we are not calling `reply.send` to send back the data to the user. You just need to return the body and you are done!
If you need it you can also send back the data to the user with `reply.send`.

@@ -119,0 +119,0 @@ ```js

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

_cb(err)
} else {
} else if (err) {
// this will crash the process

@@ -200,0 +200,0 @@ // it will go to 'uncaughtException'

@@ -123,3 +123,3 @@ /* eslint-disable no-useless-return */

// are using reply.send directly
if (!this.reply.sent || payload !== undefined) {
if (payload !== undefined) {
this.reply.send(payload)

@@ -126,0 +126,0 @@ }

{
"name": "fastify",
"version": "0.28.0",
"version": "0.28.1",
"description": "Fast and low overhead web framework, for Node.js",

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

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