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

keyv-file

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyv-file - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/index.d.ts

@@ -19,3 +19,3 @@ export interface Data<V> {

get(def: D): D;
set(val?: T): Promise<any>;
set(val: T, ttl?: number): Promise<any>;
delete(): boolean;

@@ -22,0 +22,0 @@ }

@@ -27,4 +27,4 @@ 'use strict';

}
set(val) {
return this.kv.set(this.key, val);
set(val, ttl) {
return this.kv.set(this.key, val, ttl);
}

@@ -31,0 +31,0 @@ delete() {

{
"name": "keyv-file",
"version": "0.3.0",
"version": "0.3.1",
"description": "File storage adapter for Keyv, using msgpack to serialize data fast and small.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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