Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

miniflare

Package Overview
Dependencies
Maintainers
1
Versions
452
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miniflare - npm Package Compare versions

Comparing version 2.0.0-rc.5 to 2.0.0

2

dist/src/cli.js

@@ -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();

38

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc