🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@tugou/cache

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tugou/cache - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+5
-1
dist/configuration.js

@@ -14,6 +14,7 @@ "use strict";

const decorator_1 = require("@midwayjs/decorator");
const cache = require("@midwayjs/cache");
const path_1 = require("path");
let CacheConfiguration = class CacheConfiguration {
async onReady(container) {
console.info('[cache] ', this.config);
console.info('[cache] ', JSON.stringify(this.config));
try {

@@ -41,2 +42,5 @@ console.info('[cache] success.');

namespace: 'cache',
imports: [
cache // 导入 cache 组件
],
importConfigs: [path_1.join(__dirname, 'config')]

@@ -43,0 +47,0 @@ })

+3
-2
{
"name": "@tugou/cache",
"version": "1.0.2",
"version": "1.0.3",
"description": "tugou midwayjs cache",

@@ -19,2 +19,3 @@ "main": "dist/index",

"dependencies": {
"@midwayjs/cache": "^2.9.2",
"cache-manager-ioredis": "^2.1.0"

@@ -28,3 +29,3 @@ },

"license": "MIT",
"gitHead": "8b9f995d9d16d9ad48da02273d7dca82fe82127d"
"gitHead": "20aec6aff8c5f85d812ebfac85ed160ee4724f84"
}