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 0.7.0 to 0.8.0

0

Gruntfile.js
module.exports = function(grunt){
grunt.loadTasks('tasks');
};

@@ -0,0 +0,0 @@ var Loader = require('./lib/loader'),

8

lib/loader.js
var Promise = require('bluebird');
var objectAssign = require('object-assign');
var Op = require('sequelize').Op;

@@ -75,7 +76,6 @@ var Loader = module.exports = function(options) {

if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'VIRTUAL') {
//postgres
//postgres
if (fieldType === 'JSONB') {
where[k] = {
$contains: data[k]
};
where[k] = {};
where[k][Op.contains] = data[k];
} else if (Model.rawAttributes[k].hasOwnProperty('set')) {

@@ -82,0 +82,0 @@ var val = null;

@@ -0,0 +0,0 @@ var Promise = require('bluebird'),

{
"name": "sequelize-fixtures",
"version": "0.7.0",
"version": "0.8.0",
"description": "sequelize fixture loader",

@@ -19,3 +19,3 @@ "main": "index.js",

"glob": "~7.0.5",
"js-yaml": "~2.1.0",
"js-yaml": "^3.3.5",
"object-assign": "^4.0.1"

@@ -22,0 +22,0 @@ },

@@ -0,0 +0,0 @@ [![Build Status](https://travis-ci.org/domasx2/sequelize-fixtures.svg?branch=master)](https://travis-ci.org/domasx2/sequelize-fixtures)

@@ -0,0 +0,0 @@ var sf = require('../index');

@@ -0,0 +0,0 @@ module.exports = [

@@ -0,0 +0,0 @@ [

@@ -0,0 +0,0 @@ module.exports = [

@@ -0,0 +0,0 @@ module.exports = [

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ var Sequelize = require('sequelize'),

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) {

@@ -0,0 +0,0 @@ var sf = require('../index'),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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