miniflare 2.14.1 → 2.14.2

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 (2) hide show
  1. package/README.md +22 -4
  2. package/package.json +21 -21
package/README.md CHANGED
@@ -1,4 +1,22 @@
1
- # 🔥 Miniflare
1
+ > [!WARNING]
2
+ >
3
+ > This repository is for [Miniflare 2](https://legacy.miniflare.dev/), which is
4
+ > **only receiving critical security updates.** Miniflare 2 simulated the
5
+ > Workers runtime and the rest of the Cloudflare developer platform using
6
+ > Node.js. New versions of Miniflare can be found in the
7
+ > [`workers-sdk`](https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare)
8
+ > repository, and use the
9
+ > [open-sourced](https://blog.cloudflare.com/workerd-open-source-workers-runtime/)
10
+ > Workers runtime [`workerd`](https://github.com/cloudflare/workerd). This
11
+ > practically eliminates behaviour mismatches between development and production
12
+ > deployments. We recommend you
13
+ > [migrate to Miniflare 3](https://miniflare.dev/get-started/migrating) now if
14
+ > you can. Whilst Miniflare 3 supports most of Miniflare 2's features, one key
15
+ > omission is the unit testing environment. We're actively working on adding
16
+ > support for this to Miniflare 3. Once this is supported, we're planning to
17
+ > deprecate Miniflare 2 and archive this repository.
18
+
19
+ # 🔥 Miniflare 2
2
20
 
3
21
  **Miniflare** is a simulator for developing and testing
4
22
  [**Cloudflare Workers**](https://workers.cloudflare.com/).
@@ -13,7 +31,7 @@
13
31
  It's an alternative to `wrangler dev`, written in TypeScript, that runs your
14
32
  workers in a sandbox implementing Workers' runtime APIs.
15
33
 
16
- **See <https://miniflare.dev> for more detailed documentation.**
34
+ **See <https://legacy.miniflare.dev> for more detailed documentation.**
17
35
 
18
36
  ## Features
19
37
 
@@ -43,8 +61,8 @@ workers in a sandbox implementing Workers' runtime APIs.
43
61
  Miniflare is installed using npm:
44
62
 
45
63
  ```sh
46
- $ npm install -g miniflare # either globally..
47
- $ npm install -D miniflare # ...or as a dev dependency
64
+ $ npm install -g miniflare@2 # either globally..
65
+ $ npm install -D miniflare@2 # ...or as a dev dependency
48
66
  ```
49
67
 
50
68
  ## Using the CLI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miniflare",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
4
4
  "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -46,35 +46,35 @@
46
46
  "miniflare": "bootstrap.js"
47
47
  },
48
48
  "dependencies": {
49
- "@miniflare/cache": "2.14.1",
50
- "@miniflare/cli-parser": "2.14.1",
51
- "@miniflare/core": "2.14.1",
52
- "@miniflare/durable-objects": "2.14.1",
53
- "@miniflare/html-rewriter": "2.14.1",
54
- "@miniflare/http-server": "2.14.1",
55
- "@miniflare/kv": "2.14.1",
56
- "@miniflare/d1": "2.14.1",
57
- "@miniflare/queues": "2.14.1",
58
- "@miniflare/r2": "2.14.1",
59
- "@miniflare/runner-vm": "2.14.1",
60
- "@miniflare/scheduler": "2.14.1",
61
- "@miniflare/shared": "2.14.1",
62
- "@miniflare/sites": "2.14.1",
63
- "@miniflare/storage-file": "2.14.1",
64
- "@miniflare/storage-memory": "2.14.1",
65
- "@miniflare/web-sockets": "2.14.1",
49
+ "@miniflare/cache": "2.14.2",
50
+ "@miniflare/cli-parser": "2.14.2",
51
+ "@miniflare/core": "2.14.2",
52
+ "@miniflare/durable-objects": "2.14.2",
53
+ "@miniflare/html-rewriter": "2.14.2",
54
+ "@miniflare/http-server": "2.14.2",
55
+ "@miniflare/kv": "2.14.2",
56
+ "@miniflare/d1": "2.14.2",
57
+ "@miniflare/queues": "2.14.2",
58
+ "@miniflare/r2": "2.14.2",
59
+ "@miniflare/runner-vm": "2.14.2",
60
+ "@miniflare/scheduler": "2.14.2",
61
+ "@miniflare/shared": "2.14.2",
62
+ "@miniflare/sites": "2.14.2",
63
+ "@miniflare/storage-file": "2.14.2",
64
+ "@miniflare/storage-memory": "2.14.2",
65
+ "@miniflare/web-sockets": "2.14.2",
66
66
  "kleur": "^4.1.4",
67
67
  "semiver": "^1.1.0",
68
68
  "source-map-support": "^0.5.20",
69
- "undici": "5.20.0"
69
+ "undici": "5.28.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@miniflare/shared-test": "2.14.1",
72
+ "@miniflare/shared-test": "2.14.2",
73
73
  "@types/source-map-support": "^0.5.4",
74
74
  "open": "^8.4.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "@miniflare/storage-redis": "2.14.1",
77
+ "@miniflare/storage-redis": "2.14.2",
78
78
  "cron-schedule": "^3.0.4",
79
79
  "ioredis": "^4.27.9"
80
80
  },