From dec552fd44b183b23ed43a8c29825ec5186a587c Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:23:41 +0300 Subject: [PATCH 01/32] chore(esm): initial esm work --- package.json | 18 +++++++++++++----- tsconfig.json | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index bd3f66ad..b49499f8 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,11 @@ "name": "yahoo-finance2", "version": "0.0.1", "description": "JS API for Yahoo Finance", - "main": "api/index-node.js", - "types": "api/index-node.d.ts", - "browser": "api/index-browser.js", + "type": "module", + "main": "dist/esm/index-node.js", + "exports": "dist/esm/index-node.js", + "types": "dist/esm/index-node.d.ts", + "browser": "dist/esm/index-browser.js", "repository": "https://github.com/gadicc/node-yahoo-finance2", "author": "Gadi Cohen ", "license": "MIT", @@ -22,6 +24,9 @@ "client", "library" ], + "engines": { + "node": ">=12" + }, "bin": { "yahoo-finance": "bin/yahoo-finance.js" }, @@ -29,13 +34,16 @@ "coverage": "jest --coverage", "lint": "eslint . --ext .js,.ts", "schema": "ts-json-schema-generator -f tsconfig.json -p 'src/{modules,typings}/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json", + "build": "yarn run build:esm && yarn run build:cjs", + "build:esm": "tsc --module es2015 --outDir dist/esm", + "build:cjs": "tsc --module commonjs --outDir dist/cjs", "generateSchema": "yarn schema", - "prepublishOnly": "tsc && yarn generateSchema", + "prepublishOnly": "yarn build && yarn generateSchema", "test": "jest", "test:ts": "tsc --noEmit" }, "files": [ - "api", + "dist", "schema.json" ], "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 0b919fbc..bcefc8f6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "extends": "@tsconfig/node12/tsconfig.json", "compilerOptions": { - "outDir": "./api", + "moduleResolution": "node", "allowJs": true, "preserveConstEnums": true, "declaration": true, From d12790e6d4c6d30ed441cb4d7e584018a0112179 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:28:56 +0300 Subject: [PATCH 02/32] chore(esm): don't force engines while we still support CJS --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b49499f8..bd8063e6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "client", "library" ], - "engines": { + "//engines//UNCOMMENT_WHEN_WE_DROP_CJS_SUPPORT": { "node": ">=12" }, "bin": { From 00113edb947cce161358036f36c12674fb154679 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:38:07 +0300 Subject: [PATCH 03/32] chore(tests): jest.config.js -> .ts, export, add dev ts-node --- jest.config.js => jest.config.ts | 6 +++++- package.json | 1 + yarn.lock | 36 ++++++++++++++++++++++++++++++-- 3 files changed, 40 insertions(+), 3 deletions(-) rename jest.config.js => jest.config.ts (71%) diff --git a/jest.config.js b/jest.config.ts similarity index 71% rename from jest.config.js rename to jest.config.ts index a32d1adb..402012f1 100644 --- a/jest.config.js +++ b/jest.config.ts @@ -1,4 +1,6 @@ -module.exports = { +import type { Config } from "@jest/types"; + +const config: Config.InitialOptions = { preset: "ts-jest", setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", @@ -10,3 +12,5 @@ module.exports = { ], */ }; + +export default config; diff --git a/package.json b/package.json index bd8063e6..65948515 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "semantic-release": "17.4.2", "ts-jest": "26.5.6", "ts-json-schema-generator": "0.92.0", + "ts-node": "^9.1.1", "typescript": "4.2.4" } } diff --git a/yarn.lock b/yarn.lock index e98fc7d1..4f2e607b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1375,6 +1375,11 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -2213,6 +2218,11 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -2469,6 +2479,11 @@ diff-sequences@^26.6.2: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + diff@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" @@ -5205,7 +5220,7 @@ make-dir@^3.0.0: dependencies: semver "^6.0.0" -make-error@1.x: +make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -7458,7 +7473,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.5.6: +source-map-support@^0.5.17, source-map-support@^0.5.6: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== @@ -8047,6 +8062,18 @@ ts-json-schema-generator@0.92.0: json-stable-stringify "^1.0.1" typescript "~4.2.4" +ts-node@^9.1.1: + version "9.1.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-9.1.1.tgz#51a9a450a3e959401bda5f004a72d54b936d376d" + integrity sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg== + dependencies: + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + source-map-support "^0.5.17" + yn "3.1.1" + tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -8654,3 +8681,8 @@ yargs@^8.0.2: which-module "^2.0.0" y18n "^3.2.1" yargs-parser "^7.0.0" + +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== From af07200eb6385bc89461e8e40879c5f017457422 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:40:01 +0300 Subject: [PATCH 04/32] chore(tests): update jest.config.ts to ignore /dist/ not /api/ --- jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.ts b/jest.config.ts index 402012f1..33f3ddca 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -4,7 +4,7 @@ const config: Config.InitialOptions = { preset: "ts-jest", setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/api/"], + testPathIgnorePatterns: ["/node_modules/", "/dist/"], /* reporters: [ '/tests/reporter.js', From 769f2cb7c2846ac187e6887c76e6d3524ddbde49 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:43:54 +0300 Subject: [PATCH 05/32] chore(env): import, not require deps. add @types/node-fetch --- package.json | 1 + src/env-node.ts | 4 ++-- yarn.lock | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 65948515..6a907865 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "@semantic-release/release-notes-generator": "9.0.2", "@tsconfig/node12": "1.0.7", "@types/jest": "26.0.23", + "@types/node-fetch": "^2.5.10", "@typescript-eslint/eslint-plugin": "4.22.1", "@typescript-eslint/parser": "4.22.1", "eslint": "7.26.0", diff --git a/src/env-node.ts b/src/env-node.ts index bf887b06..ce0ad4b8 100644 --- a/src/env-node.ts +++ b/src/env-node.ts @@ -1,5 +1,5 @@ -const { URLSearchParams } = require("url"); -const fetch = require("node-fetch"); +import { URLSearchParams } from "url"; +import fetch from "node-fetch"; function fetchDevel() { // This let's us still only require the file if we need it, at runtime. diff --git a/yarn.lock b/yarn.lock index 4f2e607b..f0747a6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1021,6 +1021,14 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256" integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg== +"@types/node-fetch@^2.5.10": + version "2.5.10" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.10.tgz#9b4d4a0425562f9fcea70b12cb3fcdd946ca8132" + integrity sha512-IpkX0AasN44hgEad0gEF/V6EgR5n69VEqPEgnmoM8GsIGro3PowbWs4tR6IhxUTyPLpOn+fiGG6nrQhcmoCuIQ== + dependencies: + "@types/node" "*" + form-data "^3.0.0" + "@types/node@*", "@types/node@>= 8": version "14.14.22" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.22.tgz#0d29f382472c4ccf3bd96ff0ce47daf5b7b84b18" @@ -2056,7 +2064,7 @@ columnify@~1.5.4: strip-ansi "^3.0.0" wcwidth "^1.0.0" -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -3105,6 +3113,15 @@ forever-agent@~0.6.1: resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + form-data@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" From bc830530b09ebca3af9e02301594ef8663b7c5ce Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 22 Apr 2021 18:56:03 +0300 Subject: [PATCH 06/32] chore(tests): ts-ignore yahooFinanceFetch partial bind --- src/lib/yahooFinanceFetch.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/yahooFinanceFetch.spec.ts b/src/lib/yahooFinanceFetch.spec.ts index 254390cb..8c6bc428 100644 --- a/src/lib/yahooFinanceFetch.spec.ts +++ b/src/lib/yahooFinanceFetch.spec.ts @@ -13,6 +13,7 @@ function isPending(promise: any) { } describe("yahooFinanceFetch", () => { + // @ts-ignore: partial This for testing const yahooFinanceFetch = _yahooFinanceFetch.bind({ _env, _opts }); // Don't log errors during tests From f3eb00ea5c9f77eee4f63b735d261d658dc699fc Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Wed, 28 Apr 2021 17:33:44 +0300 Subject: [PATCH 07/32] chore(esm): replace require with import, add .js - breaks stuff --- src/env-node.ts | 7 +++--- src/index-browser.ts | 4 ++-- src/index-common.ts | 24 ++++++++++----------- src/index-node.ts | 4 ++-- src/lib/cs2json.spec.ts | 2 +- src/lib/fetchDevel.js | 10 ++++----- src/lib/moduleExec.spec.ts | 6 +++--- src/lib/moduleExec.ts | 4 ++-- src/lib/validateAndCoerceTypes.spec.ts | 6 +++--- src/lib/validateAndCoerceTypes.ts | 6 +++--- src/lib/yahooFinanceFetch.spec.ts | 10 ++++----- src/lib/yahooFinanceFetch.ts | 12 ++++++----- src/modules/autoc.spec.ts | 6 +++--- src/modules/autoc.ts | 2 +- src/modules/historical.spec.ts | 6 +++--- src/modules/historical.ts | 2 +- src/modules/options.spec.ts | 6 +++--- src/modules/options.ts | 5 +++-- src/modules/quote.spec.ts | 6 +++--- src/modules/quote.ts | 4 ++-- src/modules/quoteSummary.spec.ts | 8 +++---- src/modules/quoteSummary.ts | 4 ++-- src/modules/recommendationsBySymbol.spec.ts | 6 +++--- src/modules/recommendationsBySymbol.ts | 2 +- src/modules/search.spec.ts | 8 +++---- src/modules/search.ts | 2 +- src/modules/trendingSymbols.spec.ts | 4 ++-- src/modules/trendingSymbols.ts | 2 +- src/other/quoteCombine.spec.ts | 4 ++-- src/other/quoteCombine.ts | 8 +++---- 30 files changed, 92 insertions(+), 88 deletions(-) diff --git a/src/env-node.ts b/src/env-node.ts index ce0ad4b8..0acb3696 100644 --- a/src/env-node.ts +++ b/src/env-node.ts @@ -1,9 +1,10 @@ import { URLSearchParams } from "url"; import fetch from "node-fetch"; -function fetchDevel() { - // This let's us still only require the file if we need it, at runtime. - return require("./lib/fetchDevel"); +// This let's us still only require the file if we need it, at runtime. +async function fetchDevel() { + const module = await import("./lib/fetchDevel.js"); + return module.default; } export default { diff --git a/src/index-browser.ts b/src/index-browser.ts index d3ff0e39..bc8808dc 100644 --- a/src/index-browser.ts +++ b/src/index-browser.ts @@ -1,5 +1,5 @@ -import yahooFinance from "./index-common"; -import browserEnvironment from "./env-browser"; +import yahooFinance from "./index-common.js"; +import browserEnvironment from "./env-browser.js"; yahooFinance._env = browserEnvironment; diff --git a/src/index-common.ts b/src/index-common.ts index eada0dcf..10f75539 100644 --- a/src/index-common.ts +++ b/src/index-common.ts @@ -1,20 +1,20 @@ // libs -import yahooFinanceFetch from "./lib/yahooFinanceFetch"; -import moduleExec from "./lib/moduleExec"; -import options from "./lib/options"; +import yahooFinanceFetch from "./lib/yahooFinanceFetch.js"; +import moduleExec from "./lib/moduleExec.js"; +import options from "./lib/options.js"; // modules -import autoc from "./modules/autoc"; -import historical from "./modules/historical"; -import quote from "./modules/quote"; -import quoteSummary from "./modules/quoteSummary"; -import search from "./modules/search"; -import recommendationsBySymbol from "./modules/recommendationsBySymbol"; -import trendingSymbols from "./modules/trendingSymbols"; -import optionsModule from "./modules/options"; +import autoc from "./modules/autoc.js"; +import historical from "./modules/historical.js"; +import quote from "./modules/quote.js"; +import quoteSummary from "./modules/quoteSummary.js"; +import search from "./modules/search.js"; +import recommendationsBySymbol from "./modules/recommendationsBySymbol.js"; +import trendingSymbols from "./modules/trendingSymbols.js"; +import optionsModule from "./modules/options.js"; // other -import quoteCombine from "./other/quoteCombine"; +import quoteCombine from "./other/quoteCombine.js"; export default { // internal diff --git a/src/index-node.ts b/src/index-node.ts index 1ca65803..19bc9d1f 100644 --- a/src/index-node.ts +++ b/src/index-node.ts @@ -1,5 +1,5 @@ -import yahooFinance from "./index-common"; -import nodeEnvironment from "./env-node"; +import yahooFinance from "./index-common.js"; +import nodeEnvironment from "./env-node.js"; yahooFinance._env = nodeEnvironment; diff --git a/src/lib/cs2json.spec.ts b/src/lib/cs2json.spec.ts index dbfc231a..4b9bb9d5 100644 --- a/src/lib/cs2json.spec.ts +++ b/src/lib/cs2json.spec.ts @@ -1,4 +1,4 @@ -import csv2json from "./csv2json"; +import csv2json from "./csv2json.js"; /* const toBeType = require('jest-tobetype').toBeType; diff --git a/src/lib/fetchDevel.js b/src/lib/fetchDevel.js index 34e5df49..8e65b4f2 100644 --- a/src/lib/fetchDevel.js +++ b/src/lib/fetchDevel.js @@ -1,8 +1,8 @@ /* istanbul ignore file */ -const nodeFetch = require("node-fetch"); -const fs = require("fs"); -const path = require("path"); -const crypto = require("crypto"); +import nodeFetch from "node-fetch"; +import fs from "fs"; +import path from "path"; +import crypto from "crypto"; const FILE_BASE = path.join(__dirname, "..", "..", "tests", "http"); @@ -99,4 +99,4 @@ async function fetchDevel(url, fetchOptions) { return res; } -module.exports = fetchDevel; +export default fetchDevel; diff --git a/src/lib/moduleExec.spec.ts b/src/lib/moduleExec.spec.ts index 0d897349..1ed3abb2 100644 --- a/src/lib/moduleExec.spec.ts +++ b/src/lib/moduleExec.spec.ts @@ -1,6 +1,6 @@ -import search from "../modules/search"; -const { InvalidOptionsError } = require("./errors"); -import testYf from "../../tests/testYf"; +import search from "../modules/search.js"; +import { InvalidOptionsError } from "./errors.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ search }); yf._opts.validation.logOptionsErrors = false; diff --git a/src/lib/moduleExec.ts b/src/lib/moduleExec.ts index eadc5404..67bcc34a 100644 --- a/src/lib/moduleExec.ts +++ b/src/lib/moduleExec.ts @@ -15,8 +15,8 @@ * Further info below, inline. */ -import validateAndCoerceTypes from "./validateAndCoerceTypes"; -import csv2json from "./csv2json"; +import validateAndCoerceTypes from "./validateAndCoerceTypes.js"; +import csv2json from "./csv2json.js"; interface TransformFunc { // The consuming module itself will have a stricter return type. diff --git a/src/lib/validateAndCoerceTypes.spec.ts b/src/lib/validateAndCoerceTypes.spec.ts index 4f98b6c1..4baee49c 100644 --- a/src/lib/validateAndCoerceTypes.spec.ts +++ b/src/lib/validateAndCoerceTypes.spec.ts @@ -1,6 +1,6 @@ -import validateAndCoerceTypes, { ajv } from "./validateAndCoerceTypes"; -import type { ValidateParams } from "./validateAndCoerceTypes"; -import { InvalidOptionsError, FailedYahooValidationError } from "./errors"; +import validateAndCoerceTypes, { ajv } from "./validateAndCoerceTypes.js"; +import type { ValidateParams } from "./validateAndCoerceTypes.js"; +import { InvalidOptionsError, FailedYahooValidationError } from "./errors.js"; ajv.addSchema({ $id: "testSchema", diff --git a/src/lib/validateAndCoerceTypes.ts b/src/lib/validateAndCoerceTypes.ts index 87d9160a..8d8148c3 100644 --- a/src/lib/validateAndCoerceTypes.ts +++ b/src/lib/validateAndCoerceTypes.ts @@ -3,9 +3,9 @@ import type { SchemaValidateFunction } from "ajv/dist/types"; import addFormats from "ajv-formats"; //import schema from '../../schema.json'; -const schema = require("../../schema.json"); -const pkg = require("../../package.json"); -import { InvalidOptionsError, FailedYahooValidationError } from "./errors"; +import schema from "../../schema.json"; +import pkg from "../../package.json"; +import { InvalidOptionsError, FailedYahooValidationError } from "./errors.js"; // https://ajv.js.org/docs/api.html#options export const ajv = new Ajv({ diff --git a/src/lib/yahooFinanceFetch.spec.ts b/src/lib/yahooFinanceFetch.spec.ts index 8c6bc428..806df2b3 100644 --- a/src/lib/yahooFinanceFetch.spec.ts +++ b/src/lib/yahooFinanceFetch.spec.ts @@ -1,11 +1,11 @@ import * as util from "util"; -import Queue from "./queue"; -import _yahooFinanceFetch from "./yahooFinanceFetch"; -import errors from "./errors"; +import Queue from "./queue.js"; +import _yahooFinanceFetch from "./yahooFinanceFetch.js"; +import errors from "./errors.js"; -import _env from "../env-node"; -import _opts from "./options"; +import _env from "../env-node.js"; +import _opts from "./options.js"; // https://dev.to/devcrafter91/elegant-way-to-check-if-a-promise-is-pending-577g function isPending(promise: any) { diff --git a/src/lib/yahooFinanceFetch.ts b/src/lib/yahooFinanceFetch.ts index f2e8a9d0..71931bec 100644 --- a/src/lib/yahooFinanceFetch.ts +++ b/src/lib/yahooFinanceFetch.ts @@ -1,9 +1,10 @@ -import Queue from "./queue"; +import Queue from "./queue.js"; -import type { Options } from "../typings/interfaces"; -import type { QueueOptions } from "./queue"; +import type { Options } from "../typings/interfaces.js"; +import type { Options } from "./options.js"; +import type { QueueOptions } from "./queue.js"; -import errors from "./errors"; +import errors from "./errors.js"; import pkg from "../../package.json"; const userAgent = `${pkg.name}/${pkg.version} (+${pkg.repository})`; @@ -64,7 +65,8 @@ async function yahooFinanceFetch( /* istanbul ignore next */ // no need to force coverage on real network request. - const fetchFunc = moduleOpts.devel ? fetchDevel() : fetch; + const fetchFunc = moduleOpts.devel ? await fetchDevel() : fetch; + console.log({ fetchFunc }); const fetchOptions = { "User-Agent": userAgent, diff --git a/src/modules/autoc.spec.ts b/src/modules/autoc.spec.ts index f73dfbe8..c9a8cfb9 100644 --- a/src/modules/autoc.spec.ts +++ b/src/modules/autoc.spec.ts @@ -1,7 +1,7 @@ -import autoc from "./autoc"; -import { testSymbols } from "../../tests/symbols"; +import autoc from "./autoc.js"; +import { testSymbols } from "../../tests/symbols.js"; -import testYf from "../../tests/testYf"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ autoc }); diff --git a/src/modules/autoc.ts b/src/modules/autoc.ts index a4c9c913..af5e3a8a 100644 --- a/src/modules/autoc.ts +++ b/src/modules/autoc.ts @@ -3,7 +3,7 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export interface AutocResultSet { Query: string; diff --git a/src/modules/historical.spec.ts b/src/modules/historical.spec.ts index f067689b..504ddcaa 100644 --- a/src/modules/historical.spec.ts +++ b/src/modules/historical.spec.ts @@ -1,7 +1,7 @@ -import historical from "./historical"; -import { testSymbols } from "../../tests/symbols"; +import historical from "./historical.js"; +import { testSymbols } from "../../tests/symbols.js"; -import testYf from "../../tests/testYf"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ historical }); diff --git a/src/modules/historical.ts b/src/modules/historical.ts index a03eceae..b7fb65f9 100644 --- a/src/modules/historical.ts +++ b/src/modules/historical.ts @@ -3,7 +3,7 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export type HistoricalResult = Array; diff --git a/src/modules/options.spec.ts b/src/modules/options.spec.ts index 79268834..dd03a7ab 100644 --- a/src/modules/options.spec.ts +++ b/src/modules/options.spec.ts @@ -1,6 +1,6 @@ -import options from "./options"; -import testYf from "../../tests/testYf"; -import { testSymbols } from "../../tests/symbols"; +import options from "./options.js"; +import testYf from "../../tests/testYf.js"; +import { testSymbols } from "../../tests/symbols.js"; const yf = testYf({ options }); diff --git a/src/modules/options.ts b/src/modules/options.ts index 5828b802..5c92e3ab 100644 --- a/src/modules/options.ts +++ b/src/modules/options.ts @@ -3,8 +3,9 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; -import { Quote } from "./quote"; +} from "../lib/moduleCommon.js"; + +import { Quote } from "./quote.js"; export interface OptionsResult { underlyingSymbol: string; diff --git a/src/modules/quote.spec.ts b/src/modules/quote.spec.ts index ca619d97..d7c72031 100644 --- a/src/modules/quote.spec.ts +++ b/src/modules/quote.spec.ts @@ -1,6 +1,6 @@ -import quote from "./quote"; -import { testSymbols as testSymbolsOriginal } from "../../tests/symbols"; -import testYf from "../../tests/testYf"; +import quote from "./quote.js"; +import { testSymbols as testSymbolsOriginal } from "../../tests/symbols.js"; +import testYf from "../../tests/testYf.js"; const testSymbols = [ ...testSymbolsOriginal, diff --git a/src/modules/quote.ts b/src/modules/quote.ts index 7016f70d..8d323812 100644 --- a/src/modules/quote.ts +++ b/src/modules/quote.ts @@ -3,9 +3,9 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; -import type { DateInMs, TwoNumberRange } from "../lib/commonTypes"; +import type { DateInMs, TwoNumberRange } from "../lib/commonTypes.js"; export interface QuoteBase { language: string; // "en-US", diff --git a/src/modules/quoteSummary.spec.ts b/src/modules/quoteSummary.spec.ts index 896f86b6..78d30ab5 100644 --- a/src/modules/quoteSummary.spec.ts +++ b/src/modules/quoteSummary.spec.ts @@ -1,8 +1,8 @@ -import quoteSummary, { QuoteSummaryModules } from "./quoteSummary"; -const { InvalidOptionsError } = require("../lib/errors"); +import quoteSummary, { QuoteSummaryModules } from "./quoteSummary.js"; +import { InvalidOptionsError } from "../lib/errors.js"; -import { testSymbols } from "../../tests/symbols"; -import testYf from "../../tests/testYf"; +import { testSymbols } from "../../tests/symbols.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ quoteSummary }); diff --git a/src/modules/quoteSummary.ts b/src/modules/quoteSummary.ts index 83af0414..f4a29130 100644 --- a/src/modules/quoteSummary.ts +++ b/src/modules/quoteSummary.ts @@ -1,13 +1,13 @@ // /// // import QuoteSummaryResult from "QuoteSummaryIfaces"; -import { QuoteSummaryResult } from "./quoteSummary-iface"; +import { QuoteSummaryResult } from "./quoteSummary-iface.js"; import type { ModuleOptions, ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export const quoteSummary_modules = [ "assetProfile", diff --git a/src/modules/recommendationsBySymbol.spec.ts b/src/modules/recommendationsBySymbol.spec.ts index a4c895c5..86a98f10 100644 --- a/src/modules/recommendationsBySymbol.spec.ts +++ b/src/modules/recommendationsBySymbol.spec.ts @@ -1,6 +1,6 @@ -import recommendationsBySymbol from "./recommendationsBySymbol"; -import { testSymbols } from "../../tests/symbols"; -import testYf from "../../tests/testYf"; +import recommendationsBySymbol from "./recommendationsBySymbol.js"; +import { testSymbols } from "../../tests/symbols.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ recommendationsBySymbol }); diff --git a/src/modules/recommendationsBySymbol.ts b/src/modules/recommendationsBySymbol.ts index 6a95fad7..06927f5f 100644 --- a/src/modules/recommendationsBySymbol.ts +++ b/src/modules/recommendationsBySymbol.ts @@ -3,7 +3,7 @@ import type { ModuleOptionsWithValidateFalse, ModuleOptionsWithValidateTrue, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export interface RecommendationsBySymbolResponse { recommendedSymbols: Array<{ diff --git a/src/modules/search.spec.ts b/src/modules/search.spec.ts index 491a12b8..0f2a41d9 100644 --- a/src/modules/search.spec.ts +++ b/src/modules/search.spec.ts @@ -1,8 +1,8 @@ -import search from "./search"; -const { InvalidOptionsError } = require("../lib/errors"); +import search from "./search.js"; +import { InvalidOptionsError } from "../lib/errors.js"; -import { testSymbols } from "../../tests/symbols"; -import testYf from "../../tests/testYf"; +import { testSymbols } from "../../tests/symbols.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ search }); diff --git a/src/modules/search.ts b/src/modules/search.ts index 7e467b5c..a63884b5 100644 --- a/src/modules/search.ts +++ b/src/modules/search.ts @@ -3,7 +3,7 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export interface SearchQuoteYahoo { symbol: string; // "BABA" diff --git a/src/modules/trendingSymbols.spec.ts b/src/modules/trendingSymbols.spec.ts index 01034918..c6e97aa1 100644 --- a/src/modules/trendingSymbols.spec.ts +++ b/src/modules/trendingSymbols.spec.ts @@ -1,5 +1,5 @@ -import trendingSymbols from "./trendingSymbols"; -import testYf from "../../tests/testYf"; +import trendingSymbols from "./trendingSymbols.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ trendingSymbols }); diff --git a/src/modules/trendingSymbols.ts b/src/modules/trendingSymbols.ts index a80712ed..288bcc6c 100644 --- a/src/modules/trendingSymbols.ts +++ b/src/modules/trendingSymbols.ts @@ -3,7 +3,7 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; export interface TrendingSymbol { symbol: string; diff --git a/src/other/quoteCombine.spec.ts b/src/other/quoteCombine.spec.ts index a74c3811..d4eaf99a 100644 --- a/src/other/quoteCombine.spec.ts +++ b/src/other/quoteCombine.spec.ts @@ -1,5 +1,5 @@ -import quoteCombine from "./quoteCombine"; -import testYf from "../../tests/testYf"; +import quoteCombine from "./quoteCombine.js"; +import testYf from "../../tests/testYf.js"; const yf = testYf({ quoteCombine }); diff --git a/src/other/quoteCombine.ts b/src/other/quoteCombine.ts index 44358b92..957d7002 100644 --- a/src/other/quoteCombine.ts +++ b/src/other/quoteCombine.ts @@ -3,12 +3,12 @@ import type { ModuleOptionsWithValidateTrue, ModuleOptionsWithValidateFalse, ModuleThis, -} from "../lib/moduleCommon"; +} from "../lib/moduleCommon.js"; -import type { QuoteOptions, Quote } from "../modules/quote"; -import quote from "../modules/quote"; +import type { QuoteOptions, Quote } from "../modules/quote.js"; +import quote from "../modules/quote.js"; -import validateAndCoerceTypes from "../lib/validateAndCoerceTypes"; +import validateAndCoerceTypes from "../lib/validateAndCoerceTypes.js"; const DEBOUNCE_TIME = 50; From dc4dfd7778e56ca052aad2e1b48549af696e8348 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 10:56:04 +0300 Subject: [PATCH 08/32] chore(esm): package/jest/tsconfig bump deps, esm opts --- jest.config.ts | 3 ++- package.json | 8 ++++---- tsconfig.json | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 33f3ddca..da15c22d 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -4,7 +4,8 @@ const config: Config.InitialOptions = { preset: "ts-jest", setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/dist/"], + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/"], + extensionsToTreatAsEsm: [".ts"], /* reporters: [ '/tests/reporter.js', diff --git a/package.json b/package.json index 6a907865..b2a482aa 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "description": "JS API for Yahoo Finance", "type": "module", - "main": "dist/esm/index-node.js", + "main": "dist/cjs/index-node.js", "exports": "dist/esm/index-node.js", "types": "dist/esm/index-node.d.ts", "browser": "dist/esm/index-browser.js", @@ -35,7 +35,7 @@ "lint": "eslint . --ext .js,.ts", "schema": "ts-json-schema-generator -f tsconfig.json -p 'src/{modules,typings}/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json", "build": "yarn run build:esm && yarn run build:cjs", - "build:esm": "tsc --module es2015 --outDir dist/esm", + "build:esm": "tsc --module ES2020 --outDir dist/esm", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "generateSchema": "yarn schema", "prepublishOnly": "yarn build && yarn generateSchema", @@ -66,12 +66,12 @@ "eslint": "7.26.0", "eslint-config-prettier": "8.3.0", "globby": "11.0.3", - "jest": "26.6.3", + "jest": "v27.0.0-next.8", "jest-tobetype": "1.2.3", "oas-schema-walker": "1.1.5", "prettier": "2.2.1", "semantic-release": "17.4.2", - "ts-jest": "26.5.6", + "ts-jest": "27.0.0-next.11", "ts-json-schema-generator": "0.92.0", "ts-node": "^9.1.1", "typescript": "4.2.4" diff --git a/tsconfig.json b/tsconfig.json index bcefc8f6..3912d82a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "moduleResolution": "node", + "module": "ES2020", "allowJs": true, "preserveConstEnums": true, "declaration": true, From ba604639f1d5d3dfca8ca21a0ffd8b4c1d27a975 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 11:01:12 +0300 Subject: [PATCH 09/32] chore(esm): fix manual conflict resolution for import type Optsions --- src/lib/yahooFinanceFetch.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/yahooFinanceFetch.ts b/src/lib/yahooFinanceFetch.ts index 71931bec..76cced3b 100644 --- a/src/lib/yahooFinanceFetch.ts +++ b/src/lib/yahooFinanceFetch.ts @@ -1,7 +1,6 @@ import Queue from "./queue.js"; import type { Options } from "../typings/interfaces.js"; -import type { Options } from "./options.js"; import type { QueueOptions } from "./queue.js"; import errors from "./errors.js"; From cd4364c60e67534627323bdd713694d21a0e56e6 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 11:54:22 +0300 Subject: [PATCH 10/32] chore(esm): more node/jest config opts for esm, setupTests, setGlobal --- jest.config.ts | 7 +- package.json | 6 +- src/lib/cs2json.spec.ts | 13 - src/lib/setGlobalConfig.spec.ts | 6 +- tests/setupTests.js | 2 +- tsconfig.json | 7 +- yarn.lock | 1808 +++++++++++-------------------- 7 files changed, 671 insertions(+), 1178 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index da15c22d..e9efb8ae 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,11 +1,16 @@ import type { Config } from "@jest/types"; const config: Config.InitialOptions = { - preset: "ts-jest", + preset: "ts-jest/presets/default-esm", setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/"], extensionsToTreatAsEsm: [".ts"], + globals: { + "ts-jest": { + useESM: true, + }, + }, /* reporters: [ '/tests/reporter.js', diff --git a/package.json b/package.json index b2a482aa..3f2caa4c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "library" ], "//engines//UNCOMMENT_WHEN_WE_DROP_CJS_SUPPORT": { - "node": ">=12" + "node": ">=12.17.0" }, "bin": { "yahoo-finance": "bin/yahoo-finance.js" @@ -35,11 +35,11 @@ "lint": "eslint . --ext .js,.ts", "schema": "ts-json-schema-generator -f tsconfig.json -p 'src/{modules,typings}/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json", "build": "yarn run build:esm && yarn run build:cjs", - "build:esm": "tsc --module ES2020 --outDir dist/esm", + "build:esm": "tsc --module es2020 --outDir dist/esm", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "generateSchema": "yarn schema", "prepublishOnly": "yarn build && yarn generateSchema", - "test": "jest", + "test": "node --experimental-vm-modules node_modules/.bin/jest", "test:ts": "tsc --noEmit" }, "files": [ diff --git a/src/lib/cs2json.spec.ts b/src/lib/cs2json.spec.ts index 4b9bb9d5..8c9dbdd4 100644 --- a/src/lib/cs2json.spec.ts +++ b/src/lib/cs2json.spec.ts @@ -1,18 +1,5 @@ import csv2json from "./csv2json.js"; -/* -const toBeType = require('jest-tobetype').toBeType; - -expect.extend({ - toBeType, -}); -*/ - -/* -const toBeType = require("jest-tobetype"); -expect.extend(toBeType); -*/ - describe("csv2json", () => { it("handles historical input", () => { const csv = diff --git a/src/lib/setGlobalConfig.spec.ts b/src/lib/setGlobalConfig.spec.ts index a7c5e636..68c1eb8f 100644 --- a/src/lib/setGlobalConfig.spec.ts +++ b/src/lib/setGlobalConfig.spec.ts @@ -1,6 +1,6 @@ -import testYf from "../../tests/testYf"; -import options from "./options"; -import setGlobalConfig from "./setGlobalConfig"; +import testYf from "../../tests/testYf.js"; +import options from "./options.js"; +import setGlobalConfig from "./setGlobalConfig.js"; const yf = testYf({ setGlobalConfig }); describe("setGlobalConfig", () => { diff --git a/tests/setupTests.js b/tests/setupTests.js index b4a1b38d..59ab5b96 100644 --- a/tests/setupTests.js +++ b/tests/setupTests.js @@ -1,4 +1,4 @@ -const toBeType = require("jest-tobetype").toBeType; +import { toBeType } from "jest-tobetype"; expect.extend({ toBeType, diff --git a/tsconfig.json b/tsconfig.json index 3912d82a..59025bac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,11 +3,14 @@ "compilerOptions": { "moduleResolution": "node", - "module": "ES2020", + "module": "es2020", + "target": "es2020", + "outDir": "dist/default", "allowJs": true, "preserveConstEnums": true, "declaration": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "esModuleInterop": true }, "include": ["./src/**/*"], diff --git a/yarn.lock b/yarn.lock index f0747a6d..66610375 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,6 +9,13 @@ dependencies: "@babel/highlight" "^7.10.4" +"@babel/code-frame@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658" + integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g== + dependencies: + "@babel/highlight" "^7.12.13" + "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.10.tgz#b79a2e1b9f70ed3d84bbfb6d8c4ef825f606bccd" @@ -39,6 +46,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.14.0", "@babel/generator@^7.7.2": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.0.tgz#0f35d663506c43e4f10898fbda0d752ec75494be" + integrity sha512-C6u00HbmsrNPug6A+CiNl8rEys7TsdcXwg12BHi2ca5rUfAs3+UwZsuDQSXnc+wCElCXMB8gMaJ3YXDdh8fAlg== + dependencies: + "@babel/types" "^7.14.0" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-function-name@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.11.tgz#1fd7738aee5dcf53c3ecff24f1da9c511ec47b42" @@ -48,6 +64,15 @@ "@babel/template" "^7.12.7" "@babel/types" "^7.12.11" +"@babel/helper-function-name@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz#93ad656db3c3c2232559fd7b2c3dbdcbe0eb377a" + integrity sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA== + dependencies: + "@babel/helper-get-function-arity" "^7.12.13" + "@babel/template" "^7.12.13" + "@babel/types" "^7.12.13" + "@babel/helper-get-function-arity@^7.12.10": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.10.tgz#b158817a3165b5faa2047825dfa61970ddcc16cf" @@ -55,6 +80,13 @@ dependencies: "@babel/types" "^7.12.10" +"@babel/helper-get-function-arity@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz#bc63451d403a3b3082b97e1d8b3fe5bd4091e583" + integrity sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-member-expression-to-functions@^7.12.7": version "7.12.7" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.7.tgz#aa77bd0396ec8114e5e30787efa78599d874a855" @@ -96,6 +128,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== +"@babel/helper-plugin-utils@^7.12.13": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af" + integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ== + "@babel/helper-replace-supers@^7.12.1": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.12.11.tgz#ea511658fc66c7908f923106dd88e08d1997d60d" @@ -120,11 +157,23 @@ dependencies: "@babel/types" "^7.12.11" +"@babel/helper-split-export-declaration@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz#e9430be00baf3e88b0e13e6f9d4eaf2136372b05" + integrity sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg== + dependencies: + "@babel/types" "^7.12.13" + "@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== +"@babel/helper-validator-identifier@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz#d26cad8a47c65286b15df1547319a5d0bcf27288" + integrity sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A== + "@babel/helpers@^7.12.5": version "7.12.5" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.12.5.tgz#1a1ba4a768d9b58310eda516c449913fe647116e" @@ -143,11 +192,25 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.12.13": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.0.tgz#3197e375711ef6bf834e67d0daec88e4f46113cf" + integrity sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg== + dependencies: + "@babel/helper-validator-identifier" "^7.14.0" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/parser@^7.1.0", "@babel/parser@^7.12.10", "@babel/parser@^7.12.11", "@babel/parser@^7.12.7": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79" integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg== +"@babel/parser@^7.12.13", "@babel/parser@^7.14.0", "@babel/parser@^7.7.2": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.0.tgz#2f0ebfed92bcddcc8395b91f1895191ce2760380" + integrity sha512-AHbfoxesfBALg33idaTBVUkLnfXtsgvJREf93p4p0Lwsz4ppfE7g1tpEXVm4vrxUcH4DVhAa9Z1m1zqf9WUC7Q== + "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -232,6 +295,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz#9dff111ca64154cef0f4dc52cf843d9f12ce4474" + integrity sha512-cHP3u1JiUiG2LFDKbXnwVad81GvfyIOmCD6HIEId6ojrY0Drfy2q1jw7BwN7dE84+kTnBjLkXoL3IEy/3JPu2w== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.3.3": version "7.12.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.7.tgz#c817233696018e39fbb6c491d2fb684e05ed43bc" @@ -241,6 +311,15 @@ "@babel/parser" "^7.12.7" "@babel/types" "^7.12.7" +"@babel/template@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.13.tgz#530265be8a2589dbb37523844c5bcb55947fb327" + integrity sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/parser" "^7.12.13" + "@babel/types" "^7.12.13" + "@babel/traverse@^7.1.0", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10", "@babel/traverse@^7.12.5": version "7.12.12" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.12.tgz#d0cd87892704edd8da002d674bc811ce64743376" @@ -256,6 +335,20 @@ globals "^11.1.0" lodash "^4.17.19" +"@babel/traverse@^7.7.2": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.0.tgz#cea0dc8ae7e2b1dec65f512f39f3483e8cc95aef" + integrity sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA== + dependencies: + "@babel/code-frame" "^7.12.13" + "@babel/generator" "^7.14.0" + "@babel/helper-function-name" "^7.12.13" + "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/parser" "^7.14.0" + "@babel/types" "^7.14.0" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.12", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.12.12" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.12.tgz#4608a6ec313abbd87afa55004d373ad04a96c299" @@ -265,6 +358,14 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@babel/types@^7.12.13", "@babel/types@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.0.tgz#3fc3fc74e0cdad878182e5f66cc6bcab1915a802" + integrity sha512-O2LVLdcnWplaGxiPBz12d0HcdN8QdxdsWYhz5LSeuukV/5mn2xUUc3gBeU4QBYPJ18g/UToe8F532XJ608prmg== + dependencies: + "@babel/helper-validator-identifier" "^7.14.0" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -318,93 +419,94 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/console@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.6.2.tgz#4e04bc464014358b03ab4937805ee36a0aeb98f2" - integrity sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g== +"@jest/console@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.0-next.8.tgz#ac43a30fe7ad588b42b979a5be0112bc5cec7fc3" + integrity sha512-ADF51Qyd98moc7ZWHPAut/GqEzzD/1MCqoX0OS0C/VQ+L649zo7ekMTIacPkkbM4d/T8K/XVS362+NUC1sgTdw== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^26.6.2" - jest-util "^26.6.2" + jest-message-util "^27.0.0-next.8" + jest-util "^27.0.0-next.8" slash "^3.0.0" -"@jest/core@^26.6.3": - version "26.6.3" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad" - integrity sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw== +"@jest/core@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.0-next.8.tgz#fec9b519649a40d4ef346ce57f373d265e0d3a02" + integrity sha512-uVxp69L0kc8cQTGHwXU0hQfYg1ju08sgxGbXjCr6ajwuOx4tfB6Tlx7Jk27C33W6SKTFy2u/5B3K9lLVxOWJyg== dependencies: - "@jest/console" "^26.6.2" - "@jest/reporters" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.0.0-next.8" + "@jest/reporters" "^27.0.0-next.8" + "@jest/test-result" "^27.0.0-next.8" + "@jest/transform" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" + emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-changed-files "^26.6.2" - jest-config "^26.6.3" - jest-haste-map "^26.6.2" - jest-message-util "^26.6.2" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-resolve-dependencies "^26.6.3" - jest-runner "^26.6.3" - jest-runtime "^26.6.3" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" - jest-watcher "^26.6.2" - micromatch "^4.0.2" + jest-changed-files "^27.0.0-next.8" + jest-config "^27.0.0-next.8" + jest-haste-map "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" + jest-resolve "^27.0.0-next.8" + jest-resolve-dependencies "^27.0.0-next.8" + jest-runner "^27.0.0-next.8" + jest-runtime "^27.0.0-next.8" + jest-snapshot "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-validate "^27.0.0-next.8" + jest-watcher "^27.0.0-next.8" + micromatch "^4.0.4" p-each-series "^2.1.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" - integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA== +"@jest/environment@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.0-next.8.tgz#88b4bbc4b9717ef57a464c14ec7db5cfe5fb909c" + integrity sha512-ECb+ZnpiOGVg6ZvwMzutPGKS+wpwu9yLoX/hr9VxxG8wOUld49iWtrAZooKlvBNWTriXqPGrCb7mg26HIYaLKw== dependencies: - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/fake-timers" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" - jest-mock "^26.6.2" + jest-mock "^27.0.0-next.8" -"@jest/fake-timers@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad" - integrity sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA== +"@jest/fake-timers@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.0-next.8.tgz#c432bc24dbc65337e8c672232d6a3ef08ec12ae2" + integrity sha512-zj7nNEs8afOk/nD5MFXz0iqOmqFYKu++tELi0UPnRhqUxSSc13HMvqiwnpqsX/DZMS6Ctfh3P29UWFPAnnMJlQ== dependencies: - "@jest/types" "^26.6.2" - "@sinonjs/fake-timers" "^6.0.1" + "@jest/types" "^27.0.0-next.8" + "@sinonjs/fake-timers" "^7.0.2" "@types/node" "*" - jest-message-util "^26.6.2" - jest-mock "^26.6.2" - jest-util "^26.6.2" + jest-message-util "^27.0.0-next.8" + jest-mock "^27.0.0-next.8" + jest-util "^27.0.0-next.8" -"@jest/globals@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a" - integrity sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA== +"@jest/globals@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.0-next.8.tgz#4fd830dcda6883c07aa90fb20ebac5634c295999" + integrity sha512-qzAsfQ2ZP21xCe7B5CUNYnaNr8dYBlTxUV4lTvmb9pf8eIxWWLuau46P296mfMSZKdYGRb2AH6Ch7IYgK6qu7g== dependencies: - "@jest/environment" "^26.6.2" - "@jest/types" "^26.6.2" - expect "^26.6.2" + "@jest/environment" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" + expect "^27.0.0-next.8" -"@jest/reporters@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6" - integrity sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw== +"@jest/reporters@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.0-next.8.tgz#099735279f06ef696f601a15aaefb0ae245a9803" + integrity sha512-srkvphbcAmGoHjvS2etISdPSs4s9s/QR+QPIsIwzZIk0zmweYFcHYWnXErsPLbH29FhmyaFfC5QaZDZSwppfRA== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.0.0-next.8" + "@jest/test-result" "^27.0.0-next.8" + "@jest/transform" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -415,64 +517,62 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^26.6.2" - jest-resolve "^26.6.2" - jest-util "^26.6.2" - jest-worker "^26.6.2" + jest-haste-map "^27.0.0-next.8" + jest-resolve "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-worker "^27.0.0-next.8" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" terminal-link "^2.0.0" v8-to-istanbul "^7.0.0" - optionalDependencies: - node-notifier "^8.0.0" -"@jest/source-map@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535" - integrity sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA== +"@jest/source-map@^27.0.0-next.3": + version "27.0.0-next.3" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.0.0-next.3.tgz#ef4498c1641041cfb90b28bef51a59877742818b" + integrity sha512-cup/B3GygP6Y61tL+owv94ftGs1ndnUsk8bYh8Ud+jF3nMRY2mIv6dwL6sXhh/SW5pEsc2OyRI4oKRgNFxvZBw== dependencies: callsites "^3.0.0" graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18" - integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ== +"@jest/test-result@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.0-next.8.tgz#27458e3ca62bf5fe7b5c0f565e39afb58be2c297" + integrity sha512-D/zJmk7F63dc1P0im5VmzLBsJEs24870128muooj0fBPrd6KqDrJWm+lMxE5+nojOsYAdi5i0gU+aqkPNYB5Nw== dependencies: - "@jest/console" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^26.6.3": - version "26.6.3" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17" - integrity sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw== +"@jest/test-sequencer@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.0-next.8.tgz#49946f0a2f5fd5c7b553b8e09b812c5197fc6a91" + integrity sha512-goqCkNT06BduFXEnX0ua1EvS8wuDHRe4SwD3DsYfOz4BRDVtlSjQegBDOo/J2LRzOiHJATE7TS8J5BcBHCdBEw== dependencies: - "@jest/test-result" "^26.6.2" + "@jest/test-result" "^27.0.0-next.8" graceful-fs "^4.2.4" - jest-haste-map "^26.6.2" - jest-runner "^26.6.3" - jest-runtime "^26.6.3" + jest-haste-map "^27.0.0-next.8" + jest-runner "^27.0.0-next.8" + jest-runtime "^27.0.0-next.8" -"@jest/transform@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b" - integrity sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA== +"@jest/transform@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.0-next.8.tgz#6826f63ad850f7c2b485e81bec78450c06654458" + integrity sha512-Nb1NABH73C36/7yn8ii6h8bNtP2lkoUTHkvq1/V8UlMsdG9+h6uMBmSmYyubblZb/gZpTb1pMUuEQUD+srwrSQ== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" babel-plugin-istanbul "^6.0.0" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^26.6.2" - jest-regex-util "^26.0.0" - jest-util "^26.6.2" - micromatch "^4.0.2" + jest-haste-map "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" + jest-util "^27.0.0-next.8" + micromatch "^4.0.4" pirates "^4.0.1" slash "^3.0.0" source-map "^0.6.1" @@ -498,6 +598,17 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" +"@jest/types@^27.0.0-next.8": + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.0.0-next.8.tgz#bbc9f2acad3fea3e71444bfe06af522044a38951" + integrity sha512-MBZVjl9Fu55djCItO81sa/ifxTsqRBwepHcKM/f3sgEpGlxGFNNeKBMBRX9OcgGE64YMi7kW4MATSb2lJSGfVw== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + "@nodelib/fs.scandir@2.1.4": version "2.1.4" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" @@ -919,10 +1030,10 @@ dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40" - integrity sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA== +"@sinonjs/fake-timers@^7.0.2": + version "7.0.5" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-7.0.5.tgz#558a7f8145a01366c44b3dcbdd7172c05c461564" + integrity sha512-fUt6b15bjV/VW93UP5opNXJxdwZSbK1EdiwnhN7XrQrcpaOhMJpZ/CjwFpM3THpxwA+YviBUJKSuEqKlCK5alw== dependencies: "@sinonjs/commons" "^1.7.0" @@ -936,7 +1047,7 @@ resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.7.tgz#677bd9117e8164dc319987dd6ff5fc1ba6fbf18b" integrity sha512-dgasobK/Y0wVMswcipr3k0HpevxFJLijN03A8mYfEPvWvOs14v0ZlYTR4kIgMx8g4+fTyTFv8/jLCIfRqLDJ4A== -"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": +"@types/babel__core@^7.0.0": version "7.1.12" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.12.tgz#4d8e9e51eb265552a7e4f1ff2219ab6133bdfb2d" integrity sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ== @@ -947,6 +1058,17 @@ "@types/babel__template" "*" "@types/babel__traverse" "*" +"@types/babel__core@^7.1.14": + version "7.1.14" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.14.tgz#faaeefc4185ec71c389f4501ee5ec84b170cc402" + integrity sha512-zGZJzzBUVDo/eV6KgbE0f0ZI7dInEYvo12Rb70uNQDshC3SkRMb67ja0GgRHZgAX3Za6rhaWlvbDO8rrGyAb1g== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + "@types/babel__generator@*": version "7.6.2" resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.2.tgz#f3d71178e187858f7c45e30380f8f1b7415a12d8" @@ -1044,10 +1166,10 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/prettier@^2.0.0": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.1.6.tgz#f4b1efa784e8db479cdb8b14403e2144b1e9ff03" - integrity sha512-6gOkRe7OIioWAXfnO/2lFiv+SJichKVSys1mSsgyrYHSEjk8Ctv4tSR/Odvnu+HWlH2C8j53dahU03XmQdd5fA== +"@types/prettier@^2.1.5": + version "2.2.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0" + integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA== "@types/retry@^0.12.0": version "0.12.0" @@ -1078,10 +1200,24 @@ dependencies: "@types/yargs-parser" "*" +<<<<<<< HEAD "@typescript-eslint/eslint-plugin@4.22.1": version "4.22.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.1.tgz#6bcdbaa4548553ab861b4e5f34936ead1349a543" integrity sha512-kVTAghWDDhsvQ602tHBc6WmQkdaYbkcTwZu+7l24jtJiYvm9l+/y/b2BZANEezxPDiX5MK2ZecE+9BFi/YJryw== +======= +"@types/yargs@^16.0.0": + version "16.0.1" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.1.tgz#5fc5d41f69762e00fbecbc8d4bf9dea47d8726f4" + integrity sha512-x4HABGLyzr5hKUzBC9dvjciOTm11WVH1NWonNjGgxapnTHu5SWUqyqn0zQ6Re0yQU0lsQ6ztLCoMAKDGZflyxA== + dependencies: + "@types/yargs-parser" "*" + +"@typescript-eslint/eslint-plugin@4.22.0": + version "4.22.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz#3d5f29bb59e61a9dba1513d491b059e536e16dbc" + integrity sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA== +>>>>>>> 3b15547 (chore(esm): more node/jest config opts for esm, setupTests, setGlobal) dependencies: "@typescript-eslint/experimental-utils" "4.22.1" "@typescript-eslint/scope-manager" "4.22.1" @@ -1334,6 +1470,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0, ansi-styles@^4.3.0: dependencies: color-convert "^2.0.1" +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + ansicolors@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" @@ -1344,14 +1485,6 @@ ansistyles@~0.1.3: resolved "https://registry.yarnpkg.com/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" integrity sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk= -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - anymatch@^3.0.3: version "3.1.1" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" @@ -1400,21 +1533,6 @@ argv-formatter@~1.0.0: resolved "https://registry.yarnpkg.com/argv-formatter/-/argv-formatter-1.0.0.tgz#a0ca0cbc29a5b73e836eebe1cbf6c5e0e4eb82f9" integrity sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk= -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= - array-ify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" @@ -1425,11 +1543,6 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= - arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" @@ -1452,11 +1565,6 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= - astral-regex@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" @@ -1472,11 +1580,6 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -1487,16 +1590,16 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-jest@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" - integrity sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA== +babel-jest@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.0-next.8.tgz#4d87673026d53b3f4ffcf9cf986514bf25c38769" + integrity sha512-627ROF2NMeLmF2QJey95TeiyYGYZ+6YjWKx/2RNQYnF6trNsoc/W8EZEpZo3GSU086GQ2vg4gJs1oncSnyp/aw== dependencies: - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" - "@types/babel__core" "^7.1.7" + "@jest/transform" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" + "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^26.6.2" + babel-preset-jest "^27.0.0-next.3" chalk "^4.0.0" graceful-fs "^4.2.4" slash "^3.0.0" @@ -1512,10 +1615,10 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz#8185bd030348d254c6d7dd974355e6a28b21e62d" - integrity sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw== +babel-plugin-jest-hoist@^27.0.0-next.3: + version "27.0.0-next.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.0.0-next.3.tgz#5a8a32acda0946bfad7ae25a99168b42e39229f9" + integrity sha512-s6XOBa+TIoy3tu8SLENLGk435ynzc6ojJ6O3ErI7iHyNSPjsQIZqZLbV1nIEdD5e7IrbtWml3umtxJqMnjmcAA== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -1540,12 +1643,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz#747872b1171df032252426586881d62d31798fee" - integrity sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ== +babel-preset-jest@^27.0.0-next.3: + version "27.0.0-next.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.0.0-next.3.tgz#2c696e2e048f7bf5597f9602790b36373beb8c28" + integrity sha512-1WoguNHYXSFCVvPqfjf+/J7q+OLohJzkT3vyGOACBlpjwE0b7yixW+M9O66U958/8n3UmpHXuC+cSR5p49XkcQ== dependencies: - babel-plugin-jest-hoist "^26.6.2" + babel-plugin-jest-hoist "^27.0.0-next.3" babel-preset-current-node-syntax "^1.0.0" balanced-match@^1.0.0: @@ -1553,19 +1656,6 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - bcrypt-pbkdf@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" @@ -1638,22 +1728,6 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - braces@^3.0.1: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" @@ -1749,21 +1823,6 @@ cacache@^15.0.3, cacache@^15.0.5, cacache@^15.0.6: tar "^6.0.2" unique-filename "^1.1.1" -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -1806,13 +1865,6 @@ camelcase@^6.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== -capture-exit@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" - integrity sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g== - dependencies: - rsvp "^4.8.4" - capture-stack-trace@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" @@ -1873,6 +1925,11 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-info@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.1.1.tgz#9a32fcefdf7bcdb6f0a7e1c0f8098ec57897b80a" + integrity sha512-kdRWLBIJwdsYJWYJFtAFFYxybguqeF91qpZaggjG5Nf8QKdizFG2hjqvaTXbxFIcYbSaD74KpAXv6BSm17DHEQ== + cidr-regex@^2.0.10: version "2.0.10" resolved "https://registry.yarnpkg.com/cidr-regex/-/cidr-regex-2.0.10.tgz#af13878bd4ad704de77d6dc800799358b3afa70d" @@ -1887,20 +1944,10 @@ cidr-regex@^3.1.1: dependencies: ip-regex "^4.1.0" -cjs-module-lexer@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" - integrity sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" +cjs-module-lexer@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.1.tgz#2fd46d9906a126965aa541345c499aaa18e8cd73" + integrity sha512-jVamGdJPDeuQilKhvVn1h3knuMOZzr8QDnpk+M9aMlCaMkTDd6fBWPhiDqFvFZ07pL0liqabAiuy8SY4jGHeaw== clean-stack@^2.0.0: version "2.2.0" @@ -1966,15 +2013,6 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" -cliui@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" - integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^6.2.0" - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -2019,14 +2057,6 @@ collect-v8-coverage@^1.0.0: resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -2089,11 +2119,6 @@ compare-func@^2.0.0: array-ify "^1.0.0" dot-prop "^5.1.0" -component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -2198,11 +2223,6 @@ copy-concurrently@^1.0.0: rimraf "^2.5.4" run-queue "^1.0.0" -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= - core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -2240,17 +2260,6 @@ cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -2327,13 +2336,6 @@ debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: dependencies: ms "2.1.2" -debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - debug@^3.1.0: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" @@ -2369,6 +2371,11 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= +dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" + integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= + deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -2398,28 +2405,6 @@ define-properties@^1.1.3: dependencies: object-keys "^1.0.12" -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - del@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" @@ -2487,6 +2472,11 @@ diff-sequences@^26.6.2: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== +diff-sequences@^27.0.0-next.0: + version "27.0.0-next.0" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.0-next.0.tgz#4f0502557fd02bd7596f9c42ce67bf7d022559e8" + integrity sha512-57AobYOk6dK5sIDqkULZyHSbxA6JLMhBEZWuiVuwuNJafFOkgz4tez9DaKylgOPXX+/5YCI1GZSp+8+ctthy+w== + diff@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" @@ -2572,10 +2562,10 @@ editor@~1.0.0: resolved "https://registry.yarnpkg.com/editor/-/editor-1.0.0.tgz#60c7f87bd62bcc6a894fa8ccd6afb7823a24f742" integrity sha1-YMf4e9YrzGqJT6jM1q+3gjok90I= -emittery@^0.7.1: - version "0.7.2" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.7.2.tgz#25595908e13af0f5674ab419396e2fb394cdfa82" - integrity sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ== +emittery@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" + integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== emoji-regex@^7.0.1: version "7.0.3" @@ -2829,11 +2819,6 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -exec-sh@^0.3.2: - version "0.3.4" - resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5" - integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A== - execa@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -2847,19 +2832,6 @@ execa@^0.7.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" @@ -2895,65 +2867,23 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expect@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" - integrity sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA== - dependencies: - "@jest/types" "^26.6.2" - ansi-styles "^4.0.0" - jest-get-type "^26.3.0" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-regex-util "^26.0.0" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= +expect@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.0-next.8.tgz#83445e4cd9d2bd6c6dbd5c2ee17aa9ad66865861" + integrity sha512-98B8W7UHhPq3Ya2oGOxj3l2NYlEorLbjOsbtxkKc5+HgZ/8Ez/sHA+Vw7wBoLjVLy6JuU7HdRHhbUM43Kt6v1Q== dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" + "@jest/types" "^27.0.0-next.8" + ansi-styles "^5.0.0" + jest-get-type "^27.0.0-next.0" + jest-matcher-utils "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" @@ -3031,16 +2961,6 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -3103,11 +3023,6 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -3131,13 +3046,6 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= - dependencies: - map-cache "^0.2.2" - from2@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/from2/-/from2-1.3.0.tgz#88413baaa5f9a597cfde9221d86986cd3c061dfd" @@ -3211,10 +3119,10 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^2.1.2: - version "2.3.1" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.1.tgz#b209ab14c61012636c8863507edf7fb68cc54e9f" - integrity sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw== +fsevents@^2.2.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== function-bind@^1.1.1: version "1.1.1" @@ -3315,11 +3223,6 @@ get-stream@^6.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= - getpass@^0.1.1: version "0.1.7" resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" @@ -3435,11 +3338,6 @@ graceful-fs@^4.2.3, graceful-fs@^4.2.6: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee" integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== -growly@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= - handlebars@^4.7.6: version "4.7.6" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" @@ -3490,37 +3388,6 @@ has-unicode@^2.0.0, has-unicode@~2.0.1: resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -3811,30 +3678,11 @@ ip@1.1.5, ip@^1.1.5: resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - is-callable@^1.1.4, is-callable@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19970223aceabb080d9" @@ -3847,12 +3695,12 @@ is-ci@^1.0.10: dependencies: ci-info "^1.5.0" -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== +is-ci@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994" + integrity sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ== dependencies: - ci-info "^2.0.0" + ci-info "^3.1.1" is-cidr@^3.0.0: version "3.1.1" @@ -3875,60 +3723,18 @@ is-core-module@^2.1.0: dependencies: has "^1.0.3" -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== +is-core-module@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.3.0.tgz#d341652e3408bca69c4671b79a0954a3d349f887" + integrity sha512-xSphU2KG9867tsYdLD4RWQ1VqdFl4HTO9Thf3I/3dLEfr0dbPTWKsuCKrgqMljg4nPE+Gq0VCnzT3gr0CyBmsw== dependencies: - kind-of "^6.0.0" + has "^1.0.3" is-date-object@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g== -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-docker@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.1.1.tgz#4125a88e44e450d384e09047ede71adc2d144156" - integrity sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw== - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -3986,13 +3792,6 @@ is-npm@^1.0.0: resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= - dependencies: - kind-of "^3.0.2" - is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" @@ -4030,13 +3829,6 @@ is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - is-plain-object@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" @@ -4093,24 +3885,12 @@ is-typedarray@^1.0.0, is-typedarray@~1.0.0: resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= -is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= -isarray@1.0.0, isarray@~1.0.0: +isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= @@ -4120,18 +3900,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -4194,57 +3962,83 @@ java-properties@^1.0.0: resolved "https://registry.yarnpkg.com/java-properties/-/java-properties-1.0.2.tgz#ccd1fa73907438a5b5c38982269d0e771fe78211" integrity sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ== -jest-changed-files@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.6.2.tgz#f6198479e1cc66f22f9ae1e22acaa0b429c042d0" - integrity sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ== +jest-changed-files@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.0-next.8.tgz#49665c7852c315da415de5380f8022b39a68ae99" + integrity sha512-7ToSqPeXPGfK0ibRbkzke3E3vq5YhtANm4jWsD41RKQ/T2dG+jB+OEF6OVaLffF/ahokd77WYqkcvwLzhdm8LA== dependencies: - "@jest/types" "^26.6.2" - execa "^4.0.0" - throat "^5.0.0" + "@jest/types" "^27.0.0-next.8" + execa "^5.0.0" + throat "^6.0.1" -jest-cli@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.6.3.tgz#43117cfef24bc4cd691a174a8796a532e135e92a" - integrity sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg== +jest-circus@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.0-next.8.tgz#5b2285547fef1bab170af87400bfa27f5bcd3982" + integrity sha512-BKL5xExjXcRFabzqy5P0VtD387CU1rGL4RdCHDMauCfA1U+FGTWjwiJLfGGyLmeYTJJTQu1Phe6bOXwXpRzHvg== dependencies: - "@jest/core" "^26.6.3" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/environment" "^27.0.0-next.8" + "@jest/test-result" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + expect "^27.0.0-next.8" + is-generator-fn "^2.0.0" + jest-each "^27.0.0-next.8" + jest-matcher-utils "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-runner "^27.0.0-next.8" + jest-runtime "^27.0.0-next.8" + jest-snapshot "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + pretty-format "^27.0.0-next.8" + stack-utils "^2.0.3" + throat "^6.0.1" + +jest-cli@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.0-next.8.tgz#2d72da247fc2ecf5571c6d7e8de9ff6716183048" + integrity sha512-t14p7r8t0e6+dL7kq2VaWsV+XV5w0wFFCti8R+2+gH5hnivLA77iTtBC/JiNBbDcI47JPhm75CSaK3z7mBJOBw== + dependencies: + "@jest/core" "^27.0.0-next.8" + "@jest/test-result" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" - is-ci "^2.0.0" - jest-config "^26.6.3" - jest-util "^26.6.2" - jest-validate "^26.6.2" + is-ci "^3.0.0" + jest-config "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-validate "^27.0.0-next.8" prompts "^2.0.1" - yargs "^15.4.1" + yargs "^16.0.3" -jest-config@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.6.3.tgz#64f41444eef9eb03dc51d5c53b75c8c71f645349" - integrity sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg== +jest-config@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.0-next.8.tgz#672302945a0396d274b0ee4bad15e345044fbce9" + integrity sha512-ilbylAjv1wObvLE0inVPMIwCguPxn0eOt51tN8jmvfcW7GMCbaMF05cdEKG9eT7Or4cpSFezyMq+fVIxNWwgHw== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^26.6.3" - "@jest/types" "^26.6.2" - babel-jest "^26.6.3" + "@jest/test-sequencer" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" + babel-jest "^27.0.0-next.8" chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" - jest-environment-jsdom "^26.6.2" - jest-environment-node "^26.6.2" - jest-get-type "^26.3.0" - jest-jasmine2 "^26.6.3" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" - micromatch "^4.0.2" - pretty-format "^26.6.2" + jest-circus "^27.0.0-next.8" + jest-environment-jsdom "^27.0.0-next.8" + jest-environment-node "^27.0.0-next.8" + jest-get-type "^27.0.0-next.0" + jest-jasmine2 "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" + jest-resolve "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-validate "^27.0.0-next.8" + micromatch "^4.0.4" + pretty-format "^27.0.0-next.8" jest-diff@^24.9.0: version "24.9.0" @@ -4256,7 +4050,7 @@ jest-diff@^24.9.0: jest-get-type "^24.9.0" pretty-format "^24.9.0" -jest-diff@^26.0.0, jest-diff@^26.6.2: +jest-diff@^26.0.0: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394" integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA== @@ -4266,48 +4060,58 @@ jest-diff@^26.0.0, jest-diff@^26.6.2: jest-get-type "^26.3.0" pretty-format "^26.6.2" -jest-docblock@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5" - integrity sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w== +jest-diff@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.0-next.8.tgz#d3ab65fe9297ee21f67653d923648650f1840a3d" + integrity sha512-zjkNfBpWHkLznVqfdj26AQihpWH84RD3s9xZ7pP0kc999/olNtNNHRFmAFwAVfarpgp1rrX/24US/UbpX4zYYg== dependencies: - detect-newline "^3.0.0" + chalk "^4.0.0" + diff-sequences "^27.0.0-next.0" + jest-get-type "^27.0.0-next.0" + pretty-format "^27.0.0-next.8" -jest-each@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.6.2.tgz#02526438a77a67401c8a6382dfe5999952c167cb" - integrity sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A== +jest-docblock@^27.0.0-next.0: + version "27.0.0-next.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.0-next.0.tgz#c65a5d914d2108c70541ea195dc6fba8a32d28b4" + integrity sha512-YZU1l+n0mo55VHY3+Mt6wsRxkaCV7iQ+Xhv1AtEQI1hrXmSeR0ligscyIy4rr8zA3Isfw9N62zREb605FZnKZg== dependencies: - "@jest/types" "^26.6.2" - chalk "^4.0.0" - jest-get-type "^26.3.0" - jest-util "^26.6.2" - pretty-format "^26.6.2" + detect-newline "^3.0.0" -jest-environment-jsdom@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e" - integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q== +jest-each@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.0-next.8.tgz#df8eae41592c35e695bf9125eaa9f1a3a767daf7" + integrity sha512-BwceEA4H8kQPwOrGusiqWxlqC3Q1hfggvVh2AnugO/XJhQTY1p6RcDoH7JXeJVrpmDDON+DiKstuMXBHX/9RCg== dependencies: - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" + chalk "^4.0.0" + jest-get-type "^27.0.0-next.0" + jest-util "^27.0.0-next.8" + pretty-format "^27.0.0-next.8" + +jest-environment-jsdom@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.0-next.8.tgz#a9ba22ca18b49a7129ac1498eed19b479b24cf07" + integrity sha512-8M6p5JwH7TIrGA0gFhYKm0k1dg7nQaGVYOTIiIvPmIH2jQ8HmOnN8wQiWxIV8getnEtO7SuVIFKbzIJNJyponA== + dependencies: + "@jest/environment" "^27.0.0-next.8" + "@jest/fake-timers" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" - jest-mock "^26.6.2" - jest-util "^26.6.2" + jest-mock "^27.0.0-next.8" + jest-util "^27.0.0-next.8" jsdom "^16.4.0" -jest-environment-node@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.6.2.tgz#824e4c7fb4944646356f11ac75b229b0035f2b0c" - integrity sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag== +jest-environment-node@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.0-next.8.tgz#3dba624cdd111297d09bf44baf7b1a4e8738298d" + integrity sha512-avBLI8G5euTaqmqcegCLtwS9Bj7gegsPGNP5/w4h01Gz/MLtOjjvRR97nut6zLC5qSEi7PBDht6j2/h21DT3Jw== dependencies: - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/environment" "^27.0.0-next.8" + "@jest/fake-timers" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" - jest-mock "^26.6.2" - jest-util "^26.6.2" + jest-mock "^27.0.0-next.8" + jest-util "^27.0.0-next.8" jest-get-type@^24.3.0, jest-get-type@^24.9.0: version "24.9.0" @@ -4319,58 +4123,62 @@ jest-get-type@^26.3.0: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== -jest-haste-map@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.6.2.tgz#dd7e60fe7dc0e9f911a23d79c5ff7fb5c2cafeaa" - integrity sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w== +jest-get-type@^27.0.0-next.0: + version "27.0.0-next.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.0-next.0.tgz#3881f161b4380ff5dc7983a8fc22f49611331799" + integrity sha512-Fp0uZdy/HNhqHxhBrYvR+AjtfkQgsWTGNmJuqKfGrjn3j4ke0LTXq2ryZW+Fliix9geW8NNK3gnxQ7BfeP6sTg== + +jest-haste-map@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.0-next.8.tgz#9a45d0f9e97d3d2d803516abe3f0164c7792ff9f" + integrity sha512-jNETts2lHM0jX9zPr3q1e+HH68uFjY5C4zslYv+xF8NVrTZ1BLSMjeJylY9VWwebKKpo2mwkXb3YmKz7EubddA== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" "@types/graceful-fs" "^4.1.2" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.4" - jest-regex-util "^26.0.0" - jest-serializer "^26.6.2" - jest-util "^26.6.2" - jest-worker "^26.6.2" - micromatch "^4.0.2" - sane "^4.0.3" + jest-regex-util "^27.0.0-next.0" + jest-serializer "^27.0.0-next.0" + jest-util "^27.0.0-next.8" + jest-worker "^27.0.0-next.8" + micromatch "^4.0.4" walker "^1.0.7" optionalDependencies: - fsevents "^2.1.2" + fsevents "^2.2.1" -jest-jasmine2@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" - integrity sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg== +jest-jasmine2@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.0-next.8.tgz#fa053928773aeabb316533baccd685df17de02d0" + integrity sha512-YH5yYapmsNb0YLahjbIUqKZ7Y7D4+mP05d28xV2gJ311JwUZQtEUZ/a9kroXtYS1q8NAmVWORgKhZCGRYvczBQ== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^26.6.2" - "@jest/source-map" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/environment" "^27.0.0-next.8" + "@jest/source-map" "^27.0.0-next.3" + "@jest/test-result" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" - expect "^26.6.2" + expect "^27.0.0-next.8" is-generator-fn "^2.0.0" - jest-each "^26.6.2" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-runtime "^26.6.3" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - pretty-format "^26.6.2" - throat "^5.0.0" - -jest-leak-detector@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz#7717cf118b92238f2eba65054c8a0c9c653a91af" - integrity sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg== - dependencies: - jest-get-type "^26.3.0" - pretty-format "^26.6.2" + jest-each "^27.0.0-next.8" + jest-matcher-utils "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-runtime "^27.0.0-next.8" + jest-snapshot "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + pretty-format "^27.0.0-next.8" + throat "^6.0.1" + +jest-leak-detector@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.0-next.8.tgz#a0e292a6737f2dd9ead8b73c4523fc8698ec1a23" + integrity sha512-0c8J7U47zgP7OYOmpICG3qWtJJjaPv3dKEiHmW7bo0FSyq4ktyZHv+QsfPCx5+CfNZ/OVO5OKx7Eldvp47kZxw== + dependencies: + jest-get-type "^27.0.0-next.0" + pretty-format "^27.0.0-next.8" jest-matcher-utils@^24.7.0: version "24.9.0" @@ -4382,37 +4190,37 @@ jest-matcher-utils@^24.7.0: jest-get-type "^24.9.0" pretty-format "^24.9.0" -jest-matcher-utils@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" - integrity sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw== +jest-matcher-utils@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.0-next.8.tgz#b27cbe2c9be86c5f7d3a13ac9179adb3523616da" + integrity sha512-7KKZuJwAc/S5RXBVJYLKf3xEBWIFielvthmlmv2R9zKSG66VFLxkDLvZYQzizfpAhO01VOMNe7I6pD2N1x8IGg== dependencies: chalk "^4.0.0" - jest-diff "^26.6.2" - jest-get-type "^26.3.0" - pretty-format "^26.6.2" + jest-diff "^27.0.0-next.8" + jest-get-type "^27.0.0-next.0" + pretty-format "^27.0.0-next.8" -jest-message-util@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" - integrity sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA== +jest-message-util@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.0-next.8.tgz#d8521dad82de2d9589c3566eeadf3c5d18b13e64" + integrity sha512-2rArR76gS/cQmNbrOuAgakLP0vZt/3NQkoyEVo7AEZvD0+fLoFpIdwOjxBb/jQFTFqAHIjfX+Q1MYmWVe7KZGw== dependencies: - "@babel/code-frame" "^7.0.0" - "@jest/types" "^26.6.2" + "@babel/code-frame" "^7.12.13" + "@jest/types" "^27.0.0-next.8" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.4" - micromatch "^4.0.2" - pretty-format "^26.6.2" + micromatch "^4.0.4" + pretty-format "^27.0.0-next.8" slash "^3.0.0" - stack-utils "^2.0.2" + stack-utils "^2.0.3" -jest-mock@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.6.2.tgz#d6cb712b041ed47fe0d9b6fc3474bc6543feb302" - integrity sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew== +jest-mock@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.0-next.8.tgz#46f9bbf3b71f45d4a9dcef1b40905e83c444ca8c" + integrity sha512-MzCeNBngiRSJY/iuxSwP6t1WnT0ZP/0efQXBRxh7go6Y7qlY2UWPLZHGr6d9Aq5VM7g0AJTNoC1YJpgEDtZFiQ== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -4420,121 +4228,126 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" - integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== +jest-regex-util@^27.0.0-next.0: + version "27.0.0-next.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.0-next.0.tgz#559ff0c5388000d3b82dacc6adca682af9f9dabb" + integrity sha512-9f6JHFuKOGaTaBWAfneX6k/20o9t2O0JTwOCn/2qlBUZRbQt1sqd2U3qme7t85n8qZVdd/LRteUyZ6lnbWDNvg== -jest-resolve-dependencies@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz#6680859ee5d22ee5dcd961fe4871f59f4c784fb6" - integrity sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg== +jest-resolve-dependencies@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.0-next.8.tgz#455544f6cb4eba36b82c5ddc7b65e8d04084e825" + integrity sha512-6ZKT6wmq70/B2j1+FAJniRCQ5L1r7X/Oey1IzAg1f+AsIgZiL+RNt8eaQrce8Oox56AAXs8MMbQxvFY1xOd/Lw== dependencies: - "@jest/types" "^26.6.2" - jest-regex-util "^26.0.0" - jest-snapshot "^26.6.2" + "@jest/types" "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" + jest-snapshot "^27.0.0-next.8" -jest-resolve@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.6.2.tgz#a3ab1517217f469b504f1b56603c5bb541fbb507" - integrity sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ== +jest-resolve@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.0-next.8.tgz#0a921dc43162d1528129fd2838c4269f454600b3" + integrity sha512-rQmRd3z4BY6Z42NHy/uTsSGHlnwa4xk2pM/Z96wWf4O/rxrDh6CHCtQJ+NSLzHuKC2nvQcJ7dJVTgN0tHsMqXg== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" chalk "^4.0.0" + escalade "^3.1.1" graceful-fs "^4.2.4" jest-pnp-resolver "^1.2.2" - jest-util "^26.6.2" - read-pkg-up "^7.0.1" - resolve "^1.18.1" + jest-util "^27.0.0-next.8" + resolve "^1.20.0" slash "^3.0.0" -jest-runner@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" - integrity sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ== +jest-runner@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.0-next.8.tgz#d96896f3a539d6eb23ec23e85216e34649eeb2fd" + integrity sha512-0ANLoqGVS8WtYYkZgmdbtyT1Blb8uDAxK1OZPyGn4kPZFr+0mWTlDCnO4bFIa7NSI7BJKOY0sYms6fTTLNNDLg== dependencies: - "@jest/console" "^26.6.2" - "@jest/environment" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/console" "^27.0.0-next.8" + "@jest/environment" "^27.0.0-next.8" + "@jest/test-result" "^27.0.0-next.8" + "@jest/transform" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" chalk "^4.0.0" - emittery "^0.7.1" + emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-config "^26.6.3" - jest-docblock "^26.0.0" - jest-haste-map "^26.6.2" - jest-leak-detector "^26.6.2" - jest-message-util "^26.6.2" - jest-resolve "^26.6.2" - jest-runtime "^26.6.3" - jest-util "^26.6.2" - jest-worker "^26.6.2" + jest-config "^27.0.0-next.8" + jest-docblock "^27.0.0-next.0" + jest-haste-map "^27.0.0-next.8" + jest-leak-detector "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-resolve "^27.0.0-next.8" + jest-runtime "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-worker "^27.0.0-next.8" source-map-support "^0.5.6" - throat "^5.0.0" - -jest-runtime@^26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" - integrity sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== - dependencies: - "@jest/console" "^26.6.2" - "@jest/environment" "^26.6.2" - "@jest/fake-timers" "^26.6.2" - "@jest/globals" "^26.6.2" - "@jest/source-map" "^26.6.2" - "@jest/test-result" "^26.6.2" - "@jest/transform" "^26.6.2" - "@jest/types" "^26.6.2" - "@types/yargs" "^15.0.0" + throat "^6.0.1" + +jest-runtime@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.0-next.8.tgz#5919b476d05d8c20445fad3d9ebc2c699f4e91da" + integrity sha512-9r+d0AZbubinfpbzJMIAwLWtO9A5fZwh6s2mmzFzcBtjOLOuBQfd/HzGbbGZPUxVsUXFpH+Kne3H/dtDd0jv5Q== + dependencies: + "@jest/console" "^27.0.0-next.8" + "@jest/environment" "^27.0.0-next.8" + "@jest/fake-timers" "^27.0.0-next.8" + "@jest/globals" "^27.0.0-next.8" + "@jest/source-map" "^27.0.0-next.3" + "@jest/test-result" "^27.0.0-next.8" + "@jest/transform" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" + "@types/yargs" "^16.0.0" chalk "^4.0.0" - cjs-module-lexer "^0.6.0" + cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-config "^26.6.3" - jest-haste-map "^26.6.2" - jest-message-util "^26.6.2" - jest-mock "^26.6.2" - jest-regex-util "^26.0.0" - jest-resolve "^26.6.2" - jest-snapshot "^26.6.2" - jest-util "^26.6.2" - jest-validate "^26.6.2" + jest-haste-map "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-mock "^27.0.0-next.8" + jest-regex-util "^27.0.0-next.0" + jest-resolve "^27.0.0-next.8" + jest-snapshot "^27.0.0-next.8" + jest-util "^27.0.0-next.8" + jest-validate "^27.0.0-next.8" slash "^3.0.0" strip-bom "^4.0.0" - yargs "^15.4.1" + yargs "^16.0.3" -jest-serializer@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.6.2.tgz#d139aafd46957d3a448f3a6cdabe2919ba0742d1" - integrity sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g== +jest-serializer@^27.0.0-next.0: + version "27.0.0-next.0" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.0.0-next.0.tgz#204b6875cd6940349aa3c88a0016a71ecf881b3e" + integrity sha512-OHmMpNbutgJXyYeTeMmz/fN7hAOr/LfJOCt94SzTe1z9OTERKmnDIQJQcudXZKQ78oID9hkC8P1fSu64LRKJzw== dependencies: "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" - integrity sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og== +jest-snapshot@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.0-next.8.tgz#f3381ec2f75b59e02b77f4f6851c787fba00abd3" + integrity sha512-TXAwPj/QTBgyIKgnmdl7zVlt26CKpAdC+EleAKXjIxxWm+P+PhSGhDrmAKwocsy+2eUZEoW65jka8oP9AHwWUA== dependencies: + "@babel/generator" "^7.7.2" + "@babel/parser" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" "@babel/types" "^7.0.0" - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" "@types/babel__traverse" "^7.0.4" - "@types/prettier" "^2.0.0" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^26.6.2" + expect "^27.0.0-next.8" graceful-fs "^4.2.4" - jest-diff "^26.6.2" - jest-get-type "^26.3.0" - jest-haste-map "^26.6.2" - jest-matcher-utils "^26.6.2" - jest-message-util "^26.6.2" - jest-resolve "^26.6.2" + jest-diff "^27.0.0-next.8" + jest-get-type "^27.0.0-next.0" + jest-haste-map "^27.0.0-next.8" + jest-matcher-utils "^27.0.0-next.8" + jest-message-util "^27.0.0-next.8" + jest-resolve "^27.0.0-next.8" natural-compare "^1.4.0" - pretty-format "^26.6.2" + pretty-format "^27.0.0-next.8" semver "^7.3.2" jest-tobetype@1.2.3: @@ -4545,60 +4358,60 @@ jest-tobetype@1.2.3: jest-get-type "^24.3.0" jest-matcher-utils "^24.7.0" -jest-util@^26.1.0, jest-util@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" - integrity sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q== +jest-util@27.0.0-next.8, jest-util@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.0-next.8.tgz#3372df3779b16192fcaf7afdb0a88a07ef6abaf4" + integrity sha512-yL+OHfe0uyjofzTwkSPyzJ4mihhMJsTAEp0OcvBP23V9IjKFvt76aV2+iab+wlGZP+K4lpjkr1vd7JK9+Kc6Ew== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" chalk "^4.0.0" graceful-fs "^4.2.4" - is-ci "^2.0.0" - micromatch "^4.0.2" + is-ci "^3.0.0" + picomatch "^2.2.3" -jest-validate@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.6.2.tgz#23d380971587150467342911c3d7b4ac57ab20ec" - integrity sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ== +jest-validate@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.0-next.8.tgz#dca07c99ee9e7bb008a6352a016cd02d7053a979" + integrity sha512-Ellv08ZebWqyLZ+/f09zSV7UbzYIENfbolmxf0yrUkWtQxXz9bS1vJ1+WZaSz6BvvtL2Yu5nYetj0YXeNnodoA== dependencies: - "@jest/types" "^26.6.2" + "@jest/types" "^27.0.0-next.8" camelcase "^6.0.0" chalk "^4.0.0" - jest-get-type "^26.3.0" + jest-get-type "^27.0.0-next.0" leven "^3.1.0" - pretty-format "^26.6.2" + pretty-format "^27.0.0-next.8" -jest-watcher@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.6.2.tgz#a5b683b8f9d68dbcb1d7dae32172d2cca0592975" - integrity sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ== +jest-watcher@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.0-next.8.tgz#c81370870cee792e696cbd340cccb6e41b06eaf9" + integrity sha512-maxzxh3kMDbjBfy4tnLQKVXL9INkP6em8EBjUph+UaigxLznawDfoYbVeP2wYACoetAX2UGIoWXsyU4yTGRO4Q== dependencies: - "@jest/test-result" "^26.6.2" - "@jest/types" "^26.6.2" + "@jest/test-result" "^27.0.0-next.8" + "@jest/types" "^27.0.0-next.8" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^26.6.2" + jest-util "^27.0.0-next.8" string-length "^4.0.1" -jest-worker@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== +jest-worker@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.0-next.8.tgz#70656d41d50d2563ff7f4b54ab8f7605518a36f2" + integrity sha512-eScqze9INJJp7cXNdMaLeeT4n/NwxNT7lMHpODBlK6jDwoqkCajEV9H/pKzchihW2iFaWg5zN9VZnZCS70PmKA== dependencies: "@types/node" "*" merge-stream "^2.0.0" - supports-color "^7.0.0" + supports-color "^8.0.0" -jest@26.6.3: - version "26.6.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-26.6.3.tgz#40e8fdbe48f00dfa1f0ce8121ca74b88ac9148ef" - integrity sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q== +jest@v27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.0-next.8.tgz#d16644a273122a8df8199d254df4209e6a9f9476" + integrity sha512-LjCtGL4SbSD+hFDykFdlriZ70iW0ZBU60n4UIraq/Ug2jGzrBqNznVLiVFRwvkdZcEzq634MOKE9/xV2PafdVg== dependencies: - "@jest/core" "^26.6.3" + "@jest/core" "^27.0.0-next.8" import-local "^3.0.2" - jest-cli "^26.6.3" + jest-cli "^27.0.0-next.8" js-tokens@^4.0.0: version "4.0.0" @@ -4748,26 +4561,7 @@ just-diff@^3.0.1: resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-3.0.2.tgz#65f4914e4d7500b364d12b7b3f03bcbacdac743b" integrity sha512-+EiNvacECnZbszZa5IMjzrJ3dy2HKMXyGaNYWBnXy+iWW+437jIvQUrWaM9M+XI/6gOH8EjqvhGUOSh7ETekyg== -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: +kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -5287,11 +5081,6 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= - map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -5302,13 +5091,6 @@ map-obj@^4.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.1.0.tgz#b91221b542734b9f14256c0132c897c5d7256fd5" integrity sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g== -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= - dependencies: - object-visit "^1.0.0" - marked-terminal@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/marked-terminal/-/marked-terminal-4.1.1.tgz#34a6f063cd6cfe26bffaf5bac3724e24242168a9" @@ -5365,25 +5147,6 @@ merge2@^1.3.0: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micromatch@^3.1.4: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - micromatch@^4.0.0, micromatch@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" @@ -5392,6 +5155,14 @@ micromatch@^4.0.0, micromatch@^4.0.2: braces "^3.0.1" picomatch "^2.0.5" +micromatch@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" + integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== + dependencies: + braces "^3.0.1" + picomatch "^2.2.3" + mime-db@1.45.0: version "1.45.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea" @@ -5440,7 +5211,7 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: +minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== @@ -5538,14 +5309,6 @@ mississippi@^3.0.0: stream-each "^1.1.0" through2 "^2.0.0" -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - mkdirp-infer-owner@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" @@ -5604,23 +5367,6 @@ mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -5636,11 +5382,6 @@ nerf-dart@^1.0.0: resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo= -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - node-emoji@^1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da" @@ -5705,18 +5446,6 @@ node-modules-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-notifier@^8.0.0: - version "8.0.1" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-8.0.1.tgz#f86e89bbc925f2b068784b31f382afdc6ca56be1" - integrity sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA== - dependencies: - growly "^1.3.0" - is-wsl "^2.2.0" - semver "^7.3.2" - shellwords "^0.1.1" - uuid "^8.3.0" - which "^2.0.2" - nopt@^4.0.1, nopt@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" @@ -5752,13 +5481,6 @@ normalize-package-data@^3.0.0: semver "^7.3.2" validate-npm-package-license "^3.0.1" -normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= - dependencies: - remove-trailing-separator "^1.0.1" - normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -6186,15 +5908,6 @@ object-assign@^4.1.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - object-inspect@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a" @@ -6205,13 +5918,6 @@ object-keys@^1.0.12, object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= - dependencies: - isobject "^3.0.0" - object.assign@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" @@ -6231,13 +5937,6 @@ object.getownpropertydescriptors@^2.0.3: define-properties "^1.1.3" es-abstract "^1.18.0-next.1" -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" - once@^1.3.0, once@^1.3.1, once@^1.4.0, once@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -6526,11 +6225,6 @@ parse5@5.1.1: resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178" integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug== -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -6551,7 +6245,7 @@ path-is-inside@^1.0.1, path-is-inside@^1.0.2, path-is-inside@~1.0.2: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= -path-key@^2.0.0, path-key@^2.0.1: +path-key@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= @@ -6588,6 +6282,11 @@ picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== +picomatch@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.3.tgz#465547f359ccc206d3c48e46a1bcb89bf7ee619d" + integrity sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg== + pify@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -6620,11 +6319,6 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= - prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -6665,6 +6359,16 @@ pretty-format@^26.0.0, pretty-format@^26.6.2: ansi-styles "^4.0.0" react-is "^17.0.1" +pretty-format@^27.0.0-next.8: + version "27.0.0-next.8" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.0.0-next.8.tgz#4dc6c34580949180a40c38957ac5e92693f10f2e" + integrity sha512-Y7Pd+USoRKghYi+dj2RCikTK36AlDO2bMH5sRGMr3fW1l/vVp2Vht2tjVhXvC5T6+yMH2ivtpfI6+99/Igr+6Q== + dependencies: + "@jest/types" "^27.0.0-next.8" + ansi-regex "^5.0.0" + ansi-styles "^5.0.0" + react-is "^17.0.1" + process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" @@ -6995,14 +6699,6 @@ redeyed@~2.1.0: dependencies: esprima "~4.0.0" -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - regexpp@^3.0.0, regexpp@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" @@ -7030,21 +6726,6 @@ registry-url@^3.0.3: dependencies: rc "^1.0.1" -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= - -repeat-element@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" - integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= - request-promise-core@1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f" @@ -7124,12 +6805,7 @@ resolve-from@^5.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= - -resolve@^1.10.0, resolve@^1.17.0, resolve@^1.18.1: +resolve@^1.10.0, resolve@^1.17.0: version "1.19.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg== @@ -7137,10 +6813,13 @@ resolve@^1.10.0, resolve@^1.17.0, resolve@^1.18.1: is-core-module "^2.1.0" path-parse "^1.0.6" -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== +resolve@^1.20.0: + version "1.20.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" + integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== + dependencies: + is-core-module "^2.2.0" + path-parse "^1.0.6" retry@^0.10.0: version "0.10.1" @@ -7171,11 +6850,6 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" -rsvp@^4.8.4: - version "4.8.5" - resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" - integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA== - run-parallel@^1.1.9: version "1.1.10" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.10.tgz#60a51b2ae836636c81377df16cb107351bcd13ef" @@ -7198,33 +6872,11 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= - dependencies: - ret "~0.1.10" - "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sane@^4.0.3: - version "4.1.0" - resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded" - integrity sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA== - dependencies: - "@cnakazawa/watch" "^1.0.3" - anymatch "^2.0.0" - capture-exit "^2.0.0" - exec-sh "^0.3.2" - execa "^1.0.0" - fb-watchman "^2.0.0" - micromatch "^3.1.4" - minimist "^1.1.1" - walker "~1.0.5" - saxes@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" @@ -7285,7 +6937,7 @@ semver-regex@^3.1.2: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807" integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA== -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -7314,16 +6966,6 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - sha@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/sha/-/sha-3.0.0.tgz#b2f2f90af690c16a3a839a6a6c680ea51fedd1ae" @@ -7355,11 +6997,6 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shellwords@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" - integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== - signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" @@ -7403,36 +7040,6 @@ smart-buffer@^4.1.0: resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba" integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw== -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - socks-proxy-agent@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" @@ -7479,17 +7086,6 @@ sorted-union-stream@~2.1.3: from2 "^1.3.0" stream-iterate "^1.1.0" -source-map-resolve@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== - dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - source-map-support@^0.5.17, source-map-support@^0.5.6: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" @@ -7498,12 +7094,7 @@ source-map-support@^0.5.17, source-map-support@^0.5.6: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-url@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" - integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= - -source-map@^0.5.0, source-map@^0.5.6: +source-map@^0.5.0: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -7554,13 +7145,6 @@ split-on-first@^1.0.0: resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - split2@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493" @@ -7616,21 +7200,13 @@ ssri@^8.0.0, ssri@^8.0.1: dependencies: minipass "^3.1.1" -stack-utils@^2.0.2: +stack-utils@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" integrity sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw== dependencies: escape-string-regexp "^2.0.0" -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - stealthy-require@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" @@ -7832,6 +7408,13 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-hyperlinks@^2.0.0, supports-hyperlinks@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz#f663df252af5f37c5d49bbd7eeefa9e0b9e59e47" @@ -7930,10 +7513,10 @@ text-table@^0.2.0, text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -throat@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b" - integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA== +throat@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" + integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: version "2.0.5" @@ -7975,21 +7558,6 @@ to-fast-properties@^2.0.0: resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -7997,16 +7565,6 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - tough-cookie@^2.3.3, tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -8051,15 +7609,22 @@ trim-off-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= +<<<<<<< HEAD ts-jest@26.5.6: version "26.5.6" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-26.5.6.tgz#c32e0746425274e1dfe333f43cd3c800e014ec35" integrity sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA== +======= +ts-jest@27.0.0-next.11: + version "27.0.0-next.11" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.0-next.11.tgz#6845dda6525ca7d94ea3517b4f7813c0fb93d0b1" + integrity sha512-MdlskBkkYy2/Q47Wlilf0ZJhRe1kZdP9ul7vOwsICUtS+47aCv47nRMrueDg1VCcOcWT3ZgwZ3XaYXcGFEhcHA== +>>>>>>> 3b15547 (chore(esm): more node/jest config opts for esm, setupTests, setGlobal) dependencies: bs-logger "0.x" buffer-from "1.x" fast-json-stable-stringify "2.x" - jest-util "^26.1.0" + jest-util "27.0.0-next.8" json5 "2.x" lodash "4.x" make-error "1.x" @@ -8196,16 +7761,6 @@ umask@^1.1.0, umask@~1.1.0: resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" @@ -8249,14 +7804,6 @@ unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" @@ -8285,11 +7832,6 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= - url-join@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.1.tgz#b642e21a2646808ffa178c4c5fda39844e12cde7" @@ -8302,11 +7844,6 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -8329,11 +7866,6 @@ uuid@^3.3.2, uuid@^3.3.3: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -uuid@^8.3.0: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v8-compile-cache@^2.0.3: version "2.2.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz#9471efa3ef9128d2f7c6a7ca39c4dd6b5055b132" @@ -8391,7 +7923,7 @@ walk-up-path@^1.0.0: resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== -walker@^1.0.7, walker@~1.0.5: +walker@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs= @@ -8503,15 +8035,6 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" -wrap-ansi@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -8618,14 +8141,6 @@ yargs-parser@^15.0.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^18.1.2: - version "18.1.3" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" - integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - yargs-parser@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" @@ -8650,24 +8165,7 @@ yargs@^14.2.3: y18n "^4.0.0" yargs-parser "^15.0.1" -yargs@^15.4.1: - version "15.4.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" - integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== - dependencies: - cliui "^6.0.0" - decamelize "^1.2.0" - find-up "^4.1.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^4.2.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^18.1.2" - -yargs@^16.2.0: +yargs@^16.0.3, yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== From 17b0ea1ad164cc5d2e089a720c99ed727df06c65 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 13:06:03 +0300 Subject: [PATCH 11/32] chore(esm): import jest global in tests --- src/lib/moduleExec.spec.ts | 2 ++ src/lib/validateAndCoerceTypes.spec.ts | 2 ++ src/lib/yahooFinanceFetch.spec.ts | 1 + src/modules/historical.spec.ts | 2 ++ src/other/quoteCombine.spec.ts | 2 ++ 5 files changed, 9 insertions(+) diff --git a/src/lib/moduleExec.spec.ts b/src/lib/moduleExec.spec.ts index 1ed3abb2..d34adfab 100644 --- a/src/lib/moduleExec.spec.ts +++ b/src/lib/moduleExec.spec.ts @@ -1,3 +1,5 @@ +import { jest } from "@jest/globals"; + import search from "../modules/search.js"; import { InvalidOptionsError } from "./errors.js"; import testYf from "../../tests/testYf.js"; diff --git a/src/lib/validateAndCoerceTypes.spec.ts b/src/lib/validateAndCoerceTypes.spec.ts index 4baee49c..9aa2065d 100644 --- a/src/lib/validateAndCoerceTypes.spec.ts +++ b/src/lib/validateAndCoerceTypes.spec.ts @@ -1,3 +1,5 @@ +import { jest } from "@jest/globals"; + import validateAndCoerceTypes, { ajv } from "./validateAndCoerceTypes.js"; import type { ValidateParams } from "./validateAndCoerceTypes.js"; import { InvalidOptionsError, FailedYahooValidationError } from "./errors.js"; diff --git a/src/lib/yahooFinanceFetch.spec.ts b/src/lib/yahooFinanceFetch.spec.ts index 806df2b3..09ee75f6 100644 --- a/src/lib/yahooFinanceFetch.spec.ts +++ b/src/lib/yahooFinanceFetch.spec.ts @@ -1,4 +1,5 @@ import * as util from "util"; +import { jest } from "@jest/globals"; import Queue from "./queue.js"; import _yahooFinanceFetch from "./yahooFinanceFetch.js"; diff --git a/src/modules/historical.spec.ts b/src/modules/historical.spec.ts index 504ddcaa..1dd101ea 100644 --- a/src/modules/historical.spec.ts +++ b/src/modules/historical.spec.ts @@ -1,3 +1,5 @@ +import { jest } from "@jest/globals"; + import historical from "./historical.js"; import { testSymbols } from "../../tests/symbols.js"; diff --git a/src/other/quoteCombine.spec.ts b/src/other/quoteCombine.spec.ts index d4eaf99a..5a885330 100644 --- a/src/other/quoteCombine.spec.ts +++ b/src/other/quoteCombine.spec.ts @@ -1,3 +1,5 @@ +import { jest } from "@jest/globals"; + import quoteCombine from "./quoteCombine.js"; import testYf from "../../tests/testYf.js"; From b024e275b9f427d9c1a4bd2cd115e39e43b4c4e3 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 15:49:48 +0300 Subject: [PATCH 12/32] use relative paths in package.json for main/exports/types/browser --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3f2caa4c..67f9b7f6 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "version": "0.0.1", "description": "JS API for Yahoo Finance", "type": "module", - "main": "dist/cjs/index-node.js", - "exports": "dist/esm/index-node.js", - "types": "dist/esm/index-node.d.ts", - "browser": "dist/esm/index-browser.js", + "main": "./dist/cjs/src/index-node.js", + "exports": "./dist/esm/src/index-node.js", + "types": "./dist/esm/src/index-node.d.ts", + "browser": "./dist/esm/src/index-browser.js", "repository": "https://github.com/gadicc/node-yahoo-finance2", "author": "Gadi Cohen ", "license": "MIT", From 6e6de76a89e8ebd5c9d367d7e04d3995da69620b Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:29:29 +0300 Subject: [PATCH 13/32] eureka --- jest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jest.config.ts b/jest.config.ts index e9efb8ae..54dca7f5 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -11,6 +11,9 @@ const config: Config.InitialOptions = { useESM: true, }, }, + moduleNameMapper: { + "(.*)\\.js$": "$1", + }, /* reporters: [ '/tests/reporter.js', From 046975d1142093d27de6feebc0685455e54170ca Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:46:46 +0300 Subject: [PATCH 14/32] fetchDevel: use URL paths --- src/lib/fetchDevel.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/lib/fetchDevel.js b/src/lib/fetchDevel.js index 8e65b4f2..c3803f51 100644 --- a/src/lib/fetchDevel.js +++ b/src/lib/fetchDevel.js @@ -4,7 +4,8 @@ import fs from "fs"; import path from "path"; import crypto from "crypto"; -const FILE_BASE = path.join(__dirname, "..", "..", "tests", "http"); +//const FILE_BASE = path.join(__dirname, "..", "..", "tests", "http"); +const BASE_URL = new URL("../../tests/http/", import.meta.url); class FakeResponse { constructor(props) { @@ -34,17 +35,25 @@ async function fetchDevel(url, fetchOptions) { // If devel===true, hash the url, otherwise use the value of devel // This allows us to specify our own static filename vs url hash. + /* const filename = path.join( FILE_BASE, fetchOptions.devel === true ? urlHash(url) : fetchOptions.devel ); + */ + const destUrl = new URL( + "./" + (fetchOptions.devel === true ? urlHash(url) : fetchOptions.devel), + BASE_URL + ); + + const filename = destUrl.toString(); if (cache[filename]) return cache[filename]; let contentJson, contentObj; try { - contentJson = await fs.promises.readFile(filename, { encoding: "utf8" }); + contentJson = await fs.promises.readFile(destUrl, { encoding: "utf8" }); contentObj = JSON.parse(contentJson); } catch (error) { if (error.code === "ENOENT") { @@ -73,7 +82,7 @@ async function fetchDevel(url, fetchOptions) { } contentJson = JSON.stringify(contentObj, null, 2); - await fs.promises.writeFile(filename, contentJson, { encoding: "utf8" }); + await fs.promises.writeFile(destUrl, contentJson, { encoding: "utf8" }); } else { throw error; } From 91f1a6675a3651c19a870082b04ac9d5671bc05b Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:48:57 +0300 Subject: [PATCH 15/32] yahooFinanceFetch: this && this._env check --- src/lib/yahooFinanceFetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/yahooFinanceFetch.ts b/src/lib/yahooFinanceFetch.ts index 76cced3b..daf92ffd 100644 --- a/src/lib/yahooFinanceFetch.ts +++ b/src/lib/yahooFinanceFetch.ts @@ -48,7 +48,7 @@ async function yahooFinanceFetch( moduleOpts: YahooFinanceFetchModuleOptions = {}, func = "json" ) { - if (!this._env) + if (!(this && this._env)) throw new errors.NoEnvironmentError( "yahooFinanceFetch called without this._env set" ); From 735f96d8c8b63d8bbbdb4afa473d1b1a077751f4 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:49:36 +0300 Subject: [PATCH 16/32] yahooFinanceFetch: remove console.log --- src/lib/yahooFinanceFetch.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/yahooFinanceFetch.ts b/src/lib/yahooFinanceFetch.ts index daf92ffd..557b217b 100644 --- a/src/lib/yahooFinanceFetch.ts +++ b/src/lib/yahooFinanceFetch.ts @@ -65,7 +65,6 @@ async function yahooFinanceFetch( /* istanbul ignore next */ // no need to force coverage on real network request. const fetchFunc = moduleOpts.devel ? await fetchDevel() : fetch; - console.log({ fetchFunc }); const fetchOptions = { "User-Agent": userAgent, From 46c55a4d58391fc812499bd89d55c31f0a005045 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:51:40 +0300 Subject: [PATCH 17/32] historical.spec.ts ts-ignore --- src/modules/historical.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/historical.spec.ts b/src/modules/historical.spec.ts index 1dd101ea..689bdfbb 100644 --- a/src/modules/historical.spec.ts +++ b/src/modules/historical.spec.ts @@ -26,6 +26,7 @@ describe("historical", () => { describe("transformWith", () => { const yf = { _moduleExec: jest.fn(), historical }; yf.historical("symbol", { period1: "required-but-not-used" }); + // @ts-ignore: TODO const { transformWith } = yf._moduleExec.mock.calls[0][0].query; it("uses today's date as default for period2", () => { From 6ab2846934177298892fc219a1b63db2ab8f98de Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 16:58:04 +0300 Subject: [PATCH 18/32] schema-tweak.js --- bin/schema-tweak.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/schema-tweak.js b/bin/schema-tweak.js index 353278ba..245ec89a 100755 --- a/bin/schema-tweak.js +++ b/bin/schema-tweak.js @@ -1,7 +1,7 @@ #!/usr/bin/env node -const fs = require("fs"); -const schemaWalker = require("oas-schema-walker"); +import fs from "fs"; +import schemaWalker from "oas-schema-walker"; const chunks = []; process.stdin.on("readable", () => { From 97a0ced45189b34e5c0671e88b88090b538e0cfd Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 30 Apr 2021 17:12:22 +0300 Subject: [PATCH 19/32] ci fix, update node image for es2020 for dynamic import --- .circleci/config.yml | 4 +++- package.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 29df55f6..490c820b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,9 @@ jobs: build: docker: # https://circleci.com/developer/images/image/cimg/node - - image: cimg/node:12.22.1 + #- image: cimg/node:12.22.1 + #- currently we need this for dynamic import in module tests, ONLY. + - image: cimg/node:14.16.1 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images diff --git a/package.json b/package.json index 67f9b7f6..8985716a 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ "library" ], "//engines//UNCOMMENT_WHEN_WE_DROP_CJS_SUPPORT": { - "node": ">=12.17.0" + "node": ">=12.17.0", + "//node2": "we need 14.x for dynamic imports -- JUST FOR FETCH_DEVEL()! think about this.", + "node2": ">=14.0.0" }, "bin": { "yahoo-finance": "bin/yahoo-finance.js" From 0dcc41fe5ea5341cf7c98a2321c1abf312f847cb Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Wed, 5 May 2021 09:14:18 +0300 Subject: [PATCH 20/32] yahoo-finance.js bin --- bin/yahoo-finance.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/yahoo-finance.js b/bin/yahoo-finance.js index 14816ad2..58797a40 100755 --- a/bin/yahoo-finance.js +++ b/bin/yahoo-finance.js @@ -1,6 +1,6 @@ -#!/usr/bin/env node +#!/usr/bin/env -S node --experimental-json-modules --experimental-vm-modules -const yahooFinance = require("../api/index-node.js").default; +import yahooFinance from "../dist/esm/src/index-node.js"; const moduleNames = Object.keys(yahooFinance).filter((n) => !n.startsWith("_")); const node = process.argv[0]; From de163c00c83fb2ccff397624d144659e9b8fb4a9 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 6 May 2021 08:35:22 +0300 Subject: [PATCH 21/32] package.json: add "module" field, expand "exports" --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8985716a..b08f626d 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,12 @@ "version": "0.0.1", "description": "JS API for Yahoo Finance", "type": "module", + "module": "./dist/esm/src/index-node.js", "main": "./dist/cjs/src/index-node.js", - "exports": "./dist/esm/src/index-node.js", + "exports": { + "import": "./dist/esm/src/index-node.js", + "default": "./dist/cjs/src/index-node.js" + }, "types": "./dist/esm/src/index-node.d.ts", "browser": "./dist/esm/src/index-browser.js", "repository": "https://github.com/gadicc/node-yahoo-finance2", From a3ecd3b5f801f51739a920762c2ae32506405c9a Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Thu, 6 May 2021 08:39:08 +0300 Subject: [PATCH 22/32] build:cjs - change package.json "type" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b08f626d..e4f5744e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "schema": "ts-json-schema-generator -f tsconfig.json -p 'src/{modules,typings}/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json", "build": "yarn run build:esm && yarn run build:cjs", "build:esm": "tsc --module es2020 --outDir dist/esm", - "build:cjs": "tsc --module commonjs --outDir dist/cjs", + "build:cjs": "tsc --module commonjs --outDir dist/cjs && sed -i 's/\"type\": \"module\",/\"type:\": \"commonjs\",/' dist/cjs/package.json", "generateSchema": "yarn schema", "prepublishOnly": "yarn build && yarn generateSchema", "test": "node --experimental-vm-modules node_modules/.bin/jest", From fd813d920fd36ea4ccb6e36dbd2eb7e9b171f7bb Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 08:41:05 +0300 Subject: [PATCH 23/32] yarn.lock: recreate to fix missed conflicts in rebase --- yarn.lock | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/yarn.lock b/yarn.lock index 66610375..becb45d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -371,14 +371,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cnakazawa/watch@^1.0.3": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" - integrity sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ== - dependencies: - exec-sh "^0.3.2" - minimist "^1.2.0" - "@eslint/eslintrc@^0.4.1": version "0.4.1" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14" @@ -1200,12 +1192,6 @@ dependencies: "@types/yargs-parser" "*" -<<<<<<< HEAD -"@typescript-eslint/eslint-plugin@4.22.1": - version "4.22.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.1.tgz#6bcdbaa4548553ab861b4e5f34936ead1349a543" - integrity sha512-kVTAghWDDhsvQ602tHBc6WmQkdaYbkcTwZu+7l24jtJiYvm9l+/y/b2BZANEezxPDiX5MK2ZecE+9BFi/YJryw== -======= "@types/yargs@^16.0.0": version "16.0.1" resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.1.tgz#5fc5d41f69762e00fbecbc8d4bf9dea47d8726f4" @@ -1213,11 +1199,10 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@4.22.0": - version "4.22.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz#3d5f29bb59e61a9dba1513d491b059e536e16dbc" - integrity sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA== ->>>>>>> 3b15547 (chore(esm): more node/jest config opts for esm, setupTests, setGlobal) +"@typescript-eslint/eslint-plugin@4.22.1": + version "4.22.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.1.tgz#6bcdbaa4548553ab861b4e5f34936ead1349a543" + integrity sha512-kVTAghWDDhsvQ602tHBc6WmQkdaYbkcTwZu+7l24jtJiYvm9l+/y/b2BZANEezxPDiX5MK2ZecE+9BFi/YJryw== dependencies: "@typescript-eslint/experimental-utils" "4.22.1" "@typescript-eslint/scope-manager" "4.22.1" @@ -7609,17 +7594,10 @@ trim-off-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM= -<<<<<<< HEAD -ts-jest@26.5.6: - version "26.5.6" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-26.5.6.tgz#c32e0746425274e1dfe333f43cd3c800e014ec35" - integrity sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA== -======= ts-jest@27.0.0-next.11: version "27.0.0-next.11" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.0-next.11.tgz#6845dda6525ca7d94ea3517b4f7813c0fb93d0b1" integrity sha512-MdlskBkkYy2/Q47Wlilf0ZJhRe1kZdP9ul7vOwsICUtS+47aCv47nRMrueDg1VCcOcWT3ZgwZ3XaYXcGFEhcHA== ->>>>>>> 3b15547 (chore(esm): more node/jest config opts for esm, setupTests, setGlobal) dependencies: bs-logger "0.x" buffer-from "1.x" From e6364f4a14cc1418a69f6a788cdfe4b3523888c5 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 08:43:21 +0300 Subject: [PATCH 24/32] update schema --- schema.json | 78 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 73 insertions(+), 5 deletions(-) diff --git a/schema.json b/schema.json index 2bb1c55f..ea6e7446 100644 --- a/schema.json +++ b/schema.json @@ -2,6 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$comment": "DO NOT EDIT THIS FILE. It is generated automatically from typescript interfaces in the project. To update, run `yarn schema`.", "definitions": { + "*": { + "additionalProperties": false, + "properties": { + "moduleOptions": { + "$ref": "#/definitions/ModuleOptions" + }, + "query": { + "type": "string" + }, + "queryOptionsOverrides": { + "$ref": "#/definitions/AutocOptions" + }, + "this": { + "$ref": "#/definitions/ModuleThis" + } + }, + "required": [ + "this", + "query" + ], + "type": "object" + }, "Action": { "enum": [ "down", @@ -1992,6 +2014,52 @@ ], "type": "object" }, + "ModuleOptions": { + "additionalProperties": false, + "properties": { + "devel": { + "type": [ + "boolean", + "string" + ] + }, + "fetchOptions": { + "type": "object" + }, + "validateResult": { + "type": "boolean" + } + }, + "type": "object" + }, + "ModuleThis": { + "properties": { + "_moduleExec": { + "additionalProperties": false, + "properties": { + "arguments": {}, + "caller": { + "$ref": "#/definitions/interface-731470504-9814-11278-731470504-0-212312" + }, + "length": { + "yahooFinanceType": "number" + }, + "prototype": {} + }, + "required": [ + "prototype", + "length", + "arguments", + "caller" + ], + "type": "object" + } + }, + "required": [ + "_moduleExec" + ], + "type": "object" + }, "NetSharePurchaseActivity": { "additionalProperties": false, "properties": { @@ -2416,7 +2484,7 @@ "properties": { "arguments": {}, "caller": { - "$ref": "#/definitions/interface-2073358172-9814-11278-2073358172-0-212312" + "$ref": "#/definitions/interface-731470504-9814-11278-731470504-0-212312" }, "length": { "yahooFinanceType": "number" @@ -2436,7 +2504,7 @@ "properties": { "arguments": {}, "caller": { - "$ref": "#/definitions/interface-2073358172-9814-11278-2073358172-0-212312" + "$ref": "#/definitions/interface-731470504-9814-11278-731470504-0-212312" }, "length": { "yahooFinanceType": "number" @@ -2456,7 +2524,7 @@ "properties": { "arguments": {}, "caller": { - "$ref": "#/definitions/interface-2073358172-9814-11278-2073358172-0-212312" + "$ref": "#/definitions/interface-731470504-9814-11278-731470504-0-212312" }, "length": { "yahooFinanceType": "number" @@ -6224,12 +6292,12 @@ ], "type": "object" }, - "interface-2073358172-9814-11278-2073358172-0-212312": { + "interface-731470504-9814-11278-731470504-0-212312": { "additionalProperties": false, "properties": { "arguments": {}, "caller": { - "$ref": "#/definitions/interface-2073358172-9814-11278-2073358172-0-212312" + "$ref": "#/definitions/interface-731470504-9814-11278-731470504-0-212312" }, "length": { "yahooFinanceType": "number" From 8662e4c6a1f7b9a810bb24de91ce0949a040e663 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 09:51:42 +0300 Subject: [PATCH 25/32] readme note --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index a52fc97d..21b6aec8 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,31 @@ const quote = await yahooFinance.quote('AAPL'); const { regularMarketPrice as price, currency } = quote; ``` +## NB: CommonJS / ES modules + +This package is shipped as **both an ES Module and a CommonJS module**. Node will +*automatically* load the ES module if: + +* *Your* `package.json` contains a `{ type: module }` entry +* You're running at least Node 12. + +otherwise the traditional CommonJS module will be loaded. Note, for ES modules, +and depending on your node version, you may need some extra flags: + +```bash +# As environment variables +NODE_OPTIONS="--experimental-vm-modules --experimental-json-modules" + +# Or as command line options +node --experimental-vm-modules --experimental-json-modules [...] +``` + +ES Modules are "relatively" new. They got a big boost in April 2021 when +Node 10, which did not support them, reached end-of-life. However, support +varies by build tool and configuration, and there are some edge cases which +can be tricky. Please open an issue if you run into any trouble. + + ## (Optional) TypeScript Love Working with `yahoo-finance2` is a joy if you're using TypeScript (but you From 855d1c9fd8e8fd1e0e1dc0645f615c57bf7b1b33 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 09:52:16 +0300 Subject: [PATCH 26/32] gitignore: add /api temporarily to make switching branches easier --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index fe4d519a..70a64eaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /node_modules /coverage /dist +/api From 3571f293b58a6d5ecad61bbffa2860ac9de502bb Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:08:50 +0300 Subject: [PATCH 27/32] more README notes --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 21b6aec8..323450c5 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,12 @@ $ yahoo-finance search AAPL '{ "someOption": true }' **Importing** ```js +// import syntax (recommended) import yahooFinance from 'yahoo-finance2'; +// require syntax (if your code base does not support imports) +const yahooFinance = require('yahoo-finance2').default; // NOTE the .default + const results = await yahooFinance.search('AAPL'); const results = await yahooFInance.search('AAPL', { someOption: true, etc }); ``` @@ -88,6 +92,7 @@ This package is shipped as **both an ES Module and a CommonJS module**. Node wi * *Your* `package.json` contains a `{ type: module }` entry * You're running at least Node 12. +* You `import` the module (`require` function does not exist in ES modules) otherwise the traditional CommonJS module will be loaded. Note, for ES modules, and depending on your node version, you may need some extra flags: @@ -105,6 +110,13 @@ Node 10, which did not support them, reached end-of-life. However, support varies by build tool and configuration, and there are some edge cases which can be tricky. Please open an issue if you run into any trouble. +**require (CommonJS)** + +If you use load the library with `require`, make sure to add `.default`: + +```js +const yahooFinance = require('yahoo-finance2').default; // NOTE the .default +``` ## (Optional) TypeScript Love From f1a10b65ca4ef5d7ffedd4e0545ea50b2dffc427 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:09:08 +0300 Subject: [PATCH 28/32] sanity tests --- package.json | 5 ++++- tests/modules/README.md | 15 +++++++++++++++ tests/modules/cjs/jest.config.js | 23 +++++++++++++++++++++++ tests/modules/cjs/package.json | 6 ++++++ tests/modules/cjs/tests/tests.spec.js | 7 +++++++ tests/modules/esm/package.json | 7 +++++++ tests/modules/esm/tests/tests.spec.js | 7 +++++++ 7 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 tests/modules/README.md create mode 100644 tests/modules/cjs/jest.config.js create mode 100644 tests/modules/cjs/package.json create mode 100644 tests/modules/cjs/tests/tests.spec.js create mode 100644 tests/modules/esm/package.json create mode 100644 tests/modules/esm/tests/tests.spec.js diff --git a/package.json b/package.json index e4f5744e..085abca7 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,10 @@ "generateSchema": "yarn schema", "prepublishOnly": "yarn build && yarn generateSchema", "test": "node --experimental-vm-modules node_modules/.bin/jest", - "test:ts": "tsc --noEmit" + "test:ts": "tsc --noEmit", + "test:esm": "node --experimental-vm-modules node_modules/.bin/jest tests/modules/esm/tests/*", + "test:cjs": "node node_modules/.bin/jest -c tests/modules/cjs/jest.config.js tests/modules/cjs/tests/*", + "test:modules": "yarn test:esm && yarn test:cjs" }, "files": [ "dist", diff --git a/tests/modules/README.md b/tests/modules/README.md new file mode 100644 index 00000000..8bb65419 --- /dev/null +++ b/tests/modules/README.md @@ -0,0 +1,15 @@ +# tests/modules + +This directory contains tests for specific module systems. Each subdirectory +(`esm`, `cjs`) is a "project" containing it's own `package.json` with options +to ensure the correct yahoo-finance module is loaded. + +Tests are run against the appropriate `dist` builds, and *not* against source +files. To run the relevant tests, use: + +`yarn test:esm` +`yarn test:cjs` + +or for all tests: + +`yarn test:modules` diff --git a/tests/modules/cjs/jest.config.js b/tests/modules/cjs/jest.config.js new file mode 100644 index 00000000..6eef7660 --- /dev/null +++ b/tests/modules/cjs/jest.config.js @@ -0,0 +1,23 @@ +const config = { + preset: "ts-jest/presets/default-esm", + //setupFilesAfterEnv: ["/tests/setupTests.js"], + testEnvironment: "node", + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/"], + extensionsToTreatAsEsm: [".ts"], + globals: { + "ts-jest": { + useESM: false, // true in main config, turned off here [modules/cjs] + }, + }, + moduleNameMapper: { + //"(.*)\\.js$": "$1", // turned off here [modules/cjs] + }, + /* + reporters: [ + '/tests/reporter.js', + '/tests/summary-reporter.js', + ], + */ +}; + +module.exports = config; diff --git a/tests/modules/cjs/package.json b/tests/modules/cjs/package.json new file mode 100644 index 00000000..5bd7329e --- /dev/null +++ b/tests/modules/cjs/package.json @@ -0,0 +1,6 @@ +{ + "name": "esm", + "version": "1.0.0", + "main": "index.js", + "license": "MIT" +} diff --git a/tests/modules/cjs/tests/tests.spec.js b/tests/modules/cjs/tests/tests.spec.js new file mode 100644 index 00000000..3bdae30e --- /dev/null +++ b/tests/modules/cjs/tests/tests.spec.js @@ -0,0 +1,7 @@ +const yahooFinance = require("../../../../dist/cjs/src/index-node.js").default; + +describe("esm", () => { + it("sanity", () => { + expect(yahooFinance._env).toBeDefined(); + }); +}); diff --git a/tests/modules/esm/package.json b/tests/modules/esm/package.json new file mode 100644 index 00000000..1820f2d1 --- /dev/null +++ b/tests/modules/esm/package.json @@ -0,0 +1,7 @@ +{ + "name": "esm", + "version": "1.0.0", + "type": "module", + "main": "index.js", + "license": "MIT" +} diff --git a/tests/modules/esm/tests/tests.spec.js b/tests/modules/esm/tests/tests.spec.js new file mode 100644 index 00000000..babcbb96 --- /dev/null +++ b/tests/modules/esm/tests/tests.spec.js @@ -0,0 +1,7 @@ +import yahooFinance from "../../../../dist/esm/src/index-node.js"; + +describe("esm", () => { + it("sanity", () => { + expect(yahooFinance._env).toBeDefined(); + }); +}); From 49a58e5e8cce1cfa0ef26a0669656a1659ba86d5 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:09:51 +0300 Subject: [PATCH 29/32] test:build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 085abca7..166a15e0 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "test:ts": "tsc --noEmit", "test:esm": "node --experimental-vm-modules node_modules/.bin/jest tests/modules/esm/tests/*", "test:cjs": "node node_modules/.bin/jest -c tests/modules/cjs/jest.config.js tests/modules/cjs/tests/*", - "test:modules": "yarn test:esm && yarn test:cjs" + "test:modules": "yarn test:esm && yarn test:cjs", + "test:build": "yarn test:modules" }, "files": [ "dist", From 70cc077a21f2361b1caf5fe7c1abe0f623f0689e Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:11:16 +0300 Subject: [PATCH 30/32] ci: test builds --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 490c820b..6d13a482 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,4 +54,7 @@ jobs: - codecov/upload: file: './coverage/coverage-final.json' + - run: yarn build + - run: yarn test:build + - run: yarn semantic-release From d45ae4dafaa98a0e24b8fce46918701e3f7f8275 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:26:54 +0300 Subject: [PATCH 31/32] separate test root for modules --- jest.config.ts | 7 +++++- package.json | 4 ++-- {tests/modules => tests-modules}/README.md | 0 .../cjs/jest.config.js | 2 +- .../cjs/package.json | 0 .../cjs/tests/tests.spec.js | 2 +- tests-modules/esm/jest.config.js | 23 +++++++++++++++++++ .../esm/package.json | 0 .../esm/tests/tests.spec.js | 2 +- 9 files changed, 34 insertions(+), 6 deletions(-) rename {tests/modules => tests-modules}/README.md (100%) rename {tests/modules => tests-modules}/cjs/jest.config.js (86%) rename {tests/modules => tests-modules}/cjs/package.json (100%) rename {tests/modules => tests-modules}/cjs/tests/tests.spec.js (56%) create mode 100644 tests-modules/esm/jest.config.js rename {tests/modules => tests-modules}/esm/package.json (100%) rename {tests/modules => tests-modules}/esm/tests/tests.spec.js (60%) diff --git a/jest.config.ts b/jest.config.ts index 54dca7f5..367c5acb 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -4,7 +4,12 @@ const config: Config.InitialOptions = { preset: "ts-jest/presets/default-esm", setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/"], + testPathIgnorePatterns: [ + "/node_modules/", + "/dist/", + "/api/", + "/tests-modules/", + ], extensionsToTreatAsEsm: [".ts"], globals: { "ts-jest": { diff --git a/package.json b/package.json index 166a15e0..b7e289e7 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "prepublishOnly": "yarn build && yarn generateSchema", "test": "node --experimental-vm-modules node_modules/.bin/jest", "test:ts": "tsc --noEmit", - "test:esm": "node --experimental-vm-modules node_modules/.bin/jest tests/modules/esm/tests/*", - "test:cjs": "node node_modules/.bin/jest -c tests/modules/cjs/jest.config.js tests/modules/cjs/tests/*", + "test:esm": "node --experimental-vm-modules node_modules/.bin/jest -c tests-modules/esm/jest.config.js tests-modules/esm/tests/*", + "test:cjs": "node node_modules/.bin/jest -c tests-modules/cjs/jest.config.js tests-modules/cjs/tests/*", "test:modules": "yarn test:esm && yarn test:cjs", "test:build": "yarn test:modules" }, diff --git a/tests/modules/README.md b/tests-modules/README.md similarity index 100% rename from tests/modules/README.md rename to tests-modules/README.md diff --git a/tests/modules/cjs/jest.config.js b/tests-modules/cjs/jest.config.js similarity index 86% rename from tests/modules/cjs/jest.config.js rename to tests-modules/cjs/jest.config.js index 6eef7660..e7cca400 100644 --- a/tests/modules/cjs/jest.config.js +++ b/tests-modules/cjs/jest.config.js @@ -2,7 +2,7 @@ const config = { preset: "ts-jest/presets/default-esm", //setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/"], + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests\//"], extensionsToTreatAsEsm: [".ts"], globals: { "ts-jest": { diff --git a/tests/modules/cjs/package.json b/tests-modules/cjs/package.json similarity index 100% rename from tests/modules/cjs/package.json rename to tests-modules/cjs/package.json diff --git a/tests/modules/cjs/tests/tests.spec.js b/tests-modules/cjs/tests/tests.spec.js similarity index 56% rename from tests/modules/cjs/tests/tests.spec.js rename to tests-modules/cjs/tests/tests.spec.js index 3bdae30e..9eeec881 100644 --- a/tests/modules/cjs/tests/tests.spec.js +++ b/tests-modules/cjs/tests/tests.spec.js @@ -1,4 +1,4 @@ -const yahooFinance = require("../../../../dist/cjs/src/index-node.js").default; +const yahooFinance = require("../../../dist/cjs/src/index-node.js").default; describe("esm", () => { it("sanity", () => { diff --git a/tests-modules/esm/jest.config.js b/tests-modules/esm/jest.config.js new file mode 100644 index 00000000..4ee494e3 --- /dev/null +++ b/tests-modules/esm/jest.config.js @@ -0,0 +1,23 @@ +const config = { + preset: "ts-jest/presets/default-esm", + //setupFilesAfterEnv: ["/tests/setupTests.js"], + testEnvironment: "node", + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests\//"], + extensionsToTreatAsEsm: [".ts"], + globals: { + "ts-jest": { + useESM: true, + }, + }, + moduleNameMapper: { + "(.*)\\.js$": "$1", + }, + /* + reporters: [ + '/tests/reporter.js', + '/tests/summary-reporter.js', + ], + */ +}; + +export default config; diff --git a/tests/modules/esm/package.json b/tests-modules/esm/package.json similarity index 100% rename from tests/modules/esm/package.json rename to tests-modules/esm/package.json diff --git a/tests/modules/esm/tests/tests.spec.js b/tests-modules/esm/tests/tests.spec.js similarity index 60% rename from tests/modules/esm/tests/tests.spec.js rename to tests-modules/esm/tests/tests.spec.js index babcbb96..b7d500cb 100644 --- a/tests/modules/esm/tests/tests.spec.js +++ b/tests-modules/esm/tests/tests.spec.js @@ -1,4 +1,4 @@ -import yahooFinance from "../../../../dist/esm/src/index-node.js"; +import yahooFinance from "../../../dist/esm/src/index-node.js"; describe("esm", () => { it("sanity", () => { From f4872e74af8f6054014949b4172e180a7d7938f2 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 8 May 2021 11:30:33 +0300 Subject: [PATCH 32/32] prettier fix --- tests-modules/cjs/jest.config.js | 2 +- tests-modules/esm/jest.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-modules/cjs/jest.config.js b/tests-modules/cjs/jest.config.js index e7cca400..e21ba15c 100644 --- a/tests-modules/cjs/jest.config.js +++ b/tests-modules/cjs/jest.config.js @@ -2,7 +2,7 @@ const config = { preset: "ts-jest/presets/default-esm", //setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests\//"], + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests//"], extensionsToTreatAsEsm: [".ts"], globals: { "ts-jest": { diff --git a/tests-modules/esm/jest.config.js b/tests-modules/esm/jest.config.js index 4ee494e3..0df18453 100644 --- a/tests-modules/esm/jest.config.js +++ b/tests-modules/esm/jest.config.js @@ -2,7 +2,7 @@ const config = { preset: "ts-jest/presets/default-esm", //setupFilesAfterEnv: ["/tests/setupTests.js"], testEnvironment: "node", - testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests\//"], + testPathIgnorePatterns: ["/node_modules/", "/dist/", "/api/", "/tests//"], extensionsToTreatAsEsm: [".ts"], globals: { "ts-jest": {