1.7 KiB
1.7 KiB
1.5.0 / 2021-08-25
- Add
assert.fail()
- deps: http-errors@~1.8.0
- deps: inherits@2.0.4
- deps: setprototypeof@1.2.0
1.4.1 / 2019-04-28
- deps: http-errors@~1.7.2
- deps: setprototypeof@1.1.1
1.4.0 / 2018-09-09
- 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'
1.3.0 / 2017-05-07
- 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
1.2.0 / 2016-02-27
- deps: http-errors@~1.4.0
1.1.1 / 2015-02-13
- deps: deep-equal@~1.0.0
- dpes: http-errors@~1.3.1
1.1.0 / 2014-12-10
- Add equality methods
assert.deepEqual()
assert.equal()
assert.notDeepEqual()
assert.notEqual()
assert.notStrictEqual()
assert.strictEqual()
1.0.2 / 2014-09-10
- Fix setting
err.expose
on invalid status - Use
http-errors
module - perf: remove duplicate status check
1.0.1 / 2014-01-20
- Fix typo causing
err.message
to beundefined
1.0.0 / 2014-01-20
- Default status to 500
- Set
err.expose
tofalse
for 5xx codes