@ribajs/cache
Advanced tools
Comparing version 1.9.0-alpha.0 to 1.9.0-alpha.1
{ | ||
"name": "@ribajs/cache", | ||
"description": "Cache module of Riba.js", | ||
"version": "1.9.0-alpha.0", | ||
"version": "1.9.0-alpha.1", | ||
"author": "Pascal Garber <pascal@artandcode.studio>", | ||
@@ -40,3 +40,12 @@ "contributors": [ | ||
"homepage": "https://github.com/ribajs/riba#readme", | ||
"directories": {} | ||
"directories": {}, | ||
"devDependencies": { | ||
"@ribajs/eslint-config": "1.9.0-alpha.1", | ||
"@typescript-eslint/eslint-plugin": "^3.6.0", | ||
"@typescript-eslint/parser": "^3.6.0", | ||
"eslint": "^7.4.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"prettier": "^2.0.5" | ||
} | ||
} |
@@ -1,1 +0,1 @@ | ||
export * from './services'; | ||
export * from "./services"; |
@@ -5,7 +5,6 @@ /** | ||
class BaseCache<T = any> { | ||
/** | ||
* The Object that keeps all the key value information | ||
*/ | ||
public data: {[key: string]: T}; | ||
public data: { [key: string]: T }; | ||
@@ -23,3 +22,3 @@ constructor() { | ||
// console.debug('SET key: ',key); | ||
return this.data[key] | ||
return this.data[key]; | ||
} | ||
@@ -26,0 +25,0 @@ |
@@ -1,1 +0,1 @@ | ||
export * from './base-cache.service'; | ||
export * from "./base-cache.service"; |
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
2005
7