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

grand-array

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grand-array - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

8

index.js

@@ -254,10 +254,4 @@ module.exports = {

countOfPairs : function(arr){
var pairs = 0;
var j = 1;
for(var i = 0; i < arr.length; i++){
pairs += arr.length - j;
j++;
}
return pairs;
return arr.length * (arr.length - 1)/2
}
}

2

package.json
{
"name": "grand-array",
"version": "1.2.5",
"version": "1.2.6",
"description": "Easy to use Array Manipulator with tons of Array Operations",

@@ -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