Socket
Socket
Sign inDemoInstall

boom

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.1 to 2.7.2

9

package.json
{
"name": "boom",
"description": "HTTP-friendly error objects",
"version": "2.7.1",
"version": "2.7.2",
"repository": "git://github.com/hapijs/boom",

@@ -25,8 +25,3 @@ "main": "index",

},
"licenses": [
{
"type": "BSD",
"url": "http://github.com/hapijs/boom/raw/master/LICENSE"
}
]
"license": "BSD-3-Clause"
}

@@ -6,2 +6,3 @@ ![boom Logo](https://raw.github.com/hapijs/boom/master/images/boom.png)

[![Build Status](https://secure.travis-ci.org/hapijs/boom.png)](http://travis-ci.org/hapijs/boom)
[![Current Version](https://img.shields.io/npm/v/boom.svg)](https://www.npmjs.com/package/boom)

@@ -578,1 +579,7 @@ Lead Maintainer: [Adam Bretz](https://github.com/arb)

```
## F.A.Q.
###### How do I include extra information in my responses? `output.payload` is missing `data`, what gives?
There is a reason the values passed back in the response payloads are pretty locked down. It's mostly for security and to not leak any important information back to the client. This means you will need to put in a little more effort to include extra information about your custom error. Check out the ["Error transformation"](https://github.com/hapijs/hapi/blob/master/API.md#error-transformation) section in the hapi documentation.
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc