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

feather-cache

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feather-cache - npm Package Compare versions

Comparing version 1.0.1 to 1.0.4

dist/src/default-driver.d.ts

9

dist/src/index.d.ts

@@ -1,2 +0,6 @@

import { IStoreOptions } from './IStoreOptions.interface';
import { IFeatherCacheDriver } from './feather-cache-driver.interface';
/**
* Interface for driver
*/
export { IFeatherCacheDriver };
export declare class FeatherCache {

@@ -9,3 +13,3 @@ /**

private options;
constructor(options?: IStoreOptions);
constructor(options?: IFeatherCacheDriver);
/**

@@ -42,3 +46,2 @@ * Delete the key-val pair

}
export {};
//# sourceMappingURL=index.d.ts.map

@@ -12,3 +12,3 @@ "use strict";

const clone = require("clone");
const default_options_1 = require("./default-options");
const default_driver_1 = require("./default-driver");
const verify_options_1 = require("./verify-options");

@@ -34,3 +34,3 @@ class FeatherCache {

}
this.options = Object.assign({}, default_options_1.defaultOptions, options);
this.options = Object.assign({}, default_driver_1.defaultDriver, options);
}

@@ -37,0 +37,0 @@ /**

@@ -5,4 +5,4 @@ /**

*/
import { IStoreOptions } from './IStoreOptions.interface';
export declare function verifyOptions(options: IStoreOptions): boolean;
import { IFeatherCacheDriver } from './feather-cache-driver.interface';
export declare function verifyOptions(options: IFeatherCacheDriver): boolean;
//# sourceMappingURL=verify-options.d.ts.map
{
"name": "feather-cache",
"version": "1.0.1",
"version": "1.0.4",
"description": "A Simple Lightweight Pluggable Key-Value Cache For Multiple Storage Options.",

@@ -36,2 +36,3 @@ "homepage": "https://github.com/vajahath/feather-cache#readme",

},
"license": "MIT",
"dependencies": {

@@ -38,0 +39,0 @@ "clone": "^2.1.2"

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