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

yahoo-exchange

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yahoo-exchange - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

8

index.js

@@ -19,3 +19,5 @@ "use strict";

const open = sd('open').raw;
list.push((previousClose + open) / 2);
const bid = sd('bid').raw;
const ask = sd('ask').raw;
list.push((bid + ask) / 2);
list.push(html['price']['regularMarketChange'].raw);

@@ -25,4 +27,4 @@ list.push(html['price']['regularMarketChangePercent'].raw * 100);

list.push(open);
list.push(sd('bid').raw);
list.push(sd('ask').raw);
list.push(bid);
list.push(ask);
list.push(sd('dayLow').raw);

@@ -29,0 +31,0 @@ list.push(sd('dayHigh').raw);

@@ -17,3 +17,5 @@ import request = require('request');

const open = sd('open').raw;
list.push((previousClose + open) / 2);
const bid = sd('bid').raw;
const ask = sd('ask').raw;
list.push((bid + ask) / 2);
list.push(html['price']['regularMarketChange'].raw);

@@ -23,4 +25,4 @@ list.push(html['price']['regularMarketChangePercent'].raw * 100);

list.push(open);
list.push(sd('bid').raw);
list.push(sd('ask').raw);
list.push(bid);
list.push(ask);
list.push(sd('dayLow').raw);

@@ -27,0 +29,0 @@ list.push(sd('dayHigh').raw);

@@ -14,3 +14,3 @@ {

"main": "index.js",
"version": "1.7.2",
"version": "1.7.3",
"license": "MIT",

@@ -17,0 +17,0 @@ "dependencies": {

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