5 - perf: remove argument reassignment
6 * deps: setprototypeof@1.1.0
7 * deps: statuses@'>= 1.3.1 < 2'
13 - Remove unnecessary `Buffer` loading
18 * deps: setprototypeof@1.0.3
19 - Fix shim for old browsers
24 * Accept custom 4xx and 5xx status codes in factory
25 * Add deprecation message to `"I'mateapot"` export
26 * Deprecate passing status code as anything except first argument in factory
27 * Deprecate using non-error status codes
28 * Make `message` property enumerable for `HttpError`s
33 * deps: inherits@2.0.3
34 - Fix issue loading in browser
35 * deps: setprototypeof@1.0.2
36 * deps: statuses@'>= 1.3.1 < 2'
41 * Support new code `421 Misdirected Request`
42 * Use `setprototypeof` module to replace `__proto__` setting
43 * deps: statuses@'>= 1.3.0 < 2'
44 - Add `421 Misdirected Request`
45 - perf: enable strict mode
46 * perf: enable strict mode
51 * Add `HttpError` export, for `err instanceof createError.HttpError`
52 * deps: inherits@2.0.1
53 * deps: statuses@'>= 1.2.1 < 2'
54 - Fix message for status 451
55 - Remove incorrect nginx status code
60 * Fix regression where status can be overwritten in `createError` `props`
65 * Construct errors using defined constructors from `createError`
66 * Fix error names that are not identifiers
67 - `createError["I'mateapot"]` is now `createError.ImATeapot`
68 * Set a meaningful `name` property on constructed errors
73 * Fix stack trace from exported function
74 * Remove `arguments.callee` usage
79 * Remove duplicate line
84 * Fix `expose` to be `true` for `ClientError` constructor
94 * Fix dependency version to work with old `npm`s
99 * deps: statuses@~1.1.0
109 * Support Node.js 0.6
110 * Use `inherits` instead of `util`
115 * Fix the way inheriting functions
116 * Support `expose` being provided in properties argument
121 * Default status to 500
122 * Support provided `error` to extend
127 * Fix accepting string message