@miniflare/shared
Advanced tools
Comparing version 2.6.0-d1.4 to 2.6.0-d1.5
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)[]>; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
58612
1260
- Removed@types/better-sqlite3@^7.6.0
- Removed@types/better-sqlite3@7.6.11(transitive)
- Removed@types/node@22.9.0(transitive)
- Removedundici-types@6.19.8(transitive)