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.1.2 to 3.1.3

10

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

@@ -15,8 +15,8 @@ "main": "lib/index.js",

"dependencies": {
"hoek": "3.x.x"
"hoek": "4.x.x"
},
"devDependencies": {
"code": "2.x.x",
"lab": "7.x.x",
"markdown-toc": "0.11.x"
"lab": "10.x.x",
"markdown-toc": "0.12.x"
},

@@ -27,5 +27,5 @@ "scripts": {

"toc": "node generate-toc.js",
"version": "npm run toc && git add README.md"
"postversion": "npm run toc && git commit -a --amend --no-edit"
},
"license": "BSD-3-Clause"
}

@@ -585,7 +585,7 @@ 'use strict';

try {
JSON.parse('{');
x.foo();
}
catch (err) {
const boom = Boom.internal('Someting bad', err);
expect(boom.message).to.equal('Someting bad: Unexpected end of input');
expect(boom.message).to.equal('Someting bad: x is not defined');
expect(boom.isServer).to.be.true();

@@ -592,0 +592,0 @@ done();

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