New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@friggframework/database

Package Overview
Dependencies
Maintainers
4
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@friggframework/database - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

jest.config.js

7

mongo.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc