adonis-lucid-mongodb
Advanced tools
Comparing version 1.0.54 to 1.0.55
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.0.54", | ||
"version": "1.0.55", | ||
"scripts": { | ||
@@ -11,0 +11,0 @@ "lint": "standard", |
@@ -45,3 +45,3 @@ 'use strict' | ||
this.exists = true | ||
this.original = _.clone(this.attributes) | ||
this.original = _.cloneDeep(this.attributes) | ||
return !!save | ||
@@ -87,3 +87,3 @@ } | ||
this.parsePersistance(_.omit(dirtyValues, ['$set', '$unset'])) | ||
this.original = _.clone(this.attributes) | ||
this.original = _.cloneDeep(this.attributes) | ||
} | ||
@@ -90,0 +90,0 @@ return save |
@@ -48,3 +48,3 @@ 'use strict' | ||
modelInstance.exists = true | ||
modelInstance.original = _.clone(modelInstance.attributes) | ||
modelInstance.original = _.cloneDeep(modelInstance.attributes) | ||
return _(modelInstance) | ||
@@ -75,3 +75,3 @@ }).value() | ||
modelInstance.exists = true | ||
modelInstance.original = _.clone(modelInstance.attributes) | ||
modelInstance.original = _.cloneDeep(modelInstance.attributes) | ||
response[value] = _(modelInstance) | ||
@@ -78,0 +78,0 @@ return response |
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
260918