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

gticker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gticker - npm Package Compare versions

Comparing version 1.0.8 to 1.0.10

9

index.js

@@ -18,6 +18,7 @@ #!/usr/bin/env node

var toPrint = stocks.reduce(function(prev, stock) {
if (stock.el && stock.ecp) { // pre-market, after-hours
return prev + sprintf("%s %.2f (%.2f%%) ", stock.t, stock.el, stock.ecp);
} else {
return prev + sprintf("%s %.2f [%.2f%%] ", stock.t, stock.l, stock.cp);
console.log(stock);
if (stock.el && stock.ecp) { // real-time
return prev + sprintf("%s %.2f [%.2f%%] ", stock.t, stock.el, stock.ecp);
} else { // pre-market, after-hours
return prev + sprintf("%s %.2f (%.2f%%) ", stock.t, stock.l, stock.cp);
}

@@ -24,0 +25,0 @@ }, '');

@@ -5,3 +5,3 @@ {

"description": "command line stock ticker",
"version": "1.0.8",
"version": "1.0.10",
"description": "",

@@ -8,0 +8,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