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.4 to 0.0.5

16

dist/index.js

@@ -36,6 +36,6 @@ 'use strict';

self._request = function (query, callback) {
try {
var url = getUrl(query);
var url = getUrl(query);
http.get(url, function (res) {
http.get(url, function (res) {
try {
res.setEncoding('utf8');

@@ -51,8 +51,8 @@ var data = '';

res.resume();
}).on('error', function (e) {
throw e;
});
} catch (e) {
} catch (e) {
callback(e);
}
}).on('error', function (e) {
callback(e);
}
});
};

@@ -59,0 +59,0 @@

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

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

@@ -0,0 +0,0 @@ # yfinance [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]

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