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

boom - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

6

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

@@ -18,3 +18,3 @@ "main": "lib/index.js",

"devDependencies": {
"code": "2.x.x",
"code": "3.x.x",
"lab": "10.x.x",

@@ -24,3 +24,3 @@ "markdown-toc": "0.12.x"

"scripts": {
"test": "lab -a code -t 100 -L",
"test": "lab -a code -t 100 -L -v",
"test-cov-html": "lab -a code -r html -o coverage.html -L",

@@ -27,0 +27,0 @@ "toc": "node generate-toc.js",

@@ -38,3 +38,3 @@ 'use strict';

expect(err.message).to.equal('ka-boom');
expect(err.output).to.deep.equal({
expect(err.output).to.equal({
statusCode: 500,

@@ -176,3 +176,3 @@ payload: {

expect(err.output.statusCode).to.equal(401);
expect(err.output.headers).to.deep.equal({});
expect(err.output.headers).to.equal({});
done();

@@ -208,3 +208,3 @@ });

expect(err.output.headers['WWW-Authenticate']).to.equal('Test a="1", b="something", c="", d="0", error="boom"');
expect(err.output.payload.attributes).to.deep.equal({ a: 1, b: 'something', c: '', d: 0, error: 'boom' });
expect(err.output.payload.attributes).to.equal({ a: 1, b: 'something', c: '', d: 0, error: 'boom' });
done();

@@ -211,0 +211,0 @@ });

Sorry, the diff of this file is not supported yet

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