miniflare
Advanced tools
Comparing version 2.0.0-rc.2 to 2.0.0-rc.3
@@ -111,2 +111,3 @@ #!/usr/bin/env node | ||
process.exitCode = 1; | ||
await mf.dispose(); | ||
return; | ||
@@ -113,0 +114,0 @@ } |
@@ -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
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
30434
424
180
+ Added@miniflare/cache@2.0.0-rc.3(transitive)
+ Added@miniflare/cli-parser@2.0.0-rc.3(transitive)
+ Added@miniflare/core@2.0.0-rc.3(transitive)
+ Added@miniflare/durable-objects@2.0.0-rc.3(transitive)
+ Added@miniflare/html-rewriter@2.0.0-rc.3(transitive)
+ Added@miniflare/http-server@2.0.0-rc.3(transitive)
+ Added@miniflare/kv@2.0.0-rc.3(transitive)
+ Added@miniflare/runner-vm@2.0.0-rc.3(transitive)
+ Added@miniflare/scheduler@2.0.0-rc.3(transitive)
+ Added@miniflare/shared@2.0.0-rc.3(transitive)
+ Added@miniflare/sites@2.0.0-rc.3(transitive)
+ Added@miniflare/storage-file@2.0.0-rc.3(transitive)
+ Added@miniflare/storage-memory@2.0.0-rc.3(transitive)
+ Added@miniflare/storage-redis@2.0.0-rc.3(transitive)
+ Added@miniflare/watcher@2.0.0-rc.3(transitive)
+ Added@miniflare/web-sockets@2.0.0-rc.3(transitive)
- Removed@miniflare/cache@2.0.0-rc.2(transitive)
- Removed@miniflare/cli-parser@2.0.0-rc.2(transitive)
- Removed@miniflare/core@2.0.0-rc.2(transitive)
- Removed@miniflare/durable-objects@2.0.0-rc.2(transitive)
- Removed@miniflare/html-rewriter@2.0.0-rc.2(transitive)
- Removed@miniflare/http-server@2.0.0-rc.2(transitive)
- Removed@miniflare/kv@2.0.0-rc.2(transitive)
- Removed@miniflare/runner-vm@2.0.0-rc.2(transitive)
- Removed@miniflare/scheduler@2.0.0-rc.2(transitive)
- Removed@miniflare/shared@2.0.0-rc.2(transitive)
- Removed@miniflare/sites@2.0.0-rc.2(transitive)
- Removed@miniflare/storage-file@2.0.0-rc.2(transitive)
- Removed@miniflare/storage-memory@2.0.0-rc.2(transitive)
- Removed@miniflare/storage-redis@2.0.0-rc.2(transitive)
- Removed@miniflare/watcher@2.0.0-rc.2(transitive)
- Removed@miniflare/web-sockets@2.0.0-rc.2(transitive)
Updated@miniflare/cache@2.0.0-rc.3
Updated@miniflare/core@2.0.0-rc.3
Updated@miniflare/kv@2.0.0-rc.3
Updated@miniflare/shared@2.0.0-rc.3
Updated@miniflare/sites@2.0.0-rc.3
Updatedundici@^4.11.1