Comparing version 1.7.0 to 1.8.0
@@ -1,3 +0,3 @@ | ||
import { D as Driver, S as StorageValue, a as Storage } from './types-de0cd07d.js'; | ||
export { c as StorageMeta, U as Unwatch, b as WatchCallback, W as WatchEvent } from './types-de0cd07d.js'; | ||
import { D as Driver, S as StorageValue, a as Storage } from './types-e2b6a05c.js'; | ||
export { c as StorageMeta, T as TransactionOptions, U as Unwatch, b as WatchCallback, W as WatchEvent } from './types-e2b6a05c.js'; | ||
@@ -21,9 +21,10 @@ interface CreateStorageOptions { | ||
declare const builtinDrivers: { | ||
azureStorageTable: string; | ||
azureAppConfiguration: string; | ||
azureCosmos: string; | ||
azureKeyVault: string; | ||
azureStorageBlob: string; | ||
azureStorageTable: string; | ||
cloudflareKVBinding: string; | ||
cloudflareKVHTTP: string; | ||
cloudflareKVBinding: string; | ||
"cloudflare-kv-http": string; | ||
"cloudflare-kv-binding": string; | ||
cloudflareR2Binding: string; | ||
fs: string; | ||
@@ -39,5 +40,8 @@ github: string; | ||
redis: string; | ||
azureKeyVault: string; | ||
sessionStorage: string; | ||
vercelKV: string; | ||
/** @deprecated */ | ||
"cloudflare-kv-binding": string; | ||
/** @deprecated */ | ||
"cloudflare-kv-http": string; | ||
}; | ||
@@ -44,0 +48,0 @@ type BuiltinDriverName = keyof typeof builtinDrivers; |
import { RequestListener } from 'node:http'; | ||
import { H3Event, EventHandler } from 'h3'; | ||
import { a as Storage } from './types-de0cd07d.js'; | ||
import { a as Storage } from './types-e2b6a05c.js'; | ||
@@ -5,0 +5,0 @@ type StorageServerRequest = { |
/// <reference types="@cloudflare/workers-types" /> | ||
export interface KVOptions { | ||
binding?: string | KVNamespace; | ||
/** Adds prefix to all stored keys */ | ||
base?: string; | ||
} | ||
declare const _default: (opts: KVOptions | undefined) => import("../types").Driver; | ||
export default _default; |
@@ -45,4 +45,8 @@ interface KVAuthAPIToken { | ||
apiURL?: string; | ||
/** | ||
* Adds prefix to all stored keys | ||
*/ | ||
base?: string; | ||
} & (KVAuthServiceKey | KVAuthAPIToken | KVAuthEmailKey); | ||
declare const _default: (opts: KVHTTPOptions) => import("../types").Driver; | ||
export default _default; |
{ | ||
"name": "unstorage", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Universal Storage Layer", | ||
@@ -37,3 +37,3 @@ "repository": "unjs/unstorage", | ||
"destr": "^2.0.0", | ||
"h3": "^1.7.0", | ||
"h3": "^1.7.1", | ||
"ioredis": "^5.3.2", | ||
@@ -55,18 +55,18 @@ "listhen": "^1.0.4", | ||
"@cloudflare/workers-types": "^4.20230518.0", | ||
"@planetscale/database": "^1.7.0", | ||
"@planetscale/database": "^1.8.0", | ||
"@types/ioredis-mock": "^8.2.2", | ||
"@types/jsdom": "^21.1.1", | ||
"@types/mri": "^1.1.1", | ||
"@types/node": "^20.3.1", | ||
"@upstash/redis": "^1.21.0", | ||
"@vercel/kv": "^0.2.1", | ||
"@types/node": "^20.3.3", | ||
"@upstash/redis": "^1.22.0", | ||
"@vercel/kv": "^0.2.2", | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
"@vitest/coverage-v8": "^0.32.2", | ||
"@vitest/coverage-v8": "^0.32.4", | ||
"@vue/compiler-sfc": "^3.3.4", | ||
"azurite": "^3.24.0", | ||
"changelogen": "^0.5.3", | ||
"eslint": "^8.43.0", | ||
"changelogen": "^0.5.4", | ||
"eslint": "^8.44.0", | ||
"eslint-config-unjs": "^0.2.1", | ||
"ioredis-mock": "^8.7.0", | ||
"jiti": "^1.18.2", | ||
"jiti": "^1.19.1", | ||
"jsdom": "^22.1.0", | ||
@@ -79,6 +79,6 @@ "monaco-editor": "^0.39.0", | ||
"types-cloudflare-worker": "^1.2.0", | ||
"typescript": "^5.1.3", | ||
"typescript": "^5.1.6", | ||
"unbuild": "^1.2.1", | ||
"vite": "^4.3.9", | ||
"vitest": "^0.32.2", | ||
"vitest": "^0.32.4", | ||
"vue": "^3.3.4" | ||
@@ -90,8 +90,8 @@ }, | ||
"@azure/data-tables": "^13.2.2", | ||
"@azure/identity": "^3.2.2", | ||
"@azure/identity": "^3.2.3", | ||
"@azure/keyvault-secrets": "^4.7.0", | ||
"@azure/storage-blob": "^12.14.0", | ||
"@planetscale/database": "^1.7.0", | ||
"@upstash/redis": "^1.20.6", | ||
"@vercel/kv": "^0.2.1" | ||
"@upstash/redis": "^1.21.0", | ||
"@vercel/kv": "^0.2.2" | ||
}, | ||
@@ -127,3 +127,3 @@ "peerDependenciesMeta": { | ||
}, | ||
"packageManager": "pnpm@8.6.3", | ||
"packageManager": "pnpm@8.6.5", | ||
"scripts": { | ||
@@ -130,0 +130,0 @@ "build": "unbuild", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
186240
80
5962
Updatedh3@^1.7.1