@automapper/classes
Advanced tools
Comparing version 3.0.9 to 3.0.10
{ | ||
"name": "@automapper/classes/experimental/transformer-plugin", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"sideEffects": false, | ||
@@ -29,6 +29,6 @@ "publishConfig": { | ||
"peerDependencies": { | ||
"@automapper/classes": "3.0.9", | ||
"@automapper/core": "3.0.9", | ||
"@automapper/types": "3.0.9" | ||
"@automapper/classes": "3.0.10", | ||
"@automapper/core": "3.0.10", | ||
"@automapper/types": "3.0.10" | ||
} | ||
} |
{ | ||
"name": "@automapper/classes", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"peerDependencies": { | ||
"reflect-metadata": "~0.1.13", | ||
"@automapper/core": "3.0.9", | ||
"@automapper/types": "3.0.9" | ||
"@automapper/core": "3.0.10", | ||
"@automapper/types": "3.0.10" | ||
}, | ||
@@ -9,0 +9,0 @@ "sideEffects": false, |
@@ -93,5 +93,5 @@ "use strict"; | ||
// get the metadata from Reflection and AUTOMAPPER_METADATA_FACTORY then populate metadataStorage and instanceStorage | ||
const metadataList = Reflect.getMetadata(constants_1.AUTOMAP_PROPERTIES_METADATA_KEY, model) || []; | ||
let metadataList = Reflect.getMetadata(constants_1.AUTOMAP_PROPERTIES_METADATA_KEY, model) || []; | ||
if (model[constants_1.AUTOMAPPER_METADATA_FACTORY_KEY]) { | ||
metadataList.concat(model[constants_1.AUTOMAPPER_METADATA_FACTORY_KEY]() || []); | ||
metadataList = metadataList.concat(model[constants_1.AUTOMAPPER_METADATA_FACTORY_KEY]() || []); | ||
} | ||
@@ -98,0 +98,0 @@ // if no metadata, skip |
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
97054