sequelize-simple-cache
Advanced tools
Comparing version 1.1.1 to 1.1.3
{ | ||
"name": "sequelize-simple-cache", | ||
"version": "1.1.1", | ||
"version": "1.1.3", | ||
"description": "A simple, transparent, client-side, in-memory cache for Sequelize", | ||
@@ -21,5 +21,6 @@ "main": "src/SequelizeSimpleCache.js", | ||
"lint": "eslint . --ignore-path ./.eslintignore", | ||
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --exit --recursive --timeout 60000 test", | ||
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --exit --recursive --timeout 2000 test/unit", | ||
"itest": "NODE_ENV=itest mocha --exit --recursive --timeout 60000 test/integration", | ||
"coveralls": "nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls", | ||
"preversion": "npm run lint && npm test" | ||
"preversion": "npm run lint && npm run test && npm run itest" | ||
}, | ||
@@ -33,23 +34,23 @@ "engines": { | ||
"devDependencies": { | ||
"babel-eslint": "^10.0.3", | ||
"babel-eslint": "^10.1.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"coveralls": "^3.0.9", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^7.16.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-should-promised": "^2.0.0", | ||
"mocha": "^7.0.0", | ||
"nyc": "^15.0.0", | ||
"pg": "^7.17.1", | ||
"pg-promise": "^10.3.5", | ||
"sequelize": "^5.21.3", | ||
"sinon": "^8.1.1", | ||
"sinon-chai": "^3.4.0", | ||
"sqlite3": "^4.1.1" | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0", | ||
"pg": "^8.5.1", | ||
"pg-promise": "^10.8.6", | ||
"sequelize": "^6.3.5", | ||
"sinon": "^9.2.2", | ||
"sinon-chai": "^3.5.0", | ||
"sqlite3": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"md5": "^2.2.1" | ||
"md5": "^2.3.0" | ||
} | ||
} |
# sequelize-simple-cache | ||
This is a simple, transparent, client-side, in-memory cache | ||
for [Sequelize](https://github.com/sequelize/sequelize) v4 and v5. | ||
This is a simple, transparent, client-side, in-memory cache for [Sequelize](https://github.com/sequelize/sequelize). | ||
Cache invalidation is based on time-to-live (ttl). | ||
@@ -12,3 +11,2 @@ Selectively add your Sequelize models to the cache. | ||
[![Dependencies Status](https://david-dm.org/frankthelen/sequelize-simple-cache.svg)](https://david-dm.org/frankthelen/sequelize-simple-cache) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/frankthelen/sequelize-simple-cache.svg)](https://greenkeeper.io/) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/c8bdb1fc29ef12070cac/maintainability)](https://codeclimate.com/github/frankthelen/sequelize-simple-cache/maintainability) | ||
@@ -32,2 +30,7 @@ [![node](https://img.shields.io/node/v/sequelize-simple-cache.svg)]() | ||
Tested with | ||
* Sequelize 6, Node 12/14/15, integration tested with Postgres 11/12 (via pg 8) and sqlite3 v5 (memory) | ||
* Sequelize 5, Node 10/12/13, integration tested with Postgres 10/11 (via pg 7) and sqlite3 v4 (memory) | ||
## Install | ||
@@ -34,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
45030
194
2
Updatedmd5@^2.3.0