sequelize-transparent-cache-ioredis
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "sequelize-transparent-cache-ioredis", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "ioredis adaptor for sequelize-transparent-cache", | ||
@@ -12,2 +12,3 @@ "main": "IORedisAdaptor.js", | ||
"plugin", | ||
"adaptor", | ||
"adapter" | ||
@@ -17,3 +18,3 @@ ], | ||
"type": "git", | ||
"url": "https://github.com/SDSWanderer/sequelize-transparent-cache-ioredis.git" | ||
"url": "https://github.com/DanielHreben/sequelize-transparent-cache-ioredis.git" | ||
}, | ||
@@ -26,3 +27,3 @@ "author": { | ||
"peerDependencies": { | ||
"sequelize-transparent-cache": "^1.0.0", | ||
"sequelize-transparent-cache": "^1.0.0 || ^1.1.0", | ||
"ioredis": "^3.1.1" | ||
@@ -29,0 +30,0 @@ }, |
@@ -20,14 +20,2 @@ # sequelize-transparent-cache-ioredis | ||
const sequelizeCache = require('sequelize-transparent-cache') | ||
const {classMethods, instanceMethods} = sequelizeCache(redisAdaptor) | ||
const Sequelize = require('sequelize') | ||
const sequelize = new Sequelize('database', 'user', 'password', { | ||
host: 'localhost', | ||
port: 3306, | ||
define: { | ||
classMethods, | ||
instanceMethods | ||
} | ||
}) | ||
``` | ||
@@ -34,0 +22,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3378
38
1