@friggframework/database
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,6 +5,9 @@ // Best Practices Connecting from AWS Lambda: | ||
// https://www.mongodb.com/blog/post/optimizing-aws-lambda-performance-with-mongodb-atlas-and-nodejs | ||
const { Encrypt } = require('../encrypt'); | ||
const mongoose = require('mongoose'); // TODO maybe pass in / see what best way to make sure we have the same mongoose instance as the including package (something like peerDependencies but not deprecated) | ||
const { debug, flushDebugLog } = require('@friggframework/logs'); | ||
const { debug, flushDebugLog } = require('../logs'); | ||
mongoose.plugin(Encrypt); | ||
mongoose.set('applyPluginsToDiscriminators', true); // Needed for LHEncrypt | ||
// Buffering means mongoose will queue up operations if it gets | ||
@@ -11,0 +14,0 @@ // With serverless, better to fail fast if not connected. |
{ | ||
"name": "@friggframework/database", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"prettier": "@friggframework/prettier-config", | ||
@@ -8,9 +8,9 @@ "description": "", | ||
"dependencies": { | ||
"@friggframework/logs": "^1.0.0" | ||
"@friggframework/logs": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@friggframework/eslint-config": "^1.0.0", | ||
"eslint": "^7.32.0", | ||
"jest": "^27.4.7", | ||
"prettier": "^2.5.1" | ||
"@friggframework/eslint-config": "^1.0.4", | ||
"eslint": "^8.22.0", | ||
"jest": "^28.1.3", | ||
"prettier": "^2.7.1" | ||
}, | ||
@@ -17,0 +17,0 @@ "scripts": { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
2536
5
40
1
4
0
Updated@friggframework/logs@^1.0.2