create-boom-error
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -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 @@ |
{ | ||
"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 @@ |
10411
2
+ Added@hapi/boom@10.0.1(transitive)
+ Added@hapi/hoek@11.0.7(transitive)
+ Addeddecamelize@5.0.1(transitive)
- Removed@hapi/boom@7.4.11(transitive)
- Removed@hapi/hoek@8.5.1(transitive)
- Removeddecamelize@4.0.0(transitive)
Updated@hapi/boom@^10.0.0
Updateddecamelize@^5.0.1