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.0-beta.5 to 8.0.0-beta.6

20

index.cjs.js

@@ -104,6 +104,6 @@ 'use strict';

destinationConstructor = (_, destinationIdentifier) => new destinationIdentifier(),
applyMetadata = core.defaultApplyMetadata,
applyMetadata,
postMap,
preMap
} = {}) {
} = core.defaultSerializerOptions) {
return mapper => ({

@@ -134,16 +134,4 @@ destinationConstructor,

preMap: (...args) => {
if (preMap) {
return preMap(...args);
}
return;
},
postMap: (...args) => {
if (postMap) {
return postMap(...args);
}
return;
}
preMap: preMap,
postMap: postMap
});

@@ -150,0 +138,0 @@ }

22

index.esm.js

@@ -1,2 +0,2 @@

import { defaultApplyMetadata } from '@automapper/core';
import { defaultSerializerOptions } from '@automapper/core';
import 'reflect-metadata';

@@ -100,6 +100,6 @@

destinationConstructor = (_, destinationIdentifier) => new destinationIdentifier(),
applyMetadata = defaultApplyMetadata,
applyMetadata,
postMap,
preMap
} = {}) {
} = defaultSerializerOptions) {
return mapper => ({

@@ -130,16 +130,4 @@ destinationConstructor,

preMap: (...args) => {
if (preMap) {
return preMap(...args);
}
return;
},
postMap: (...args) => {
if (postMap) {
return postMap(...args);
}
return;
}
preMap: preMap,
postMap: postMap
});

@@ -146,0 +134,0 @@ }

@@ -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({ destinationConstructor, applyMetadata, postMap, preMap, }?: MappingStrategyInitializerOptions): MappingStrategyInitializer<Constructor>;
{
"name": "@automapper/classes/mapped-types",
"version": "8.0.0-beta.5",
"version": "8.0.0-beta.6",
"exports": {

@@ -34,5 +34,5 @@ "import": "./index.esm.js",

"peerDependencies": {
"@automapper/core": "8.0.0-beta.5",
"@automapper/classes": "8.0.0-beta.5"
"@automapper/core": "8.0.0-beta.6",
"@automapper/classes": "8.0.0-beta.6"
}
}
{
"name": "@automapper/classes",
"version": "8.0.0-beta.5",
"version": "8.0.0-beta.6",
"peerDependencies": {
"reflect-metadata": "~0.1.13",
"@automapper/core": "8.0.0-beta.5"
"@automapper/core": "8.0.0-beta.6"
},

@@ -8,0 +8,0 @@ "exports": {

{
"name": "@automapper/classes/transformer-plugin",
"version": "8.0.0-beta.5",
"version": "8.0.0-beta.6",
"exports": {

@@ -34,4 +34,4 @@ "import": "./index.esm.js",

"peerDependencies": {
"@automapper/classes": "8.0.0-beta.5"
"@automapper/classes": "8.0.0-beta.6"
}
}
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