@miniflare/core
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -9,2 +9,3 @@ /// <reference types="node" /> | ||
import { Context } from '@miniflare/shared'; | ||
import { Dispatcher } from 'undici'; | ||
import { FormData } from 'undici'; | ||
@@ -16,2 +17,3 @@ import { Headers } from 'undici'; | ||
import { MiniflareError } from '@miniflare/shared'; | ||
import { MockAgent } from 'undici'; | ||
import { ModuleRule } from '@miniflare/shared'; | ||
@@ -178,2 +180,3 @@ import { Mount } from '@miniflare/shared'; | ||
logUnhandledRejections?: boolean; | ||
fetchMock?: MockAgent; | ||
globalAsyncIO?: boolean; | ||
@@ -208,2 +211,3 @@ globalTimers?: boolean; | ||
logUnhandledRejections?: boolean; | ||
fetchMock?: MockAgent; | ||
globalAsyncIO?: boolean; | ||
@@ -225,6 +229,8 @@ globalTimers?: boolean; | ||
export declare function createCrypto(blockGlobalRandom?: boolean): typeof webcrypto; | ||
export declare function createCrypto(blockGlobalRandom?: boolean): WorkerCrypto; | ||
export declare function createDate(actualTime?: boolean): typeof Date; | ||
export declare function createFetchMock(): MockAgent<MockAgent.Options>; | ||
export declare function createTimer<Return>(func: TimerFunction<Return>, blockGlobalTimers?: boolean): TimerFunction<Return>; | ||
@@ -240,3 +246,3 @@ | ||
readonly digest: Promise<ArrayBuffer>; | ||
constructor(algorithm: AlgorithmIdentifier); | ||
constructor(algorithm: webcrypto.AlgorithmIdentifier); | ||
} | ||
@@ -310,3 +316,3 @@ | ||
export declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>; | ||
export declare function fetch(this: Dispatcher | void, input: RequestInfo, init?: RequestInit): Promise<Response>; | ||
@@ -705,2 +711,6 @@ export declare class Fetcher { | ||
export declare type WorkerCrypto = typeof webcrypto & { | ||
DigestStream: typeof DigestStream; | ||
}; | ||
export declare class WorkerGlobalScope extends ThrowingEventTarget<WorkerGlobalScopeEventMap> { | ||
@@ -707,0 +717,0 @@ } |
{ | ||
"name": "@miniflare/core", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Core module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=16.7" | ||
"node": ">=16.13" | ||
}, | ||
@@ -43,4 +43,4 @@ "publishConfig": { | ||
"@iarna/toml": "^2.2.5", | ||
"@miniflare/shared": "2.6.0", | ||
"@miniflare/watcher": "2.6.0", | ||
"@miniflare/shared": "2.7.0", | ||
"@miniflare/watcher": "2.7.0", | ||
"busboy": "^1.6.0", | ||
@@ -50,10 +50,10 @@ "dotenv": "^10.0.0", | ||
"set-cookie-parser": "^2.4.8", | ||
"undici": "5.5.1", | ||
"undici": "5.9.1", | ||
"urlpattern-polyfill": "^4.0.3" | ||
}, | ||
"devDependencies": { | ||
"@miniflare/durable-objects": "2.6.0", | ||
"@miniflare/shared-test": "2.6.0", | ||
"@miniflare/watcher": "2.6.0", | ||
"@miniflare/web-sockets": "2.6.0", | ||
"@miniflare/durable-objects": "2.7.0", | ||
"@miniflare/shared-test": "2.7.0", | ||
"@miniflare/watcher": "2.7.0", | ||
"@miniflare/web-sockets": "2.7.0", | ||
"@types/busboy": "^1.5.0", | ||
@@ -60,0 +60,0 @@ "@types/set-cookie-parser": "^2.4.1", |
Sorry, the diff of this file is too big to display
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
193438
3710
7
+ Added@miniflare/shared@2.7.0(transitive)
+ Added@miniflare/watcher@2.7.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedundici@5.9.1(transitive)
- Removed@miniflare/shared@2.6.0(transitive)
- Removed@miniflare/watcher@2.6.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedundici@5.5.1(transitive)
Updated@miniflare/shared@2.7.0
Updated@miniflare/watcher@2.7.0
Updatedundici@5.9.1