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.12 to 1.1.13

4

lib/rarity/rarity.meta.js

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

// Square number
var isSquare = id > 0 && Number.isInteger(Math.pow(id, 1 / 2));
var isSquare = id > 0 && Number.isInteger(Math.sqrt(id));
if (isSquare) {

@@ -257,3 +257,3 @@ outTraits.push({

// Cube number
var isCube = id > 0 && Number.isInteger(Math.pow(id, 1 / 3));
var isCube = id > 0 && Number.isInteger(Math.cbrt(id));
if (isCube) {

@@ -260,0 +260,0 @@ outTraits.push({

{
"name": "@poprank/rankings",
"version": "1.1.12",
"version": "1.1.13",
"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