miniflare
Advanced tools
Comparing version 2.0.0-rc.5 to 2.0.0
@@ -450,4 +450,2 @@ #!/usr/bin/env node | ||
mf.log.error(e); | ||
if (e.cause) | ||
mf.log.error(e.cause); | ||
process.exitCode = 1; | ||
@@ -454,0 +452,0 @@ await mf.dispose(); |
{ | ||
"name": "miniflare", | ||
"version": "2.0.0-rc.5", | ||
"version": "2.0.0", | ||
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -49,24 +49,24 @@ "keywords": [ | ||
"dependencies": { | ||
"@miniflare/cache": "2.0.0-rc.5", | ||
"@miniflare/cli-parser": "2.0.0-rc.5", | ||
"@miniflare/core": "2.0.0-rc.5", | ||
"@miniflare/durable-objects": "2.0.0-rc.5", | ||
"@miniflare/html-rewriter": "2.0.0-rc.5", | ||
"@miniflare/http-server": "2.0.0-rc.5", | ||
"@miniflare/kv": "2.0.0-rc.5", | ||
"@miniflare/runner-vm": "2.0.0-rc.5", | ||
"@miniflare/scheduler": "2.0.0-rc.5", | ||
"@miniflare/shared": "2.0.0-rc.5", | ||
"@miniflare/sites": "2.0.0-rc.5", | ||
"@miniflare/storage-file": "2.0.0-rc.5", | ||
"@miniflare/storage-memory": "2.0.0-rc.5", | ||
"@miniflare/watcher": "2.0.0-rc.5", | ||
"@miniflare/web-sockets": "2.0.0-rc.5", | ||
"@miniflare/cache": "2.0.0", | ||
"@miniflare/cli-parser": "2.0.0", | ||
"@miniflare/core": "2.0.0", | ||
"@miniflare/durable-objects": "2.0.0", | ||
"@miniflare/html-rewriter": "2.0.0", | ||
"@miniflare/http-server": "2.0.0", | ||
"@miniflare/kv": "2.0.0", | ||
"@miniflare/runner-vm": "2.0.0", | ||
"@miniflare/scheduler": "2.0.0", | ||
"@miniflare/shared": "2.0.0", | ||
"@miniflare/sites": "2.0.0", | ||
"@miniflare/storage-file": "2.0.0", | ||
"@miniflare/storage-memory": "2.0.0", | ||
"@miniflare/watcher": "2.0.0", | ||
"@miniflare/web-sockets": "2.0.0", | ||
"kleur": "^4.1.4", | ||
"semiver": "^1.1.0", | ||
"source-map-support": "^0.5.20", | ||
"undici": "^4.11.1" | ||
"undici": "4.12.1" | ||
}, | ||
"devDependencies": { | ||
"@miniflare/shared-test": "2.0.0-rc.5", | ||
"@miniflare/shared-test": "2.0.0", | ||
"@types/source-map-support": "^0.5.4", | ||
@@ -76,3 +76,3 @@ "open": "^8.4.0" | ||
"peerDependencies": { | ||
"@miniflare/storage-redis": "2.0.0-rc.5", | ||
"@miniflare/storage-redis": "2.0.0", | ||
"cron-schedule": "^3.0.4", | ||
@@ -79,0 +79,0 @@ "ioredis": "^4.27.9" |
@@ -16,26 +16,4 @@ # ๐ฅ Miniflare | ||
**See <https://v2.miniflare.dev> for more detailed documentation.** | ||
**See <https://miniflare.dev> for more detailed documentation.** | ||
--- | ||
> โ ๏ธ This branch is for the next major version of Miniflare, which is under | ||
> development. | ||
Miniflare 2 has been completely redesigned from version 1 with 3 primary design | ||
goals: | ||
1. ๐ **Modular:** Miniflare 2 splits Workers components (KV, Durable Objects, | ||
etc.) into **separate packages** (`@miniflare/kv`, | ||
`@miniflare/durable-objects`, etc.) that you can import separately for | ||
testing. | ||
2. โจ **Lightweight:** Miniflare 1 included | ||
[122 third-party packages](http://npm.anvaka.com/#/view/2d/miniflare) with a | ||
total install size of `88MB`. Miniflare 2 reduces this to **23 packages and | ||
`6MB`** ๐คฏ. | ||
3. โ **Accurate:** Miniflare 2 more accurately replicates the quirks and thrown | ||
errors of the real Workers runtime, so you'll know before you deploy if | ||
things are going to break. | ||
--- | ||
## Features | ||
@@ -68,4 +46,4 @@ | ||
```sh | ||
$ npm install -g miniflare@next # either globally.. | ||
$ npm install -D miniflare@next # ...or as a dev dependency | ||
$ npm install -g miniflare # either globally.. | ||
$ npm install -D miniflare # ...or as a dev dependency | ||
``` | ||
@@ -129,3 +107,2 @@ | ||
--global-random Allow secure random generation outside handlers [boolean] | ||
--proxy-primitive Proxy primitives' instanceof (for WASM) [boolean] | ||
@@ -179,2 +156,4 @@ HTTP Options: | ||
Miniflare was created by [Brendan Coll](https://github.com/mrbbot). | ||
Many thanks to | ||
@@ -190,2 +169,2 @@ [dollarshaveclub/cloudworker](https://github.com/dollarshaveclub/cloudworker) | ||
Thanks to [Alistair O'Brien](https://github.com/johnyob) for helping the | ||
Miniflare author understand this. | ||
Miniflare creator understand this. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
50458
809
166
+ Added@miniflare/cache@2.0.0(transitive)
+ Added@miniflare/cli-parser@2.0.0(transitive)
+ Added@miniflare/core@2.0.0(transitive)
+ Added@miniflare/durable-objects@2.0.0(transitive)
+ Added@miniflare/html-rewriter@2.0.0(transitive)
+ Added@miniflare/http-server@2.0.0(transitive)
+ Added@miniflare/kv@2.0.0(transitive)
+ Added@miniflare/runner-vm@2.0.0(transitive)
+ Added@miniflare/scheduler@2.0.0(transitive)
+ Added@miniflare/shared@2.0.0(transitive)
+ Added@miniflare/sites@2.0.0(transitive)
+ Added@miniflare/storage-file@2.0.0(transitive)
+ Added@miniflare/storage-memory@2.0.0(transitive)
+ Added@miniflare/storage-redis@2.0.0(transitive)
+ Added@miniflare/watcher@2.0.0(transitive)
+ Added@miniflare/web-sockets@2.0.0(transitive)
+ Addedundici@4.12.1(transitive)
- Removed@miniflare/cache@2.0.0-rc.5(transitive)
- Removed@miniflare/cli-parser@2.0.0-rc.5(transitive)
- Removed@miniflare/core@2.0.0-rc.5(transitive)
- Removed@miniflare/durable-objects@2.0.0-rc.5(transitive)
- Removed@miniflare/html-rewriter@2.0.0-rc.5(transitive)
- Removed@miniflare/http-server@2.0.0-rc.5(transitive)
- Removed@miniflare/kv@2.0.0-rc.5(transitive)
- Removed@miniflare/runner-vm@2.0.0-rc.5(transitive)
- Removed@miniflare/scheduler@2.0.0-rc.5(transitive)
- Removed@miniflare/shared@2.0.0-rc.5(transitive)
- Removed@miniflare/sites@2.0.0-rc.5(transitive)
- Removed@miniflare/storage-file@2.0.0-rc.5(transitive)
- Removed@miniflare/storage-memory@2.0.0-rc.5(transitive)
- Removed@miniflare/storage-redis@2.0.0-rc.5(transitive)
- Removed@miniflare/watcher@2.0.0-rc.5(transitive)
- Removed@miniflare/web-sockets@2.0.0-rc.5(transitive)
- Removedundici@4.16.0(transitive)
Updated@miniflare/cache@2.0.0
Updated@miniflare/cli-parser@2.0.0
Updated@miniflare/core@2.0.0
Updated@miniflare/http-server@2.0.0
Updated@miniflare/kv@2.0.0
Updated@miniflare/runner-vm@2.0.0
Updated@miniflare/scheduler@2.0.0
Updated@miniflare/shared@2.0.0
Updated@miniflare/sites@2.0.0
Updated@miniflare/watcher@2.0.0
Updated@miniflare/web-sockets@2.0.0
Updatedundici@4.12.1