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.4.1 to 8.5.0-beta.0

7

index.js

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

import { isDateConstructor, isPrimitiveConstructor, defaultStrategyInitializerOptions } from '@automapper/core';
import { isDateConstructor, isPrimitiveConstructor, defaultStrategyInitializerOptions, AutoMapperLogger } from '@automapper/core';
import 'reflect-metadata';

@@ -103,3 +103,4 @@

if (options.type == null) {
console.warn(`
if (AutoMapperLogger.warn) {
AutoMapperLogger.warn(`
Cannot determine type metadata of "${String(propertyKey)}" on class ${target.constructor.name}.

@@ -109,2 +110,4 @@ "${String(propertyKey)}" metadata has been skipped.

`);
}
return;

@@ -111,0 +114,0 @@ }

import { getMetadataList, AUTOMAP_PROPERTIES_METADATA_KEY } from '@automapper/classes';
import { AutoMapperLogger } from '@automapper/core';

@@ -15,3 +16,5 @@ function inheritAutoMapMetadata(parentClass, // eslint-disable-next-line @typescript-eslint/ban-types

} catch (e) {
console.error(`Error trying to inherit metadata: ${e}`);
if (AutoMapperLogger.error) {
AutoMapperLogger.error(`Error trying to inherit metadata: ${e}`);
}
}

@@ -27,3 +30,5 @@ }

} catch (e) {
console.error(`Error inheriting properties: ${e}`);
if (AutoMapperLogger.error) {
AutoMapperLogger.error(`Error inheriting properties: ${e}`);
}
}

@@ -30,0 +35,0 @@ }

{
"name": "@automapper/classes/mapped-types",
"version": "8.4.1",
"version": "8.5.0-beta.0",
"type": "module",

@@ -17,4 +17,4 @@ "exports": {

"peerDependencies": {
"@automapper/core": "8.4.1",
"@automapper/classes": "8.4.1"
"@automapper/core": "8.5.0-beta.0",
"@automapper/classes": "8.5.0-beta.0"
},

@@ -21,0 +21,0 @@ "repository": {

{
"name": "@automapper/classes",
"version": "8.4.1",
"version": "8.5.0-beta.0",
"type": "module",
"peerDependencies": {
"@automapper/core": "8.4.1",
"@automapper/core": "8.5.0-beta.0",
"reflect-metadata": "~0.1.13"

@@ -8,0 +8,0 @@ },

{
"name": "@automapper/classes/transformer-plugin",
"version": "8.4.1",
"version": "8.5.0-beta.0",
"type": "module",

@@ -17,4 +17,4 @@ "exports": {

"peerDependencies": {
"@automapper/core": "8.4.1",
"@automapper/classes": "8.4.1"
"@automapper/core": "8.5.0-beta.0",
"@automapper/classes": "8.5.0-beta.0"
},

@@ -21,0 +21,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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