Socket
Socket
Sign inDemoInstall

@miniflare/core

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miniflare/core - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

16

dist/src/index.d.ts

@@ -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 @@ }

18

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

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