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.6.0-d1.2 to 2.6.0-d1.3

6

dist/src/index.d.ts
import { Awaitable as Awaitable_2 } from '@miniflare/shared';
import type { Database } from 'better-sqlite3';
import type Database from 'better-sqlite3';

@@ -60,3 +60,3 @@ export declare function addAll<T>(set: Set<T>, values: Iterable<T>): void;

export declare function getSQLiteNativeBindingLocation(): string;
export declare function getSQLiteNativeBindingLocation(sqliteResolvePath: string): string;

@@ -377,3 +377,3 @@ export declare function globsToMatcher(globs?: string[]): Matcher;

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

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

@@ -540,3 +540,3 @@ var __create = Object.create;

var Storage = class {
getSqliteDatabase() {
async getSqliteDatabase() {
throw new Error("D1 not implemented for this Storage class");

@@ -567,4 +567,4 @@ }

};
function getSQLiteNativeBindingLocation() {
return import_node_path.default.resolve(import_node_path.default.dirname(require.resolve("better-sqlite3")), "../build/Release/better_sqlite3.node");
function getSQLiteNativeBindingLocation(sqliteResolvePath) {
return import_node_path.default.resolve(import_node_path.default.dirname(sqliteResolvePath), "../build/Release/better_sqlite3.node");
}

@@ -571,0 +571,0 @@

{
"name": "@miniflare/shared",
"version": "2.6.0-d1.2",
"version": "2.6.0-d1.3",
"description": "Shared utility module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -39,3 +39,3 @@ "keywords": [

"@types/better-sqlite3": "^7.5.0",
"better-sqlite3": "^7.5.3",
"npx-import": "^1.0.0",
"ignore": "^5.1.8",

@@ -45,4 +45,4 @@ "kleur": "^4.1.4"

"devDependencies": {
"@miniflare/shared-test": "2.6.0-d1.2"
"@miniflare/shared-test": "2.6.0-d1.3"
}
}

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