Socket
Socket
Sign inDemoInstall

array-indexer

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

array-indexer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

index.js
module.exports = index;
/**
*
* @template T
* @param {T[]} array
* @param {string[]} fieldList
* @return { {[k in typeof fieldList[number]]: T[]} }
*/
function index (array, fieldList) {

@@ -4,0 +11,0 @@ var idx = {}

2

package.json
{
"name": "array-indexer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create indexes based on arrays of objects",

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

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