@automapper/classes
Advanced tools
Comparing version 8.0.1-beta.0 to 8.0.1-beta.1
@@ -69,4 +69,10 @@ 'use strict'; | ||
if (nestedConstructors.length) { | ||
const nestedConstructorsMetadataMap = this.retrieveMetadata(...nestedConstructors); | ||
for (let j = 0, nestedLength = nestedConstructors.length; j < nestedLength; j++) { | ||
const nestedConstructor = nestedConstructors[j]; | ||
if (core.getMetadataMap(mapper).has(nestedConstructor)) { | ||
continue; | ||
} | ||
const nestedConstructorsMetadataMap = this.retrieveMetadata(nestedConstructor); | ||
nestedConstructorsMetadataMap.forEach((nestedConstructorMetadataList, nestedConstructor) => { | ||
@@ -73,0 +79,0 @@ metadataMap.set(nestedConstructor, nestedConstructorMetadataList); |
@@ -1,2 +0,2 @@ | ||
import { isDateConstructor, isPrimitiveConstructor, defaultSerializerOptions } from '@automapper/core'; | ||
import { isDateConstructor, isPrimitiveConstructor, defaultSerializerOptions, getMetadataMap } from '@automapper/core'; | ||
import 'reflect-metadata'; | ||
@@ -65,4 +65,10 @@ | ||
if (nestedConstructors.length) { | ||
const nestedConstructorsMetadataMap = this.retrieveMetadata(...nestedConstructors); | ||
for (let j = 0, nestedLength = nestedConstructors.length; j < nestedLength; j++) { | ||
const nestedConstructor = nestedConstructors[j]; | ||
if (getMetadataMap(mapper).has(nestedConstructor)) { | ||
continue; | ||
} | ||
const nestedConstructorsMetadataMap = this.retrieveMetadata(nestedConstructor); | ||
nestedConstructorsMetadataMap.forEach((nestedConstructorMetadataList, nestedConstructor) => { | ||
@@ -69,0 +75,0 @@ metadataMap.set(nestedConstructor, nestedConstructorMetadataList); |
@@ -1,3 +0,3 @@ | ||
import type { Constructor, MappingStrategyInitializer, MappingStrategyInitializerOptions } from '@automapper/core'; | ||
import { Constructor, MappingStrategyInitializer, MappingStrategyInitializerOptions } from '@automapper/core'; | ||
import 'reflect-metadata'; | ||
export declare function classes(options?: MappingStrategyInitializerOptions): MappingStrategyInitializer<Constructor>; |
{ | ||
"name": "@automapper/classes/mapped-types", | ||
"version": "8.0.1-beta.0", | ||
"version": "8.0.1-beta.1", | ||
"exports": { | ||
@@ -37,5 +37,5 @@ ".": { | ||
"peerDependencies": { | ||
"@automapper/core": "8.0.1-beta.0", | ||
"@automapper/classes": "8.0.1-beta.0" | ||
"@automapper/core": "8.0.1-beta.1", | ||
"@automapper/classes": "8.0.1-beta.1" | ||
} | ||
} |
{ | ||
"name": "@automapper/classes", | ||
"version": "8.0.1-beta.0", | ||
"version": "8.0.1-beta.1", | ||
"peerDependencies": { | ||
"reflect-metadata": "~0.1.13", | ||
"@automapper/core": "8.0.1-beta.0" | ||
"@automapper/core": "8.0.1-beta.1" | ||
}, | ||
@@ -8,0 +8,0 @@ "exports": { |
{ | ||
"name": "@automapper/classes/transformer-plugin", | ||
"version": "8.0.1-beta.0", | ||
"version": "8.0.1-beta.1", | ||
"exports": { | ||
@@ -37,4 +37,4 @@ ".": { | ||
"peerDependencies": { | ||
"@automapper/classes": "8.0.1-beta.0" | ||
"@automapper/classes": "8.0.1-beta.1" | ||
} | ||
} |
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
68843
1118