Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unstorage

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unstorage - npm Package Compare versions

Comparing version 1.10.1 to 1.10.2

dist/shared/unstorage.5b07592d.d.cts

8

dist/index.d.ts
import { RedisConfigNodejs } from '@upstash/redis';
import { D as Driver, S as StorageValue, a as Storage } from './shared/unstorage.745f9650.js';
export { c as StorageMeta, T as TransactionOptions, U as Unwatch, b as WatchCallback, W as WatchEvent } from './shared/unstorage.745f9650.js';
import { D as Driver, S as StorageValue, a as Storage } from './shared/unstorage.5b07592d.js';
export { c as StorageMeta, T as TransactionOptions, U as Unwatch, b as WatchCallback, W as WatchEvent } from './shared/unstorage.5b07592d.js';
import { RedisOptions as RedisOptions$1, ClusterNode, ClusterOptions } from 'ioredis';

@@ -15,3 +15,3 @@ import { LRUCache } from 'lru-cache';

/**
* Optional flag to customzize environment variable prefix (Default is `KV`). Set to `false` to disable env inference for `url` and `token` options
* Optional flag to customize environment variable prefix (Default is `KV`). Set to `false` to disable env inference for `url` and `token` options
*/

@@ -268,3 +268,3 @@ env?: false | string;

interface CloudflareR2Options {
binding: string | R2Bucket;
binding?: string | R2Bucket;
base?: string;

@@ -271,0 +271,0 @@ }

import { RequestListener } from 'node:http';
import { H3Event, EventHandler } from 'h3';
import { a as Storage } from './shared/unstorage.745f9650.js';
import { a as Storage } from './shared/unstorage.5b07592d.js';

@@ -5,0 +5,0 @@ type StorageServerRequest = {

@@ -7,3 +7,3 @@ /// <reference types="@cloudflare/workers-types" />

}
declare const _default: (opts: KVOptions | undefined) => import("../types").Driver;
declare const _default: (opts: KVOptions) => import("../types").Driver;
export default _default;
/// <reference types="@cloudflare/workers-types" />
export interface CloudflareR2Options {
binding: string | R2Bucket;
binding?: string | R2Bucket;
base?: string;
}
declare const _default: (opts: CloudflareR2Options) => import("../types").Driver;
declare const _default: (opts: CloudflareR2Options | undefined) => import("../types").Driver;
export default _default;

@@ -8,3 +8,3 @@ import type { RedisConfigNodejs } from "@upstash/redis";

/**
* Optional flag to customzize environment variable prefix (Default is `KV`). Set to `false` to disable env inference for `url` and `token` options
* Optional flag to customize environment variable prefix (Default is `KV`). Set to `false` to disable env inference for `url` and `token` options
*/

@@ -11,0 +11,0 @@ env?: false | string;

{
"name": "unstorage",
"version": "1.10.1",
"version": "1.10.2",
"description": "Universal Storage Layer",

@@ -35,12 +35,11 @@ "repository": "unjs/unstorage",

"anymatch": "^3.1.3",
"chokidar": "^3.5.3",
"destr": "^2.0.2",
"h3": "^1.8.2",
"ioredis": "^5.3.2",
"listhen": "^1.5.5",
"lru-cache": "^10.0.2",
"chokidar": "^3.6.0",
"destr": "^2.0.3",
"h3": "^1.11.1",
"listhen": "^1.7.2",
"lru-cache": "^10.2.0",
"mri": "^1.2.0",
"node-fetch-native": "^1.4.1",
"node-fetch-native": "^1.6.2",
"ofetch": "^1.3.3",
"ufo": "^1.3.1"
"ufo": "^1.4.0"
},

@@ -51,52 +50,53 @@ "devDependencies": {

"@azure/data-tables": "^13.2.2",
"@azure/identity": "^3.4.1",
"@azure/keyvault-secrets": "^4.7.0",
"@azure/identity": "^4.0.1",
"@azure/keyvault-secrets": "^4.8.0",
"@azure/storage-blob": "^12.17.0",
"@capacitor/preferences": "^5.0.6",
"@cloudflare/workers-types": "^4.20231025.0",
"@netlify/blobs": "^6.2.0",
"@planetscale/database": "^1.11.0",
"@capacitor/preferences": "^5.0.7",
"@cloudflare/workers-types": "^4.20240222.0",
"@netlify/blobs": "^7.0.0",
"@planetscale/database": "^1.16.0",
"@types/ioredis-mock": "^8.2.5",
"@types/jsdom": "^21.1.5",
"@types/mri": "^1.1.4",
"@types/node": "^20.9.0",
"@upstash/redis": "^1.25.1",
"@vercel/kv": "^0.2.4",
"@vitejs/plugin-vue": "^4.4.1",
"@vitest/coverage-v8": "^0.34.6",
"@vue/compiler-sfc": "^3.3.8",
"azurite": "^3.27.0",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.25",
"@upstash/redis": "^1.28.4",
"@vercel/kv": "^1.0.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-v8": "^1.3.1",
"@vue/compiler-sfc": "^3.4.21",
"azurite": "^3.29.0",
"changelogen": "^0.5.5",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-config-unjs": "^0.2.1",
"fake-indexeddb": "^5.0.1",
"fake-indexeddb": "^5.0.2",
"idb-keyval": "^6.2.1",
"ioredis": "^5.3.2",
"ioredis-mock": "^8.9.0",
"jiti": "^1.21.0",
"jsdom": "^22.1.0",
"monaco-editor": "^0.44.0",
"mongodb": "^6.2.0",
"mongodb-memory-server": "^9.0.1",
"jsdom": "^24.0.0",
"monaco-editor": "^0.46.0",
"mongodb": "^6.4.0",
"mongodb-memory-server": "^9.1.6",
"msw": "^1.3.2",
"prettier": "^3.1.0",
"prettier": "^3.2.5",
"types-cloudflare-worker": "^1.2.0",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"unbuild": "^2.0.0",
"vite": "^4.5.0",
"vitest": "^0.34.6",
"vue": "^3.3.8"
"vite": "^5.1.5",
"vitest": "^1.3.1",
"vue": "^3.4.21"
},
"peerDependencies": {
"@azure/app-configuration": "^1.4.1",
"@azure/app-configuration": "^1.5.0",
"@azure/cosmos": "^4.0.0",
"@azure/data-tables": "^13.2.2",
"@azure/identity": "^3.3.2",
"@azure/keyvault-secrets": "^4.7.0",
"@azure/storage-blob": "^12.16.0",
"@capacitor/preferences": "^5.0.6",
"@netlify/blobs": "^6.2.0",
"@planetscale/database": "^1.11.0",
"@upstash/redis": "^1.23.4",
"@vercel/kv": "^0.2.3",
"idb-keyval": "^6.2.1"
"@azure/identity": "^4.0.1",
"@azure/keyvault-secrets": "^4.8.0",
"@azure/storage-blob": "^12.17.0",
"@capacitor/preferences": "^5.0.7",
"@netlify/blobs": "^6.5.0 || ^7.0.0",
"@planetscale/database": "^1.16.0",
"@upstash/redis": "^1.28.4",
"@vercel/kv": "^1.0.1",
"idb-keyval": "^6.2.1",
"ioredis": "^5.3.2"
},

@@ -139,5 +139,8 @@ "peerDependenciesMeta": {

"optional": true
},
"ioredis": {
"optional": true
}
},
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@8.15.4",
"scripts": {

@@ -147,4 +150,4 @@ "build": "unbuild",

"dev": "vitest",
"lint": "eslint --ext .ts . && prettier -c src test demo docs/content",
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test demo docs/content",
"lint": "eslint --ext .ts . && prettier -c src test demo",
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test demo",
"release": "pnpm test && changelogen --release && git push --follow-tags && pnpm publish",

@@ -151,0 +154,0 @@ "test": "pnpm lint && pnpm test:types && vitest run --coverage",

@@ -25,5 +25,5 @@ # 💾 Unstorage

- Binary and raw value support
- State [snapshots](https://unstorage.unjs.io/utils#snapshots) and hydration
- State [snapshots](https://unstorage.unjs.io/getting-started/utils#snapshots) and hydration
- Storage watcher
- HTTP Storage with [built-in server](https://unstorage.unjs.io/http-server)
- HTTP Storage with [built-in server](https://unstorage.unjs.io/guide/http-server)

@@ -30,0 +30,0 @@ ## Usage

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

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

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