New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@automapper/pojos

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automapper/pojos - npm Package Compare versions

Comparing version 3.0.11 to 3.1.0

6

package.json
{
"name": "@automapper/pojos",
"version": "3.0.11",
"version": "3.1.0",
"sideEffects": false,

@@ -32,5 +32,5 @@ "engines": {

"peerDependencies": {
"@automapper/types": "3.0.11",
"@automapper/core": "3.0.11"
"@automapper/types": "3.1.0",
"@automapper/core": "3.1.0"
}
}

@@ -11,2 +11,5 @@ "use strict";

return {
instantiate(model, obj) {
return utils_1.instantiate(metadataStorage, model, obj);
},
initializeMapping(source, destination, options) {

@@ -18,4 +21,4 @@ if (mappingStorage.has(source, destination)) {

exploreMetadata(metadataStorage, source, destination);
const [destinationObj, destinationNestedMetadataMap] = utils_1.instantiate(metadataStorage, destination);
const [sourceObj, sourceNestedMetadataMap] = utils_1.instantiate(metadataStorage, source);
const [destinationObj, destinationNestedMetadataMap] = this.instantiate(destination);
const [sourceObj, sourceNestedMetadataMap] = this.instantiate(source);
return core_1.createInitialMapping(sourceObj, destinationObj, sourceNestedMetadataMap, destinationNestedMetadataMap, (mapping) => {

@@ -35,4 +38,4 @@ mappingStorage.set(source, destination, mapping);

}
const [sourceObj] = utils_1.instantiate(metadataStorage, source);
const [destinationObj] = utils_1.instantiate(metadataStorage, destination);
const [sourceObj] = this.instantiate(source);
const [destinationObj] = this.instantiate(destination);
mapping[0 /* mappings */] = [sourceObj, destinationObj];

@@ -39,0 +42,0 @@ return mapping;

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