Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@automapper/classes

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automapper/classes - npm Package Compare versions

Comparing version 8.0.1-beta.0 to 8.0.1-beta.1

10

index.cjs.js

@@ -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);

12

index.esm.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc