Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

filter-array-of-objects

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filter-array-of-objects - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

index.js

@@ -10,3 +10,11 @@ const _ = require("lodash");

}
for(let j = 1; j<=arrObj.length - 1; j++){
if(arrObj[i].id > arrObj[j].id){
const temp = arrObj[i];
arrObj[i] = arrObj[j];
arrObj[j] = temp;
}
}
});
}

2

package.json
{
"name": "filter-array-of-objects",
"version": "1.0.0",
"version": "1.0.1",
"description": "Filter propertie of array 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