MrBBot

Results 40 issues of MrBBot

This PR adds Web Streams (provided by [`web-streams-polyfill`](https://www.npmjs.com/package/web-streams-polyfill)) to workers' scope and adds `ReadableStream`support to KV `get`, `getWithMetadata` and `put` functions. It also switches to using the [`@titelmedia/node-fetch`](https://www.npmjs.com/package/@titelmedia/node-fetch) fork of...

When using the Node REPL programatically, a history file is not initialised by default. This requires calling the [`setupHistory`](https://nodejs.org/api/repl.html#replserversetuphistoryhistorypath-callback) function. We should also respect similar [environment variables](https://nodejs.org/api/repl.html#environment-variable-options) to Node.

enhancement

https://blog.cloudflare.com/introducing-d1/

new api

If a key *exists* in the cache, Miniflare will always return the matching `Response` on `match()`. This is not always correct: we should be calling [`satisfiesWithoutRevalidation`](https://www.npmjs.com/package/http-cache-semantics#satisfieswithoutrevalidationnewrequest) from [`http-cache-semantics`](https://www.npmjs.com/package/http-cache-semantics) first. There...

bug

https://blog.cloudflare.com/announcing-route-to-workers/

new api

https://blog.cloudflare.com/workers-analytics-engine/

new api

Tracking issue for using the open-source Workers runtime announced [here](https://blog.cloudflare.com/workers-open-source-announcement/) in the implementation of `--local` mode. - [ ] cloudflare/miniflare#366 - [ ] cloudflare/miniflare#367 - [ ] cloudflare/miniflare#368 - [x]...

enhancement
big idea
internal
chunky

The open-source runtime now supports macOS natively, so we don't need to use Docker anymore. 🎉 We may be able to completely remove `DockerRuntime` tbh, as WSL is probably better...

Previously passing `compatibilityDate: undefined` or `compatibilityFlags: undefined` would throw. This is because the `undefined`s would make it to the `encodeCapnpStruct` function: https://github.com/cloudflare/miniflare/blob/b0e1d06d32e1f6ff8f809d3b8180e5f17494732a/packages/tre/src/plugins/core/index.ts#L172-L173 `encodeCapnpStruct` distinguishes between `{ compatibilityDate: undefined }` and...

This PR adds support for the `siteInclude`/`siteExclude` options by adding additional logic to the `__STATIC_CONTENT` KV namespace service. It also populates `__STATIC_CONTENT_MANIFEST` using the same process recently added to Miniflare...