feather-cache
Advanced tools
Comparing version 1.0.1 to 1.0.4
@@ -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" |
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
175058
12
0
210