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

@poprank/rankings

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poprank/rankings - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

16

lib/rarity/rarity.meta.js

@@ -230,3 +230,3 @@ "use strict";

}
// Quintuple Digits
// Quintuple (33333, 44444, etc.) trait
if (digits === 5) {

@@ -246,2 +246,16 @@ var isQuintuple = false;

}
// Hundred (x00), Thousand (x000), Ten Thousand (x0,000) trait
if (id % Math.pow(10, digits - 1) === 0) {
var values = {
3: 'Hundred',
4: 'Thousand',
5: 'Ten Thousand',
};
outTraits.push({
value: values[digits],
category: 'Meta',
typeValue: 'Special',
displayType: null,
});
}
// Square number

@@ -248,0 +262,0 @@ var isSquare = id > 0 && Number.isInteger(Math.sqrt(id));

2

package.json
{
"name": "@poprank/rankings",
"version": "1.1.14",
"version": "1.1.15",
"description": "PopRank's NFT rarity and aesthetic ranking logic",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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