yahoo-stock-api
Advanced tools
Comparing version 1.1.7 to 1.1.8
{ | ||
"name": "yahoo-stock-api", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Simple API to get stock price from finance.yahoo.com", | ||
@@ -18,3 +18,3 @@ "main": "index.js", | ||
"test": "node test/test.js", | ||
"lint": "eslint '**/*.js'" | ||
"lint": "eslint src/*.js" | ||
}, | ||
@@ -21,0 +21,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
const { dateToUnix, handleError, handleResponse } = require('../../util'); | ||
const { dateToUnix, handleError, handleResponse } = require('../util'); | ||
const { request } = require('undici'); | ||
@@ -3,0 +3,0 @@ const baseURL = 'https://finance.yahoo.com/quote/'; |
@@ -5,5 +5,5 @@ const { request } = require('undici'); | ||
const cheerio = require('cheerio').default; | ||
const { handleError, handleResponse } = require('../../util'); | ||
const { handleError, handleResponse } = require('../util'); | ||
const numeral = require('numeral'); | ||
numeral.register('locale', 'api', require('../../numeralConfig.json')); | ||
numeral.register('locale', 'api', require('../numeralConfig.json')); | ||
numeral.locale('api'); | ||
@@ -10,0 +10,0 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
16553