@miniflare/shared
Advanced tools
Comparing version 2.6.0-d1.2 to 2.6.0-d1.3
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
59251
1
+ Addednpx-import@^1.0.0
+ Addedbuiltins@5.1.0(transitive)
+ Addedcross-spawn@7.0.5(transitive)
+ Addedexeca@6.1.0(transitive)
+ Addedget-stream@6.0.1(transitive)
+ Addedhuman-signals@3.0.1(transitive)
+ Addedis-stream@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@4.0.0(transitive)
+ Addednpm-run-path@5.3.0(transitive)
+ Addednpx-import@1.1.4(transitive)
+ Addedonetime@6.0.0(transitive)
+ Addedparse-package-name@1.0.0(transitive)
+ Addedpath-key@3.1.14.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-final-newline@3.0.0(transitive)
+ Addedvalidate-npm-package-name@4.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
- Removedbetter-sqlite3@^7.5.3
- Removedbase64-js@1.5.1(transitive)
- Removedbetter-sqlite3@7.6.2(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbl@4.1.0(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedchownr@1.1.4(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removeddetect-libc@2.0.3(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexpand-template@2.0.3(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedgithub-from-package@0.0.0(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedmimic-response@3.1.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp-classic@0.5.3(transitive)
- Removednapi-build-utils@1.0.2(transitive)
- Removednode-abi@3.71.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedprebuild-install@7.1.2(transitive)
- Removedpump@3.0.2(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@4.0.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtar-fs@2.1.1(transitive)
- Removedtar-stream@2.2.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwrappy@1.0.2(transitive)