promptgraph-mcp 2.4.6 → 2.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/github-import.js +4 -4
  2. package/index.js +47 -14
  3. package/indexer.js +14 -7
  4. package/package.json +1 -1
  5. package/parser.js +21 -115
  6. package/registry/training/bad/accepts-HISTORY.md +250 -0
  7. package/registry/training/bad/argparse-CHANGELOG.md +185 -0
  8. package/registry/training/bad/balanced-match-LICENSE.md +23 -0
  9. package/registry/training/bad/better-sqlite3-README.md +99 -0
  10. package/registry/training/bad/bindings-LICENSE.md +22 -0
  11. package/registry/training/bad/bl-LICENSE.md +13 -0
  12. package/registry/training/bad/body-parser-README.md +494 -0
  13. package/registry/training/bad/bytes-HISTORY.md +97 -0
  14. package/registry/training/bad/camelcase-README.md +135 -0
  15. package/registry/training/bad/chai-README.md +162 -0
  16. package/registry/training/bad/cli-progress-LICENSE.md +24 -0
  17. package/registry/training/bad/content-type-HISTORY.md +29 -0
  18. package/registry/training/bad/cookie-SECURITY.md +25 -0
  19. package/registry/training/bad/cookie-signature-HISTORY.md +70 -0
  20. package/registry/training/bad/cors-README.md +277 -0
  21. package/registry/training/bad/cross-spawn-README.md +89 -0
  22. package/registry/training/bad/deep-extend-CHANGELOG.md +46 -0
  23. package/registry/training/bad/depd-HISTORY.md +103 -0
  24. package/registry/training/bad/esprima-README.md +46 -0
  25. package/registry/training/bad/etag-HISTORY.md +83 -0
  26. package/registry/training/bad/expect-type-SECURITY.md +14 -0
  27. package/registry/training/bad/finalhandler-HISTORY.md +239 -0
  28. package/registry/training/bad/fresh-HISTORY.md +80 -0
  29. package/registry/training/bad/glob-LICENSE.md +63 -0
  30. package/registry/training/bad/hono-README.md +85 -0
  31. package/registry/training/bad/http-errors-HISTORY.md +186 -0
  32. package/registry/training/bad/jose-LICENSE.md +21 -0
  33. package/registry/training/bad/jose-README.md +153 -0
  34. package/registry/training/bad/js-yaml-README.md +299 -0
  35. package/registry/training/bad/json-schema-typed-LICENSE.md +57 -0
  36. package/registry/training/bad/json-stringify-safe-CHANGELOG.md +14 -0
  37. package/registry/training/bad/lru-cache-LICENSE.md +55 -0
  38. package/registry/training/bad/media-typer-HISTORY.md +50 -0
  39. package/registry/training/bad/minimatch-LICENSE.md +55 -0
  40. package/registry/training/bad/minimist-CHANGELOG.md +298 -0
  41. package/registry/training/bad/minimist-README.md +121 -0
  42. package/registry/training/bad/ms-LICENSE.md +21 -0
  43. package/registry/training/bad/negotiator-HISTORY.md +114 -0
  44. package/registry/training/bad/on-finished-HISTORY.md +98 -0
  45. package/registry/training/bad/pkce-challenge-CHANGELOG.md +114 -0
  46. package/registry/training/bad/postcss-README.md +28 -0
  47. package/registry/training/bad/prebuild-install-CHANGELOG.md +131 -0
  48. package/registry/training/bad/proxy-addr-HISTORY.md +161 -0
  49. package/registry/training/bad/qs-CHANGELOG.md +822 -0
  50. package/registry/training/bad/rc-README.md +227 -0
  51. package/registry/training/bad/readable-stream-CONTRIBUTING.md +38 -0
  52. package/registry/training/bad/router-HISTORY.md +228 -0
  53. package/registry/training/bad/semver-README.md +680 -0
  54. package/registry/training/bad/send-README.md +317 -0
  55. package/registry/training/bad/serve-static-README.md +253 -0
  56. package/registry/training/bad/statuses-HISTORY.md +87 -0
  57. package/registry/training/bad/type-is-HISTORY.md +292 -0
  58. package/registry/training/bad/vary-HISTORY.md +39 -0
  59. package/registry/training/bad/vite-LICENSE.md +2230 -0
  60. package/registry/training/bad/which-CHANGELOG.md +166 -0
  61. package/registry/training/bad/zod-README.md +191 -0
  62. package/registry/training/good/skills-store-autopilot.md +85 -0
  63. package/registry/training/good/skills-store-bot-builder.md +70 -0
  64. package/registry/training/good/skills-store-chain.md +136 -0
  65. package/registry/training/good/skills-store-evolve.md +100 -0
  66. package/registry/training/good/skills-store-game.md +27 -0
  67. package/registry/training/good/skills-store-hunt.md +102 -0
  68. package/registry/training/good/skills-store-intel.md +56 -0
  69. package/registry/training/good/skills-store-memory-gc.md +58 -0
  70. package/registry/training/good/skills-store-pcsort.md +207 -0
  71. package/registry/training/good/skills-store-pickup.md +60 -0
  72. package/registry/training/good/skills-store-recon.md +141 -0
  73. package/registry/training/good/skills-store-remember.md +64 -0
  74. package/registry/training/good/skills-store-report.md +117 -0
  75. package/registry/training/good/skills-store-router.md +225 -0
  76. package/registry/training/good/skills-store-search.md +168 -0
  77. package/registry/training/good/skills-store-surface.md +53 -0
  78. package/registry/training/good/skills-store-token-scan.md +141 -0
  79. package/registry/training/good/skills-store-triage.md +97 -0
  80. package/registry/training/good/skills-store-unity.md +733 -0
  81. package/registry/training/good/skills-store-validate.md +135 -0
  82. package/registry/training/good/skills-store-web3-audit.md +217 -0
  83. package/src/filter/classifier.js +88 -0
  84. package/src/filter/cluster.js +52 -0
  85. package/src/filter/dedup.js +36 -0
  86. package/src/filter/hard-filter.js +57 -0
  87. package/src/filter/train.js +64 -0
@@ -0,0 +1,239 @@
1
+ v2.1.1. / 2025-12-01
2
+ ==================
3
+
4
+ * update engines field in the package.json to reflect the current compatibility (Node <18). See: 2.0.0
5
+ * Minor changes (package metadata)
6
+
7
+ v2.1.0 / 2025-03-05
8
+ ==================
9
+
10
+ * deps:
11
+ * use caret notation for dependency versions
12
+ * encodeurl@^2.0.0
13
+ * debug@^4.4.0
14
+ * remove `ServerResponse.headersSent` support check
15
+ * remove setImmediate support check
16
+ * update test dependencies
17
+ * remove unnecessary devDependency `safe-buffer`
18
+ * remove `unpipe` package and use native `unpipe()` method
19
+ * remove unnecessary devDependency `readable-stream`
20
+ * refactor: use object spread to copy error headers
21
+ * refactor: use replaceAll instead of replace with a regex
22
+ * refactor: replace setHeaders function with optimized inline header setting
23
+
24
+ v2.0.0 / 2024-09-02
25
+ ==================
26
+
27
+ * drop support for node <18
28
+ * ignore status message for HTTP/2 (#53)
29
+
30
+ v1.3.1 / 2024-09-11
31
+ ==================
32
+
33
+ * deps: encodeurl@~2.0.0
34
+
35
+ v1.3.0 / 2024-09-03
36
+ ==================
37
+
38
+ * ignore status message for HTTP/2 (#53)
39
+
40
+ v1.2.1 / 2024-09-02
41
+ ==================
42
+
43
+ * Gracefully handle when handling an error and socket is null
44
+
45
+ 1.2.0 / 2022-03-22
46
+ ==================
47
+
48
+ * Remove set content headers that break response
49
+ * deps: on-finished@2.4.1
50
+ * deps: statuses@2.0.1
51
+ - Rename `425 Unordered Collection` to standard `425 Too Early`
52
+
53
+ 1.1.2 / 2019-05-09
54
+ ==================
55
+
56
+ * Set stricter `Content-Security-Policy` header
57
+ * deps: parseurl@~1.3.3
58
+ * deps: statuses@~1.5.0
59
+
60
+ 1.1.1 / 2018-03-06
61
+ ==================
62
+
63
+ * Fix 404 output for bad / missing pathnames
64
+ * deps: encodeurl@~1.0.2
65
+ - Fix encoding `%` as last character
66
+ * deps: statuses@~1.4.0
67
+
68
+ 1.1.0 / 2017-09-24
69
+ ==================
70
+
71
+ * Use `res.headersSent` when available
72
+
73
+ 1.0.6 / 2017-09-22
74
+ ==================
75
+
76
+ * deps: debug@2.6.9
77
+
78
+ 1.0.5 / 2017-09-15
79
+ ==================
80
+
81
+ * deps: parseurl@~1.3.2
82
+ - perf: reduce overhead for full URLs
83
+ - perf: unroll the "fast-path" `RegExp`
84
+
85
+ 1.0.4 / 2017-08-03
86
+ ==================
87
+
88
+ * deps: debug@2.6.8
89
+
90
+ 1.0.3 / 2017-05-16
91
+ ==================
92
+
93
+ * deps: debug@2.6.7
94
+ - deps: ms@2.0.0
95
+
96
+ 1.0.2 / 2017-04-22
97
+ ==================
98
+
99
+ * deps: debug@2.6.4
100
+ - deps: ms@0.7.3
101
+
102
+ 1.0.1 / 2017-03-21
103
+ ==================
104
+
105
+ * Fix missing `</html>` in HTML document
106
+ * deps: debug@2.6.3
107
+ - Fix: `DEBUG_MAX_ARRAY_LENGTH`
108
+
109
+ 1.0.0 / 2017-02-15
110
+ ==================
111
+
112
+ * Fix exception when `err` cannot be converted to a string
113
+ * Fully URL-encode the pathname in the 404 message
114
+ * Only include the pathname in the 404 message
115
+ * Send complete HTML document
116
+ * Set `Content-Security-Policy: default-src 'self'` header
117
+ * deps: debug@2.6.1
118
+ - Allow colors in workers
119
+ - Deprecated `DEBUG_FD` environment variable set to `3` or higher
120
+ - Fix error when running under React Native
121
+ - Use same color for same namespace
122
+ - deps: ms@0.7.2
123
+
124
+ 0.5.1 / 2016-11-12
125
+ ==================
126
+
127
+ * Fix exception when `err.headers` is not an object
128
+ * deps: statuses@~1.3.1
129
+ * perf: hoist regular expressions
130
+ * perf: remove duplicate validation path
131
+
132
+ 0.5.0 / 2016-06-15
133
+ ==================
134
+
135
+ * Change invalid or non-numeric status code to 500
136
+ * Overwrite status message to match set status code
137
+ * Prefer `err.statusCode` if `err.status` is invalid
138
+ * Set response headers from `err.headers` object
139
+ * Use `statuses` instead of `http` module for status messages
140
+ - Includes all defined status messages
141
+
142
+ 0.4.1 / 2015-12-02
143
+ ==================
144
+
145
+ * deps: escape-html@~1.0.3
146
+ - perf: enable strict mode
147
+ - perf: optimize string replacement
148
+ - perf: use faster string coercion
149
+
150
+ 0.4.0 / 2015-06-14
151
+ ==================
152
+
153
+ * Fix a false-positive when unpiping in Node.js 0.8
154
+ * Support `statusCode` property on `Error` objects
155
+ * Use `unpipe` module for unpiping requests
156
+ * deps: escape-html@1.0.2
157
+ * deps: on-finished@~2.3.0
158
+ - Add defined behavior for HTTP `CONNECT` requests
159
+ - Add defined behavior for HTTP `Upgrade` requests
160
+ - deps: ee-first@1.1.1
161
+ * perf: enable strict mode
162
+ * perf: remove argument reassignment
163
+
164
+ 0.3.6 / 2015-05-11
165
+ ==================
166
+
167
+ * deps: debug@~2.2.0
168
+ - deps: ms@0.7.1
169
+
170
+ 0.3.5 / 2015-04-22
171
+ ==================
172
+
173
+ * deps: on-finished@~2.2.1
174
+ - Fix `isFinished(req)` when data buffered
175
+
176
+ 0.3.4 / 2015-03-15
177
+ ==================
178
+
179
+ * deps: debug@~2.1.3
180
+ - Fix high intensity foreground color for bold
181
+ - deps: ms@0.7.0
182
+
183
+ 0.3.3 / 2015-01-01
184
+ ==================
185
+
186
+ * deps: debug@~2.1.1
187
+ * deps: on-finished@~2.2.0
188
+
189
+ 0.3.2 / 2014-10-22
190
+ ==================
191
+
192
+ * deps: on-finished@~2.1.1
193
+ - Fix handling of pipelined requests
194
+
195
+ 0.3.1 / 2014-10-16
196
+ ==================
197
+
198
+ * deps: debug@~2.1.0
199
+ - Implement `DEBUG_FD` env variable support
200
+
201
+ 0.3.0 / 2014-09-17
202
+ ==================
203
+
204
+ * Terminate in progress response only on error
205
+ * Use `on-finished` to determine request status
206
+
207
+ 0.2.0 / 2014-09-03
208
+ ==================
209
+
210
+ * Set `X-Content-Type-Options: nosniff` header
211
+ * deps: debug@~2.0.0
212
+
213
+ 0.1.0 / 2014-07-16
214
+ ==================
215
+
216
+ * Respond after request fully read
217
+ - prevents hung responses and socket hang ups
218
+ * deps: debug@1.0.4
219
+
220
+ 0.0.3 / 2014-07-11
221
+ ==================
222
+
223
+ * deps: debug@1.0.3
224
+ - Add support for multiple wildcards in namespaces
225
+
226
+ 0.0.2 / 2014-06-19
227
+ ==================
228
+
229
+ * Handle invalid status codes
230
+
231
+ 0.0.1 / 2014-06-05
232
+ ==================
233
+
234
+ * deps: debug@1.0.2
235
+
236
+ 0.0.0 / 2014-06-05
237
+ ==================
238
+
239
+ * Extracted from connect/express
@@ -0,0 +1,80 @@
1
+ 2.0.0 - 2024-09-04
2
+ ==========
3
+ * Drop support for Node.js <18
4
+
5
+ 1.0.0 - 2024-09-04
6
+ ==========
7
+
8
+ * Drop support for Node.js below 0.8
9
+ * Fix: Ignore `If-Modified-Since` in the presence of `If-None-Match`, according to [spec](https://www.rfc-editor.org/rfc/rfc9110.html#section-13.1.3-5). Fixes [#35](https://github.com/jshttp/fresh/issues/35)
10
+
11
+ 0.5.2 / 2017-09-13
12
+ ==================
13
+
14
+ * Fix regression matching multiple ETags in `If-None-Match`
15
+ * perf: improve `If-None-Match` token parsing
16
+
17
+ 0.5.1 / 2017-09-11
18
+ ==================
19
+
20
+ * Fix handling of modified headers with invalid dates
21
+ * perf: improve ETag match loop
22
+
23
+ 0.5.0 / 2017-02-21
24
+ ==================
25
+
26
+ * Fix incorrect result when `If-None-Match` has both `*` and ETags
27
+ * Fix weak `ETag` matching to match spec
28
+ * perf: delay reading header values until needed
29
+ * perf: skip checking modified time if ETag check failed
30
+ * perf: skip parsing `If-None-Match` when no `ETag` header
31
+ * perf: use `Date.parse` instead of `new Date`
32
+
33
+ 0.4.0 / 2017-02-05
34
+ ==================
35
+
36
+ * Fix false detection of `no-cache` request directive
37
+ * perf: enable strict mode
38
+ * perf: hoist regular expressions
39
+ * perf: remove duplicate conditional
40
+ * perf: remove unnecessary boolean coercions
41
+
42
+ 0.3.0 / 2015-05-12
43
+ ==================
44
+
45
+ * Add weak `ETag` matching support
46
+
47
+ 0.2.4 / 2014-09-07
48
+ ==================
49
+
50
+ * Support Node.js 0.6
51
+
52
+ 0.2.3 / 2014-09-07
53
+ ==================
54
+
55
+ * Move repository to jshttp
56
+
57
+ 0.2.2 / 2014-02-19
58
+ ==================
59
+
60
+ * Revert "Fix for blank page on Safari reload"
61
+
62
+ 0.2.1 / 2014-01-29
63
+ ==================
64
+
65
+ * Fix for blank page on Safari reload
66
+
67
+ 0.2.0 / 2013-08-11
68
+ ==================
69
+
70
+ * Return stale for `Cache-Control: no-cache`
71
+
72
+ 0.1.0 / 2012-06-15
73
+ ==================
74
+
75
+ * Add `If-None-Match: *` support
76
+
77
+ 0.0.1 / 2012-06-10
78
+ ==================
79
+
80
+ * Initial release
@@ -0,0 +1,63 @@
1
+ All packages under `src/` are licensed according to the terms in
2
+ their respective `LICENSE` or `LICENSE.md` files.
3
+
4
+ The remainder of this project is licensed under the Blue Oak
5
+ Model License, as follows:
6
+
7
+ -----
8
+
9
+ # Blue Oak Model License
10
+
11
+ Version 1.0.0
12
+
13
+ ## Purpose
14
+
15
+ This license gives everyone as much permission to work with
16
+ this software as possible, while protecting contributors
17
+ from liability.
18
+
19
+ ## Acceptance
20
+
21
+ In order to receive this license, you must agree to its
22
+ rules. The rules of this license are both obligations
23
+ under that agreement and conditions to your license.
24
+ You must not do anything with this software that triggers
25
+ a rule that you cannot or will not follow.
26
+
27
+ ## Copyright
28
+
29
+ Each contributor licenses you to do everything with this
30
+ software that would otherwise infringe that contributor's
31
+ copyright in it.
32
+
33
+ ## Notices
34
+
35
+ You must ensure that everyone who gets a copy of
36
+ any part of this software from you, with or without
37
+ changes, also gets the text of this license or a link to
38
+ <https://blueoakcouncil.org/license/1.0.0>.
39
+
40
+ ## Excuse
41
+
42
+ If anyone notifies you in writing that you have not
43
+ complied with [Notices](#notices), you can keep your
44
+ license by taking all practical steps to comply within 30
45
+ days after the notice. If you do not do so, your license
46
+ ends immediately.
47
+
48
+ ## Patent
49
+
50
+ Each contributor licenses you to do everything with this
51
+ software that would otherwise infringe any patent claims
52
+ they can license or become able to license.
53
+
54
+ ## Reliability
55
+
56
+ No contributor can revoke this license.
57
+
58
+ ## No Liability
59
+
60
+ ***As far as the law allows, this software comes as is,
61
+ without any warranty or condition, and no contributor
62
+ will be liable to anyone for any damages related to this
63
+ software or this license, under any kind of legal claim.***
@@ -0,0 +1,85 @@
1
+ <div align="center">
2
+ <a href="https://hono.dev">
3
+ <img src="https://raw.githubusercontent.com/honojs/hono/main/docs/images/hono-title.png" width="500" height="auto" alt="Hono"/>
4
+ </a>
5
+ </div>
6
+
7
+ <hr />
8
+
9
+ [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/honojs/hono/ci.yml?branch=main)](https://github.com/honojs/hono/actions)
10
+ [![GitHub](https://img.shields.io/github/license/honojs/hono)](https://github.com/honojs/hono/blob/main/LICENSE)
11
+ [![npm](https://img.shields.io/npm/v/hono)](https://www.npmjs.com/package/hono)
12
+ [![npm](https://img.shields.io/npm/dm/hono)](https://www.npmjs.com/package/hono)
13
+ [![JSR](https://jsr.io/badges/@hono/hono)](https://jsr.io/@hono/hono)
14
+ [![Bundle Size](https://img.shields.io/bundlephobia/min/hono)](https://bundlephobia.com/result?p=hono)
15
+ [![Bundle Size](https://img.shields.io/bundlephobia/minzip/hono)](https://bundlephobia.com/result?p=hono)
16
+ [![GitHub commit activity](https://img.shields.io/github/commit-activity/m/honojs/hono)](https://github.com/honojs/hono/pulse)
17
+ [![GitHub last commit](https://img.shields.io/github/last-commit/honojs/hono)](https://github.com/honojs/hono/commits/main)
18
+ [![codecov](https://codecov.io/github/honojs/hono/graph/badge.svg)](https://codecov.io/github/honojs/hono)
19
+ [![Discord badge](https://img.shields.io/discord/1011308539819597844?label=Discord&logo=Discord)](https://discord.gg/KMh2eNSdxV)
20
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/honojs/hono)
21
+
22
+ Hono - _**means flame🔥 in Japanese**_ - is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.
23
+
24
+ Fast, but not only fast.
25
+
26
+ ```ts
27
+ import { Hono } from 'hono'
28
+ const app = new Hono()
29
+
30
+ app.get('/', (c) => c.text('Hono!'))
31
+
32
+ export default app
33
+ ```
34
+
35
+ ## Quick Start
36
+
37
+ ```bash
38
+ npm create hono@latest
39
+ ```
40
+
41
+ ## Features
42
+
43
+ - **Ultrafast** 🚀 - The router `RegExpRouter` is really fast. Not using linear loops. Fast.
44
+ - **Lightweight** 🪶 - The `hono/tiny` preset is under 12kB. Hono has zero dependencies and uses only the Web Standard API.
45
+ - **Multi-runtime** 🌍 - Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, Lambda@Edge, or Node.js. The same code runs on all platforms.
46
+ - **Batteries Included** 🔋 - Hono has built-in middleware, custom middleware, and third-party middleware. Batteries included.
47
+ - **Delightful DX** 😃 - Super clean APIs. First-class TypeScript support. Now, we've got "Types".
48
+
49
+ ## Documentation
50
+
51
+ The documentation is available on [hono.dev](https://hono.dev).
52
+
53
+ ## Migration
54
+
55
+ The migration guide is available on [docs/MIGRATION.md](docs/MIGRATION.md).
56
+
57
+ ## Communication
58
+
59
+ [X](https://x.com/honojs) and [Discord channel](https://discord.gg/KMh2eNSdxV) are available.
60
+
61
+ ## Contributing
62
+
63
+ Contributions Welcome! You can contribute in the following ways.
64
+
65
+ - Create an Issue - Propose a new feature. Report a bug.
66
+ - Pull Request - Fix a bug or typo. Refactor the code.
67
+ - Create third-party middleware - See instructions below.
68
+ - Share - Share your thoughts on the Blog, X, and others.
69
+ - Make your application - Please try to use Hono.
70
+
71
+ For more details, see [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md).
72
+
73
+ ## Contributors
74
+
75
+ Thanks to [all contributors](https://github.com/honojs/hono/graphs/contributors)!
76
+
77
+ ## Authors
78
+
79
+ Yusuke Wada <https://github.com/yusukebe>
80
+
81
+ _RegExpRouter_, _SmartRouter_, _LinearRouter_, and _PatternRouter_ are created by Taku Amano <https://github.com/usualoma>
82
+
83
+ ## License
84
+
85
+ Distributed under the MIT License. See [LICENSE](LICENSE) for more information.
@@ -0,0 +1,186 @@
1
+ 2.0.1 / 2025-11-20
2
+ ==================
3
+
4
+ * deps: use tilde notation for dependencies
5
+ * deps: update statuses to 2.0.2
6
+
7
+ 2.0.0 / 2021-12-17
8
+ ==================
9
+
10
+ * Drop support for Node.js 0.6
11
+ * Remove `I'mateapot` export; use `ImATeapot` instead
12
+ * Remove support for status being non-first argument
13
+ * Rename `UnorderedCollection` constructor to `TooEarly`
14
+ * deps: depd@2.0.0
15
+ - Replace internal `eval` usage with `Function` constructor
16
+ - Use instance methods on `process` to check for listeners
17
+ * deps: statuses@2.0.1
18
+ - Fix messaging casing of `418 I'm a Teapot`
19
+ - Remove code 306
20
+ - Rename `425 Unordered Collection` to standard `425 Too Early`
21
+
22
+ 2021-11-14 / 1.8.1
23
+ ==================
24
+
25
+ * deps: toidentifier@1.0.1
26
+
27
+ 2020-06-29 / 1.8.0
28
+ ==================
29
+
30
+ * Add `isHttpError` export to determine if value is an HTTP error
31
+ * deps: setprototypeof@1.2.0
32
+
33
+ 2019-06-24 / 1.7.3
34
+ ==================
35
+
36
+ * deps: inherits@2.0.4
37
+
38
+ 2019-02-18 / 1.7.2
39
+ ==================
40
+
41
+ * deps: setprototypeof@1.1.1
42
+
43
+ 2018-09-08 / 1.7.1
44
+ ==================
45
+
46
+ * Fix error creating objects in some environments
47
+
48
+ 2018-07-30 / 1.7.0
49
+ ==================
50
+
51
+ * Set constructor name when possible
52
+ * Use `toidentifier` module to make class names
53
+ * deps: statuses@'>= 1.5.0 < 2'
54
+
55
+ 2018-03-29 / 1.6.3
56
+ ==================
57
+
58
+ * deps: depd@~1.1.2
59
+ - perf: remove argument reassignment
60
+ * deps: setprototypeof@1.1.0
61
+ * deps: statuses@'>= 1.4.0 < 2'
62
+
63
+ 2017-08-04 / 1.6.2
64
+ ==================
65
+
66
+ * deps: depd@1.1.1
67
+ - Remove unnecessary `Buffer` loading
68
+
69
+ 2017-02-20 / 1.6.1
70
+ ==================
71
+
72
+ * deps: setprototypeof@1.0.3
73
+ - Fix shim for old browsers
74
+
75
+ 2017-02-14 / 1.6.0
76
+ ==================
77
+
78
+ * Accept custom 4xx and 5xx status codes in factory
79
+ * Add deprecation message to `"I'mateapot"` export
80
+ * Deprecate passing status code as anything except first argument in factory
81
+ * Deprecate using non-error status codes
82
+ * Make `message` property enumerable for `HttpError`s
83
+
84
+ 2016-11-16 / 1.5.1
85
+ ==================
86
+
87
+ * deps: inherits@2.0.3
88
+ - Fix issue loading in browser
89
+ * deps: setprototypeof@1.0.2
90
+ * deps: statuses@'>= 1.3.1 < 2'
91
+
92
+ 2016-05-18 / 1.5.0
93
+ ==================
94
+
95
+ * Support new code `421 Misdirected Request`
96
+ * Use `setprototypeof` module to replace `__proto__` setting
97
+ * deps: statuses@'>= 1.3.0 < 2'
98
+ - Add `421 Misdirected Request`
99
+ - perf: enable strict mode
100
+ * perf: enable strict mode
101
+
102
+ 2016-01-28 / 1.4.0
103
+ ==================
104
+
105
+ * Add `HttpError` export, for `err instanceof createError.HttpError`
106
+ * deps: inherits@2.0.1
107
+ * deps: statuses@'>= 1.2.1 < 2'
108
+ - Fix message for status 451
109
+ - Remove incorrect nginx status code
110
+
111
+ 2015-02-02 / 1.3.1
112
+ ==================
113
+
114
+ * Fix regression where status can be overwritten in `createError` `props`
115
+
116
+ 2015-02-01 / 1.3.0
117
+ ==================
118
+
119
+ * Construct errors using defined constructors from `createError`
120
+ * Fix error names that are not identifiers
121
+ - `createError["I'mateapot"]` is now `createError.ImATeapot`
122
+ * Set a meaningful `name` property on constructed errors
123
+
124
+ 2014-12-09 / 1.2.8
125
+ ==================
126
+
127
+ * Fix stack trace from exported function
128
+ * Remove `arguments.callee` usage
129
+
130
+ 2014-10-14 / 1.2.7
131
+ ==================
132
+
133
+ * Remove duplicate line
134
+
135
+ 2014-10-02 / 1.2.6
136
+ ==================
137
+
138
+ * Fix `expose` to be `true` for `ClientError` constructor
139
+
140
+ 2014-09-28 / 1.2.5
141
+ ==================
142
+
143
+ * deps: statuses@1
144
+
145
+ 2014-09-21 / 1.2.4
146
+ ==================
147
+
148
+ * Fix dependency version to work with old `npm`s
149
+
150
+ 2014-09-21 / 1.2.3
151
+ ==================
152
+
153
+ * deps: statuses@~1.1.0
154
+
155
+ 2014-09-21 / 1.2.2
156
+ ==================
157
+
158
+ * Fix publish error
159
+
160
+ 2014-09-21 / 1.2.1
161
+ ==================
162
+
163
+ * Support Node.js 0.6
164
+ * Use `inherits` instead of `util`
165
+
166
+ 2014-09-09 / 1.2.0
167
+ ==================
168
+
169
+ * Fix the way inheriting functions
170
+ * Support `expose` being provided in properties argument
171
+
172
+ 2014-09-08 / 1.1.0
173
+ ==================
174
+
175
+ * Default status to 500
176
+ * Support provided `error` to extend
177
+
178
+ 2014-09-08 / 1.0.1
179
+ ==================
180
+
181
+ * Fix accepting string message
182
+
183
+ 2014-09-08 / 1.0.0
184
+ ==================
185
+
186
+ * Initial release
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Filip Skokan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.