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

create-boom-error

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-boom-error - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

.github/workflows/build_and_test.yml

2

CHANGELOG.md

@@ -0,1 +1,3 @@

# We have migrated to using github releases after v1.0.0
## 1.0.0 (2020-10-21)

@@ -2,0 +4,0 @@

11

package.json
{
"name": "create-boom-error",
"version": "1.0.0",
"version": "2.0.0",
"description": "Simply create sub-classed Boom errors for Hapi applications.",

@@ -31,10 +31,9 @@ "main": "index.js",

"devDependencies": {
"chai": "^2.1.2",
"generate-changelog": "^1.8.0",
"mocha": "^7.1.0"
"chai": "^4.3.6",
"mocha": "^10.0.0"
},
"dependencies": {
"@hapi/boom": "^7.4.0",
"decamelize": "^4.0.0"
"@hapi/boom": "^10.0.0",
"decamelize": "^5.0.1"
}
}
'use strict';
var createBoomError = require('../index').bind(exports);
var createBoomError = require('../index.js').bind(exports);

@@ -5,0 +5,0 @@ createBoomError('StringError', 400, 'string message');

'use strict';
var expect = require('chai').expect;
var createBoomError = require('../index');
var createBoomError = require('../index.js');
var CustomErrors = require('./customErrors');

@@ -6,0 +6,0 @@

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