- Add
assert.fail()
- deps: http-errors@~1.8.0
- deps: inherits@2.0.4
- deps: setprototypeof@1.2.0
- deps: http-errors@~1.7.2
- deps: setprototypeof@1.1.1
- Add
assert.ok()
- deps: http-errors@~1.7.1
- Set constructor name when possible
- deps: depd@~1.1.2
- deps: setprototypeof@1.1.0
- deps: statuses@'>= 1.5.0 < 2'
- deps: deep-equal@~1.0.1
- Fix
null == undefined
for non-strict compares
- Fix
- deps: http-errors@~1.6.1
- Accept custom 4xx and 5xx status codes in factory
- Deprecate using non-error status codes
- Make
message
property enumerable forHttpError
s - Support new code
421 Misdirected Request
- Use
setprototypeof
module to replace__proto__
setting - deps: inherits@2.0.3
- deps: setprototypeof@1.0.3
- deps: statuses@'>= 1.3.1 < 2'
- perf: enable strict mode
- deps: http-errors@~1.4.0
- deps: deep-equal@~1.0.0
- dpes: http-errors@~1.3.1
- Add equality methods
assert.deepEqual()
assert.equal()
assert.notDeepEqual()
assert.notEqual()
assert.notStrictEqual()
assert.strictEqual()
- Fix setting
err.expose
on invalid status - Use
http-errors
module - perf: remove duplicate status check
- Fix typo causing
err.message
to beundefined
- Default status to 500
- Set
err.expose
tofalse
for 5xx codes