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.2 to 2.0.0-rc.3

1

dist/src/cli.js

@@ -111,2 +111,3 @@ #!/usr/bin/env node

process.exitCode = 1;
await mf.dispose();
return;

@@ -113,0 +114,0 @@ }

6

dist/src/index.d.ts

@@ -6,3 +6,3 @@ /// <reference types="node" />

import { CachePlugin } from '@miniflare/cache';
import { CacheStorage as CacheStorage_2 } from '@miniflare/cache';
import { CacheStorage } from '@miniflare/cache';
import { CorePlugin } from '@miniflare/core';

@@ -41,3 +41,3 @@ import { DurableObjectId } from '@miniflare/durable-objects';

getKVNamespace(namespace: string): Promise<KVNamespace>;
getCaches(): Promise<CacheStorage_2>;
getCaches(): Promise<CacheStorage>;
getDurableObjectNamespace(objectName: string): Promise<DurableObjectNamespace>;

@@ -50,3 +50,3 @@ getDurableObjectStorage(id: DurableObjectId): Promise<DurableObjectStorage>;

export declare type MiniflareOptions = Omit<MiniflareCoreOptions<Plugins>, "debug" | "verbose"> & {
export declare type MiniflareOptions = Omit<MiniflareCoreOptions<Plugins>, "debug" | "verbose" | "updateCheck"> & {
log?: Log;

@@ -53,0 +53,0 @@ sourceMap?: boolean;

{
"name": "miniflare",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -49,28 +49,28 @@ "keywords": [

"dependencies": {
"@miniflare/cache": "2.0.0-rc.2",
"@miniflare/cli-parser": "2.0.0-rc.2",
"@miniflare/core": "2.0.0-rc.2",
"@miniflare/durable-objects": "2.0.0-rc.2",
"@miniflare/html-rewriter": "2.0.0-rc.2",
"@miniflare/http-server": "2.0.0-rc.2",
"@miniflare/kv": "2.0.0-rc.2",
"@miniflare/runner-vm": "2.0.0-rc.2",
"@miniflare/scheduler": "2.0.0-rc.2",
"@miniflare/shared": "2.0.0-rc.2",
"@miniflare/sites": "2.0.0-rc.2",
"@miniflare/storage-file": "2.0.0-rc.2",
"@miniflare/storage-memory": "2.0.0-rc.2",
"@miniflare/watcher": "2.0.0-rc.2",
"@miniflare/web-sockets": "2.0.0-rc.2",
"@miniflare/cache": "2.0.0-rc.3",
"@miniflare/cli-parser": "2.0.0-rc.3",
"@miniflare/core": "2.0.0-rc.3",
"@miniflare/durable-objects": "2.0.0-rc.3",
"@miniflare/html-rewriter": "2.0.0-rc.3",
"@miniflare/http-server": "2.0.0-rc.3",
"@miniflare/kv": "2.0.0-rc.3",
"@miniflare/runner-vm": "2.0.0-rc.3",
"@miniflare/scheduler": "2.0.0-rc.3",
"@miniflare/shared": "2.0.0-rc.3",
"@miniflare/sites": "2.0.0-rc.3",
"@miniflare/storage-file": "2.0.0-rc.3",
"@miniflare/storage-memory": "2.0.0-rc.3",
"@miniflare/watcher": "2.0.0-rc.3",
"@miniflare/web-sockets": "2.0.0-rc.3",
"kleur": "^4.1.4",
"semiver": "^1.1.0",
"source-map-support": "^0.5.20",
"undici": "^4.10.2"
"undici": "^4.11.1"
},
"devDependencies": {
"@miniflare/shared-test": "2.0.0-rc.2",
"@miniflare/shared-test": "2.0.0-rc.3",
"@types/source-map-support": "^0.5.4"
},
"peerDependencies": {
"@miniflare/storage-redis": "2.0.0-rc.2",
"@miniflare/storage-redis": "2.0.0-rc.3",
"cron-schedule": "^3.0.4",

@@ -77,0 +77,0 @@ "ioredis": "^4.27.9"

@@ -56,3 +56,6 @@ # ๐Ÿ”ฅ Miniflare

- ๐Ÿ“„ HTMLRewriter
- ๐Ÿ‘€ Automatic Reload on File Changes
- โšก๏ธ Live Reload on File Changes
- ๐Ÿ“… Compatibility Dates/Flags Support
- ๐Ÿ”Œ Multiple Workers Support
- ๐Ÿคน Custom Jest Environment (with isolated per-test storage)
- ๐Ÿ’ช Written in TypeScript

@@ -118,4 +121,4 @@

--(no-)update-check Enable update checker (enabled by default) [boolean]
--root Path to resolve default config files relative to [string]
--mount Mount additional named workers [array:NAME=PATH]
--root Path to resolve files relative to [string]
--mount Mount additional named workers [array:NAME=PATH[@ENV]]

@@ -147,3 +150,3 @@ HTTP Options:

Durable Objects Options:
-o, --do Durable Object to bind [array:NAME=CLASS]
-o, --do Durable Object to bind [array:NAME=CLASS[@MOUNT]]
--do-persist Persist Durable Object data (to optional path) [boolean/string]

@@ -150,0 +153,0 @@

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