@kohanajs/mixin-orm
Advanced tools
Comparing version 3.0.18 to 3.0.19
@@ -142,3 +142,3 @@ const { ControllerMixin } = require('@kohanajs/core-mvc'); | ||
const instanceTypeId = mapGetOrCreate(instancesType, id, new Map()); | ||
if (value !== '') instanceTypeId.set(prop, value); | ||
instanceTypeId.set(prop, value); | ||
@@ -145,0 +145,0 @@ postData.delete(key); |
@@ -213,3 +213,3 @@ const { ControllerMixin } = require('@kohanajs/core-mvc'); | ||
const v = newValues.get(field); | ||
if (!v) return; | ||
if (v === undefined || v === '') return; | ||
instance[field] = v; | ||
@@ -216,0 +216,0 @@ newValues.delete(field); |
{ | ||
"name": "@kohanajs/mixin-orm", | ||
"version": "3.0.18", | ||
"version": "3.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
19881
10