@jaredwray/mockhttp 2.0.0 → 2.1.0
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.
- package/README.md +11 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
- package/site/dist/api/index.html +2 -2
- package/site/dist/api/swagger.json +1 -1
- package/site/dist/changelog/index.html +34 -17
- package/site/dist/changelog/page/2/index.html +17 -18
- package/site/dist/changelog/{v0-1-0 → v2-1-0}/index.html +45 -22
- package/site/dist/changelog-latest.json +13 -13
- package/site/dist/changelog.json +13 -13
- package/site/dist/docs/bins/index.html +42 -4
- package/site/dist/docs/configuration/index.html +42 -4
- package/site/dist/docs/hosted/index.html +47 -8
- package/site/dist/docs/how-to-deploy/cloudflare/index.html +655 -0
- package/site/dist/docs/how-to-deploy/docker/index.html +664 -0
- package/site/dist/docs/how-to-deploy/wasmer/index.html +625 -0
- package/site/dist/docs/https/index.html +42 -4
- package/site/dist/docs/index.html +44 -5
- package/site/dist/docs/library/index.html +42 -4
- package/site/dist/docs/taps/index.html +42 -4
- package/site/dist/feed.xml +1 -1
- package/site/dist/index.html +44 -5
- package/site/dist/llms-full.txt +254 -29
- package/site/dist/llms.txt +5 -2
- package/site/dist/search-index.json +1 -1
- package/site/dist/sitemap.xml +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[](https://npmjs.com/package/@jaredwray/mockhttp)
|
|
8
8
|
[](https://hub.docker.com/r/jaredwray/mockhttp)
|
|
9
9
|
[](https://mockhttp.org)
|
|
10
|
+
[](https://drydock.org/diff/@jaredwray/mockhttp)
|
|
10
11
|
|
|
11
12
|
A simple HTTP server that can be used to mock HTTP responses for testing purposes. Inspired by [httpbin](https://httpbin.org/) and built using `nodejs` and `fastify` with the idea of running it via https://mockhttp.org, via docker `jaredwray/mockhttp`, or nodejs `npm install @jaredwray/mockhttp`.
|
|
12
13
|
|
|
@@ -16,7 +17,7 @@ A simple HTTP server that can be used to mock HTTP responses for testing purpose
|
|
|
16
17
|
* Bins - Capture and inspect incoming HTTP requests (great for webhook debugging)
|
|
17
18
|
* `@fastify/helmet` built in by default
|
|
18
19
|
* Built with `nodejs`, `typescript`, and `fastify`
|
|
19
|
-
* Deploy via `docker` or
|
|
20
|
+
* Deploy via `docker`, `nodejs`, or Wasmer Edge
|
|
20
21
|
* Free hosted service at [mockhttp.org](https://mockhttp.org), running on a Cloudflare Worker
|
|
21
22
|
* Documentation site and interactive OpenAPI reference (Docula)
|
|
22
23
|
* Auto detect the port that is not in use
|
|
@@ -26,6 +27,7 @@ A simple HTTP server that can be used to mock HTTP responses for testing purpose
|
|
|
26
27
|
- [Deploy via Docker](#deploy-via-docker)
|
|
27
28
|
- [Deploy via Docker Compose](#deploy-via-docker-compose)
|
|
28
29
|
- [Deploy via NodeJS](#deploy-via-nodejs)
|
|
30
|
+
- [Deploy via Wasmer](#deploy-via-wasmer)
|
|
29
31
|
- [HTTPS Support](#https-support)
|
|
30
32
|
- [HTTP/2 Support](#http2-support)
|
|
31
33
|
- [Response Injection (Tap Feature)](#response-injection-tap-feature)
|
|
@@ -82,6 +84,12 @@ console.log(response);
|
|
|
82
84
|
await mock.close(); // stop the server
|
|
83
85
|
```
|
|
84
86
|
|
|
87
|
+
# Deploy via Wasmer
|
|
88
|
+
|
|
89
|
+
Wasmer Edge runs the same Node server as Docker. [deploy-wasmer.yaml](.github/workflows/deploy-wasmer.yaml) publishes the source with `wasmer deploy --build-remote`, and the `Anybuild` file builds the server and the docs site. It runs when you start it by hand and when a GitHub Release is published. It does not deploy the Cloudflare Worker. The test app is [mockhttp.wasmer.app](https://mockhttp.wasmer.app).
|
|
90
|
+
|
|
91
|
+
Bins, taps, and `@fastify/rate-limit` are per instance on Wasmer. All [mockhttp.org](https://mockhttp.org) traffic stays on Cloudflare, where the rate limiter is shared across requests.
|
|
92
|
+
|
|
85
93
|
# HTTPS Support
|
|
86
94
|
|
|
87
95
|
MockHttp supports HTTPS with auto-generated self-signed certificates or your own custom certificates. No external dependencies are required — certificate generation uses only Node.js built-in `crypto`.
|
|
@@ -1234,6 +1242,8 @@ A getter that returns whether there are any active injections.
|
|
|
1234
1242
|
|
|
1235
1243
|
[mockhttp.org](https://mockhttp.org) is a free hosted instance of this codebase for testing. It runs on a [Cloudflare Worker](https://developers.cloudflare.com/workers/) (no containers): documentation is served from Workers Assets, and mock APIs such as `/get` and `/post` run in the Worker. The service is globally available and rate-limited (1000 requests per minute per IP) to prevent abuse.
|
|
1236
1244
|
|
|
1245
|
+
All [mockhttp.org](https://mockhttp.org) traffic stays on Cloudflare. A separate test app runs the Node server on Wasmer Edge at [mockhttp.wasmer.app](https://mockhttp.wasmer.app).
|
|
1246
|
+
|
|
1237
1247
|
Getting Started is served at `/` and `/docs`, other guides at `/docs/...`, and the interactive HTTP API reference at `/api`. Mock endpoints such as `/get` and `/post` are unchanged.
|
|
1238
1248
|
|
|
1239
1249
|
# Contributing
|
package/dist/index.mjs
CHANGED
|
@@ -3367,7 +3367,7 @@ A simple HTTP server that can be used to mock HTTP responses for testing purpose
|
|
|
3367
3367
|
|
|
3368
3368
|
[mockhttp.org](https://mockhttp.org) is a free hosted instance of this codebase for testing. It runs on a Cloudflare Worker (no containers): documentation is served from Workers Assets, and mock APIs such as \`/get\` and \`/post\` run in the Worker. The service is globally available and rate-limited (1000 requests per minute per IP) to prevent abuse.
|
|
3369
3369
|
`,
|
|
3370
|
-
version: "2.
|
|
3370
|
+
version: "2.1.0"
|
|
3371
3371
|
} } };
|
|
3372
3372
|
const withLocalServer = (spec) => {
|
|
3373
3373
|
spec.servers = [{
|
|
@@ -4104,6 +4104,7 @@ const start = async () => {
|
|
|
4104
4104
|
if (process$1.env.LOGGING === "false") mockHttp.logging = false;
|
|
4105
4105
|
/* v8 ignore next -- @preserve */
|
|
4106
4106
|
if (process$1.env.HTTP2 === "true") mockHttp.http2 = true;
|
|
4107
|
+
if (process$1.env.AUTO_DETECT_PORT === "false") mockHttp.autoDetectPort = false;
|
|
4107
4108
|
await mockHttp.start();
|
|
4108
4109
|
return mockHttp;
|
|
4109
4110
|
};
|
package/package.json
CHANGED
package/site/dist/api/index.html
CHANGED
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
<main class="api-content">
|
|
733
733
|
<section class="api-info">
|
|
734
734
|
<h1 class="api-info__title">Mock HTTP API</h1>
|
|
735
|
-
<span class="api-info__version">v2.
|
|
735
|
+
<span class="api-info__version">v2.1.0</span>
|
|
736
736
|
<div class="api-info__description"><p>A simple HTTP server that can be used to mock HTTP responses for testing purposes. Inspired by <a href="https://httpbin.org/">httpbin</a> and built using <code>nodejs</code> and <code>fastify</code> with the idea of running it via <a href="https://mockhttp.org">https://mockhttp.org</a>, via docker <code>jaredwray/mockhttp</code>, or nodejs <code>npm install @jaredwray/mockhttp</code>.</p>
|
|
737
737
|
<ul>
|
|
738
738
|
<li><a href="https://github.com/jaredwray/mockhttp">GitHub Repository</a></li>
|
|
@@ -17716,7 +17716,7 @@ data = response.json()</code></pre>
|
|
|
17716
17716
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
17717
17717
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
17718
17718
|
</a>
|
|
17719
|
-
<span class="footer__updated">updated: 2026-
|
|
17719
|
+
<span class="footer__updated">updated: 2026-10-03</span>
|
|
17720
17720
|
</footer>
|
|
17721
17721
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
17722
17722
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Mock HTTP API",
|
|
5
5
|
"description": "\nA simple HTTP server that can be used to mock HTTP responses for testing purposes. Inspired by [httpbin](https://httpbin.org/) and built using `nodejs` and `fastify` with the idea of running it via https://mockhttp.org, via docker `jaredwray/mockhttp`, or nodejs `npm install @jaredwray/mockhttp`.\n\n* [GitHub Repository](https://github.com/jaredwray/mockhttp)\n* [Docker Image](https://hub.docker.com/r/jaredwray/mockhttp)\n* [NPM Package](https://www.npmjs.com/package/@jaredwray/mockhttp)\n\n# About mockhttp.org\n\n[mockhttp.org](https://mockhttp.org) is a free hosted instance of this codebase for testing. It runs on a Cloudflare Worker (no containers): documentation is served from Workers Assets, and mock APIs such as `/get` and `/post` run in the Worker. The service is globally available and rate-limited (1000 requests per minute per IP) to prevent abuse.\n",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.1.0"
|
|
7
7
|
},
|
|
8
8
|
"components": {
|
|
9
9
|
"schemas": {}
|
|
@@ -144,6 +144,39 @@
|
|
|
144
144
|
<main class="versions-container">
|
|
145
145
|
<div class="versions-content">
|
|
146
146
|
<h2 class="home-title">Changelog</h2>
|
|
147
|
+
<div class="changelog-entry">
|
|
148
|
+
<div class="changelog-entry-header">
|
|
149
|
+
<a class="changelog-entry-title" href="/changelog/v2-1-0/">v2.1.0</a>
|
|
150
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
151
|
+
</div>
|
|
152
|
+
<span class="changelog-entry-date">October 3, 2026</span>
|
|
153
|
+
<div class="changelog-entry-preview">
|
|
154
|
+
<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>
|
|
155
|
+
<ul>
|
|
156
|
+
<li>
|
|
157
|
+
<p>Deploy the Node server to Wasmer Edge (#225)</p>
|
|
158
|
+
<pre><code class="hljs language-bash">PORT=3000 AUTO_DETECT_PORT=<span class="hljs-literal">false</span> node dist/index.mjs
|
|
159
|
+
</code></pre>
|
|
160
|
+
</li>
|
|
161
|
+
<li>
|
|
162
|
+
<p>include Docula site in the npm tarball (#222)</p>
|
|
163
|
+
</li>
|
|
164
|
+
<li>
|
|
165
|
+
<p>deploy Wasmer with a remote build (#226)</p>
|
|
166
|
+
</li>
|
|
167
|
+
<li>
|
|
168
|
+
<p>deploy Wasmer through the Anybuild file (#228)</p>
|
|
169
|
+
</li>
|
|
170
|
+
<li>
|
|
171
|
+
<p>add Drydock review badge to README (#224)</p>
|
|
172
|
+
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<p>rename Hosted Service page to MockHttp.org Live (#230)</p>
|
|
175
|
+
</li>
|
|
176
|
+
</ul>
|
|
177
|
+
</div>
|
|
178
|
+
<span class="changelog-read-more">Read more →</span>
|
|
179
|
+
</div>
|
|
147
180
|
<div class="changelog-entry">
|
|
148
181
|
<div class="changelog-entry-header">
|
|
149
182
|
<a class="changelog-entry-title" href="/changelog/v2-0-0/">v2.0.0</a>
|
|
@@ -465,22 +498,6 @@ GET /status/429 ...
|
|
|
465
498
|
<li>chore: upgrading vitest to 3.2.3 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/53">https://github.com/jaredwray/mockhttp/pull/53</a></li>
|
|
466
499
|
<li>chore: upgrading tsup to 8.5.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/54">https://github.com/jaredwray/mockhttp/pull/54</a></li>
|
|
467
500
|
<li>chore: upgrading pino to 9.7.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/55">https://github.com/jaredwray/mockhttp/pull/55</a></li>
|
|
468
|
-
</ul>
|
|
469
|
-
</div>
|
|
470
|
-
<span class="changelog-read-more">Read more →</span>
|
|
471
|
-
</div>
|
|
472
|
-
<div class="changelog-entry">
|
|
473
|
-
<div class="changelog-entry-header">
|
|
474
|
-
<a class="changelog-entry-title" href="/changelog/v0-5-0/">v0.5.0</a>
|
|
475
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
476
|
-
</div>
|
|
477
|
-
<span class="changelog-entry-date">May 10, 2025</span>
|
|
478
|
-
<div class="changelog-entry-preview">
|
|
479
|
-
<ul>
|
|
480
|
-
<li>chore: updating github actions and scripts by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/45">https://github.com/jaredwray/mockhttp/pull/45</a></li>
|
|
481
|
-
<li>chore: upgrading @swc/core and tsx to latest by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/46">https://github.com/jaredwray/mockhttp/pull/46</a></li>
|
|
482
|
-
<li>chore: upgrading vitest to 3.1.3 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/47">https://github.com/jaredwray/mockhttp/pull/47</a></li>
|
|
483
|
-
<li>chore: upgrading hookified to 1.9.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/48">https://github.com/jaredwray/mockhttp/pull/48</a></li>
|
|
484
501
|
</ul>
|
|
485
502
|
</div>
|
|
486
503
|
<span class="changelog-read-more">Read more →</span>
|
|
@@ -502,7 +519,7 @@ GET /status/429 ...
|
|
|
502
519
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
503
520
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
504
521
|
</a>
|
|
505
|
-
<span class="footer__updated">updated: 2026-
|
|
522
|
+
<span class="footer__updated">updated: 2026-10-03</span>
|
|
506
523
|
</footer>
|
|
507
524
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
508
525
|
<script>
|
|
@@ -144,6 +144,22 @@
|
|
|
144
144
|
<main class="versions-container">
|
|
145
145
|
<div class="versions-content">
|
|
146
146
|
<h2 class="home-title">Changelog</h2>
|
|
147
|
+
<div class="changelog-entry">
|
|
148
|
+
<div class="changelog-entry-header">
|
|
149
|
+
<a class="changelog-entry-title" href="/changelog/v0-5-0/">v0.5.0</a>
|
|
150
|
+
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
151
|
+
</div>
|
|
152
|
+
<span class="changelog-entry-date">May 10, 2025</span>
|
|
153
|
+
<div class="changelog-entry-preview">
|
|
154
|
+
<ul>
|
|
155
|
+
<li>chore: updating github actions and scripts by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/45">https://github.com/jaredwray/mockhttp/pull/45</a></li>
|
|
156
|
+
<li>chore: upgrading @swc/core and tsx to latest by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/46">https://github.com/jaredwray/mockhttp/pull/46</a></li>
|
|
157
|
+
<li>chore: upgrading vitest to 3.1.3 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/47">https://github.com/jaredwray/mockhttp/pull/47</a></li>
|
|
158
|
+
<li>chore: upgrading hookified to 1.9.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/48">https://github.com/jaredwray/mockhttp/pull/48</a></li>
|
|
159
|
+
</ul>
|
|
160
|
+
</div>
|
|
161
|
+
<span class="changelog-read-more">Read more →</span>
|
|
162
|
+
</div>
|
|
147
163
|
<div class="changelog-entry">
|
|
148
164
|
<div class="changelog-entry-header">
|
|
149
165
|
<a class="changelog-entry-title" href="/changelog/v0-4-3/">v0.4.3</a>
|
|
@@ -279,23 +295,6 @@
|
|
|
279
295
|
</div>
|
|
280
296
|
<span class="changelog-read-more">Read more →</span>
|
|
281
297
|
</div>
|
|
282
|
-
<div class="changelog-entry">
|
|
283
|
-
<div class="changelog-entry-header">
|
|
284
|
-
<a class="changelog-entry-title" href="/changelog/v0-1-0/">v0.1.0</a>
|
|
285
|
-
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
286
|
-
</div>
|
|
287
|
-
<span class="changelog-entry-date">December 12, 2024</span>
|
|
288
|
-
<div class="changelog-entry-preview">
|
|
289
|
-
<ul>
|
|
290
|
-
<li>adding in contributing and code of conduct by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/1">https://github.com/jaredwray/mockhttp/pull/1</a></li>
|
|
291
|
-
<li>migrating to correct folder format by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/2">https://github.com/jaredwray/mockhttp/pull/2</a></li>
|
|
292
|
-
<li>adding in logo and favicon by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/3">https://github.com/jaredwray/mockhttp/pull/3</a></li>
|
|
293
|
-
<li>adding in headers and user-agent endpoints by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/4">https://github.com/jaredwray/mockhttp/pull/4</a></li>
|
|
294
|
-
<li>moving to scalar by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/5">https://github.com/jaredwray/mockhttp/pull/5</a></li>
|
|
295
|
-
</ul>
|
|
296
|
-
</div>
|
|
297
|
-
<span class="changelog-read-more">Read more →</span>
|
|
298
|
-
</div>
|
|
299
298
|
<nav class="changelog-pagination">
|
|
300
299
|
<a class="changelog-pagination-link" href="/changelog/">← Newer</a>
|
|
301
300
|
<span class="changelog-pagination-info">Page 2 of 2</span>
|
|
@@ -313,7 +312,7 @@
|
|
|
313
312
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
314
313
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
315
314
|
</a>
|
|
316
|
-
<span class="footer__updated">updated: 2026-
|
|
315
|
+
<span class="footer__updated">updated: 2026-10-03</span>
|
|
317
316
|
</footer>
|
|
318
317
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
319
318
|
<script>
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
}
|
|
34
34
|
})();
|
|
35
35
|
</script>
|
|
36
|
-
<title>MockHTTP -
|
|
36
|
+
<title>MockHTTP - v2.1.0</title>
|
|
37
37
|
<script type="application/ld+json">
|
|
38
|
-
{"@context":"https://schema.org","@type":"BlogPosting","headline":"
|
|
38
|
+
{"@context":"https://schema.org","@type":"BlogPosting","headline":"v2.1.0","description":"<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>\n<ul>\n<li>\n<p>Deploy the Node server to Wasmer Edge (#225)</p>\n<pre><code class=\"hljs language-bash\">PORT=3000 AUTO_DETECT_PORT=<span class=\"hljs-literal\">false</span> node dist/index.mjs\n</code></pre>\n</li>\n<li>\n<p>include Docula site in the npm tarball (#222)</p>\n</li>\n<li>\n<p>deploy Wasmer with a remote build (#226)</p>\n</li>\n<li>\n<p>deploy Wasmer through the Anybuild file (#228)</p>\n</li>\n<li>\n<p>add Drydock review badge to README (#224)</p>\n</li>\n<li>\n<p>rename Hosted Service page to MockHttp.org Live (#230)</p>\n</li>\n</ul>","url":"https://mockhttp.org/changelog/v2-1-0/","publisher":{"@type":"Organization","name":"MockHTTP"},"datePublished":"2026-10-03"}
|
|
39
39
|
</script>
|
|
40
40
|
</head>
|
|
41
41
|
|
|
@@ -148,32 +148,55 @@
|
|
|
148
148
|
</div>
|
|
149
149
|
<div class="changelog-entry changelog-entry-single">
|
|
150
150
|
<div class="changelog-entry-header">
|
|
151
|
-
<h1 class="changelog-entry-title">
|
|
151
|
+
<h1 class="changelog-entry-title">v2.1.0</h1>
|
|
152
152
|
<span class="changelog-tag changelog-tag-release">Release</span>
|
|
153
153
|
</div>
|
|
154
|
-
<span class="changelog-entry-date">
|
|
154
|
+
<span class="changelog-entry-date">October 3, 2026</span>
|
|
155
155
|
<div class="changelog-entry-body">
|
|
156
|
-
<h2 id="
|
|
156
|
+
<h2 id="jaredwraymockhttp210--2026-10-03">@jaredwray/mockhttp@2.1.0 — 2026-10-03</h2>
|
|
157
|
+
<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>
|
|
158
|
+
<h3 id="features">Features</h3>
|
|
157
159
|
<ul>
|
|
158
|
-
<li>
|
|
159
|
-
<
|
|
160
|
-
<
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<li>adding in status codes by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/6">https://github.com/jaredwray/mockhttp/pull/6</a></li>
|
|
164
|
-
<li>adding in unit tests and workflows by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/7">https://github.com/jaredwray/mockhttp/pull/7</a></li>
|
|
165
|
-
<li>fixing the title that had an extra space by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/8">https://github.com/jaredwray/mockhttp/pull/8</a></li>
|
|
166
|
-
<li>moving to scalar locally instead of via CDN by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/9">https://github.com/jaredwray/mockhttp/pull/9</a></li>
|
|
167
|
-
<li>adding in dynamic version from package.json by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/10">https://github.com/jaredwray/mockhttp/pull/10</a></li>
|
|
168
|
-
<li>adding in fastify helmet by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/11">https://github.com/jaredwray/mockhttp/pull/11</a></li>
|
|
169
|
-
<li>upgrading xo to 0.60.0 by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/12">https://github.com/jaredwray/mockhttp/pull/12</a></li>
|
|
170
|
-
<li>updating build to tsup and upgrading vitest by @jaredwray in <a href="https://github.com/jaredwray/mockhttp/pull/13">https://github.com/jaredwray/mockhttp/pull/13</a></li>
|
|
160
|
+
<li>
|
|
161
|
+
<p>Deploy the Node server to Wasmer Edge (#225)</p>
|
|
162
|
+
<pre><code class="hljs language-bash">PORT=3000 AUTO_DETECT_PORT=<span class="hljs-literal">false</span> node dist/index.mjs
|
|
163
|
+
</code></pre>
|
|
164
|
+
</li>
|
|
171
165
|
</ul>
|
|
172
|
-
<
|
|
166
|
+
<h3 id="bug-fixes">Bug Fixes</h3>
|
|
173
167
|
<ul>
|
|
174
|
-
<li
|
|
168
|
+
<li>include Docula site in the npm tarball (#222)</li>
|
|
169
|
+
<li>deploy Wasmer with a remote build (#226)</li>
|
|
170
|
+
<li>deploy Wasmer through the Anybuild file (#228)</li>
|
|
175
171
|
</ul>
|
|
176
|
-
<
|
|
172
|
+
<h3 id="documentation">Documentation</h3>
|
|
173
|
+
<ul>
|
|
174
|
+
<li>add Drydock review badge to README (#224)</li>
|
|
175
|
+
<li>rename Hosted Service page to MockHttp.org Live (#230)</li>
|
|
176
|
+
<li>add How to Deploy guides for Cloudflare, Docker, and Wasmer (#229)</li>
|
|
177
|
+
</ul>
|
|
178
|
+
<h3 id="internal">Internal</h3>
|
|
179
|
+
<ul>
|
|
180
|
+
<li>root - defense - close catalog gaps from current skill (#221)</li>
|
|
181
|
+
<li>Publish the GitHub Actions build to Wasmer (#227)</li>
|
|
182
|
+
</ul>
|
|
183
|
+
<h3 id="contributors">Contributors</h3>
|
|
184
|
+
<ul>
|
|
185
|
+
<li>@jaredwray (owner)</li>
|
|
186
|
+
</ul>
|
|
187
|
+
<h3 id="full-list-of-changes">Full List of Changes</h3>
|
|
188
|
+
<ul>
|
|
189
|
+
<li>root - chore: defense - close catalog gaps from current skill by @jaredwray in #221</li>
|
|
190
|
+
<li>fix: include Docula site in the npm tarball by @jaredwray in #222</li>
|
|
191
|
+
<li>docs: add Drydock review badge to README by @jaredwray in #224</li>
|
|
192
|
+
<li>Deploy the Node server to Wasmer Edge by @jaredwray in #225</li>
|
|
193
|
+
<li>Fix the Wasmer deploy by using a remote build by @jaredwray in #226</li>
|
|
194
|
+
<li>Publish the GitHub Actions build to Wasmer by @jaredwray in #227</li>
|
|
195
|
+
<li>Deploy Wasmer with the Anybuild file by @jaredwray in #228</li>
|
|
196
|
+
<li>docs: rename Hosted Service to MockHttp.org Live by @jaredwray in #230</li>
|
|
197
|
+
<li>docs: add How to Deploy guides for Cloudflare, Docker, and Wasmer by @jaredwray in #229</li>
|
|
198
|
+
</ul>
|
|
199
|
+
<p><strong>Full diff:</strong> <a href="https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0">https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0</a></p>
|
|
177
200
|
</div>
|
|
178
201
|
</div>
|
|
179
202
|
</div>
|
|
@@ -188,7 +211,7 @@
|
|
|
188
211
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
189
212
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
190
213
|
</a>
|
|
191
|
-
<span class="footer__updated">updated:
|
|
214
|
+
<span class="footer__updated">updated: 2026-10-03</span>
|
|
192
215
|
</footer>
|
|
193
216
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
194
217
|
<script>
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
"home_page_url": "https://mockhttp.org/",
|
|
6
6
|
"feed_url": "https://mockhttp.org/changelog-latest.json",
|
|
7
7
|
"items": [
|
|
8
|
+
{
|
|
9
|
+
"id": "v2-1-0",
|
|
10
|
+
"title": "v2.1.0",
|
|
11
|
+
"url": "https://mockhttp.org/changelog/v2-1-0/",
|
|
12
|
+
"date_published": "2026-10-03",
|
|
13
|
+
"date_modified": "2026-10-03",
|
|
14
|
+
"summary": "<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>\n<ul>\n<li>\n<p>Deploy the Node server to Wasmer Edge (#225)</p>\n<pre><code class=\"hljs language-bash\">PORT=3000 AUTO_DETECT_PORT=<span class=\"hljs-literal\">false</span> node dist/index.mjs\n</code></pre>\n</li>\n<li>\n<p>include Docula site in the npm tarball (#222)</p>\n</li>\n<li>\n<p>deploy Wasmer with a remote build (#226)</p>\n</li>\n<li>\n<p>deploy Wasmer through the Anybuild file (#228)</p>\n</li>\n<li>\n<p>add Drydock review badge to README (#224)</p>\n</li>\n<li>\n<p>rename Hosted Service page to MockHttp.org Live (#230)</p>\n</li>\n</ul>",
|
|
15
|
+
"content_html": "<h2 id=\"jaredwraymockhttp210--2026-10-03\">@jaredwray/mockhttp@2.1.0 — 2026-10-03</h2>\n<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>\n<h3 id=\"features\">Features</h3>\n<ul>\n<li>\n<p>Deploy the Node server to Wasmer Edge (#225)</p>\n<pre><code class=\"hljs language-bash\">PORT=3000 AUTO_DETECT_PORT=<span class=\"hljs-literal\">false</span> node dist/index.mjs\n</code></pre>\n</li>\n</ul>\n<h3 id=\"bug-fixes\">Bug Fixes</h3>\n<ul>\n<li>include Docula site in the npm tarball (#222)</li>\n<li>deploy Wasmer with a remote build (#226)</li>\n<li>deploy Wasmer through the Anybuild file (#228)</li>\n</ul>\n<h3 id=\"documentation\">Documentation</h3>\n<ul>\n<li>add Drydock review badge to README (#224)</li>\n<li>rename Hosted Service page to MockHttp.org Live (#230)</li>\n<li>add How to Deploy guides for Cloudflare, Docker, and Wasmer (#229)</li>\n</ul>\n<h3 id=\"internal\">Internal</h3>\n<ul>\n<li>root - defense - close catalog gaps from current skill (#221)</li>\n<li>Publish the GitHub Actions build to Wasmer (#227)</li>\n</ul>\n<h3 id=\"contributors\">Contributors</h3>\n<ul>\n<li>@jaredwray (owner)</li>\n</ul>\n<h3 id=\"full-list-of-changes\">Full List of Changes</h3>\n<ul>\n<li>root - chore: defense - close catalog gaps from current skill by @jaredwray in #221</li>\n<li>fix: include Docula site in the npm tarball by @jaredwray in #222</li>\n<li>docs: add Drydock review badge to README by @jaredwray in #224</li>\n<li>Deploy the Node server to Wasmer Edge by @jaredwray in #225</li>\n<li>Fix the Wasmer deploy by using a remote build by @jaredwray in #226</li>\n<li>Publish the GitHub Actions build to Wasmer by @jaredwray in #227</li>\n<li>Deploy Wasmer with the Anybuild file by @jaredwray in #228</li>\n<li>docs: rename Hosted Service to MockHttp.org Live by @jaredwray in #230</li>\n<li>docs: add How to Deploy guides for Cloudflare, Docker, and Wasmer by @jaredwray in #229</li>\n</ul>\n<p><strong>Full diff:</strong> <a href=\"https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0\">https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0</a></p>",
|
|
16
|
+
"content_text": "## @jaredwray/mockhttp@2.1.0 — 2026-10-03\r\n\r\nAdd AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.\r\n\r\n### Features\r\n- Deploy the Node server to Wasmer Edge (#225)\r\n\r\n ```bash\r\n PORT=3000 AUTO_DETECT_PORT=false node dist/index.mjs\r\n ```\r\n\r\n### Bug Fixes\r\n- include Docula site in the npm tarball (#222)\r\n- deploy Wasmer with a remote build (#226)\r\n- deploy Wasmer through the Anybuild file (#228)\r\n\r\n### Documentation\r\n- add Drydock review badge to README (#224)\r\n- rename Hosted Service page to MockHttp.org Live (#230)\r\n- add How to Deploy guides for Cloudflare, Docker, and Wasmer (#229)\r\n\r\n### Internal\r\n- root - defense - close catalog gaps from current skill (#221)\r\n- Publish the GitHub Actions build to Wasmer (#227)\r\n\r\n### Contributors\r\n- @jaredwray (owner)\r\n\r\n### Full List of Changes\r\n- root - chore: defense - close catalog gaps from current skill by @jaredwray in #221\r\n- fix: include Docula site in the npm tarball by @jaredwray in #222\r\n- docs: add Drydock review badge to README by @jaredwray in #224\r\n- Deploy the Node server to Wasmer Edge by @jaredwray in #225\r\n- Fix the Wasmer deploy by using a remote build by @jaredwray in #226\r\n- Publish the GitHub Actions build to Wasmer by @jaredwray in #227\r\n- Deploy Wasmer with the Anybuild file by @jaredwray in #228\r\n- docs: rename Hosted Service to MockHttp.org Live by @jaredwray in #230\r\n- docs: add How to Deploy guides for Cloudflare, Docker, and Wasmer by @jaredwray in #229\r\n\r\n**Full diff:** [https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0](https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0)",
|
|
17
|
+
"tags": [
|
|
18
|
+
"Release"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
8
21
|
{
|
|
9
22
|
"id": "v2-0-0",
|
|
10
23
|
"title": "v2.0.0",
|
|
@@ -251,19 +264,6 @@
|
|
|
251
264
|
"tags": [
|
|
252
265
|
"Release"
|
|
253
266
|
]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"id": "v0-5-0",
|
|
257
|
-
"title": "v0.5.0",
|
|
258
|
-
"url": "https://mockhttp.org/changelog/v0-5-0/",
|
|
259
|
-
"date_published": "2025-05-10",
|
|
260
|
-
"date_modified": "2025-05-10",
|
|
261
|
-
"summary": "<ul>\n<li>chore: updating github actions and scripts by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/45\">https://github.com/jaredwray/mockhttp/pull/45</a></li>\n<li>chore: upgrading @swc/core and tsx to latest by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/46\">https://github.com/jaredwray/mockhttp/pull/46</a></li>\n<li>chore: upgrading vitest to 3.1.3 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/47\">https://github.com/jaredwray/mockhttp/pull/47</a></li>\n<li>chore: upgrading hookified to 1.9.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/48\">https://github.com/jaredwray/mockhttp/pull/48</a></li>\n</ul>",
|
|
262
|
-
"content_html": "<h2 id=\"whats-changed\">What's Changed</h2>\n<ul>\n<li>chore: updating github actions and scripts by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/45\">https://github.com/jaredwray/mockhttp/pull/45</a></li>\n<li>chore: upgrading @swc/core and tsx to latest by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/46\">https://github.com/jaredwray/mockhttp/pull/46</a></li>\n<li>chore: upgrading vitest to 3.1.3 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/47\">https://github.com/jaredwray/mockhttp/pull/47</a></li>\n<li>chore: upgrading hookified to 1.9.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/48\">https://github.com/jaredwray/mockhttp/pull/48</a></li>\n<li>chore: upgrading fastify to 5.3.2 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/49\">https://github.com/jaredwray/mockhttp/pull/49</a></li>\n<li>feat: moving docker to get external packaging by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/50\">https://github.com/jaredwray/mockhttp/pull/50</a></li>\n<li>feat: adding in cookies from httpbin by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/51\">https://github.com/jaredwray/mockhttp/pull/51</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/jaredwray/mockhttp/compare/v0.4.3...v0.5.0\">https://github.com/jaredwray/mockhttp/compare/v0.4.3...v0.5.0</a></p>",
|
|
263
|
-
"content_text": "## What's Changed\r\n* chore: updating github actions and scripts by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/45](https://github.com/jaredwray/mockhttp/pull/45)\r\n* chore: upgrading @swc/core and tsx to latest by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/46](https://github.com/jaredwray/mockhttp/pull/46)\r\n* chore: upgrading vitest to 3.1.3 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/47](https://github.com/jaredwray/mockhttp/pull/47)\r\n* chore: upgrading hookified to 1.9.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/48](https://github.com/jaredwray/mockhttp/pull/48)\r\n* chore: upgrading fastify to 5.3.2 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/49](https://github.com/jaredwray/mockhttp/pull/49)\r\n* feat: moving docker to get external packaging by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/50](https://github.com/jaredwray/mockhttp/pull/50)\r\n* feat: adding in cookies from httpbin by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/51](https://github.com/jaredwray/mockhttp/pull/51)\r\n\r\n\r\n**Full Changelog**: [https://github.com/jaredwray/mockhttp/compare/v0.4.3...v0.5.0](https://github.com/jaredwray/mockhttp/compare/v0.4.3...v0.5.0)",
|
|
264
|
-
"tags": [
|
|
265
|
-
"Release"
|
|
266
|
-
]
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
}
|
package/site/dist/changelog.json
CHANGED
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
"home_page_url": "https://mockhttp.org/",
|
|
6
6
|
"feed_url": "https://mockhttp.org/changelog.json",
|
|
7
7
|
"items": [
|
|
8
|
+
{
|
|
9
|
+
"id": "v2-1-0",
|
|
10
|
+
"title": "v2.1.0",
|
|
11
|
+
"url": "https://mockhttp.org/changelog/v2-1-0/",
|
|
12
|
+
"date_published": "2026-10-03",
|
|
13
|
+
"date_modified": "2026-10-03",
|
|
14
|
+
"summary": "<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>\n<ul>\n<li>\n<p>Deploy the Node server to Wasmer Edge (#225)</p>\n<pre><code class=\"hljs language-bash\">PORT=3000 AUTO_DETECT_PORT=<span class=\"hljs-literal\">false</span> node dist/index.mjs\n</code></pre>\n</li>\n<li>\n<p>include Docula site in the npm tarball (#222)</p>\n</li>\n<li>\n<p>deploy Wasmer with a remote build (#226)</p>\n</li>\n<li>\n<p>deploy Wasmer through the Anybuild file (#228)</p>\n</li>\n<li>\n<p>add Drydock review badge to README (#224)</p>\n</li>\n<li>\n<p>rename Hosted Service page to MockHttp.org Live (#230)</p>\n</li>\n</ul>",
|
|
15
|
+
"content_html": "<h2 id=\"jaredwraymockhttp210--2026-10-03\">@jaredwray/mockhttp@2.1.0 — 2026-10-03</h2>\n<p>Add AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.</p>\n<h3 id=\"features\">Features</h3>\n<ul>\n<li>\n<p>Deploy the Node server to Wasmer Edge (#225)</p>\n<pre><code class=\"hljs language-bash\">PORT=3000 AUTO_DETECT_PORT=<span class=\"hljs-literal\">false</span> node dist/index.mjs\n</code></pre>\n</li>\n</ul>\n<h3 id=\"bug-fixes\">Bug Fixes</h3>\n<ul>\n<li>include Docula site in the npm tarball (#222)</li>\n<li>deploy Wasmer with a remote build (#226)</li>\n<li>deploy Wasmer through the Anybuild file (#228)</li>\n</ul>\n<h3 id=\"documentation\">Documentation</h3>\n<ul>\n<li>add Drydock review badge to README (#224)</li>\n<li>rename Hosted Service page to MockHttp.org Live (#230)</li>\n<li>add How to Deploy guides for Cloudflare, Docker, and Wasmer (#229)</li>\n</ul>\n<h3 id=\"internal\">Internal</h3>\n<ul>\n<li>root - defense - close catalog gaps from current skill (#221)</li>\n<li>Publish the GitHub Actions build to Wasmer (#227)</li>\n</ul>\n<h3 id=\"contributors\">Contributors</h3>\n<ul>\n<li>@jaredwray (owner)</li>\n</ul>\n<h3 id=\"full-list-of-changes\">Full List of Changes</h3>\n<ul>\n<li>root - chore: defense - close catalog gaps from current skill by @jaredwray in #221</li>\n<li>fix: include Docula site in the npm tarball by @jaredwray in #222</li>\n<li>docs: add Drydock review badge to README by @jaredwray in #224</li>\n<li>Deploy the Node server to Wasmer Edge by @jaredwray in #225</li>\n<li>Fix the Wasmer deploy by using a remote build by @jaredwray in #226</li>\n<li>Publish the GitHub Actions build to Wasmer by @jaredwray in #227</li>\n<li>Deploy Wasmer with the Anybuild file by @jaredwray in #228</li>\n<li>docs: rename Hosted Service to MockHttp.org Live by @jaredwray in #230</li>\n<li>docs: add How to Deploy guides for Cloudflare, Docker, and Wasmer by @jaredwray in #229</li>\n</ul>\n<p><strong>Full diff:</strong> <a href=\"https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0\">https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0</a></p>",
|
|
16
|
+
"content_text": "## @jaredwray/mockhttp@2.1.0 — 2026-10-03\r\n\r\nAdd AUTO_DETECT_PORT=false so the process keeps PORT, and include the docs site in the npm package.\r\n\r\n### Features\r\n- Deploy the Node server to Wasmer Edge (#225)\r\n\r\n ```bash\r\n PORT=3000 AUTO_DETECT_PORT=false node dist/index.mjs\r\n ```\r\n\r\n### Bug Fixes\r\n- include Docula site in the npm tarball (#222)\r\n- deploy Wasmer with a remote build (#226)\r\n- deploy Wasmer through the Anybuild file (#228)\r\n\r\n### Documentation\r\n- add Drydock review badge to README (#224)\r\n- rename Hosted Service page to MockHttp.org Live (#230)\r\n- add How to Deploy guides for Cloudflare, Docker, and Wasmer (#229)\r\n\r\n### Internal\r\n- root - defense - close catalog gaps from current skill (#221)\r\n- Publish the GitHub Actions build to Wasmer (#227)\r\n\r\n### Contributors\r\n- @jaredwray (owner)\r\n\r\n### Full List of Changes\r\n- root - chore: defense - close catalog gaps from current skill by @jaredwray in #221\r\n- fix: include Docula site in the npm tarball by @jaredwray in #222\r\n- docs: add Drydock review badge to README by @jaredwray in #224\r\n- Deploy the Node server to Wasmer Edge by @jaredwray in #225\r\n- Fix the Wasmer deploy by using a remote build by @jaredwray in #226\r\n- Publish the GitHub Actions build to Wasmer by @jaredwray in #227\r\n- Deploy Wasmer with the Anybuild file by @jaredwray in #228\r\n- docs: rename Hosted Service to MockHttp.org Live by @jaredwray in #230\r\n- docs: add How to Deploy guides for Cloudflare, Docker, and Wasmer by @jaredwray in #229\r\n\r\n**Full diff:** [https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0](https://github.com/jaredwray/mockhttp/compare/v2.0.0...v2.1.0)",
|
|
17
|
+
"tags": [
|
|
18
|
+
"Release"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
8
21
|
{
|
|
9
22
|
"id": "v2-0-0",
|
|
10
23
|
"title": "v2.0.0",
|
|
@@ -381,19 +394,6 @@
|
|
|
381
394
|
"tags": [
|
|
382
395
|
"Release"
|
|
383
396
|
]
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"id": "v0-1-0",
|
|
387
|
-
"title": "v0.1.0",
|
|
388
|
-
"url": "https://mockhttp.org/changelog/v0-1-0/",
|
|
389
|
-
"date_published": "2024-12-12",
|
|
390
|
-
"date_modified": "2024-12-12",
|
|
391
|
-
"summary": "<ul>\n<li>adding in contributing and code of conduct by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/1\">https://github.com/jaredwray/mockhttp/pull/1</a></li>\n<li>migrating to correct folder format by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/2\">https://github.com/jaredwray/mockhttp/pull/2</a></li>\n<li>adding in logo and favicon by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/3\">https://github.com/jaredwray/mockhttp/pull/3</a></li>\n<li>adding in headers and user-agent endpoints by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/4\">https://github.com/jaredwray/mockhttp/pull/4</a></li>\n<li>moving to scalar by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/5\">https://github.com/jaredwray/mockhttp/pull/5</a></li>\n</ul>",
|
|
392
|
-
"content_html": "<h2 id=\"whats-changed\">What's Changed</h2>\n<ul>\n<li>adding in contributing and code of conduct by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/1\">https://github.com/jaredwray/mockhttp/pull/1</a></li>\n<li>migrating to correct folder format by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/2\">https://github.com/jaredwray/mockhttp/pull/2</a></li>\n<li>adding in logo and favicon by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/3\">https://github.com/jaredwray/mockhttp/pull/3</a></li>\n<li>adding in headers and user-agent endpoints by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/4\">https://github.com/jaredwray/mockhttp/pull/4</a></li>\n<li>moving to scalar by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/5\">https://github.com/jaredwray/mockhttp/pull/5</a></li>\n<li>adding in status codes by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/6\">https://github.com/jaredwray/mockhttp/pull/6</a></li>\n<li>adding in unit tests and workflows by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/7\">https://github.com/jaredwray/mockhttp/pull/7</a></li>\n<li>fixing the title that had an extra space by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/8\">https://github.com/jaredwray/mockhttp/pull/8</a></li>\n<li>moving to scalar locally instead of via CDN by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/9\">https://github.com/jaredwray/mockhttp/pull/9</a></li>\n<li>adding in dynamic version from package.json by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/10\">https://github.com/jaredwray/mockhttp/pull/10</a></li>\n<li>adding in fastify helmet by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/11\">https://github.com/jaredwray/mockhttp/pull/11</a></li>\n<li>upgrading xo to 0.60.0 by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/12\">https://github.com/jaredwray/mockhttp/pull/12</a></li>\n<li>updating build to tsup and upgrading vitest by @jaredwray in <a href=\"https://github.com/jaredwray/mockhttp/pull/13\">https://github.com/jaredwray/mockhttp/pull/13</a></li>\n</ul>\n<h2 id=\"new-contributors\">New Contributors</h2>\n<ul>\n<li>@jaredwray made their first contribution in <a href=\"https://github.com/jaredwray/mockhttp/pull/1\">https://github.com/jaredwray/mockhttp/pull/1</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/jaredwray/mockhttp/commits/v0.1.0\">https://github.com/jaredwray/mockhttp/commits/v0.1.0</a></p>",
|
|
393
|
-
"content_text": "## What's Changed\r\n* adding in contributing and code of conduct by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/1](https://github.com/jaredwray/mockhttp/pull/1)\r\n* migrating to correct folder format by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/2](https://github.com/jaredwray/mockhttp/pull/2)\r\n* adding in logo and favicon by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/3](https://github.com/jaredwray/mockhttp/pull/3)\r\n* adding in headers and user-agent endpoints by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/4](https://github.com/jaredwray/mockhttp/pull/4)\r\n* moving to scalar by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/5](https://github.com/jaredwray/mockhttp/pull/5)\r\n* adding in status codes by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/6](https://github.com/jaredwray/mockhttp/pull/6)\r\n* adding in unit tests and workflows by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/7](https://github.com/jaredwray/mockhttp/pull/7)\r\n* fixing the title that had an extra space by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/8](https://github.com/jaredwray/mockhttp/pull/8)\r\n* moving to scalar locally instead of via CDN by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/9](https://github.com/jaredwray/mockhttp/pull/9)\r\n* adding in dynamic version from package.json by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/10](https://github.com/jaredwray/mockhttp/pull/10)\r\n* adding in fastify helmet by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/11](https://github.com/jaredwray/mockhttp/pull/11)\r\n* upgrading xo to 0.60.0 by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/12](https://github.com/jaredwray/mockhttp/pull/12)\r\n* updating build to tsup and upgrading vitest by @jaredwray in [https://github.com/jaredwray/mockhttp/pull/13](https://github.com/jaredwray/mockhttp/pull/13)\r\n\r\n## New Contributors\r\n* @jaredwray made their first contribution in [https://github.com/jaredwray/mockhttp/pull/1](https://github.com/jaredwray/mockhttp/pull/1)\r\n\r\n**Full Changelog**: [https://github.com/jaredwray/mockhttp/commits/v0.1.0](https://github.com/jaredwray/mockhttp/commits/v0.1.0)",
|
|
394
|
-
"tags": [
|
|
395
|
-
"Release"
|
|
396
|
-
]
|
|
397
397
|
}
|
|
398
398
|
]
|
|
399
399
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
</script>
|
|
36
36
|
<title>MockHTTP - Bins</title>
|
|
37
37
|
<script type="application/ld+json">
|
|
38
|
-
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bins","description":"","url":"https://mockhttp.org/docs/bins/","publisher":{"@type":"Organization","name":"MockHTTP"},"dateModified":"2026-
|
|
38
|
+
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bins","description":"","url":"https://mockhttp.org/docs/bins/","publisher":{"@type":"Organization","name":"MockHTTP"},"dateModified":"2026-10-03","keywords":[]}
|
|
39
39
|
</script>
|
|
40
40
|
</head>
|
|
41
41
|
|
|
@@ -191,7 +191,26 @@
|
|
|
191
191
|
<section class="nav-sidebar__section">
|
|
192
192
|
<ul class="nav-sidebar__list">
|
|
193
193
|
<li>
|
|
194
|
-
<a href="/docs/hosted/" class="nav-sidebar__item">
|
|
194
|
+
<a href="/docs/hosted/" class="nav-sidebar__item">MockHttp.org Live</a>
|
|
195
|
+
</li>
|
|
196
|
+
</ul>
|
|
197
|
+
</section>
|
|
198
|
+
<section class="nav-sidebar__section nav-sidebar__section--collapsible">
|
|
199
|
+
<h2 class="nav-sidebar__title">
|
|
200
|
+
<button type="button" class="nav-sidebar__toggle" aria-expanded="true">
|
|
201
|
+
<span class="nav-sidebar__toggle-label">How to Deploy</span>
|
|
202
|
+
<svg class="nav-sidebar__chevron" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
|
|
203
|
+
</button>
|
|
204
|
+
</h2>
|
|
205
|
+
<ul class="nav-sidebar__list">
|
|
206
|
+
<li>
|
|
207
|
+
<a href="/docs/how-to-deploy/cloudflare/" class="nav-sidebar__item">Cloudflare</a>
|
|
208
|
+
</li>
|
|
209
|
+
<li>
|
|
210
|
+
<a href="/docs/how-to-deploy/docker/" class="nav-sidebar__item">Docker</a>
|
|
211
|
+
</li>
|
|
212
|
+
<li>
|
|
213
|
+
<a href="/docs/how-to-deploy/wasmer/" class="nav-sidebar__item">Wasmer</a>
|
|
195
214
|
</li>
|
|
196
215
|
</ul>
|
|
197
216
|
</section>
|
|
@@ -244,7 +263,26 @@
|
|
|
244
263
|
<section class="nav-sidebar__section">
|
|
245
264
|
<ul class="nav-sidebar__list">
|
|
246
265
|
<li>
|
|
247
|
-
<a href="/docs/hosted/" class="nav-sidebar__item">
|
|
266
|
+
<a href="/docs/hosted/" class="nav-sidebar__item">MockHttp.org Live</a>
|
|
267
|
+
</li>
|
|
268
|
+
</ul>
|
|
269
|
+
</section>
|
|
270
|
+
<section class="nav-sidebar__section nav-sidebar__section--collapsible">
|
|
271
|
+
<h2 class="nav-sidebar__title">
|
|
272
|
+
<button type="button" class="nav-sidebar__toggle" aria-expanded="true">
|
|
273
|
+
<span class="nav-sidebar__toggle-label">How to Deploy</span>
|
|
274
|
+
<svg class="nav-sidebar__chevron" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
|
|
275
|
+
</button>
|
|
276
|
+
</h2>
|
|
277
|
+
<ul class="nav-sidebar__list">
|
|
278
|
+
<li>
|
|
279
|
+
<a href="/docs/how-to-deploy/cloudflare/" class="nav-sidebar__item">Cloudflare</a>
|
|
280
|
+
</li>
|
|
281
|
+
<li>
|
|
282
|
+
<a href="/docs/how-to-deploy/docker/" class="nav-sidebar__item">Docker</a>
|
|
283
|
+
</li>
|
|
284
|
+
<li>
|
|
285
|
+
<a href="/docs/how-to-deploy/wasmer/" class="nav-sidebar__item">Wasmer</a>
|
|
248
286
|
</li>
|
|
249
287
|
</ul>
|
|
250
288
|
</section>
|
|
@@ -677,7 +715,7 @@ mock.<span class="hljs-property">bins</span> = <span class="hljs-keyword">new</s
|
|
|
677
715
|
<a href="https://docula.org/" target="_blank" rel="noopener noreferrer" class="footer__link" aria-label="Docula">
|
|
678
716
|
<svg class="footer__bat" xmlns="http://www.w3.org/2000/svg" viewBox="70 110 360 205" fill="currentColor"><path d="M420,173c-16.76-18-72.78-36.65-131.59-30.58A160.15,160.15,0,0,0,269,120.55c-3.78,4.52-11.15,9.45-19,9.45s-15.23-4.93-19-9.45a160.15,160.15,0,0,0-19.4,21.83C152.78,136.31,96.76,154.94,80,173c48.86,5.86,79.5,34.09,79.5,72.06,52.37,0,77,28,90.5,59.94C263.54,273,288.13,245,340.5,245,340.5,207,371.14,178.8,420,173Z"/><circle cx="239.19" cy="145.36" r="3.32" fill="#fff"/><circle cx="260.81" cy="145.36" r="3.32" fill="#fff"/></svg>
|
|
679
717
|
</a>
|
|
680
|
-
<span class="footer__updated">updated: 2026-
|
|
718
|
+
<span class="footer__updated">updated: 2026-10-03</span>
|
|
681
719
|
</footer>
|
|
682
720
|
<script src="/css/highlight/highlight.min.js"></script>
|
|
683
721
|
<script>
|