New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

maparraytoobject

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maparraytoobject - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+3
-2
index.js

@@ -8,8 +8,9 @@ const mapArrayToObject = (array, key) => {

})
return objects
} else {
console.warn('mapArrayToObject: Check the arguments passed! One or more are wrong!')
console.warn('mapArrayToObject:\nCheck the arguments passed! One or more are wrong! Will return empty object')
}
return objects
}
module.exports = mapArrayToObject
+1
-1
{
"name": "maparraytoobject",
"version": "1.0.3",
"version": "1.0.4",
"description": "Map array of objects to object ",

@@ -5,0 +5,0 @@ "main": "index.js",