miniflare
Advanced tools
Comparing version 2.7.1 to 2.8.0
@@ -390,3 +390,3 @@ #!/usr/bin/env node | ||
const warningString = warning.toString(); | ||
if (warningString.startsWith("VM Modules") || warningString.startsWith("stream/web") || warningString.startsWith("buffer.Blob")) { | ||
if (warningString.startsWith("VM Modules") || warningString.startsWith("stream/web") || warningString.startsWith("buffer.Blob") || warningString.startsWith("The Ed25519")) { | ||
return; | ||
@@ -393,0 +393,0 @@ } |
@@ -26,2 +26,3 @@ /// <reference types="node" /> | ||
import { MiniflareCoreOptions } from '@miniflare/core'; | ||
import { QueuesPlugin } from '@miniflare/queues'; | ||
import { R2Bucket } from '@miniflare/r2'; | ||
@@ -75,2 +76,3 @@ import { R2Plugin } from '@miniflare/r2'; | ||
SitesPlugin: typeof SitesPlugin; | ||
QueuesPlugin: typeof QueuesPlugin; | ||
HTMLRewriterPlugin: typeof HTMLRewriterPlugin; | ||
@@ -77,0 +79,0 @@ WebSocketPlugin: typeof WebSocketPlugin; |
@@ -45,2 +45,4 @@ var __create = Object.create; | ||
var import_kv = __toModule(require("@miniflare/kv")); | ||
var import_queues = __toModule(require("@miniflare/queues")); | ||
var import_queues2 = __toModule(require("@miniflare/queues")); | ||
var import_r2 = __toModule(require("@miniflare/r2")); | ||
@@ -124,2 +126,3 @@ var import_runner_vm = __toModule(require("@miniflare/runner-vm")); | ||
SitesPlugin: import_sites.SitesPlugin, | ||
QueuesPlugin: import_queues.QueuesPlugin, | ||
HTMLRewriterPlugin: import_html_rewriter.HTMLRewriterPlugin, | ||
@@ -135,6 +138,9 @@ WebSocketPlugin: import_web_sockets.WebSocketPlugin, | ||
} | ||
const log = options?.log ?? new import_shared2.NoOpLog(); | ||
const storageFactory = new VariedStorageFactory(); | ||
const queueBroker = new import_queues2.QueueBroker(log); | ||
super(PLUGINS, { | ||
log: options?.log ?? new import_shared2.NoOpLog(), | ||
log, | ||
storageFactory, | ||
queueBroker, | ||
scriptRunner: new import_runner_vm.VMScriptRunner(), | ||
@@ -141,0 +147,0 @@ scriptRequired: options?.scriptRequired ?? true |
{ | ||
"name": "miniflare", | ||
"version": "2.7.1", | ||
"version": "2.8.0", | ||
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -49,17 +49,17 @@ "keywords": [ | ||
"dependencies": { | ||
"@miniflare/cache": "2.7.1", | ||
"@miniflare/cli-parser": "2.7.1", | ||
"@miniflare/core": "2.7.1", | ||
"@miniflare/durable-objects": "2.7.1", | ||
"@miniflare/html-rewriter": "2.7.1", | ||
"@miniflare/http-server": "2.7.1", | ||
"@miniflare/kv": "2.7.1", | ||
"@miniflare/r2": "2.7.1", | ||
"@miniflare/runner-vm": "2.7.1", | ||
"@miniflare/scheduler": "2.7.1", | ||
"@miniflare/shared": "2.7.1", | ||
"@miniflare/sites": "2.7.1", | ||
"@miniflare/storage-file": "2.7.1", | ||
"@miniflare/storage-memory": "2.7.1", | ||
"@miniflare/web-sockets": "2.7.1", | ||
"@miniflare/cache": "2.8.0", | ||
"@miniflare/cli-parser": "2.8.0", | ||
"@miniflare/core": "2.8.0", | ||
"@miniflare/durable-objects": "2.8.0", | ||
"@miniflare/html-rewriter": "2.8.0", | ||
"@miniflare/http-server": "2.8.0", | ||
"@miniflare/kv": "2.8.0", | ||
"@miniflare/r2": "2.8.0", | ||
"@miniflare/runner-vm": "2.8.0", | ||
"@miniflare/scheduler": "2.8.0", | ||
"@miniflare/shared": "2.8.0", | ||
"@miniflare/sites": "2.8.0", | ||
"@miniflare/storage-file": "2.8.0", | ||
"@miniflare/storage-memory": "2.8.0", | ||
"@miniflare/web-sockets": "2.8.0", | ||
"kleur": "^4.1.4", | ||
@@ -71,3 +71,3 @@ "semiver": "^1.1.0", | ||
"devDependencies": { | ||
"@miniflare/shared-test": "2.7.1", | ||
"@miniflare/shared-test": "2.8.0", | ||
"@types/source-map-support": "^0.5.4", | ||
@@ -77,3 +77,3 @@ "open": "^8.4.0" | ||
"peerDependencies": { | ||
"@miniflare/storage-redis": "2.7.1", | ||
"@miniflare/storage-redis": "2.8.0", | ||
"cron-schedule": "^3.0.4", | ||
@@ -80,0 +80,0 @@ "ioredis": "^4.27.9" |
@@ -109,2 +109,3 @@ # ๐ฅ Miniflare | ||
--actual-time Always return correct time from Date methods [boolean] | ||
--inaccurate-cpu Log inaccurate CPU time measurements [boolean] | ||
@@ -111,0 +112,0 @@ HTTP Options: |
Sorry, the diff of this file is not supported yet
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
54534
873
179
+ Added@miniflare/cache@2.8.0(transitive)
+ Added@miniflare/cli-parser@2.8.0(transitive)
+ Added@miniflare/core@2.8.0(transitive)
+ Added@miniflare/durable-objects@2.8.0(transitive)
+ Added@miniflare/html-rewriter@2.8.0(transitive)
+ Added@miniflare/http-server@2.8.0(transitive)
+ Added@miniflare/kv@2.8.0(transitive)
+ Added@miniflare/r2@2.8.0(transitive)
+ Added@miniflare/runner-vm@2.8.0(transitive)
+ Added@miniflare/scheduler@2.8.0(transitive)
+ Added@miniflare/shared@2.8.0(transitive)
+ Added@miniflare/sites@2.8.0(transitive)
+ Added@miniflare/storage-file@2.8.0(transitive)
+ Added@miniflare/storage-memory@2.8.0(transitive)
+ Added@miniflare/storage-redis@2.8.0(transitive)
+ Added@miniflare/watcher@2.8.0(transitive)
+ Added@miniflare/web-sockets@2.8.0(transitive)
- Removed@miniflare/cache@2.7.1(transitive)
- Removed@miniflare/cli-parser@2.7.1(transitive)
- Removed@miniflare/core@2.7.1(transitive)
- Removed@miniflare/durable-objects@2.7.1(transitive)
- Removed@miniflare/html-rewriter@2.7.1(transitive)
- Removed@miniflare/http-server@2.7.1(transitive)
- Removed@miniflare/kv@2.7.1(transitive)
- Removed@miniflare/r2@2.7.1(transitive)
- Removed@miniflare/runner-vm@2.7.1(transitive)
- Removed@miniflare/scheduler@2.7.1(transitive)
- Removed@miniflare/shared@2.7.1(transitive)
- Removed@miniflare/sites@2.7.1(transitive)
- Removed@miniflare/storage-file@2.7.1(transitive)
- Removed@miniflare/storage-memory@2.7.1(transitive)
- Removed@miniflare/storage-redis@2.7.1(transitive)
- Removed@miniflare/watcher@2.7.1(transitive)
- Removed@miniflare/web-sockets@2.7.1(transitive)
Updated@miniflare/cache@2.8.0
Updated@miniflare/cli-parser@2.8.0
Updated@miniflare/core@2.8.0
Updated@miniflare/http-server@2.8.0
Updated@miniflare/kv@2.8.0
Updated@miniflare/r2@2.8.0
Updated@miniflare/runner-vm@2.8.0
Updated@miniflare/scheduler@2.8.0
Updated@miniflare/shared@2.8.0
Updated@miniflare/sites@2.8.0
Updated@miniflare/web-sockets@2.8.0