Socket
Socket
Sign inDemoInstall

@miniflare/storage-file

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/storage-file - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2-d1.0

1

dist/src/index.d.ts

@@ -23,2 +23,3 @@ import { Clock } from '@miniflare/shared';

getMaybeExpired<Meta>(key: string): Promise<StoredValueMeta<Meta> | undefined>;
getSqliteDatabasePath(): string;
getRangeMaybeExpired<Meta = unknown>(key: string, { offset: _offset, length: _length, suffix }: Range): Promise<RangeStoredValueMeta<Meta> | undefined>;

@@ -25,0 +26,0 @@ put<Meta = unknown>(key: string, { value, expiration, metadata }: StoredValueMeta<Meta>): Promise<void>;

@@ -172,2 +172,6 @@ var __create = Object.create;

}
getSqliteDatabasePath() {
import_fs.default.mkdirSync(import_path2.default.dirname(this.root), { recursive: true });
return this.root + ".sqlite3";
}
async getRangeMaybeExpired(key, { offset: _offset, length: _length, suffix }) {

@@ -174,0 +178,0 @@ const [filePath] = this.keyPath(key);

8

package.json
{
"name": "@miniflare/storage-file",
"version": "2.8.1",
"version": "2.8.2-d1.0",
"description": "File-system storage module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -38,8 +38,8 @@ "keywords": [

"dependencies": {
"@miniflare/shared": "2.8.1",
"@miniflare/storage-memory": "2.8.1"
"@miniflare/shared": "2.8.2-d1.0",
"@miniflare/storage-memory": "2.8.2-d1.0"
},
"devDependencies": {
"@miniflare/shared-test": "2.8.1"
"@miniflare/shared-test": "2.8.2-d1.0"
}
}

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