Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@miniflare/shared

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miniflare/shared - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2-d1.0

9

dist/src/index.d.ts

@@ -429,2 +429,3 @@ import { Awaitable as Awaitable_2 } from '@miniflare/shared';

abstract list(options: StorageListOptions, skipMetadata: true): Awaitable<StorageListResult<StoredKey>>;
getSqliteDatabasePath(): string;
hasMany(keys: string[]): Promise<number>;

@@ -438,3 +439,3 @@ getMany<Meta = unknown>(keys: string[], skipMetadata?: false): Promise<(StoredValueMeta<Meta> | undefined)[]>;

export declare interface StorageFactory {
storage(namespace: string, persist?: boolean | string): Awaitable<Storage>;
storage(namespace: string, persist?: boolean | string): Storage;
dispose?(): Awaitable<void>;

@@ -579,2 +580,7 @@ }

}[];
d1_databases?: {
binding: string;
database_name: string;
database_id: string;
}[];
r2_buckets?: {

@@ -627,2 +633,3 @@ binding: string;

kv_persist?: boolean | string;
d1_persist?: boolean | string;
r2_persist?: boolean | string;

@@ -629,0 +636,0 @@ cache?: boolean;

@@ -571,2 +571,5 @@ var __create = Object.create;

var Storage = class {
getSqliteDatabasePath() {
throw new Error("D1 not implemented for this Storage class");
}
async hasMany(keys) {

@@ -573,0 +576,0 @@ const results = keys.map(this.has.bind(this));

5

package.json
{
"name": "@miniflare/shared",
"version": "2.8.1",
"version": "2.8.2-d1.0",
"description": "Shared utility module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -39,8 +39,9 @@ "keywords": [

"kleur": "^4.1.4",
"npx-import": "^1.1.2",
"picomatch": "^2.3.1"
},
"devDependencies": {
"@miniflare/shared-test": "2.8.1",
"@miniflare/shared-test": "2.8.2-d1.0",
"@types/picomatch": "^2.3.0"
}
}

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