Socket
Socket
Sign inDemoInstall

array-indexer

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -8,3 +8,3 @@ module.exports = index;

if (this.constructor.name == 'Array') {
if (this && this.constructor.name == 'Array') {
fieldList = array;

@@ -11,0 +11,0 @@ array = this;

{
"name": "array-indexer",
"version": "1.0.0",
"version": "1.0.1",
"description": "Create indexes based on arrays of objects",
"main": "index.js",
"scripts": {
"test": "nodeunit test.js"
},
"repository": {

@@ -19,6 +22,3 @@ "type": "git",

"nodeunit": "^0.11.3"
},
"scripts": {
"test": "nodeunit test.js"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc