@karmaniverous/entity-manager
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -375,4 +375,4 @@ "use strict"; | ||
// Remove keys. | ||
(0, _forEach2.default)(keys, (getValue, key) => { | ||
delete newItem[key]; | ||
(0, _forEach2.default)(keys, (value, key) => { | ||
if (!value.retain) delete newItem[key]; | ||
}); | ||
@@ -379,0 +379,0 @@ _classPrivateFieldGet(this, _entityManager).logger.debug('done', newItem); |
@@ -111,3 +111,6 @@ "use strict"; | ||
encode: {}, | ||
decode: {} | ||
decode: {}, | ||
retain: { | ||
type: 'boolean' | ||
} | ||
}, | ||
@@ -114,0 +117,0 @@ additionalProperties: false, |
@@ -346,4 +346,4 @@ /** | ||
// Remove keys. | ||
_.forEach(keys, (getValue, key) => { | ||
delete newItem[key]; | ||
_.forEach(keys, (value, key) => { | ||
if (!value.retain) delete newItem[key]; | ||
}); | ||
@@ -350,0 +350,0 @@ this.#entityManager.logger.debug('done', newItem); |
@@ -75,2 +75,5 @@ import { validate } from 'jsonschema'; | ||
decode: {}, | ||
retain: { | ||
type: 'boolean', | ||
}, | ||
}, | ||
@@ -77,0 +80,0 @@ additionalProperties: false, |
{ | ||
"name": "@karmaniverous/entity-manager", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
79595
1448