Comparing version 0.28.0 to 0.28.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
5
123951
44
1648