Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yfinance

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yfinance - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

29

dist/index.js

@@ -39,16 +39,17 @@ 'use strict';

http.get(url, function (res) {
try {
res.setEncoding('utf8');
var data = '';
res.on('data', function (chunk) {
data += chunk;
});
res.on('end', function () {
callback(null, convertResult(data));
});
// consume response body
res.resume();
} catch (e) {
callback(e);
}
res.setEncoding('utf8');
var data = '';
res.on('data', function (chunk) {
data += chunk;
});
res.on('end', function () {
try {
var converted = convertResult(data);
callback(null, converted);
} catch (e) {
callback(e);
}
});
// consume response body
res.resume();
}).on('error', function (e) {

@@ -55,0 +56,0 @@ callback(e);

{
"name": "yfinance",
"version": "0.0.5",
"version": "0.0.6",
"description": "Yahoo Finance API for NodeJs.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/johancn87/yf",

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