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.4 to 2.6.0-d1.5

5

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

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

export declare function getSQLiteNativeBindingLocation(sqliteResolvePath: string): string;
export declare function globsToMatcher(globs?: string[]): Matcher;

@@ -377,3 +374,3 @@

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

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

8

dist/src/index.js

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

getRequestContext: () => getRequestContext,
getSQLiteNativeBindingLocation: () => getSQLiteNativeBindingLocation,
globsToMatcher: () => globsToMatcher,

@@ -539,5 +538,4 @@ kWrapListener: () => kWrapListener,

// packages/shared/src/storage.ts
var import_node_path = __toModule(require("node:path"));
var Storage = class {
async getSqliteDatabase() {
getSqliteDatabasePath() {
throw new Error("D1 not implemented for this Storage class");

@@ -568,5 +566,2 @@ }

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

@@ -742,3 +737,2 @@ // packages/shared/src/sync/clock.ts

getRequestContext,
getSQLiteNativeBindingLocation,
globsToMatcher,

@@ -745,0 +739,0 @@ kWrapListener,

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

@@ -38,3 +38,2 @@ "keywords": [

"dependencies": {
"@types/better-sqlite3": "^7.6.0",
"ignore": "^5.1.8",

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

"devDependencies": {
"@miniflare/shared-test": "2.6.0-d1.4"
"@miniflare/shared-test": "2.6.0-d1.5"
}
}

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