sequelize-fixtures
Advanced tools
Comparing version 0.5.0 to 0.5.1
var Promise = require('bluebird'); | ||
var objectAssign = require('object-assign'); | ||
@@ -53,3 +54,3 @@ var Loader = module.exports = function(options) { | ||
//make options object with transaction if any, through table attrs if any | ||
var options = Object.assign({}, | ||
var options = objectAssign({}, | ||
self.options.transaction ? {transaction: self.options.transaction} : {}, | ||
@@ -168,3 +169,3 @@ relinst._through || {}); | ||
if (typeof v === 'object') { | ||
where = Object.assign({}, v); | ||
where = objectAssign({}, v); | ||
if (where._through) { | ||
@@ -171,0 +172,0 @@ _through = where._through; |
{ | ||
"name": "sequelize-fixtures", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "sequelize fixture loader", | ||
@@ -19,3 +19,4 @@ "main": "index.js", | ||
"glob": "~3.2.1", | ||
"js-yaml": "~2.1.0" | ||
"js-yaml": "~2.1.0", | ||
"object-assign": "^4.0.1" | ||
}, | ||
@@ -22,0 +23,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51352
1088
4
+ Addedobject-assign@^4.0.1
+ Addedobject-assign@4.1.1(transitive)