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

group-objects-array

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

group-objects-array - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+0
-3
lib/groupObjectArrayByKey.js

@@ -43,3 +43,2 @@ 'use strict';

const groupObjectArrayByKey = (objArr, groupByKey) => {
//sanitize input

@@ -58,5 +57,3 @@ if (!objArr) {

}
let groupedObj = {};
for (let i of objArr) {

@@ -63,0 +60,0 @@ let key = i[groupByKey];

@@ -37,3 +37,2 @@ "use strict";

}
return flattenedArray;

@@ -40,0 +39,0 @@ }

+1
-1
{
"name": "group-objects-array",
"version": "1.0.6",
"version": "1.0.7",
"description": "Groups and merges array of objects by a single key.",

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