New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

steem

Package Overview
Dependencies
Maintainers
2
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steem - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

10

lib/formatter.js

@@ -5,9 +5,9 @@ module.exports = {

reputation = parseInt(reputation);
let rep = String(reputation);
const neg = rep.charAt(0) === '-';
var rep = String(reputation);
var neg = rep.charAt(0) === '-';
rep = neg ? rep.substring(1) : rep;
var str = rep;
const leadingDigits = parseInt(str.substring(0, 4));
const log = Math.log(leadingDigits) / Math.log(10);
const n = str.length - 1;
var leadingDigits = parseInt(str.substring(0, 4));
var log = Math.log(leadingDigits) / Math.log(10);
var n = str.length - 1;
var out = n + (log - parseInt(log));

@@ -14,0 +14,0 @@ if (isNaN(out)) out = 0;

{
"name": "steem",
"version": "0.3.3",
"version": "0.3.4",
"description": "Steem.js the JavaScript API for Steem blockchain",

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