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

@ribajs/cache

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/cache - npm Package Compare versions

Comparing version 1.9.0-alpha.0 to 1.9.0-alpha.1

13

package.json
{
"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"
}
}

2

src/index.ts

@@ -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";
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