Socket
Socket
Sign inDemoInstall

sequelize-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-fixtures - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

lib/loader.js

@@ -82,3 +82,3 @@ var Promise = require('./Promise');

var fieldType = Model.rawAttributes[k].type.constructor.key;
if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'VIRTUAL') {
if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'GEOGRAPHY' && fieldType !== 'VIRTUAL') {
//postgres

@@ -250,3 +250,3 @@ if (fieldType === 'JSONB') {

} else {
this.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
self.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
}

@@ -253,0 +253,0 @@ }

{
"name": "sequelize-fixtures",
"version": "1.1.1",
"version": "1.2.0",
"description": "sequelize fixture loader",

@@ -24,8 +24,8 @@ "main": "index.js",

"devDependencies": {
"mocha": "*",
"release-it": "^12.3.0",
"mocha": "^8.0.1",
"release-it": "^13.6.3",
"sequelize": "^5.0.0",
"should": "*",
"sinon": "^1.14.1",
"sqlite3": "*"
"sqlite3": "^4.1.1"
},

@@ -32,0 +32,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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