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.5.8 to 1.5.9

4

index.js

@@ -16,6 +16,6 @@ "use strict";

list.push(html.indexOf('react-text: 39 -->') === -1 ?
parseFloat(parseReact(html, 38, 3).split(' ')[0]) :
parseFloat(parseReact(html, 38, 2).split(' ')[0]) :
parseFloat(parseReact(html, 39, 1).split(' ')[0]));
list.push(html.indexOf('react-text: 39 -->') === -1 ?
parseFloat(parseReact(html, 38, 3).split('(')[1].split("\%")[0]) :
parseFloat(parseReact(html, 38, 2).split('(')[1].split("\%")[0]) :
parseFloat(parseReact(html, 39, 1).split('(')[1].split("\%")[0]));

@@ -22,0 +22,0 @@ list.push(parseFloat(parseReact(html, 42, 2).split('<')[0]));

@@ -14,6 +14,6 @@ import request = require('request');

list.push(html.indexOf('react-text: 39 -->') === -1 ?
parseFloat(parseReact(html, 38, 3).split(' ')[0]) :
parseFloat(parseReact(html, 38, 2).split(' ')[0]) :
parseFloat(parseReact(html, 39, 1).split(' ')[0]));
list.push(html.indexOf('react-text: 39 -->') === -1 ?
parseFloat(parseReact(html, 38, 3).split('(')[1].split("\%")[0]) :
parseFloat(parseReact(html, 38, 2).split('(')[1].split("\%")[0]) :
parseFloat(parseReact(html, 39, 1).split('(')[1].split("\%")[0]));

@@ -20,0 +20,0 @@ list.push(parseFloat(parseReact(html, 42, 2).split('<')[0]));

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

"main": "index.js",
"version": "1.5.8",
"version": "1.5.9",
"license": "MIT",

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

@@ -11,3 +11,2 @@ const index = require('../index');

index.getExchangeDataArray('USDKRW', (data, pair) => console.log(data, pair), (error, pair) => console.log(`[Error] ${pair}\n${error}`));
index.getExchangeDataArray(['USDKRW', 'JPYKRW'], (data, pair) => console.log(data, pair), (error, pair) => console.log(`[Error] ${pair}\n${error}`));
index.getExchangeDataArray('JPYKRW', data => console.log(data));
index.getExchangeDataArray(['USDKRW', 'JPYKRW'], (data, pair) => console.log(data, pair), (error, pair) => console.log(`[Error] ${pair}\n${error}`));
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