diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2036838..b81495a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,9 +20,6 @@ jobs: - name: lint run: npm run lint - - name: test - run: npm run test - - name: build run: scripts/build_and_move diff --git a/.gitignore b/.gitignore index fdd3989..2fa50bc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ build # Mac OS Files .DS_STORE package-lock.json + +.idea diff --git a/README.md b/README.md index 2fb799a..3204748 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Introduction -[![Current Github Action build status.](https://github.com/pqt/runescape-api/workflows/status/badge.svg?color=005cc5)](https://github.com/pqt/runescape-api/actions?workflow=status) [![Package dependancy status.](https://img.shields.io/librariesio/release/npm/runescape-api)](https://www.npmjs.org/package/runescape-api) [![Total downloads.](https://img.shields.io/npm/dt/runescape-api?color=005cc5)](https://www.npmjs.org/package/runescape-api) [![npm package version.](https://img.shields.io/npm/v/runescape-api.svg?color=005cc5)](https://www.npmjs.org/package/runescape-api) [![Released under the MIT license.](https://img.shields.io/badge/license-MIT-blue.svg?color=005cc5)](https://github.com/pqt/runescape-api/blob/master/LICENSE) +[![Current Github Action build status.](https://github.com/astrect/runescape-api/workflows/status/badge.svg?color=005cc5)](https://github.com/astrect/runescape-api/actions?workflow=status) [![Package dependancy status.](https://img.shields.io/librariesio/release/npm/runescape-api)](https://www.npmjs.org/package/runescape-api) [![Total downloads.](https://img.shields.io/npm/dt/runescape-api?color=005cc5)](https://www.npmjs.org/package/runescape-api) [![npm package version.](https://img.shields.io/npm/v/runescape-api.svg?color=005cc5)](https://www.npmjs.org/package/runescape-api) [![Released under the MIT license.](https://img.shields.io/badge/license-MIT-blue.svg?color=005cc5)](https://github.com/astrect/runescape-api/blob/master/LICENSE) `runescape-api` is an open-source wrapper, written in [Node.js](https://nodejs.org), that allows interaction with the various APIs available for the popular MMORPG [RuneScape](http://www.runescape.com). @@ -16,15 +16,15 @@ yarn add runescape-api The implementation offers functionality to interact with the following: -* [Bestiary](https://pqt.gitbook.io/runescape-api/docs/bestiary) -* [Clan](https://pqt.gitbook.io/runescape-api/docs/clan) -* [Grand Exchange](https://pqt.gitbook.io/runescape-api/docs/grandexchange) -* [Hiscores](https://pqt.gitbook.io/runescape-api/docs/hiscores) -* [Miscellaneous](https://pqt.gitbook.io/runescape-api/docs/miscellaneous) -* [RuneMetrics](https://pqt.gitbook.io/runescape-api/docs/runemetrics) -* [Oldschool](https://pqt.gitbook.io/runescape-api/docs/osrs) - * [Grand Exchange](https://pqt.gitbook.io/runescape-api/docs/osrs/grandexchange) - * [Hiscores](https://pqt.gitbook.io/runescape-api/docs/osrs/hiscores) - -More, detailed examples can be provided on the respective documentation pages, a complete summary of the documentation pages can be found on the [GitHub Repository](https://github.com/pqt/runescape-api/blob/master/SUMMARY.md). +* [Bestiary](https://astrect.gitbook.io/runescape-api/docs/bestiary) +* [Clan](https://astrect.gitbook.io/runescape-api/docs/clan) +* [Grand Exchange](https://astrect.gitbook.io/runescape-api/docs/grandexchange) +* [Hiscores](https://astrect.gitbook.io/runescape-api/docs/hiscores) +* [Miscellaneous](https://astrect.gitbook.io/runescape-api/docs/miscellaneous) +* [RuneMetrics](https://astrect.gitbook.io/runescape-api/docs/runemetrics) +* [Oldschool](https://astrect.gitbook.io/runescape-api/docs/osrs) + * [Grand Exchange](https://astrect.gitbook.io/runescape-api/docs/osrs/grandexchange) + * [Hiscores](https://astrect.gitbook.io/runescape-api/docs/osrs/hiscores) + +More, detailed examples can be provided on the respective documentation pages, a complete summary of the documentation pages can be found on the [GitHub Repository](https://github.com/astrect/runescape-api/blob/master/SUMMARY.md). diff --git a/package.json b/package.json index 797e9e8..2f05c25 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,19 @@ { "name": "runescape-api", - "version": "2.1.3", + "version": "2.1.4", "description": "Simple wrapper for RuneScape APIs written in node.", "author": "Joshua Filby ", "maintainers": [ "Astrect (https://astrect.me)" ], - "keywords": [], + "keywords": [ + "Oldschool", + "Old School", + "Runescape", + "OSRS", + "2007scape", + "Runescape 3" + ], "main": "./index.js", "types": "./index.d.ts", "scripts": { @@ -28,7 +35,6 @@ "@typescript-eslint/parser": "^2.18.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.0", - "husky": "^4.2.1", "jest": "^25.1.0", "prettier": "^1.19.1", "rimraf": "^3.0.1", @@ -42,11 +48,6 @@ "bugs": { "url": "https://github.com/astrect/runescape-api/issues" }, - "husky": { - "hooks": { - "pre-push": "npm run format && npm run lint && npm run test" - } - }, "jest": { "roots": [ "/src" diff --git a/src/__tests__/oldschool/grandexchange.test.ts b/src/__tests__/oldschool/grandexchange.test.ts deleted file mode 100644 index e52e218..0000000 --- a/src/__tests__/oldschool/grandexchange.test.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Item, ItemGraph } from "../../lib/RuneScape" -import { grandexchange } from "../../osrs" - -test("Fetch item details", async () => { - return grandexchange.getItem(4151).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Item) - }) -}) - -test("Fetch item price history graph details", async () => { - return grandexchange.getItemGraph(4151).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(ItemGraph) - }) -}) diff --git a/src/__tests__/oldschool/hiscores.test.ts b/src/__tests__/oldschool/hiscores.test.ts deleted file mode 100644 index 059896d..0000000 --- a/src/__tests__/oldschool/hiscores.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Player } from "../../lib/Oldschool" -import { hiscores } from "../../osrs" - -/** - * Commented out because Jagex servers aren't completing this in time. - */ -// test("Fetch normal player by name (string)", async () => { -// return hiscores.getPlayer("Zezima").then(data => { -// expect(data).toBeDefined() -// expect(data).toBeInstanceOf(Player) -// }) -// }) - -test("Fetch ironman player by name (string)", async () => { - return hiscores.getPlayer("Fauxcus", "ironman").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) - -test("Fetch hardcore ironman player by name (string)", async () => { - return hiscores.getPlayer("Lost Fauxcus", "hardcore").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) - -test("Fetch ultimate ironman player by name (string)", async () => { - return hiscores.getPlayer("Swampletics", "ultimate").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) diff --git a/src/__tests__/runescape/bestiary.test.ts b/src/__tests__/runescape/bestiary.test.ts deleted file mode 100644 index 32d3080..0000000 --- a/src/__tests__/runescape/bestiary.test.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { - Area, - Beast, - BeastSearchResult, - SlayerCategory, - Weakness, -} from "../../lib/RuneScape" -import { bestiary } from "../../runescape" - -test("Fetch all areas", async () => { - return bestiary.getAreas().then(data => { - expect(data).toBeDefined() - - data.forEach(item => { - expect(item).toBeInstanceOf(Area) - }) - }) -}) - -test("Fetch all slayer categories", async () => { - return bestiary.getSlayerCategories().then(data => { - expect(data).toBeDefined() - - data.forEach(item => { - expect(item).toBeInstanceOf(SlayerCategory) - }) - }) -}) - -test("Fetch all weaknesses", async () => { - return bestiary.getWeaknesses().then(data => { - expect(data).toBeDefined() - - data.forEach(item => { - expect(item).toBeInstanceOf(Weakness) - }) - }) -}) - -test("Fetch a new Beast instance by id (number)", async () => { - return bestiary.getBeast(16705).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Beast) - }) -}) - -test("Fetch a new Beast instance by BeastSearchResult instance", async () => { - const beast = new BeastSearchResult({ - value: 16705, - label: "Exiled kalphite guardian", - }) - - return bestiary.getBeast(beast).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Beast) - }) -}) - -test("Fetch beasts by area name (string)", async () => { - return bestiary.getBeastsByArea("Glarial's tomb").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by Area instance", async () => { - const area = new Area("Glarial's tomb") - return bestiary.getBeastsByArea(area).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by first letter", async () => { - return bestiary.getBeastsByFirstLetter("c").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by level range", async () => { - return bestiary.getBeastsByLevelRange(200, 300).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by slayer category id (number)", async () => { - return bestiary.getBeastsBySlayerCategory(45).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by SlayerCategory instance", async () => { - const category = new SlayerCategory("Kurask") - return bestiary.getBeastsBySlayerCategory(category).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Array) - - data.forEach(item => { - expect(item).toBeInstanceOf(BeastSearchResult) - }) - }) -}) - -test("Fetch beasts by term (string)", async () => { - return bestiary.getBeastsByTerms("cow").then(data => { - expect(data).toBeDefined() - }) -}) - -test("Fetch beasts by weakness id (number)", async () => { - const weakness = new Weakness("Crushing") - return bestiary.getBeastsByWeakness(weakness).then(data => { - expect(data).toBeDefined() - }) -}) - -test("Fetch beasts by Weakness instance", async () => { - const weakness = new Weakness("Crushing") - return bestiary.getBeastsByWeakness(weakness).then(data => { - expect(data).toBeDefined() - }) -}) diff --git a/src/__tests__/runescape/clan.test.ts b/src/__tests__/runescape/clan.test.ts deleted file mode 100644 index a24e492..0000000 --- a/src/__tests__/runescape/clan.test.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ClanMember } from "../../lib/RuneScape" -import { clan } from "../../runescape" - -test("Fetch all clan members by name (string)", async () => { - return clan.getMembers("Royal 58").then(data => { - expect(data).toBeDefined() - - data.forEach(item => { - expect(item).toBeInstanceOf(ClanMember) - }) - }) -}) diff --git a/src/__tests__/runescape/grandexchange.test.ts b/src/__tests__/runescape/grandexchange.test.ts deleted file mode 100644 index f0d5cd3..0000000 --- a/src/__tests__/runescape/grandexchange.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Item, ItemGraph } from "../../lib/RuneScape" -import { grandexchange } from "../../runescape" - -test("Fetch all grand exchange categories", async () => { - return grandexchange.getCategories().then(data => { - expect(data).toBeDefined() - }) -}) - -test("Fetch item details", async () => { - return grandexchange.getItem(4151).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Item) - }) -}) - -test("Fetch item price history graph details", async () => { - return grandexchange.getItemGraph(4151).then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(ItemGraph) - }) -}) diff --git a/src/__tests__/runescape/hiscores.test.ts b/src/__tests__/runescape/hiscores.test.ts deleted file mode 100644 index 0ada1d1..0000000 --- a/src/__tests__/runescape/hiscores.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Player } from "../../lib/RuneScape" -import { hiscores } from "../../runescape" - -test("Fetch normal player by name (string)", async () => { - return hiscores.getPlayer("Zezima").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) - -test("Fetch ironman player by name (string)", async () => { - return hiscores.getPlayer("Iron Soren", "ironman").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) - -test("Fetch hardcore player by name (string)", async () => { - return hiscores.getPlayer("J a me s", "hardcore").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(Player) - }) -}) diff --git a/src/__tests__/runescape/miscellaneous.test.ts b/src/__tests__/runescape/miscellaneous.test.ts deleted file mode 100644 index e1cdd84..0000000 --- a/src/__tests__/runescape/miscellaneous.test.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { miscellaneous } from "../../runescape" - -test("Miscellaneous: Successfully fetch custom avatar URL with ID", async () => { - return miscellaneous.getAvatar("Tuffty").then(avatar => { - expect(avatar).toBeDefined() - expect(avatar).toBe( - `https://secure.runescape.com/m=avatar-rs/avatar.png?id=24063142` - ) - }) -}) - -test("Miscellaneous: Successfully fetch default avatar URL", async () => { - return miscellaneous.getAvatar("Moderator").then(avatar => { - expect(avatar).toBeDefined() - expect(avatar).toBe( - `https://secure.runescape.com/m=avatar-rs/default_chat.png?` - ) - }) -}) - -test("Miscellaneous: Expect TypeError on non-string avatar search parameters", async () => { - // @ts-ignore-next-line - return miscellaneous.getAvatar(0).then(avatar => { - expect(avatar).toBeInstanceOf(TypeError) - }) -}) - -test("Miscellaneous: Successfully fetch total users", async () => { - // @ts-ignore-next-line - return miscellaneous.getTotalUsers().then(users => { - expect(users).toBeDefined() - expect(users).toBeGreaterThanOrEqual(278186943) - }) -}) diff --git a/src/__tests__/runescape/runemetrics.test.ts b/src/__tests__/runescape/runemetrics.test.ts deleted file mode 100644 index fb8b97d..0000000 --- a/src/__tests__/runescape/runemetrics.test.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { - RuneMetricsMonthlyExperience, - RuneMetricsProfile, - Skill, - Quest, -} from "../../lib/RuneScape" -import { runemetrics } from "../../runescape" - -test("Fetch player's RuneMetrics profile", async () => { - return runemetrics.getProfile("Conundrum129").then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(RuneMetricsProfile) - }) -}) - -test("Fetch player's RuneMetrics monthly skill XP gain", async () => { - return runemetrics - .getMonthlyXp("Conundrum129", new Skill("woodcutting")) - .then(data => { - expect(data).toBeDefined() - expect(data).toBeInstanceOf(RuneMetricsMonthlyExperience) - }) -}) - -test("Fetch player's RuneMetrics monthly skill XP gain", async () => { - return runemetrics.getQuests("Conundrum129").then(data => { - expect(data).toBeDefined() - data.forEach(item => { - expect(item).toBeInstanceOf(Quest) - }) - }) -}) diff --git a/yarn.lock b/yarn.lock index a79b365..2adcda0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -105,13 +105,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/runtime@^7.6.3": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.8.4.tgz#d79f5a2040f7caa24d53e563aad49cbc05581308" - integrity sha512-neAp3zt80trRVBI1x0azq6c57aNBqYZH8KhMm3TaB7wEI5Q4A2SHfBHE8w9gOhI/lrqxtEbXZgQIrHP+wvSGwQ== - dependencies: - regenerator-runtime "^0.13.2" - "@babel/template@^7.7.4", "@babel/template@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" @@ -454,11 +447,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.5.2.tgz#3de53b55fd39efc428a901a0f6db31f761cfa131" integrity sha512-Fr6a47c84PRLfd7M7u3/hEknyUdQrrBA6VoPmkze0tcflhU5UnpWEX2kn12ktA/lb+MNHSqFlSiPHIHsaErTPA== -"@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - "@types/responselike@*": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" @@ -994,11 +982,6 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -compare-versions@^3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.5.1.tgz#26e1f5cf0d48a77eced5046b9f67b6b61075a393" - integrity sha512-9fGPIB7C6AyM18CJJBHt5EnCZDG3oiTJYy0NjfIAGjKpzv0tkxWko7TNQHF5ymqm7IH03tqmeuBxtvD+Izh6mg== - component-emitter@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" @@ -1026,17 +1009,6 @@ core-util-is@1.0.2: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.7.2" - cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -1219,13 +1191,6 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - es-abstract@^1.17.0-next.1, es-abstract@^1.17.2: version "1.17.4" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184" @@ -1555,13 +1520,6 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -find-versions@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-3.2.0.tgz#10297f98030a786829681690545ef659ed1d254e" - integrity sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww== - dependencies: - semver-regex "^2.0.0" - flat-cache@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" @@ -1821,21 +1779,10 @@ human-signals@^1.1.1: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== -husky@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-4.2.1.tgz#b09f1bd9129e6c323cc515dc17081d0615e2d7c1" - integrity sha512-Qa0lRreeIf4Tl92sSs42ER6qc3hzoyQPPorzOrFWfPEVbdi6LuvJEqWKPk905fOWIR76iBpp7ECZNIwk+a8xuQ== - dependencies: - chalk "^3.0.0" - ci-info "^2.0.0" - compare-versions "^3.5.1" - cosmiconfig "^6.0.0" - find-versions "^3.2.0" - opencollective-postinstall "^2.0.2" - pkg-dir "^4.2.0" - please-upgrade-node "^3.2.0" - slash "^3.0.0" - which-pm-runs "^1.0.0" +husky@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-5.1.3.tgz#1a0645a4fe3ffc006c4d0d8bd0bcb4c98787cc9d" + integrity sha512-fbNJ+Gz5wx2LIBtMweJNY1D7Uc8p1XERi5KNRMccwfQA+rXlxWNSdUxswo0gT8XqxywTIw7Ywm/F4v/O35RdMg== iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" @@ -1849,7 +1796,7 @@ ignore@^4.0.6: resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -import-fresh@^3.0.0, import-fresh@^3.1.0: +import-fresh@^3.0.0: version "3.2.1" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== @@ -1921,11 +1868,6 @@ is-accessor-descriptor@^1.0.0: 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" @@ -2561,11 +2503,6 @@ json-buffer@3.0.1: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -2652,11 +2589,6 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" - integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= - locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -2982,11 +2914,6 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -opencollective-postinstall@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" - integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== - optionator@^0.8.1, optionator@^0.8.3: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -3050,16 +2977,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-json@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.0.0.tgz#73e5114c986d143efa3712d4ea24db9a4266f60f" - integrity sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - lines-and-columns "^1.1.6" - parse5@5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2" @@ -3095,11 +3012,6 @@ path-parse@^1.0.6: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" @@ -3124,13 +3036,6 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -please-upgrade-node@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" - integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== - dependencies: - semver-compare "^1.0.0" - pn@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" @@ -3214,11 +3119,6 @@ realpath-native@^1.1.0: dependencies: util.promisify "^1.0.0" -regenerator-runtime@^0.13.2: - version "0.13.3" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== - 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" @@ -3435,16 +3335,6 @@ saxes@^3.1.9: dependencies: xmlchars "^2.1.1" -semver-compare@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" - integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= - -semver-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" - integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== - semver@^5.4.1, semver@^5.5, semver@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -4079,11 +3969,6 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which-pm-runs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" - integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= - which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" @@ -4154,13 +4039,6 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== -yaml@^1.7.2: - version "1.7.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.7.2.tgz#f26aabf738590ab61efaca502358e48dc9f348b2" - integrity sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw== - dependencies: - "@babel/runtime" "^7.6.3" - yargs-parser@10.x: version "10.1.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"