egg-session-mongo
Advanced tools
Comparing version 1.0.1 to 2.0.0
'use strict'; | ||
module.exports = app => { | ||
const MongoStore = require('./lib/session')(app); | ||
const MongoStore = require('koa-session-mongo'); | ||
const options = app.config.sessionMongo; | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "egg-session-mongo", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "mongodb store for egg session. based on `connect-mongo`", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"koa-session-mongo": "git+https://github.com/Mitscherlich/koa-session-mongo.git", | ||
"mongodb": "^3.0.3" | ||
@@ -27,3 +28,2 @@ }, | ||
"eslint-config-egg": "^5.1.0", | ||
"expect.js": "^0.3.1", | ||
"mongoose": "^5.0.9", | ||
@@ -47,4 +47,2 @@ "mz-modules": "^2.1.0", | ||
"files": [ | ||
"index.js", | ||
"lib", | ||
"config", | ||
@@ -51,0 +49,0 @@ "app.js" |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
12
8811
2
8
31
1