Socket
Socket
Sign inDemoInstall

nft-collection-generator

Package Overview
Dependencies
70
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.1.0

19

bin/index.js

@@ -91,11 +91,6 @@ #! /usr/bin/env node

const divisors = [];
const divisors1 = [];
let permsCount = 1;
// for (let i = arraysToCombine.length - 1; i >= 0; i--) {
// divisors[i] = divisors[i + 1]
// ? divisors[i + 1] * arraysToCombine[i + 1].length
// : 1;
// permsCount *= arraysToCombine[i].length || 1;
// }
for (let i = 0; i <= arraysToCombine.length; i++) {
for (let i = arraysToCombine.length - 1; i >= 0; i--) {
divisors[i] = divisors[i + 1]

@@ -107,2 +102,12 @@ ? divisors[i + 1] * arraysToCombine[i + 1].length

for (let i = 0; i < arraysToCombine.length - 1; i++) {
divisors1[i] = divisors1[i + 1]
? divisors1[i + 1] * arraysToCombine[i + 1].length
: 1;
permsCount *= arraysToCombine[i].length || 1;
}
console.log('divisor', divisors)
console.log('divisor1', divisors1)
if (!!max && max > 0) {

@@ -109,0 +114,0 @@ console.log(max);

{
"name": "nft-collection-generator",
"version": "1.0.9",
"version": "1.1.0",
"description": "generate multiple nft collections using trates",

@@ -5,0 +5,0 @@ "main": "./bin/index.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