Socket
Socket
Sign inDemoInstall

@miniflare/core

Package Overview
Dependencies
Maintainers
3
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.5.1 to 2.6.0-d1.1

28

dist/src/index.d.ts

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

import { URL as URL_2 } from 'url';
import { UsageModel } from '@miniflare/shared';
import { ValueOf } from '@miniflare/shared';

@@ -148,2 +149,6 @@ import { webcrypto } from 'crypto';

export declare class CompressionStream extends TransformStream<Uint8Array, Uint8Array> {
constructor(format: "gzip" | "deflate");
}
/* Excluded from this release type: _CoreMount */

@@ -162,2 +167,3 @@

compatibilityFlags?: CompatibilityFlag[];
usageModel?: "bundled" | "unbound";
upstream?: string;

@@ -168,2 +174,3 @@ watch?: boolean;

updateCheck?: boolean;
repl?: boolean;
mounts?: Record<string, string | CoreOptions | BindingsOptions>;

@@ -176,2 +183,3 @@ name?: string;

globalRandom?: boolean;
actualTime?: boolean;
}

@@ -190,2 +198,3 @@

compatibilityFlags?: CompatibilityFlag[];
usageModel?: "bundled" | "unbound";
upstream?: string;

@@ -196,2 +205,3 @@ watch?: boolean;

updateCheck?: boolean;
repl?: boolean;
rootPath?: string;

@@ -205,2 +215,3 @@ mounts?: Record<string, string | CoreOptions | BindingsOptions>;

globalRandom?: boolean;
actualTime?: boolean;
readonly processedModuleRules: ProcessedModuleRule[];

@@ -220,4 +231,10 @@ readonly upstreamURL?: URL_2;

export declare function createDate(actualTime?: boolean): typeof Date;
export declare function createTimer<Return>(func: TimerFunction<Return>, blockGlobalTimers?: boolean): TimerFunction<Return>;
export declare class DecompressionStream extends TransformStream<Uint8Array, Uint8Array> {
constructor(format: "gzip" | "deflate");
}
/* Excluded from this release type: _deepEqual */

@@ -300,3 +317,3 @@

#private;
constructor(service: string | FetcherFetch, getServiceFetch: (name: string) => Promise<FetcherFetch>);
constructor(service: string | FetcherFetch, getServiceFetch: (name: string) => Promise<FetcherFetchWithUsageModel>, defaultUsageModel?: UsageModel);
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;

@@ -307,2 +324,7 @@ }

export declare interface FetcherFetchWithUsageModel {
fetch: FetcherFetch;
usageModel?: UsageModel;
}
export declare class FetchError extends MiniflareError<FetchErrorCode> {

@@ -472,2 +494,6 @@ }

export declare class Navigator {
readonly userAgent = "Cloudflare-Workers";
}
export declare type PluginInstances<Plugins extends PluginSignatures> = {

@@ -474,0 +500,0 @@ [K in keyof Plugins]: InstanceType<Plugins[K]>;

14

package.json
{
"name": "@miniflare/core",
"version": "2.5.1",
"version": "2.6.0-d1.1",
"description": "Core module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -42,4 +42,4 @@ "keywords": [

"@iarna/toml": "^2.2.5",
"@miniflare/shared": "2.5.1",
"@miniflare/watcher": "2.5.1",
"@miniflare/shared": "2.6.0-d1.1",
"@miniflare/watcher": "2.6.0-d1.1",
"busboy": "^1.6.0",

@@ -53,6 +53,6 @@ "dotenv": "^10.0.0",

"devDependencies": {
"@miniflare/durable-objects": "2.5.1",
"@miniflare/shared-test": "2.5.1",
"@miniflare/watcher": "2.5.1",
"@miniflare/web-sockets": "2.5.1",
"@miniflare/durable-objects": "2.6.0-d1.1",
"@miniflare/shared-test": "2.6.0-d1.1",
"@miniflare/watcher": "2.6.0-d1.1",
"@miniflare/web-sockets": "2.6.0-d1.1",
"@types/busboy": "^1.5.0",

@@ -59,0 +59,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