Socket
Socket
Sign inDemoInstall

yahoo-finance2

Package Overview
Dependencies
14
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.14.5 to 1.14.6

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.14.6](https://github.com/gadicc/node-yahoo-finance2/compare/v1.14.5...v1.14.6) (2021-10-13)
### Bug Fixes
* **pkg/esm:** target es2020->es2019: workaround old toolchains ([#279](https://github.com/gadicc/node-yahoo-finance2/issues/279)) ([ab63b27](https://github.com/gadicc/node-yahoo-finance2/commit/ab63b2773d622a08cde845abb52ac1e4f521e27c))
## [1.14.5](https://github.com/gadicc/node-yahoo-finance2/compare/v1.14.4...v1.14.5) (2021-09-24)

@@ -2,0 +9,0 @@

10

dist/cjs/package.json
{
"name": "yahoo-finance2",
"version": "1.14.5",
"version": "1.14.6",
"description": "JS API for Yahoo Finance",

@@ -45,3 +45,3 @@ "type:": "commonjs",

"build": "yarn run build:esm && yarn run build:cjs && yarn run build:post",
"build:esm": "tsc --module es2020 --outDir dist/esm",
"build:esm": "tsc --module es2020 --target es2019 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es2015 --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json",

@@ -77,8 +77,8 @@ "build:post": "scripts/json-transform.sh",

"@types/node-fetch": "2.5.12",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"globby": "12.0.2",
"jest": "27.2.1",
"jest": "27.2.5",
"jest-tobetype": "1.2.3",

@@ -85,0 +85,0 @@ "oas-schema-walker": "1.1.5",

module.exports = {
"name": "yahoo-finance2",
"version": "1.14.5",
"version": "1.14.6",
"description": "JS API for Yahoo Finance",

@@ -45,3 +45,3 @@ "type:": "commonjs",

"build": "yarn run build:esm && yarn run build:cjs && yarn run build:post",
"build:esm": "tsc --module es2020 --outDir dist/esm",
"build:esm": "tsc --module es2020 --target es2019 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es2015 --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json",

@@ -77,8 +77,8 @@ "build:post": "scripts/json-transform.sh",

"@types/node-fetch": "2.5.12",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"globby": "12.0.2",
"jest": "27.2.1",
"jest": "27.2.5",
"jest-tobetype": "1.2.3",

@@ -85,0 +85,0 @@ "oas-schema-walker": "1.1.5",

{
"name": "yahoo-finance2",
"version": "1.14.5",
"version": "1.14.6",
"description": "JS API for Yahoo Finance",

@@ -45,3 +45,3 @@ "type": "module",

"build": "yarn run build:esm && yarn run build:cjs && yarn run build:post",
"build:esm": "tsc --module es2020 --outDir dist/esm",
"build:esm": "tsc --module es2020 --target es2019 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es2015 --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json",

@@ -77,8 +77,8 @@ "build:post": "scripts/json-transform.sh",

"@types/node-fetch": "2.5.12",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"globby": "12.0.2",
"jest": "27.2.1",
"jest": "27.2.5",
"jest-tobetype": "1.2.3",

@@ -85,0 +85,0 @@ "oas-schema-walker": "1.1.5",

export default {
"name": "yahoo-finance2",
"version": "1.14.5",
"version": "1.14.6",
"description": "JS API for Yahoo Finance",

@@ -45,3 +45,3 @@ "type": "module",

"build": "yarn run build:esm && yarn run build:cjs && yarn run build:post",
"build:esm": "tsc --module es2020 --outDir dist/esm",
"build:esm": "tsc --module es2020 --target es2019 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es2015 --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json",

@@ -77,8 +77,8 @@ "build:post": "scripts/json-transform.sh",

"@types/node-fetch": "2.5.12",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"globby": "12.0.2",
"jest": "27.2.1",
"jest": "27.2.5",
"jest-tobetype": "1.2.3",

@@ -85,0 +85,0 @@ "oas-schema-walker": "1.1.5",

@@ -20,2 +20,3 @@ /*

async function moduleExec(opts) {
var _a;
const queryOpts = opts.query;

@@ -29,3 +30,3 @@ const moduleOpts = opts.moduleOptions;

type: "options",
object: queryOpts.overrides ?? {},
object: (_a = queryOpts.overrides) !== null && _a !== void 0 ? _a : {},
schemaKey: queryOpts.schemaKey,

@@ -32,0 +33,0 @@ options: this._opts.validation,

@@ -0,1 +1,2 @@

var _a;
import Ajv from "ajv";

@@ -136,3 +137,3 @@ import addFormats from "ajv-formats";

/* istanbul ignore next */
const logObj = typeof process !== "undefined" && process?.stdout?.isTTY
const logObj = typeof process !== "undefined" && ((_a = process === null || process === void 0 ? void 0 : process.stdout) === null || _a === void 0 ? void 0 : _a.isTTY)
? (obj) => console.dir(obj, { depth: 4, colors: true })

@@ -139,0 +140,0 @@ : (obj) => console.log(JSON.stringify(obj, null, 2));

{
"name": "yahoo-finance2",
"version": "1.14.5",
"version": "1.14.6",
"description": "JS API for Yahoo Finance",

@@ -45,3 +45,3 @@ "type": "module",

"build": "yarn run build:esm && yarn run build:cjs && yarn run build:post",
"build:esm": "tsc --module es2020 --outDir dist/esm",
"build:esm": "tsc --module es2020 --target es2019 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es2015 --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json",

@@ -77,8 +77,8 @@ "build:post": "scripts/json-transform.sh",

"@types/node-fetch": "2.5.12",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"globby": "12.0.2",
"jest": "27.2.1",
"jest": "27.2.5",
"jest-tobetype": "1.2.3",

@@ -85,0 +85,0 @@ "oas-schema-walker": "1.1.5",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc