Skip to content

Commit

Permalink
Update Cachegoose to Recachegoose (openhab#369)
Browse files Browse the repository at this point in the history
The Cachegoose NPM package is deprecated and has been replaced by Recachegoose.
This commit updates Cachegoose 8.0.0 to Recachegoose 9.0.0.

Signed-off-by: Quentin Kramer <[email protected]> (github: ElectraPort)

Signed-off-by: Quentin Kramer <[email protected]> (github: ElectraPort)
  • Loading branch information
electraport authored Oct 17, 2022
1 parent 8f6128d commit e340824
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 73 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var flash = require('connect-flash'),
// MongoDB connection settings
var mongoose = require('mongoose');
// MongoDB Caching for Item updates
var cachegoose = require('cachegoose');
var cachegoose = require('recachegoose');
cachegoose(mongoose, {
engine: 'redis',
port: config.redis.port,
Expand Down
210 changes: 139 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"bcrypt": "5.0.1",
"bcrypt-cache": "^2.0.1",
"body-parser": "^1.19.0",
"cachegoose": "8.0.0",
"chokidar": "3.5.1",
"connect-flash": "0.1.1",
"connect-mongo": "^4.2.2",
Expand Down Expand Up @@ -45,6 +44,7 @@
"passport-local": "1.0.0",
"passport-oauth2-client-password": "0.1.2",
"ratelimiter": "3.4.1",
"recachegoose": "^9.0.0",
"redis": "3.0.2",
"request": "^2.88.0",
"serve-favicon": "^2.5.0",
Expand Down

0 comments on commit e340824

Please sign in to comment.