Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@giftwizard/db-models

Package Overview
Dependencies
Maintainers
10
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giftwizard/db-models - npm Package Compare versions

Comparing version 17.1.0 to 17.2.0

5

index.js

@@ -57,2 +57,4 @@ const { Sequelize, DataTypes } = require("sequelize");

// maxUses = rebalanceWindowSeconds (1800 seconds) * totalRequestsPerSecond (100) / numAppInstances (20) / poolSize (10)
const sequelizeSettings = {

@@ -68,4 +70,5 @@ host: env.MYSQL_HOST,

max: parseInt(env.MYSQL_MAX_CONNECTION) || 10,
min: parseInt(env.MYSQL_MIN_CONNECTION) || 0,
min: parseInt(env.MYSQL_MIN_CONNECTION) || 5,
acquire: env.MYSQL_MAX_ACQUIRE_TIME || 1000 * 60,
maxUses: 1000,
idle: 10000,

@@ -72,0 +75,0 @@ },

1

models/gift.js

@@ -41,3 +41,2 @@ const { v4: uuid } = require('uuid');

send_at: DataTypes.DATE,
timezone: DataTypes.STRING,
meta: DataTypes.JSON,

@@ -44,0 +43,0 @@ },

{
"name": "@giftwizard/db-models",
"version": "17.1.0",
"version": "17.2.0",
"description": "Rise.ai package for 'sequelize' models used by several projects.",

@@ -5,0 +5,0 @@ "main": "index.js",

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