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

@giftwizard/db-models

Package Overview
Dependencies
Maintainers
9
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.0.0 to 17.0.1

17

models/Bulk.js

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

source: {
type: DataTypes.TEXT,
get() {
if (typeof this.getDataValue('source') === 'string') {
return JSON.parse(this.getDataValue('source'));
}
return this.getDataValue('source');
},
set(val) {
if (typeof val === 'object') {
this.setDataValue('source', JSON.stringify(val));
} else {
this.setDataValue('source', val);
}
},
type: DataTypes.JSON,
},

@@ -52,3 +39,3 @@ state: {

{
tableName: 'bulks',
tableName: 'Bulks',
paranoid: true,

@@ -55,0 +42,0 @@ underscored: true,

2

package.json
{
"name": "@giftwizard/db-models",
"version": "17.0.0",
"version": "17.0.1",
"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