From 0cd07c63286eb6b1e3bd8dbea2b4f6637f4a9747 Mon Sep 17 00:00:00 2001 From: Anima <18208134+animafps@users.noreply.github.com> Date: Tue, 5 Oct 2021 22:12:20 +1300 Subject: [PATCH] style: fixed a lot of the formatting and added linting/formatting configuration files --- .editorconfig | 2 +- .eslintrc.json | 21 + .prettierrc.json | 7 + .yarn/sdks/typescript/lib/tsserver.js | 22 +- .yarn/sdks/typescript/lib/tsserverlibrary.js | 22 +- .yarn/sdks/typescript/package.json | 2 +- docs/commands/index.md | 14 +- docs/commands/math.md | 3 +- docs/commands/misc.md | 2 - docs/games.md | 6 +- docs/index.md | 16 +- mkdocs.yml | 71 +- package.json | 236 ++-- readme.md | 27 +- src/arguments/array-object.ts | 21 +- src/arguments/film.ts | 18 +- src/arguments/game.ts | 14 +- src/arguments/yaw.ts | 20 +- src/commands/Math/arcmin.ts | 18 +- src/commands/Math/cm.ts | 18 +- src/commands/Math/convert.ts | 21 +- src/commands/Math/deg.ts | 18 +- src/commands/Math/focal.ts | 24 +- src/commands/Math/fov.ts | 13 +- src/commands/Math/fovConvert.ts | 13 +- src/commands/Math/inch.ts | 18 +- src/commands/Math/mpi.ts | 18 +- src/commands/Math/sens.ts | 40 +- src/commands/Misc/cminfo.ts | 10 +- src/commands/Misc/gameinfo.ts | 28 +- src/commands/Misc/games.ts | 26 +- src/commands/Misc/help.ts | 93 +- src/commands/Misc/info.ts | 12 +- src/commands/Misc/ping.ts | 14 +- src/helpers/array.ts | 81 +- src/helpers/fov.ts | 0 src/index.ts | 65 +- src/listeners/commands/commandError.ts | 25 +- src/listeners/ready.ts | 76 +- src/tsconfig.json | 11 + tsconfig.base.json | 33 + tsconfig.eslint.json | 2 +- tsconfig.json | 9 - yarn.lock | 1259 +----------------- 44 files changed, 739 insertions(+), 1730 deletions(-) create mode 100644 .eslintrc.json create mode 100644 .prettierrc.json delete mode 100644 src/helpers/fov.ts create mode 100644 src/tsconfig.json create mode 100644 tsconfig.base.json delete mode 100644 tsconfig.json diff --git a/.editorconfig b/.editorconfig index 6a4280d..0ee57f4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,7 @@ insert_final_newline = true charset = utf-8 trim_trailing_whitespace = true -[*.{js,ts}] +[*.{js,ts,json}] indent_size = 4 indent_style = tab block_comment_start = /* diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..19dfcd9 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,21 @@ +{ + "env": { + "es2021": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "prettier" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module" + }, + "plugins": ["@typescript-eslint"], + "rules": { + "@typescript-eslint/explicit-module-boundary-types": "off", + "@typescript-eslint/no-explicit-any": "off" + } +} diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..29d245b --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,7 @@ +{ + "trailingComma": "es5", + "tabWidth": 4, + "useTabs": true, + "semi": false, + "singleQuote": true +} diff --git a/.yarn/sdks/typescript/lib/tsserver.js b/.yarn/sdks/typescript/lib/tsserver.js index 4d90f38..1537a48 100644 --- a/.yarn/sdks/typescript/lib/tsserver.js +++ b/.yarn/sdks/typescript/lib/tsserver.js @@ -91,9 +91,25 @@ const moduleWrapper = tsserver => { } function fromEditorPath(str) { - return process.platform === `win32` - ? str.replace(/^\^?zip:\//, ``) - : str.replace(/^\^?zip:/, ``); + switch (hostInfo) { + case `coc-nvim`: + case `neovim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for coc-nvim is in format of //zipfile://.yarn/... + // So in order to convert it back, we use .* to match all the thing + // before `zipfile:` + return process.platform === `win32` + ? str.replace(/^.*zipfile:\//, ``) + : str.replace(/^.*zipfile:/, ``); + } break; + + case `vscode`: + default: { + return process.platform === `win32` + ? str.replace(/^\^?zip:\//, ``) + : str.replace(/^\^?zip:/, ``); + } break; + } } // Force enable 'allowLocalPluginLoads' diff --git a/.yarn/sdks/typescript/lib/tsserverlibrary.js b/.yarn/sdks/typescript/lib/tsserverlibrary.js index c3de4ff..ad1737c 100644 --- a/.yarn/sdks/typescript/lib/tsserverlibrary.js +++ b/.yarn/sdks/typescript/lib/tsserverlibrary.js @@ -91,9 +91,25 @@ const moduleWrapper = tsserver => { } function fromEditorPath(str) { - return process.platform === `win32` - ? str.replace(/^\^?zip:\//, ``) - : str.replace(/^\^?zip:/, ``); + switch (hostInfo) { + case `coc-nvim`: + case `neovim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for coc-nvim is in format of //zipfile://.yarn/... + // So in order to convert it back, we use .* to match all the thing + // before `zipfile:` + return process.platform === `win32` + ? str.replace(/^.*zipfile:\//, ``) + : str.replace(/^.*zipfile:/, ``); + } break; + + case `vscode`: + default: { + return process.platform === `win32` + ? str.replace(/^\^?zip:\//, ``) + : str.replace(/^\^?zip:/, ``); + } break; + } } // Force enable 'allowLocalPluginLoads' diff --git a/.yarn/sdks/typescript/package.json b/.yarn/sdks/typescript/package.json index ea85e13..1a10512 100644 --- a/.yarn/sdks/typescript/package.json +++ b/.yarn/sdks/typescript/package.json @@ -1,6 +1,6 @@ { "name": "typescript", - "version": "4.3.5-sdk", + "version": "4.4.3-sdk", "main": "./lib/typescript.js", "type": "commonjs" } diff --git a/docs/commands/index.md b/docs/commands/index.md index 3bd68ee..6d53286 100644 --- a/docs/commands/index.md +++ b/docs/commands/index.md @@ -17,7 +17,7 @@ Below is a shortlist of all the bot commands. **Hint**: You can click on a command to go to its full help entry. -| **Command** | **Description ** | +| **Command** | **Description** | | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | [`arcmin`](math.md#arcmin) | Converts Sensitivity to arcmin | | [`convert`](math.md#convert) | Converts Different Sensitivities from one game to another | @@ -32,9 +32,9 @@ Below is a shortlist of all the bot commands. ## Miscellaneous Commands -| **Command** | **Description ** | +| **Command** | **Description** | | --------------------------- | --------------------------------------------------------------------------------------- | -| [`cminfo `](misc.md#cminfo) | Displays an explanation for what cm/rev \(cm/rev\) is | +| [`cminfo`](misc.md#cminfo) | Displays an explanation for what cm/rev \(cm/rev\) is | | [`gameinfo`](misc.md#games) | Displays the information associated for a game | | [`games`](misc.md#games) | Displays the supported games for this bot | | [`info`](misc.md#info) | Displays the major information about this bot | @@ -45,10 +45,10 @@ Below is a shortlist of all the bot commands. For commands that accept input, you'll see keys with the following: -- `` - parameters between `<>` must be included with the command -- `[optional]` - parameters between `[]` are optional parameters and may be excluded -- `a | or | b` - `|` means that you can use the parameters on either side of the symbol -- `repeat...` - means that you can provide multiple parameters as input +- `` - parameters between `<>` must be included with the command +- `[optional]` - parameters between `[]` are optional parameters and may be excluded +- `a | or | b` - `|` means that you can use the parameters on either side of the symbol +- `repeat...` - means that you can provide multiple parameters as input These may be nested. Example: `[parameter1 ]` means that the input is optional, but if you provide parameter1 then parameter2 is required. `[parameter...]` means that input is optional, and that the input can be any number of parameters. diff --git a/docs/commands/math.md b/docs/commands/math.md index 00042cc..c920938 100644 --- a/docs/commands/math.md +++ b/docs/commands/math.md @@ -14,8 +14,7 @@ title: Math ## Commands - -### arcmin +### arcmin Converts sensitivity to arcmin diff --git a/docs/commands/misc.md b/docs/commands/misc.md index 699e0a1..1f9aa97 100644 --- a/docs/commands/misc.md +++ b/docs/commands/misc.md @@ -81,5 +81,3 @@ Tests the latency ```text fps-ping ``` - - diff --git a/docs/games.md b/docs/games.md index 5f02637..dd1cf8d 100644 --- a/docs/games.md +++ b/docs/games.md @@ -2,7 +2,7 @@ title: 'Supported Games' --- -All the games that FPSMath supports and the features that are avaliable for certain commands +All the games that FPSMath supports and the features that are available for certain commands | Game/ Engine | Aliases/ Game Code | yaw | fov | | ------------------------------ | ---------------------------------------------------- | --- | --- | @@ -17,8 +17,8 @@ All the games that FPSMath supports and the features that are avaliable for cert | Krunker | `krunker` | ✔️ | ✔️ | | Minecraft | `mc`, `minecraft` | ✔️ | ✔️ | | Overwatch | `ow`, `overwatch` | ✔️ | ✔️ | -| Palidins | `palidins` | ❌ | ✔️ | -| PlayersUnkowns: Battleground | `pubg` | ✔️ | ✔️ | +| Paladins | `paladins` | ❌ | ✔️ | +| PlayersUnknowns: Battleground | `pubg` | ✔️ | ✔️ | | Quake | `quake` | ✔️ | ✔️ | | Quake Champions | `qc`, `quake-champions` | ✔️ | ✔️ | | Rainbow Six: Siege | `r6`, `rainbow6`, `r6s`, `rainbow6s`, `seige` | ✔️ | ✔️ | diff --git a/docs/index.md b/docs/index.md index f9e45bb..4739df3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,8 +2,6 @@ title: Welcome! --- -# Welcome! - !!! tip This documentation outlines everything there is to know about FPSMath. @@ -15,13 +13,13 @@ FPSMath is a Discord bot designed to convert video game sensitivities, FOV value ## Why FPSMath -- FPSMath is the only calculation bot for everything to do with video game calculations -- Has over [20 games supported](games.md) and many more are added weekly so you can convert for your favorite games -- Supports over 5 different units of sensitivity measurement(cm/360, MPI, arcmin, deg/mm, inch/360) -- Allows for custom yaw values and FoV types so even if a game is not officially supported/aliased you can still do the calculations and conversions -- It's even [open source](https://github.com/animafps/fpsmath)! +- FPSMath is the only calculation bot for everything to do with video game calculations +- Has over [20 games supported](games.md) and many more are added weekly so you can convert for your favorite games +- Supports over 5 different units of sensitivity measurement(cm/360, MPI, arcmin, deg/mm, inch/360) +- Allows for custom yaw values and FoV types so even if a game is not officially supported/aliased you can still do the calculations and conversions +- It's even [open source](https://github.com/animafps/fpsmath)! -!!! caution - Under Construction +!!! caution + Under Construction More Info Coming Soon! diff --git a/mkdocs.yml b/mkdocs.yml index 21ecda3..6d6003f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,35 +6,48 @@ edit_uri: edit/main/docs/ site_description: 'Documentation for the FPSMath Discord Bot' copyright:

FPSMath Docs by Anima is licensed under CC BY-SA 4.0

theme: - font: false - favicon: assets/images/logo.png - features: - - navigation.instant - - navigation.top - palette: - scheme: slate - name: 'material' - custom_dir: docs/overrides + font: false + favicon: assets/images/logo.png + features: + - navigation.instant + - navigation.top + palette: + - media: '(prefers-color-scheme: light)' + scheme: default + primary: indigo + accent: indigo + toggle: + icon: material/toggle-switch-off-outline + name: Switch to dark mode + - media: '(prefers-color-scheme: dark)' + scheme: slate + primary: blue + accent: blue + toggle: + icon: material/toggle-switch + name: Switch to light mode + name: 'material' + custom_dir: docs/overrides extra: - social: - - icon: fontawesome/brands/discord - link: https://discord.gg/Bg2gNT35s9 - name: Support Discord server - analytics: - provider: custom + social: + - icon: fontawesome/brands/discord + link: https://discord.gg/Bg2gNT35s9 + name: Support Discord server + analytics: + provider: custom markdown_extensions: - - attr_list - - meta - - admonition - - toc: - permalink: true + - attr_list + - meta + - admonition + - toc: + permalink: true nav: - - Introduction: index.md - - getting-started.md - - Commands: - - commands/index.md - - commands/math.md - - commands/misc.md - - Other: - - games.md - - Changelog: changelog.md + - Introduction: index.md + - getting-started.md + - Commands: + - commands/index.md + - commands/math.md + - commands/misc.md + - Other: + - games.md + - Changelog: changelog.md diff --git a/package.json b/package.json index 806bdb9..6a68bd6 100644 --- a/package.json +++ b/package.json @@ -1,126 +1,114 @@ { - "name": "fpsmath", - "private": true, - "version": "3.0.3", - "homepage": "https://fpsmath.animafps.xyz", - "license": "AGPL-3.0-or-later", - "main": "dist/index.js", - "bugs": { - "url": "https://github.com/animafps/fpsmath/issues" - }, - "author": { - "name": "Anima", - "email": "animafps@pm.me" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/animafps/fpsmath.git" - }, - "scripts": { - "lint": "eslint src --ext ts --fix", - "format": "prettier --write {src,tests}/**/*.ts", - "build": "tsc", - "clean": "tsc --clean", - "watch": "tsc -w", - "commit": "git-cz", - "cz": "git-cz", - "update": "yarn upgrade-interactive", - "start": "node dist/index.js", - "release": "semantic-release" - }, - "devDependencies": { - "@commitlint/cli": "^13.2.0", - "@commitlint/config-conventional": "^13.2.0", - "@sapphire/eslint-config": "^3.2.3", - "@sapphire/prettier-config": "^1.1.6", - "@sapphire/ts-config": "^3.0.0", - "@semantic-release/changelog": "^6.0.0", - "@semantic-release/git": "^10.0.0", - "@types/eslint-plugin-prettier": "^3.1.0", - "@types/node": "^16.10.1", - "@types/semantic-release": "^17.2.2", - "@types/ws": "^8.2.0", - "@typescript-eslint/eslint-plugin": "^4.32.0", - "@typescript-eslint/parser": "^4.32.0", - "cz-conventional-changelog": "3.3.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", - "husky": "^7.0.2", - "lint-staged": "^11.1.2", - "prettier": "^2.4.1", - "pretty-quick": "^3.1.1", - "release": "^6.3.0", - "semantic": "^0.0.1", - "semantic-release": "^18.0.0", - "typescript": "^4.4.3" - }, - "dependencies": { - "@discordjs/collection": "^0.2.1", - "@sapphire/decorators": "^2.2.0", - "@sapphire/discord-utilities": "^2.1.5", - "@sapphire/discord.js-utilities": "next", - "@sapphire/fetch": "next", - "@sapphire/framework": "next", - "@sapphire/pieces": "3.0.0", - "@sapphire/plugin-api": "next", - "@sapphire/plugin-logger": "next", - "@sapphire/utilities": "^2.0.1", - "@sentry/node": "^6.13.2", - "colorette": "^2.0.12", - "dbots": "^9.0.1", - "discord-api-types": "^0.23.1", - "discord.js": "^13.1.0", - "dotenv": "^10.0.0", - "tslib": "^2.3.1" - }, - "engines": { - "node": "16.x", - "yarn": "3.x" - }, - "prettier": "@sapphire/prettier-config", - "eslintConfig": { - "extends": "@sapphire" - }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "lint-staged": { - "*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts" - }, - "release": { - "branches": [ - "main" - ], - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - [ - "@semantic-release/changelog", - { - "changelogFile": "docs/changelog.md" - } - ], - "@semantic-release/npm", - [ - "@semantic-release/git", - { - "assets": [ - "docs/changelog.md", - "package.json" - ], - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" - } - ], - "@semantic-release/github" - ] - }, - "packageManager": "yarn@3.0.2" + "name": "fpsmath", + "private": true, + "version": "3.0.3", + "homepage": "https://fpsmath.animafps.xyz", + "license": "AGPL-3.0-or-later", + "main": "dist/index.js", + "bugs": { + "url": "https://github.com/animafps/fpsmath/issues" + }, + "author": { + "name": "Anima", + "email": "animafps@pm.me" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/animafps/fpsmath.git" + }, + "scripts": { + "lint": "eslint src --ext ts --fix", + "format": "prettier --write {src,tests}/**/*.ts", + "build": "tsc -b src", + "clean": "tsc -b src --clean", + "watch": "tsc -b src -w", + "commit": "git-cz", + "cz": "git-cz", + "update": "yarn upgrade-interactive", + "start": "node dist/index.js", + "release": "semantic-release", + "pretty-quick": "pretty-quick" + }, + "devDependencies": { + "@commitlint/cli": "^13.2.0", + "@commitlint/config-conventional": "^13.2.0", + "@semantic-release/changelog": "^6.0.0", + "@semantic-release/git": "^10.0.0", + "@types/node": "^16.10.1", + "@types/semantic-release": "^17.2.2", + "@types/ws": "^8.2.0", + "@typescript-eslint/eslint-plugin": "^4.32.0", + "@typescript-eslint/parser": "^4.32.0", + "cz-conventional-changelog": "3.3.0", + "eslint": "^7.32.0", + "eslint-config-prettier": "^8.3.0", + "husky": "^7.0.2", + "lint-staged": "^11.1.2", + "prettier": "^2.4.1", + "pretty-quick": "^3.1.1", + "semantic-release": "^18.0.0", + "typescript": "^4.4.3" + }, + "dependencies": { + "@discordjs/collection": "^0.2.1", + "@sapphire/decorators": "^2.2.0", + "@sapphire/discord.js-utilities": "next", + "@sapphire/framework": "next", + "@sapphire/pieces": "3.0.0", + "@sapphire/plugin-api": "next", + "@sapphire/plugin-logger": "next", + "@sapphire/utilities": "^2.0.1", + "@sentry/node": "^6.13.2", + "colorette": "^2.0.13", + "dbots": "^9.0.1", + "discord-api-types": "^0.23.1", + "discord.js": "^13.1.0", + "dotenv": "^10.0.0", + "tslib": "^2.3.1" + }, + "engines": { + "node": "16.x", + "yarn": "3.x" + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "lint-staged": { + "*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts" + }, + "release": { + "branches": [ + "main" + ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogFile": "docs/changelog.md" + } + ], + "@semantic-release/npm", + [ + "@semantic-release/git", + { + "assets": [ + "docs/changelog.md", + "package.json" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ], + "@semantic-release/github" + ] + }, + "packageManager": "yarn@3.0.2" } diff --git a/readme.md b/readme.md index e635cb6..31f05f6 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@

- - Bot logo + + Bot logo

fpsmath

@@ -45,13 +45,15 @@ As well for any questions regarding development or usage join the [support Disco ## ⛏️ Built Using -- [Discord.js](https://github.com/discordjs/discord.js) - Library that interacts with the Discord api -- [Sapphire Framework](https://github.com/sapphiredev/framework) - The framework to work with Discord.js -- [Typescript](https://typescriptlang.org) - Language the bot is written in -- [Node.js](https://nodejs.org) - The runtime +- [Discord.js](https://github.com/discordjs/discord.js) - Library that interacts with the Discord api +- [Sapphire Framework](https://github.com/sapphiredev/framework) - The framework to work with Discord.js +- [Typescript](https://typescriptlang.org) - Language the bot is written in +- [Node.js](https://nodejs.org) - The runtime ## ✨ Contributors +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + @@ -65,13 +67,14 @@ As well for any questions regarding development or usage join the [support Disco This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! + ## 🎉 Acknowledgements -- [Kovaak's Sensitivity Matcher Script](https://github.com/KovaaK/SensitivityMatcher) - Tool used to find the yaw values -- [Sensitivity-Converter-Bot](https://github.com/JSanchezIO/Sensitivity-Converter-Bot) - The inspiration for me making this bot -- Nocro - Helped with the initial math equations -- [Kovaak's Website/Articles](https://kovaak.com) - Source of many of the terms and ideas used in the bot +- [Kovaak's Sensitivity Matcher Script](https://github.com/KovaaK/SensitivityMatcher) - Tool used to find the yaw values +- [Sensitivity-Converter-Bot](https://github.com/JSanchezIO/Sensitivity-Converter-Bot) - The inspiration for me making this bot +- Nocro - Helped with the initial math equations +- [Kovaak's Website/Articles](https://kovaak.com) - Source of many of the terms and ideas used in the bot -## License +## ⚠️ License -The source code of the FPSMath bot are licensed under [AGPLv3](license). The content of the documentation is licensed under [Creative Commons Attribution-ShareAlike 4.0 International](docs/license). +The source code of the fpsmath bot are licensed under [AGPLv3](license). The content of the documentation(docs/) is licensed under [Creative Commons Attribution-ShareAlike 4.0 International](docs/license). diff --git a/src/arguments/array-object.ts b/src/arguments/array-object.ts index 3553e70..97801b0 100644 --- a/src/arguments/array-object.ts +++ b/src/arguments/array-object.ts @@ -1,25 +1,30 @@ -import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework'; +import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework' export default class GameArgument extends Argument { public constructor(context: PieceContext) { - super(context, { name: 'gameObject' }); + super(context, { name: 'gameObject' }) } public run(parameter: string, context: ArgumentContext) { - if (parameter.toLowerCase() === 'yaw' || 'film' || 'aliases') { - return this.ok(parameter); + if ( + parameter.toLowerCase() === 'yaw' || + parameter.toLowerCase() === 'film' || + parameter.toLowerCase() === 'alias' || + parameter.toLowerCase() === 'name' + ) { + return this.ok(parameter) } return this.error({ parameter, - message: 'Game not supported.', + message: '', identifier: 'gameNoSupport', - context - }); + context, + }) } } declare module '@sapphire/framework' { interface ArgType { - arrayObject: 'yaw' | 'film' | 'aliases'; + arrayObject: 'yaw' | 'film' | 'aliases' | 'name' } } diff --git a/src/arguments/film.ts b/src/arguments/film.ts index 33c863a..b44f2a1 100644 --- a/src/arguments/film.ts +++ b/src/arguments/film.ts @@ -1,25 +1,29 @@ -import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework'; +import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework' export default class FilmArgument extends Argument { public constructor(context: PieceContext) { - super(context, { name: 'film' }); + super(context, { name: 'film' }) } public run(parameter: string, context: ArgumentContext) { - if (/^hm[lfi]$|vm[lfi]$|\d{1,2}m[lfi]\d{1,2}$/i.test(parameter)) { - return this.ok(parameter); + if ( + /^hm[lfi]$|^vm[lfi]$|^\d{1,2}m[lfi]\d{1,2}$/i.test( + parameter.toLowerCase() + ) + ) { + return this.ok(parameter.toLowerCase()) } return this.error({ parameter, message: 'Incorrect FILM notation', identifier: 'badFILMNotation', - context - }); + context, + }) } } declare module '@sapphire/framework' { interface ArgType { - film: string; + film: string } } diff --git a/src/arguments/game.ts b/src/arguments/game.ts index 58c04f2..a536794 100644 --- a/src/arguments/game.ts +++ b/src/arguments/game.ts @@ -1,26 +1,26 @@ -import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework'; -import { getObject } from '../helpers/array'; +import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework' +import { getObject } from '../helpers/array' export default class GameArgument extends Argument { public constructor(context: PieceContext) { - super(context, { name: 'game' }); + super(context, { name: 'game' }) } public run(parameter: string, context: ArgumentContext) { if (getObject(parameter, 'aliases')) { - return this.ok(parameter); + return this.ok(parameter) } return this.error({ parameter, message: 'Game not supported.', identifier: 'gameNoSupport', - context - }); + context, + }) } } declare module '@sapphire/framework' { interface ArgType { - game: string; + game: string } } diff --git a/src/arguments/yaw.ts b/src/arguments/yaw.ts index 99fdaa1..a5cb78b 100644 --- a/src/arguments/yaw.ts +++ b/src/arguments/yaw.ts @@ -1,33 +1,33 @@ -import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework'; -import { getObject } from '../helpers/array'; +import { Argument, PieceContext, ArgumentContext } from '@sapphire/framework' +import { getObject } from '../helpers/array' export default class YawArgument extends Argument { public constructor(context: PieceContext) { - super(context, { name: 'yaw' }); + super(context, { name: 'yaw' }) } public run(parameter: string, context: ArgumentContext) { - let yaw: number; + let yaw: number if (isNaN(Number(parameter))) { if (getObject(parameter, 'yaw')) { - yaw = Number(getObject(parameter, 'yaw')); + yaw = Number(getObject(parameter, 'yaw')) } else { return this.error({ parameter, message: 'Game not supported.', identifier: 'gameNoSupport', - context - }); + context, + }) } } else { - yaw = Number(parameter); + yaw = Number(parameter) } - return this.ok(yaw); + return this.ok(yaw) } } declare module '@sapphire/framework' { interface ArgType { - yaw: number; + yaw: number } } diff --git a/src/commands/Math/arcmin.ts b/src/commands/Math/arcmin.ts index d2ee785..59343a6 100644 --- a/src/commands/Math/arcmin.ts +++ b/src/commands/Math/arcmin.ts @@ -1,6 +1,6 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['minute-of-arc', 'arcmin/inch', 'minute-of-arc/inch'], @@ -24,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-arcmin *2* *cs* *800* → fps-arcmin *3* *0.006* *1600* - ` + `, }) export default class ArcMinCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - const output = cpi * yaw * sens * (1 / 60); - return message.reply(`${parseFloat(output.toFixed(5))} arcmin`); + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + const output = cpi * yaw * sens * (1 / 60) + return message.reply(`${parseFloat(output.toFixed(5))} arcmin`) } } diff --git a/src/commands/Math/cm.ts b/src/commands/Math/cm.ts index e3dba29..eca15c1 100644 --- a/src/commands/Math/cm.ts +++ b/src/commands/Math/cm.ts @@ -1,6 +1,6 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['cm/rev', 'cm/360', 'cm'], @@ -24,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-cm *2* *cs* *800* → fps-cm *3* *0.006* *1600* - ` + `, }) export default class CMCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - const output = (2.54 * 360) / (cpi * yaw * sens); - return message.reply(`${parseFloat(output.toFixed(5))} cm/rev`); + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + const output = (2.54 * 360) / (cpi * yaw * sens) + return message.reply(`${parseFloat(output.toFixed(5))} cm/rev`) } } diff --git a/src/commands/Math/convert.ts b/src/commands/Math/convert.ts index 9eacdcf..9789e5c 100644 --- a/src/commands/Math/convert.ts +++ b/src/commands/Math/convert.ts @@ -1,10 +1,11 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['convert-sens'], - description: 'Converts different sensitivities from one game or yaw value to another', + description: + 'Converts different sensitivities from one game or yaw value to another', detailedDescription: ` 📝 **| Command Usage** → fps-convert *Sensitivity* *InputGameName* *OutputGameName* @@ -23,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-convert *2* *cs* *overwatch* → fps-arcmin *3* *0.006* *0.022* - ` + `, }) export default class ConvertCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const inYaw = await args.pick('yaw'); - const outYaw = await args.pick('yaw'); - const output = sens * (inYaw / outYaw); - return message.reply(parseFloat(output.toFixed(5)).toString()); + const sens = await args.pick('float') + const inYaw = await args.pick('yaw') + const outYaw = await args.pick('yaw') + const output = sens * (inYaw / outYaw) + return message.reply(parseFloat(output.toFixed(5)).toString()) } } diff --git a/src/commands/Math/deg.ts b/src/commands/Math/deg.ts index 5dd071a..fa9f725 100644 --- a/src/commands/Math/deg.ts +++ b/src/commands/Math/deg.ts @@ -1,6 +1,6 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['deg/mm', 'degree', 'degree/mm'], @@ -24,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-deg *2* *cs* *800* → fps-deg *3* *0.006* *1600* - ` + `, }) export default class CMCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - const output = (cpi * yaw * sens) / 25.4; - return message.reply(`${parseFloat(output.toFixed(5))} deg/mm`); + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + const output = (cpi * yaw * sens) / 25.4 + return message.reply(`${parseFloat(output.toFixed(5))} deg/mm`) } } diff --git a/src/commands/Math/focal.ts b/src/commands/Math/focal.ts index d777e40..a01c545 100644 --- a/src/commands/Math/focal.ts +++ b/src/commands/Math/focal.ts @@ -1,10 +1,11 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['focallengthscaling', 'visomotor', 'focallength'], - description: 'Focal length scales a desired sensitivity between two FoV values of the same type', + description: + 'Focal length scales a desired sensitivity between two FoV values of the same type', detailedDescription: ` 📝 **| Command Usage** → fps-focal *Sensitivity* *InputFoV* *OutputFoV* @@ -22,14 +23,17 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-focal *2* *100* *90* - ` + `, }) export default class FocalCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const inFOV = await args.pick('float'); - const outFOV = await args.pick('float'); - const output = (Math.tan((outFOV * Math.PI) / 360) / Math.tan((inFOV * Math.PI) / 360)) * sens; - return message.reply(parseFloat(output.toFixed(5)).toString()); + const sens = await args.pick('float') + const inFOV = await args.pick('float') + const outFOV = await args.pick('float') + const output = + (Math.tan((outFOV * Math.PI) / 360) / + Math.tan((inFOV * Math.PI) / 360)) * + sens + return message.reply(parseFloat(output.toFixed(5)).toString()) } } diff --git a/src/commands/Math/fov.ts b/src/commands/Math/fov.ts index ff224d5..c63479a 100644 --- a/src/commands/Math/fov.ts +++ b/src/commands/Math/fov.ts @@ -1,10 +1,11 @@ -import { Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['fov-scaling', 'film'], - description: 'Finds the true vertical and horizontal FOV that is being displayed on screen', + description: + 'Finds the true vertical and horizontal FOV that is being displayed on screen', detailedDescription: ` 📝 **| Command Usage** → fps-fov *FoV* *GameName* *AspectRatio* @@ -24,10 +25,10 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-fov *90* *cs* *16:9* → fps-fov *103* *ow* *4:3* - ` + `, }) export default class FOVCommand extends Command { public async run(message: Message) { - return message.reply('Not fully implemented yet'); + return message.reply('Not fully implemented yet') } } diff --git a/src/commands/Math/fovConvert.ts b/src/commands/Math/fovConvert.ts index 4701be6..46f65e2 100644 --- a/src/commands/Math/fovConvert.ts +++ b/src/commands/Math/fovConvert.ts @@ -1,10 +1,11 @@ -import { Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['fov-convert', 'film-convert', 'convert-fov'], - description: 'Converts a FoV value from one game or FILM notation to another', + description: + 'Converts a FoV value from one game or FILM notation to another', detailedDescription: ` 📝 **| Command Usage** → fps-fovconvert *FoV* *InputGameName* *OuputGameName* *Aspectratio* @@ -26,10 +27,10 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-fovconvert *90* *cs* *ow* *16:9* → fps-fovconvert *103* *ow* *r6s* *4:3* - ` + `, }) export default class FOVConvertCommand extends Command { public async run(message: Message) { - return message.reply('Not fully implemented yet'); + return message.reply('Not fully implemented yet') } } diff --git a/src/commands/Math/inch.ts b/src/commands/Math/inch.ts index f8b0039..4ce78e5 100644 --- a/src/commands/Math/inch.ts +++ b/src/commands/Math/inch.ts @@ -1,6 +1,6 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['inch/rev', 'inch/360', 'inch/revolution'], @@ -24,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-inch *2* *cs* *800* → fps-inch *3* *0.006* *1600* - ` + `, }) export default class InchCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - const output = 360 / (cpi * yaw * sens); - return message.reply(`${parseFloat(output.toFixed(5))} inch/rev`); + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + const output = 360 / (cpi * yaw * sens) + return message.reply(`${parseFloat(output.toFixed(5))} inch/rev`) } } diff --git a/src/commands/Math/mpi.ts b/src/commands/Math/mpi.ts index d33471a..c280048 100644 --- a/src/commands/Math/mpi.ts +++ b/src/commands/Math/mpi.ts @@ -1,6 +1,6 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['mpi', 'milliradian', 'mrad/inch', 'milliradian/inch'], @@ -24,14 +24,14 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-mpi *2* *cs* *800* → fps-mpi *3* *0.006* *1600* - ` + `, }) export default class MPICommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - const output = cpi * yaw * sens * 60; - return message.reply(`${parseFloat(output.toFixed(5))} MPI`); + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + const output = cpi * yaw * sens * 60 + return message.reply(`${parseFloat(output.toFixed(5))} MPI`) } } diff --git a/src/commands/Math/sens.ts b/src/commands/Math/sens.ts index 6222034..bf1f9c4 100644 --- a/src/commands/Math/sens.ts +++ b/src/commands/Math/sens.ts @@ -1,10 +1,18 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ - aliases: ['sens-cm', 'sens-deg', 'sens-inch', 'sens', 'sens-mpi', 'sens-arcmin'], - description: 'Converts a universal sensitivity value to a game specific sensitivity', + aliases: [ + 'sens-cm', + 'sens-deg', + 'sens-inch', + 'sens', + 'sens-mpi', + 'sens-arcmin', + ], + description: + 'Converts a universal sensitivity value to a game specific sensitivity', detailedDescription: ` 📝 **| Command Usage** → fps-arcmin *Sensitivity* *GameName* *CPI* @@ -24,25 +32,25 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-arcmin *2* *cs* *800* → fps-arcmin *3* *0.006* *1600* - ` + `, }) export default class SensCommand extends Command { public async run(message: Message, args: Args) { - const sens = await args.pick('float'); - const yaw = await args.pick('yaw'); - const cpi = await args.pick('float'); - let output: number; + const sens = await args.pick('float') + const yaw = await args.pick('yaw') + const cpi = await args.pick('float') + let output: number if (args.getFlags('deg')) { - output = (cpi * yaw * 60) / sens; + output = (cpi * yaw * 60) / sens } else if (args.getFlags('inch')) { - output = 360 / (cpi * yaw * sens); + output = 360 / (cpi * yaw * sens) } else if (args.getFlags('mpi')) { - output = (24.5 * sens) / (cpi * yaw); + output = (24.5 * sens) / (cpi * yaw) } else if (args.getFlags('arcmin')) { - output = (cpi * yaw * (1 / 60)) / sens; + output = (cpi * yaw * (1 / 60)) / sens } else { - output = (2.54 * 360) / (cpi * yaw * sens); + output = (2.54 * 360) / (cpi * yaw * sens) } - return message.reply(parseFloat(output.toFixed(5)).toString()); + return message.reply(parseFloat(output.toFixed(5)).toString()) } } diff --git a/src/commands/Misc/cminfo.ts b/src/commands/Misc/cminfo.ts index 8648244..4e8944f 100644 --- a/src/commands/Misc/cminfo.ts +++ b/src/commands/Misc/cminfo.ts @@ -1,6 +1,6 @@ -import { Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['cm-info'], @@ -10,12 +10,12 @@ import { ApplyOptions } from '@sapphire/decorators'; → fps-cminfo 🖇️ **| Aliases**: \`cm-info\` - ` + `, }) export default class CMInfoCommand extends Command { public async run(message: Message) { return message.reply( 'cm/rev also known as cm/360 is a universal metric used for describing mouse sensitivity across all games. The definition is: how much centimeters you need to move your mouse in order to perform a 360 degree turn in-game.\n\nTo calculate yours use the `cm` command' - ); + ) } } diff --git a/src/commands/Misc/gameinfo.ts b/src/commands/Misc/gameinfo.ts index d484c1a..1088b0d 100644 --- a/src/commands/Misc/gameinfo.ts +++ b/src/commands/Misc/gameinfo.ts @@ -1,7 +1,7 @@ -import { Args, Command, CommandOptions } from '@sapphire/framework'; -import { Message, MessageEmbed } from 'discord.js'; -import { get } from '../../helpers/array'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Args, Command, CommandOptions } from '@sapphire/framework' +import { Message, MessageEmbed } from 'discord.js' +import { get } from '../../helpers/array' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['game-info', 'game'], @@ -17,11 +17,11 @@ import { ApplyOptions } from '@sapphire/decorators'; 🔗 **| Examples** → fps-gameinfo *cs* - ` + `, }) export default class GetObjectCommand extends Command { public async run(message: Message, args: Args) { - const gameObject = get(await args.pick('game')); + const gameObject = get(await args.pick('game')) return message.reply({ embeds: [ new MessageEmbed() @@ -30,13 +30,19 @@ export default class GetObjectCommand extends Command { .setTimestamp(Date.now()) .setDescription( ` - 🖇️ **| Aliases**: \`${gameObject?.aliases.join('`, `')}\`${gameObject?.yaw ? `\n\n🖱️ **| Yaw**: \`${gameObject?.yaw}\`` : ''}${ - gameObject?.film ? `\n\n🎥 **| FILM Notation**: \`${gameObject?.film}\`` : '' + 🖇️ **| Aliases**: \`${gameObject?.aliases.join('`, `')}\`${ + gameObject?.yaw + ? `\n\n🖱️ **| Yaw**: \`${gameObject?.yaw}\`` + : '' + }${ + gameObject?.film + ? `\n\n🎥 **| FILM Notation**: \`${gameObject?.film}\`` + : '' } ` ) - .setFooter(`Game info`) - ] - }); + .setFooter(`Game info`), + ], + }) } } diff --git a/src/commands/Misc/games.ts b/src/commands/Misc/games.ts index 315d3cd..0ab111f 100644 --- a/src/commands/Misc/games.ts +++ b/src/commands/Misc/games.ts @@ -1,7 +1,7 @@ -import { Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; -import { map } from '../../helpers/array'; +import { Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' +import { map } from '../../helpers/array' @ApplyOptions({ aliases: ['supported-games', 'supportedgames'], @@ -11,24 +11,28 @@ import { map } from '../../helpers/array'; → fps-games 🖇️ **| Aliases**: \`supported-games\` and \`supportedgames\` - ` + `, }) export default class GamesCommand extends Command { public async run(message: Message) { - let result = ''; + let result = '' for (const game of map) { - result += `• ${game[0]}: \`${game[1].aliases.join(', ')}\` ${game[1].film ? '🎥' : ''}${game[1].yaw ? '🖱️' : ''}\n`; + result += `• ${game[0]}: \`${game[1].aliases.join(', ')}\` ${ + game[1].film ? '🎥' : '' + }${game[1].yaw ? '🖱️' : ''}\n` } try { await message.author.send( `**__Supported Games__**:\n\n${result}\n\n__Key__:\n→ 🎥: FoV scaling support\n→ 🖱️: Yaw/Sensitivity support\n\nTotal games supported: ${map.size}` - ); + ) if (message.guild) { - return message.reply('Sent you a DM with information.'); + return message.reply('Sent you a DM with information.') } - return; + return } catch (err) { - return message.reply('Unable to send you the games list DM. You probably have DMs disabled.'); + return message.reply( + 'Unable to send you the games list DM. You probably have DMs disabled.' + ) } } } diff --git a/src/commands/Misc/help.ts b/src/commands/Misc/help.ts index 298b797..21a8958 100644 --- a/src/commands/Misc/help.ts +++ b/src/commands/Misc/help.ts @@ -1,6 +1,11 @@ -import { ApplyOptions } from '@sapphire/decorators'; -import { Args, Command, CommandContext, CommandOptions } from '@sapphire/framework'; -import { Collection, Message, MessageEmbed } from 'discord.js'; +import { ApplyOptions } from '@sapphire/decorators' +import { + Args, + Command, + CommandContext, + CommandOptions, +} from '@sapphire/framework' +import { Collection, Message, MessageEmbed } from 'discord.js' /** * Sorts a collection alphabetically as based on the keys, rather than the values. @@ -10,10 +15,15 @@ import { Collection, Message, MessageEmbed } from 'discord.js'; * @param firstCategory Key of the first element for comparison * @param secondCategory Key of the second element for comparison */ -function sortCommandsAlphabetically(_: Command[], __: Command[], firstCategory: string, secondCategory: string): 1 | -1 | 0 { - if (firstCategory > secondCategory) return 1; - if (secondCategory > firstCategory) return -1; - return 0; +function sortCommandsAlphabetically( + _: Command[], + __: Command[], + firstCategory: string, + secondCategory: string +): 1 | -1 | 0 { + if (firstCategory > secondCategory) return 1 + if (secondCategory > firstCategory) return -1 + return 0 } @ApplyOptions({ @@ -34,16 +44,18 @@ function sortCommandsAlphabetically(_: Command[], __: Command[], firstCategory: → fps-help → fps-help *--all* → fps-help *arcmin* - ` + `, }) export class UserCommand extends Command { public async run(message: Message, args: Args, context: CommandContext) { - const command = args.nextMaybe(); - return command.exists && !args.getFlags('all') ? this.specific(message, command.value) : this.all(message, context); + const command = args.nextMaybe() + return command.exists && !args.getFlags('all') + ? this.specific(message, command.value) + : this.all(message, context) } private async specific(message: Message, commandName: string) { - const command = this.container.stores.get('commands').get(commandName); + const command = this.container.stores.get('commands').get(commandName) return message.reply({ embeds: [ new MessageEmbed() @@ -51,50 +63,65 @@ export class UserCommand extends Command { .setColor('#0099ff') .setDescription(`${command?.detailedDescription}`) .setFooter(`Command help for ${command?.name}`) - .setTimestamp(Date.now()) - ] - }); + .setTimestamp(Date.now()), + ], + }) } private async all(message: Message, context: CommandContext) { - const content = await this.buildHelp(message, context.commandPrefix); + const content = await this.buildHelp(message, context.commandPrefix) return message.reply({ - embeds: [new MessageEmbed().setTitle('FPSMath - Help').setDescription(content).setColor('#0099ff').setTimestamp(Date.now())] - }); + embeds: [ + new MessageEmbed() + .setTitle('FPSMath - Help') + .setDescription(content) + .setColor('#0099ff') + .setTimestamp(Date.now()), + ], + }) } private async buildHelp(message: Message, prefix: string) { - const commands = await this.fetchCommands(message); + const commands = await this.fetchCommands(message) - const helpMessage: string[] = []; + const helpMessage: string[] = [] for (const [category, list] of commands) { - helpMessage.push(`**${category} Commands**:\n`, list.map(this.formatCommand.bind(this, prefix)).join('\n'), ''); + helpMessage.push( + `**${category} Commands**:\n`, + list.map(this.formatCommand.bind(this, prefix)).join('\n'), + '' + ) } - return helpMessage.join('\n'); + return helpMessage.join('\n') } private formatCommand(prefix: string, command: Command) { - const { description } = command; - return `• **${prefix}${command.name}** → ${description}`; + const { description } = command + return `• **${prefix}${command.name}** → ${description}` } private async fetchCommands(message: Message) { - const commands = this.container.stores.get('commands'); - const filtered = new Collection(); + const commands = this.container.stores.get('commands') + const filtered = new Collection() await Promise.all( commands.map(async (cmd: Command) => { - const command = cmd as Command; + const command = cmd as Command - const result = await cmd.preconditions.run(message, command, { command: null! }); - if (!result.success) return; + const result = await cmd.preconditions.run(message, command, { + command: null, + }) + if (!result.success) return - const category = filtered.get(command.fullCategory.join(' → ')); - if (category) category.push(command); - else filtered.set(command.fullCategory.join(' → '), [command as Command]); + const category = filtered.get(command.fullCategory.join(' → ')) + if (category) category.push(command) + else + filtered.set(command.fullCategory.join(' → '), [ + command as Command, + ]) }) - ); + ) - return filtered.sort(sortCommandsAlphabetically); + return filtered.sort(sortCommandsAlphabetically) } } diff --git a/src/commands/Misc/info.ts b/src/commands/Misc/info.ts index 254337b..cc48ce2 100644 --- a/src/commands/Misc/info.ts +++ b/src/commands/Misc/info.ts @@ -1,6 +1,6 @@ -import { MessageEmbed, Message } from 'discord.js'; -import { Command, CommandOptions } from '@sapphire/framework'; -import { ApplyOptions } from '@sapphire/decorators'; +import { MessageEmbed, Message } from 'discord.js' +import { Command, CommandOptions } from '@sapphire/framework' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['bot-info'], @@ -10,7 +10,7 @@ import { ApplyOptions } from '@sapphire/decorators'; → fps-info 🖇️ **| Aliases**: \`bot-info\` - ` + `, }) export default class InfoCommand extends Command { public async run(message: Message) { @@ -25,7 +25,7 @@ export default class InfoCommand extends Command { 'Links', '[**Bot Invite**](https://top.gg/bot/792712521546465301/invite)\nInvite FPSMath\n\n[**Documentation**](https://fpsmath.animafps.xyz)\nGuides, Commands and everything else you need\n\n[**Developer**](https://animafps.xyz)\nMy developers website\n\n[**Support Server Invite**](https://discord.gg/xJdQxps)\nNeed Assistance? Join and find support\n\n[**Source Code**](https://github.com/animafps/fpsmath)' ) - .setTimestamp(Date.now()); - return message.reply({ embeds: [Embed] }); + .setTimestamp(Date.now()) + return message.reply({ embeds: [Embed] }) } } diff --git a/src/commands/Misc/ping.ts b/src/commands/Misc/ping.ts index 1ed1cf4..19993da 100644 --- a/src/commands/Misc/ping.ts +++ b/src/commands/Misc/ping.ts @@ -1,6 +1,6 @@ -import { Command, CommandOptions } from '@sapphire/framework'; -import type { Message } from 'discord.js'; -import { ApplyOptions } from '@sapphire/decorators'; +import { Command, CommandOptions } from '@sapphire/framework' +import type { Message } from 'discord.js' +import { ApplyOptions } from '@sapphire/decorators' @ApplyOptions({ aliases: ['pong'], @@ -10,12 +10,12 @@ import { ApplyOptions } from '@sapphire/decorators'; → fps-ping 🖇️ **| Aliases**: \`pong\` - ` + `, }) export default class PingCommand extends Command { public async run(message: Message) { - const response = await message.channel.send('Ping...'); - const latency = response.createdTimestamp - message.createdTimestamp; - await response.edit(`Pong! Took me ${latency}ms.`); + const response = await message.channel.send('Ping...') + const latency = response.createdTimestamp - message.createdTimestamp + await response.edit(`Pong! Took me ${latency}ms.`) } } diff --git a/src/helpers/array.ts b/src/helpers/array.ts index 8e407b3..e2708f0 100644 --- a/src/helpers/array.ts +++ b/src/helpers/array.ts @@ -1,129 +1,140 @@ -export const array: { [key: string]: { yaw?: number; aliases: string[]; film?: string } } = { +export const array: { + [key: string]: { yaw?: number; aliases: string[]; film?: string } +} = { '3D Aim Trainer': { yaw: 0.0066, aliases: ['3daimtrainer', '3dat'], - film: '16MF9' + film: '16MF9', }, Aimgods: { yaw: 0.0023331, aliases: ['aimgods'] }, Source: { yaw: 0.022, aliases: ['source'], - film: '4ML3' + film: '4ML3', }, 'Counter Strike': { yaw: 0.022, aliases: ['cs', 'cs:go', 'csgo', 'counter-strike'], - film: '4ML3' + film: '4ML3', }, Quake: { yaw: 0.022, aliases: ['quake'], film: '4ML3' }, 'Quake Champions': { aliases: ['qc', 'quake-champions'], film: '16ML9', - yaw: 0.022 + yaw: 0.022, }, 'Apex Legends': { yaw: 0.022, aliases: ['apex-legends', 'apex'], - film: '4ML3' + film: '4ML3', }, Valorant: { yaw: 0.07, aliases: ['valorant', 'val'] }, Overwatch: { yaw: 0.0066, aliases: ['overwatch', 'ow'], - film: '16MF9' + film: '16MF9', }, Fortnite: { yaw: 0.005555, aliases: ['fortnite', 'fn'], - film: '16ML9' + film: '16ML9', }, 'Fortnite config': { yaw: 2.222, aliases: ['fn-config', 'fortnite-config'], - film: '16ML9' + film: '16ML9', }, Diabotical: { yaw: 0.022, aliases: ['diabotical', 'dbt'], - film: 'vML' + film: 'vML', }, 'Rainbow Six: Siege': { yaw: 0.005729577951308232, aliases: ['r6', 'rainbow6', 'r6s', 'siege'], - film: 'vML' + film: 'vML', }, 'Call of Duty': { yaw: 0.0066, aliases: ['cod', 'callofduty', 'call-of-duty', 'warzone', 'wz'], - film: 'hML' + film: 'hML', }, Battlefield: { yaw: 0.6771319397, aliases: ['battlefield', 'bf'], - film: 'vML' + film: 'vML', }, Destiny: { yaw: 0.0066, aliases: ['destiny', 'd2', 'destiny2'], - film: '16ML9' + film: '16ML9', }, Reflex: { yaw: 0.005729577951308232087679815481411, aliases: ['reflex', 'reflex-arena'], - film: '4ML3' + film: '4ML3', }, Krunker: { yaw: 0.13750954927425516, aliases: ['krunker'], - film: 'vML' + film: 'vML', }, Minecraft: { yaw: 0.2592, aliases: ['mc', 'minecraft'], - film: 'hML' + film: 'hML', }, - Palidins: { - aliases: ['palidins'], - film: 'hML' + Paladins: { + aliases: ['paladins'], + film: 'hML', }, "PlayerUnknown's: Battleground": { aliases: ['pubg'], yaw: 2.49975, - film: '16ML9' + film: '16ML9', }, 'Totally Accurate Battlegrounds': { aliases: ['tabg'], yaw: 0.001280683, - film: 'hML' + film: 'hML', }, 'Unreal Engine 4': { aliases: ['ue4', 'unreal', 'unreal-engine'], - yaw: 0.07 + yaw: 0.07, }, 'Halo: Master Chief Collection': { yaw: 0.022222222222222223, aliases: ['halo', 'halo-mcc'], - film: 'hML' - } -}; + film: 'hML', + }, +} export function get(game: string) { - return map.get(game) ?? aliases.get(game); + return map.get(game) ?? aliasesMap.get(game) } -export const map = new Map(); +export const map = new Map< + string, + { name: string; yaw?: number; aliases: string[]; film?: string } +>() for (const x of Object.keys(array)) { - map.set(x, { name: x, ...array[x] }); + map.set(x, { name: x, ...array[x] }) } -export const aliases = new Map(); +export const aliasesMap = new Map< + string, + { name: string; yaw?: number; aliases: string[]; film?: string } +>() for (const x of map) { x[1].aliases.forEach((val) => { - aliases.set(val, x[1]); - }); + aliasesMap.set(val, x[1]) + }) } -export function getObject(game: string, object: 'yaw' | 'aliases' | 'film' | 'name') { - const value = map.get(game) ?? aliases.get(game); - return value ? value[object] ?? null : null; +export function getObject( + game: string, + object: 'yaw' | 'aliases' | 'film' | 'name' +) { + const value = map.get(game) ?? aliasesMap.get(game) + return value ? value[object] ?? null : null } diff --git a/src/helpers/fov.ts b/src/helpers/fov.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/index.ts b/src/index.ts index 9ea85bf..0bb577c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,55 +1,64 @@ -import { SapphireClient, LogLevel } from '@sapphire/framework'; -import * as Sentry from '@sentry/node'; -import { Poster } from 'dbots'; -import '@sapphire/plugin-api/register'; -import '@sapphire/plugin-logger/register'; -import 'dotenv/config'; +import { SapphireClient, LogLevel } from '@sapphire/framework' +import * as Sentry from '@sentry/node' +import { Poster } from 'dbots' +import '@sapphire/plugin-api/register' +import '@sapphire/plugin-logger/register' +import 'dotenv/config' const client = new SapphireClient({ - fetchPrefix: (msg) => (msg.guild ? [process.env.PREFIX ?? 'fps-'] : [process.env.PREFIX ?? 'fps-', '']), + fetchPrefix: (msg) => + msg.guild + ? [process.env.PREFIX ?? 'fps-'] + : [process.env.PREFIX ?? 'fps-', ''], caseInsensitiveCommands: true, logger: { - level: LogLevel.Debug + level: LogLevel.Debug, }, shards: 'auto', intents: ['GUILDS', 'GUILD_MESSAGES', 'DIRECT_MESSAGES'], partials: ['MESSAGE', 'CHANNEL'], presence: { status: 'online', - activities: [{ name: 'fps-help', type: 'LISTENING' }] - } -}); + activities: [{ name: 'fps-help', type: 'LISTENING' }], + }, +}) const main = async () => { if (process.env.SENTRY_DSN) { Sentry.init({ - dsn: process.env.SENTRY_DSN - }); + dsn: process.env.SENTRY_DSN, + }) } try { - client.logger.info('Logging in'); - await client.login(); - client.logger.info(`Logged in`); + client.logger.info('Logging in') + await client.login() + client.logger.info(`Logged in`) - if (process.env.TOPGG_API_TOKEN && process.env.DISCORDBOTLIST_TOKEN && process.env.DISCORDBOTSGG_TOKEN) { + if ( + process.env.TOPGG_API_TOKEN && + process.env.DISCORDBOTLIST_TOKEN && + process.env.DISCORDBOTSGG_TOKEN + ) { const poster = new Poster({ client, apiKeys: { topgg: process.env.TOPGG_API_TOKEN, discordbotlist: process.env.DISCORDBOTLIST_TOKEN, - discordbotsgg: process.env.DISCORDBOTSGG_TOKEN + discordbotsgg: process.env.DISCORDBOTSGG_TOKEN, }, - clientLibrary: 'discord.js' - }); - poster.addHandler('postSuccess', () => client.logger.debug('Api Post Success')); - void poster.post('all'); - poster.startInterval(); + clientLibrary: 'discord.js', + }) + poster.addHandler('postSuccess', () => + client.logger.debug('Api Post Success') + ) + void poster.post('all') + poster.startInterval() } } catch (error) { - client.logger.fatal(error); - client.destroy(); - process.exit(1); + client.logger.fatal(error) + client.destroy() + process.exit(1) } -}; +} -void main(); +void main() diff --git a/src/listeners/commands/commandError.ts b/src/listeners/commands/commandError.ts index 79cfa76..2a68be6 100644 --- a/src/listeners/commands/commandError.ts +++ b/src/listeners/commands/commandError.ts @@ -1,4 +1,9 @@ -import { ArgumentError, CommandErrorPayload, Events, Listener } from '@sapphire/framework'; +import { + ArgumentError, + CommandErrorPayload, + Events, + Listener, +} from '@sapphire/framework' export default class UserListener extends Listener { public run(error: ArgumentError, { message, args }: CommandErrorPayload) { @@ -7,23 +12,25 @@ export default class UserListener extends Listener { void message.reply( `You need to write another parameter! > **Tip**: You can do \`${args.commandContext.prefix}help ${args.command.name}\` to find out how to use this command.` - ); - break; + ) + break case 'gameNoSupport': void message.reply( `Game: \`${error.parameter}\` not supported. > **Tip**: You can do \`${args.commandContext.prefix}games\` to see all the supported games.` - ); - break; + ) + break case 'floatError': - void message.reply(`\`${error.parameter}\` is not a valid decimal.`); - break; + void message.reply( + `\`${error.parameter}\` is not a valid decimal.` + ) + break default: - void message.reply(`${error.identifier}: ${error.message}`); - break; + void message.reply(`${error.identifier}: ${error.message}`) + break } } } diff --git a/src/listeners/ready.ts b/src/listeners/ready.ts index 00e1efb..0ce0504 100644 --- a/src/listeners/ready.ts +++ b/src/listeners/ready.ts @@ -1,54 +1,84 @@ -import { Listener, Store, ListenerOptions, PieceContext, Events } from '@sapphire/framework'; -import { blue, gray, green, magenta, magentaBright, white, yellow } from 'colorette'; -const dev = process.env.NODE_ENV !== 'production'; +import { + Listener, + Store, + ListenerOptions, + PieceContext, + Events, +} from '@sapphire/framework' +import { + blue, + gray, + green, + magenta, + magentaBright, + white, + yellow, +} from 'colorette' +const dev = process.env.NODE_ENV !== 'production' export class UserEvent extends Listener { - private readonly style = dev ? yellow : blue; + private readonly style = dev ? yellow : blue public constructor(context: PieceContext, options?: ListenerOptions) { super(context, { ...options, - once: true - }); + once: true, + }) } public run() { - this.printBanner(); - this.printStoreDebugInformation(); + this.printBanner() + this.printStoreDebugInformation() } private printBanner() { - const success = green('+'); + const success = green('+') - const llc = dev ? magentaBright : white; - const blc = dev ? magenta : blue; + const llc = dev ? magentaBright : white + const blc = dev ? magenta : blue - const line = llc(''); + const line = llc('') // Offset Pad - const pad = ' '.repeat(7); + const pad = ' '.repeat(7) console.log( String.raw` -${line} ${pad}${blc(`${process.env.npm_package_name}@${process.env.npm_package_version || '1.0.0'}`)} -${line} ${pad}[${success}] Gateway (${this.container.client.user?.username}#${this.container.client.user?.discriminator}) +${line} ${pad}${blc( + `${process.env.npm_package_name}@${ + process.env.npm_package_version || '1.0.0' + }` + )} +${line} ${pad}[${success}] Gateway (${this.container.client.user?.username}#${ + this.container.client.user?.discriminator + }) ${line} ${pad}Severs: ${this.container.client.guilds.cache.size} ${line} ${pad}Serving: ${this.container.client.users.cache.size} people -${line}${dev ? ` ${pad}${blc('<')}${llc('/')}${blc('>')} ${llc('DEVELOPMENT MODE')}` : ''} +${line}${ + dev + ? ` ${pad}${blc('<')}${llc('/')}${blc('>')} ${llc( + 'DEVELOPMENT MODE' + )}` + : '' + } `.trim() - ); + ) } private printStoreDebugInformation() { - const { client, logger } = this.container; - const stores = [...client.stores.values()]; - const last = stores.pop()!; + const { client, logger } = this.container + const stores = [...client.stores.values()] + const last = stores.pop() - for (const store of stores) logger.info(this.styleStore(store, false)); - logger.info(this.styleStore(last, true)); + for (const store of stores) logger.info(this.styleStore(store, false)) + if (last) logger.info(this.styleStore(last, true)) } private styleStore(store: Store, last: boolean) { - return gray(`${last ? '└─' : '├─'} Loaded ${this.style(store.size.toString().padEnd(3, ' '))} ${store.name}.`); + return gray( + `${last ? '└─' : '├─'} Loaded ${this.style( + store.size.toString().padEnd(3, ' ') + )} ${store.name}.` + ) } } diff --git a/src/tsconfig.json b/src/tsconfig.json new file mode 100644 index 0000000..e05d190 --- /dev/null +++ b/src/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../tsconfig.base.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../dist", + "composite": true, + "preserveConstEnums": true, + "useDefineForClassFields": false + }, + "include": ["."] +} diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 0000000..5062cae --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,33 @@ +{ + "compileOnSave": true, + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "alwaysStrict": true, + "declaration": true, + "declarationMap": true, + "emitDecoratorMetadata": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, + "importHelpers": true, + "importsNotUsedAsValues": "error", + "incremental": true, + "lib": ["esnext"], + "module": "CommonJS", + "moduleResolution": "Node", + "newLine": "lf", + "noEmitHelpers": true, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "preserveConstEnums": true, + "pretty": true, + "removeComments": false, + "resolveJsonModule": true, + "sourceMap": true, + "strict": true, + "target": "ES2020", + "useDefineForClassFields": true + } +} diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index e12596d..e9f70fe 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,4 +1,4 @@ { - "extends": "./tsconfig.json", + "extends": "./tsconfig.base.json", "include": ["src", "tests"] } diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 329be80..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "@sapphire/ts-config", - "compilerOptions": { - "rootDir": "src", - "outDir": "dist", - "tsBuildInfoFile": "dist/.tsbuildinfo" - }, - "include": ["src"] -} diff --git a/yarn.lock b/yarn.lock index 85efc62..1e880cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -643,22 +643,6 @@ __metadata: languageName: node linkType: hard -"@octokit/rest@npm:15.2.6": - version: 15.2.6 - resolution: "@octokit/rest@npm:15.2.6" - dependencies: - before-after-hook: ^1.1.0 - btoa-lite: ^1.0.0 - debug: ^3.1.0 - http-proxy-agent: ^2.1.0 - https-proxy-agent: ^2.2.0 - lodash: ^4.17.4 - node-fetch: ^2.1.1 - url-template: ^2.0.8 - checksum: c3bf92759611a63686b245708b926fdc3eca6f3b6ed32e64e8f65aab94dafeff52512b47d5c11dce4fb201c38c0573e8b7be73835b7c94ba32d22a3f2fd287ca - languageName: node - linkType: hard - "@octokit/rest@npm:^18.0.0": version: 18.11.4 resolution: "@octokit/rest@npm:18.11.4" @@ -725,30 +709,6 @@ __metadata: languageName: node linkType: hard -"@sapphire/eslint-config@npm:^3.2.3": - version: 3.2.3 - resolution: "@sapphire/eslint-config@npm:3.2.3" - dependencies: - "@typescript-eslint/eslint-plugin": ^4.28.3 - "@typescript-eslint/parser": ^4.28.3 - eslint: ^7.31.0 - eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^3.4.0 - prettier: ^2.3.2 - typescript: ^4.3.5 - checksum: d9ebca479db7a93ac4e398404904d347415d564f8f1183bcfb69d6d90ee89d7dd89e4cbfe414d3554390b79783d8f59b33938e607fe1ebf30b621b5daa3f1ec8 - languageName: node - linkType: hard - -"@sapphire/fetch@npm:next": - version: 2.0.0-next.80ebe4e9.0 - resolution: "@sapphire/fetch@npm:2.0.0-next.80ebe4e9.0" - dependencies: - cross-fetch: ^3.1.4 - checksum: dcf98c4a2acfacad356bc3f78f4de0b861f7f4807bd919fdbb3ccc8f876cc1dd387663f78bc9d1b1510b56534fd8b3aba36855431c90d51a955499fc228d72a8 - languageName: node - linkType: hard - "@sapphire/framework@npm:next": version: 2.0.0-next.6d332aa1.0 resolution: "@sapphire/framework@npm:2.0.0-next.6d332aa1.0" @@ -800,15 +760,6 @@ __metadata: languageName: node linkType: hard -"@sapphire/prettier-config@npm:^1.1.6": - version: 1.1.6 - resolution: "@sapphire/prettier-config@npm:1.1.6" - dependencies: - prettier: 2.x - checksum: 2d0aed3482908eb00f6614cd2aa59819b304475a172538c81180259af9869b7b1e7d27c2fa9a90f1ae5bc9d3f6c1d390f30ab8006022542fbdf12d0de1e62f6e - languageName: node - linkType: hard - "@sapphire/ratelimits@npm:^2.0.1": version: 2.0.1 resolution: "@sapphire/ratelimits@npm:2.0.1" @@ -836,16 +787,6 @@ __metadata: languageName: node linkType: hard -"@sapphire/ts-config@npm:^3.0.0": - version: 3.0.0 - resolution: "@sapphire/ts-config@npm:3.0.0" - dependencies: - tslib: ^2.3.0 - typescript: ^4.3.5 - checksum: 7dcb377f9b8f151323c580ba4d693b07ec9862e6996b0facced9a76d2f45ca0249eba6f11fa40051172cf9e4415cefac484896ae793b4c13f1777734c81839df - languageName: node - linkType: hard - "@sapphire/utilities@npm:^2.0.1": version: 2.0.1 resolution: "@sapphire/utilities@npm:2.0.1" @@ -1095,48 +1036,13 @@ __metadata: languageName: node linkType: hard -"@types/eslint-plugin-prettier@npm:^3.1.0": - version: 3.1.0 - resolution: "@types/eslint-plugin-prettier@npm:3.1.0" - dependencies: - "@types/eslint": "*" - checksum: e8fc9991cc181967a961c344ab894b57122e54b5f36950373f42638bb05847caef89a0e12decbb5b4a42e4eefaeefe63053ee2cbf6e1dfce43d77a445bbae728 - languageName: node - linkType: hard - -"@types/eslint@npm:*": - version: 7.28.0 - resolution: "@types/eslint@npm:7.28.0" - dependencies: - "@types/estree": "*" - "@types/json-schema": "*" - checksum: 75ac2577d2a2e35bae66f56d2d1c871d5e836b2721cf14bd3df450c9d584eba48fa3b1013fba710245bf4795f16e1df0ed315e543e3199c4815ee4782537d0ae - languageName: node - linkType: hard - -"@types/estree@npm:*": - version: 0.0.50 - resolution: "@types/estree@npm:0.0.50" - checksum: 9a2b6a4a8c117f34d08fbda5e8f69b1dfb109f7d149b60b00fd7a9fb6ac545c078bc590aa4ec2f0a256d680cf72c88b3b28b60c326ee38a7bc8ee1ee95624922 - languageName: node - linkType: hard - -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.7": +"@types/json-schema@npm:^7.0.7": version: 7.0.9 resolution: "@types/json-schema@npm:7.0.9" checksum: 259d0e25f11a21ba5c708f7ea47196bd396e379fddb79c76f9f4f62c945879dc21657904914313ec2754e443c5018ea8372362f323f30e0792897fdb2098a705 languageName: node linkType: hard -"@types/keyv@npm:^3.1.1": - version: 3.1.3 - resolution: "@types/keyv@npm:3.1.3" - dependencies: - "@types/node": "*" - checksum: b5f8aa592cc21c16d99e69aec0976f12b893b055e4456d90148a610a6b6088e297b2ba5f38f8c8280cef006cfd8f9ec99e069905020882619dc5fc8aa46f5f27 - languageName: node - linkType: hard - "@types/minimatch@npm:^3.0.3": version: 3.0.5 resolution: "@types/minimatch@npm:3.0.5" @@ -1189,15 +1095,6 @@ __metadata: languageName: node linkType: hard -"@types/responselike@npm:^1.0.0": - version: 1.0.0 - resolution: "@types/responselike@npm:1.0.0" - dependencies: - "@types/node": "*" - checksum: e99fc7cc6265407987b30deda54c1c24bb1478803faf6037557a774b2f034c5b097ffd65847daa87e82a61a250d919f35c3588654b0fdaa816906650f596d1b0 - languageName: node - linkType: hard - "@types/retry@npm:^0.12.0": version: 0.12.1 resolution: "@types/retry@npm:0.12.1" @@ -1232,7 +1129,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^4.28.3, @typescript-eslint/eslint-plugin@npm:^4.32.0": +"@typescript-eslint/eslint-plugin@npm:^4.32.0": version: 4.32.0 resolution: "@typescript-eslint/eslint-plugin@npm:4.32.0" dependencies: @@ -1270,7 +1167,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^4.28.3, @typescript-eslint/parser@npm:^4.32.0": +"@typescript-eslint/parser@npm:^4.32.0": version: 4.32.0 resolution: "@typescript-eslint/parser@npm:4.32.0" dependencies: @@ -1369,22 +1266,6 @@ __metadata: languageName: node linkType: hard -"after-all-results@npm:^2.0.0": - version: 2.0.0 - resolution: "after-all-results@npm:2.0.0" - checksum: 24de1c95b6387f6d5f0e6f5a638d77fbf565647ee0bd3c4a0d0522b877db77c81cd2e05adf581d164a7ddf61698bbb46375a4028fb5fc09ffa7e71b7d08cf9a4 - languageName: node - linkType: hard - -"agent-base@npm:4, agent-base@npm:^4.3.0": - version: 4.3.0 - resolution: "agent-base@npm:4.3.0" - dependencies: - es6-promisify: ^5.0.0 - checksum: 0c10891060e579c67efafd6b62223666c4b4129b521eac3e9ad272a137545bcedb54ce352273b7ad21a0024060e4f1360ae9a465ac87e2af18883c937d39979f - languageName: node - linkType: hard - "agent-base@npm:6, agent-base@npm:^6.0.2": version: 6.0.2 resolution: "agent-base@npm:6.0.2" @@ -1446,7 +1327,7 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^3.0.0, ansi-escapes@npm:^3.2.0": +"ansi-escapes@npm:^3.2.0": version: 3.2.0 resolution: "ansi-escapes@npm:3.2.0" checksum: 0f94695b677ea742f7f1eed961f7fd8d05670f744c6ad1f8f635362f6681dcfbc1575cb05b43abc7bb6d67e25a75fb8c7ea8f2a57330eb2c76b33f18cb2cef0a @@ -1579,18 +1460,6 @@ __metadata: languageName: node linkType: hard -"args@npm:4.0.0": - version: 4.0.0 - resolution: "args@npm:4.0.0" - dependencies: - camelcase: 5.0.0 - chalk: 2.3.2 - leven: 2.1.0 - mri: 1.1.0 - checksum: 737240977ca3e625f98aaeb7d91fb6c78eabfc7ced516a6e08f7249efd84904ff1bae08d40f3fd3c27ad2d3ab2d8a01ace8e64df3759613e94240256b1ffa1a8 - languageName: node - linkType: hard - "argv-formatter@npm:~1.0.0": version: 1.0.0 resolution: "argv-formatter@npm:1.0.0" @@ -1676,15 +1545,6 @@ __metadata: languageName: node linkType: hard -"async-retry@npm:1.2.1": - version: 1.2.1 - resolution: "async-retry@npm:1.2.1" - dependencies: - retry: 0.10.1 - checksum: 73efddf61d9289bf67cda75a4944f9dd14a682d0a3399ee0ea133725ed5ab463f75601aad7d9e1d877aa4c668b2a9ffb5b43b2e003ef38c287e07d246bcb0031 - languageName: node - linkType: hard - "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -1738,13 +1598,6 @@ __metadata: languageName: node linkType: hard -"before-after-hook@npm:^1.1.0": - version: 1.4.0 - resolution: "before-after-hook@npm:1.4.0" - checksum: 4044a9ef951a2f9cd99e0d81f83bfa6e9b52bac689fe1ecc92f8fa0bbef5b923ae992985056255f7ef8d7eba124a619a5d50419e76536b8c7fa8a2097d4e66d4 - languageName: node - linkType: hard - "before-after-hook@npm:^2.2.0": version: 2.2.2 resolution: "before-after-hook@npm:2.2.2" @@ -1799,13 +1652,6 @@ __metadata: languageName: node linkType: hard -"btoa-lite@npm:^1.0.0": - version: 1.0.0 - resolution: "btoa-lite@npm:1.0.0" - checksum: c2d61993b801f8e35a96f20692a45459c753d9baa29d86d1343e714f8d6bbe7069f1a20a5ae868488f3fb137d5bd0c560f6fbbc90b5a71050919d2d2c97c0475 - languageName: node - linkType: hard - "buffer-from@npm:^1.0.0": version: 1.1.2 resolution: "buffer-from@npm:1.1.2" @@ -1881,13 +1727,6 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:5.0.0": - version: 5.0.0 - resolution: "camelcase@npm:5.0.0" - checksum: 8bfe920e0472d79d34f0279da1391f155bcce7fc74c99b49dafae4f787396040a34f4023da837ab0b4372e63224b460f9524b495906863c38876faea9da53705 - languageName: node - linkType: hard - "camelcase@npm:^5.3.1": version: 5.3.1 resolution: "camelcase@npm:5.3.1" @@ -1895,13 +1734,6 @@ __metadata: languageName: node linkType: hard -"capitalize@npm:1.0.0": - version: 1.0.0 - resolution: "capitalize@npm:1.0.0" - checksum: 7fb1d03f459b14c151f30ad8bc5ab31d5826075d0106b1c734ea1177344983e98d8f6949f4ef9ca2927721c056a8a321ce9e37bd8318aba9068f8bd472b770da - languageName: node - linkType: hard - "cardinal@npm:^2.1.1": version: 2.1.1 resolution: "cardinal@npm:2.1.1" @@ -1931,29 +1763,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:2.3.2": - version: 2.3.2 - resolution: "chalk@npm:2.3.2" - dependencies: - ansi-styles: ^3.2.1 - escape-string-regexp: ^1.0.5 - supports-color: ^5.3.0 - checksum: de2d4db6904539999b1bce771477fed3ff449022be089bb6d8cc9198e33396f7640b07e165b714718fd62ef0d99e4208939b90c91cc120e37f470e559fbc7ccf - languageName: node - linkType: hard - -"chalk@npm:2.4.0": - version: 2.4.0 - resolution: "chalk@npm:2.4.0" - dependencies: - ansi-styles: ^3.2.1 - escape-string-regexp: ^1.0.5 - supports-color: ^5.3.0 - checksum: dceb815e90c668227d08a4e98b1a371415a849a985a5872f7f4254619f0caebb636ba9d5b393474ca4e23340fd1615a9fc7269c460e9b88c3d78398f98a04479 - languageName: node - linkType: hard - -"chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.3.1, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2": +"chalk@npm:^2.0.0, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -1974,13 +1784,6 @@ __metadata: languageName: node linkType: hard -"chardet@npm:^0.4.0": - version: 0.4.2 - resolution: "chardet@npm:0.4.2" - checksum: fec7a41f78b9c09ed29c44990a9a0fce7a946ab81298231045db5786719fef664cd9ff4217dd7159a9c35c81f32cede04619c45f9a96965ca2c1d8883f8cf433 - languageName: node - linkType: hard - "chardet@npm:^0.7.0": version: 0.7.0 resolution: "chardet@npm:0.7.0" @@ -1988,17 +1791,6 @@ __metadata: languageName: node linkType: hard -"child-process-promise@npm:^2.1.3": - version: 2.2.1 - resolution: "child-process-promise@npm:2.2.1" - dependencies: - cross-spawn: ^4.0.2 - node-version: ^1.0.0 - promise-polyfill: ^6.0.1 - checksum: fb72dda7ee78099f106d57bf3d7cc3225c16c9ddfe8e364e3535a52396482ee81aecd3eff0da7131ca17b7ba9fcbb8af827da63a03f0c3262c76268696898642 - languageName: node - linkType: hard - "chownr@npm:*, chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -2050,13 +1842,6 @@ __metadata: languageName: node linkType: hard -"cli-spinners@npm:^1.1.0": - version: 1.3.1 - resolution: "cli-spinners@npm:1.3.1" - checksum: 4f95fd69a2cc886a79edea7c60173a66d21f5732f1cbdc3dfb6c02422769699b358190827a3886a51503a7a4daed84ae295db5df68bba9702a50df7aca51da55 - languageName: node - linkType: hard - "cli-table3@npm:*, cli-table3@npm:^0.6.0": version: 0.6.0 resolution: "cli-table3@npm:0.6.0" @@ -2170,7 +1955,7 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.12, colorette@npm:^2.0.13": +"colorette@npm:^2.0.13": version: 2.0.14 resolution: "colorette@npm:2.0.14" checksum: a156f2a6b85f504bd2dec04591e64fe42751f459ccd828f3eb5c15ed6afdff7f0547f206a4147414520a976ce0130ac8c363093b3eb1924dd13b7014f67665d5 @@ -2184,13 +1969,6 @@ __metadata: languageName: node linkType: hard -"colors@npm:~0.6.1": - version: 0.6.2 - resolution: "colors@npm:0.6.2" - checksum: 3f48cadb26ef1809847f3c0ff1e1dc4b2e2af4ace54dd9cd7491bfcaafef3abaac7cb063cb91f98f305bba8a6fa74720a8856610629f9c889b1eb4cd84a120a3 - languageName: node - linkType: hard - "columnify@npm:*": version: 1.5.4 resolution: "columnify@npm:1.5.4" @@ -2217,15 +1995,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:~1.3.2": - version: 1.3.2 - resolution: "commander@npm:1.3.2" - dependencies: - keypress: 0.1.x - checksum: 41fa1f8570c0971336ec3bd16cb9b247eb0f81d7131f3ef4e8281134048cafe29279e37681a46df0bf784c139bf883e439fccac6addca64d96bab822bab3060c - languageName: node - linkType: hard - "commitizen@npm:^4.0.3": version: 4.2.4 resolution: "commitizen@npm:4.2.4" @@ -2276,20 +2045,6 @@ __metadata: languageName: node linkType: hard -"configstore@npm:3.1.2": - version: 3.1.2 - resolution: "configstore@npm:3.1.2" - dependencies: - dot-prop: ^4.1.0 - graceful-fs: ^4.1.2 - make-dir: ^1.0.0 - unique-string: ^1.0.0 - write-file-atomic: ^2.0.0 - xdg-basedir: ^3.0.0 - checksum: 7ae77ad6a1888923a8de04f16a8a63a3cf520c2ea68ad08e47404f4f7f863e3e05f4933696e78e46f5a9a9d2e1a4c5c4b3fe36ac9e975ed58e9dd43c15b71294 - languageName: node - linkType: hard - "console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0, console-control-strings@npm:~1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -2411,25 +2166,6 @@ __metadata: languageName: node linkType: hard -"cross-fetch@npm:^3.1.4": - version: 3.1.4 - resolution: "cross-fetch@npm:3.1.4" - dependencies: - node-fetch: 2.6.1 - checksum: 2107e5e633aa327bdacab036b1907c7ddd28651ede0c1d4fd14db04510944d56849a8255e2f5b8f9a1da0e061b6cee943f6819fe29ed9a130195e7fadd82a4ff - languageName: node - linkType: hard - -"cross-spawn@npm:^4.0.2": - version: 4.0.2 - resolution: "cross-spawn@npm:4.0.2" - dependencies: - lru-cache: ^4.0.1 - which: ^1.2.9 - checksum: 8ce57b3e11c5c798542a21ddfdc1edef33ab6fe001958b31f3340a6ff684e3334a8baad2751efa78b6200aad442cf12b939396d758b0dd5c42c9b782c28fe06e - languageName: node - linkType: hard - "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -2441,13 +2177,6 @@ __metadata: languageName: node linkType: hard -"crypto-random-string@npm:^1.0.0": - version: 1.0.0 - resolution: "crypto-random-string@npm:1.0.0" - checksum: 6fc61a46c18547b49a93da24f4559c4a1c859f4ee730ecc9533c1ba89fa2a9e9d81f390c2789467afbbd0d1c55a6e96a71e4716b6cd3e77736ed5fced7a2df9a - languageName: node - linkType: hard - "crypto-random-string@npm:^2.0.0": version: 2.0.0 resolution: "crypto-random-string@npm:2.0.0" @@ -2455,15 +2184,6 @@ __metadata: languageName: node linkType: hard -"cwd@npm:^0.9.1": - version: 0.9.1 - resolution: "cwd@npm:0.9.1" - dependencies: - find-pkg: ^0.1.0 - checksum: ef8659afbe04daa6704fe217214565db0b279cf6a1399077a275c60a009d950eb638c0d3ee580c9fba8cd3d5f50d23eeb41dba0f9aa733eebba3da0ecc0ba5d3 - languageName: node - linkType: hard - "cz-conventional-changelog@npm:3.2.0": version: 3.2.0 resolution: "cz-conventional-changelog@npm:3.2.0" @@ -2533,15 +2253,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:3.1.0": - version: 3.1.0 - resolution: "debug@npm:3.1.0" - dependencies: - ms: 2.0.0 - checksum: 0b52718ab957254a5b3ca07fc34543bc778f358620c206a08452251eb7fc193c3ea3505072acbf4350219c14e2d71ceb7bdaa0d3370aa630b50da790458d08b3 - languageName: node - linkType: hard - "debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1": version: 4.3.2 resolution: "debug@npm:4.3.2" @@ -2554,22 +2265,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.1.0": - version: 3.2.7 - resolution: "debug@npm:3.2.7" - dependencies: - ms: ^2.1.1 - checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c - languageName: node - linkType: hard - -"debug@npm:~0.8.1": - version: 0.8.1 - resolution: "debug@npm:0.8.1" - checksum: 13dff5babbf72c5374395e27f0869d10adf9e8076400ea4bdfa6b58a89552718c936d6683fd8f4e26c7d5da75b7ab8e4dd86ad9102d75b7a0d03e48eb230702f - languageName: node - linkType: hard - "debuglog@npm:^1.0.1": version: 1.0.1 resolution: "debuglog@npm:1.0.1" @@ -2594,15 +2289,6 @@ __metadata: languageName: node linkType: hard -"decompress-response@npm:^3.2.0": - version: 3.3.0 - resolution: "decompress-response@npm:3.3.0" - dependencies: - mimic-response: ^1.0.0 - checksum: 952552ac3bd7de2fc18015086b09468645c9638d98a551305e485230ada278c039c91116e946d07894b39ee53c0f0d5b6473f25a224029344354513b412d7380 - languageName: node - linkType: hard - "dedent@npm:0.7.0": version: 0.7.0 resolution: "dedent@npm:0.7.0" @@ -2658,13 +2344,6 @@ __metadata: languageName: node linkType: hard -"delay@npm:4.3.0": - version: 4.3.0 - resolution: "delay@npm:4.3.0" - checksum: 41cb27adecdb3769a3cfae89f2c799263bd4b5a353d236db0b76078532ed72359431743fef3ae31454800531c9cbc936b65ffdfa60f55dca940d5ea4bf566436 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -2779,15 +2458,6 @@ __metadata: languageName: node linkType: hard -"dot-prop@npm:^4.1.0": - version: 4.2.1 - resolution: "dot-prop@npm:4.2.1" - dependencies: - is-obj: ^1.0.0 - checksum: 5f4f19aa440bc548670d87f2adcbd105fa6842cd1fba3165a8a2b1380568ae82862acf8ebafcc6093fa062505d7d08d7155c7ba9a88da212f7348e95ef2bdce6 - languageName: node - linkType: hard - "dot-prop@npm:^5.1.0": version: 5.3.0 resolution: "dot-prop@npm:5.3.0" @@ -2822,13 +2492,6 @@ __metadata: languageName: node linkType: hard -"duplexer3@npm:^0.1.4": - version: 0.1.4 - resolution: "duplexer3@npm:0.1.4" - checksum: c2fd6969314607d23439c583699aaa43c4100d66b3e161df55dccd731acc57d5c81a64bb4f250805fbe434ddb1d2623fee2386fb890f5886ca1298690ec53415 - languageName: node - linkType: hard - "ecc-jsbn@npm:~0.1.1": version: 0.1.2 resolution: "ecc-jsbn@npm:0.1.2" @@ -2968,22 +2631,6 @@ __metadata: languageName: node linkType: hard -"es6-promise@npm:^4.0.3": - version: 4.2.8 - resolution: "es6-promise@npm:4.2.8" - checksum: 95614a88873611cb9165a85d36afa7268af5c03a378b35ca7bda9508e1d4f1f6f19a788d4bc755b3fd37c8ebba40782018e02034564ff24c9d6fa37e959ad57d - languageName: node - linkType: hard - -"es6-promisify@npm:^5.0.0": - version: 5.0.0 - resolution: "es6-promisify@npm:5.0.0" - dependencies: - es6-promise: ^4.0.3 - checksum: fbed9d791598831413be84a5374eca8c24800ec71a16c1c528c43a98e2dadfb99331483d83ae6094ddb9b87e6f799a15d1553cebf756047e0865c753bc346b92 - languageName: node - linkType: hard - "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -2991,13 +2638,6 @@ __metadata: languageName: node linkType: hard -"escape-goat@npm:1.3.0": - version: 1.3.0 - resolution: "escape-goat@npm:1.3.0" - checksum: 244df78375e265fd33aa2cffa614da21752f416b66a225055b56c36ff675448cdc426543ea4e33e6684f85ca611059261c2805ed54761b073fd907b15d7333b4 - languageName: node - linkType: hard - "escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -3023,36 +2663,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^3.4.0": - version: 3.4.1 - resolution: "eslint-plugin-prettier@npm:3.4.1" - dependencies: - prettier-linter-helpers: ^1.0.0 - peerDependencies: - eslint: ">=5.0.0" - prettier: ">=1.13.0" - peerDependenciesMeta: - eslint-config-prettier: - optional: true - checksum: fa6a89f0d7cba1cc87064352f5a4a68dc3739448dd279bec2bced1bfa3b704467e603d13b69dcec853f8fa30b286b8b715912898e9da776e1b016cf0ee48bd99 - languageName: node - linkType: hard - -"eslint-plugin-prettier@npm:^4.0.0": - version: 4.0.0 - resolution: "eslint-plugin-prettier@npm:4.0.0" - dependencies: - prettier-linter-helpers: ^1.0.0 - peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" - peerDependenciesMeta: - eslint-config-prettier: - optional: true - checksum: 03d69177a3c21fa2229c7e427ce604429f0b20ab7f411e2e824912f572a207c7f5a41fd1f0a95b9b8afe121e291c1b1f1dc1d44c7aad4b0837487f9c19f5210d - languageName: node - linkType: hard - "eslint-scope@npm:^5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" @@ -3097,7 +2707,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^7.31.0, eslint@npm:^7.32.0": +"eslint@npm:^7.32.0": version: 7.32.0 resolution: "eslint@npm:7.32.0" dependencies: @@ -3241,15 +2851,6 @@ __metadata: languageName: node linkType: hard -"expand-tilde@npm:^1.2.2": - version: 1.2.2 - resolution: "expand-tilde@npm:1.2.2" - dependencies: - os-homedir: ^1.0.1 - checksum: 18051cd104977bc06e2bb1347db9959b90504437beea0de6fd287a3c8c58b41e2330337bd189cfca2ee4be6bda9bf045f8c07daf23e622f85eb6ee1c420619a0 - languageName: node - linkType: hard - "expand-tilde@npm:^2.0.0, expand-tilde@npm:^2.0.2": version: 2.0.2 resolution: "expand-tilde@npm:2.0.2" @@ -3259,15 +2860,6 @@ __metadata: languageName: node linkType: hard -"extend-shallow@npm:^2.0.1": - version: 2.0.1 - resolution: "extend-shallow@npm:2.0.1" - dependencies: - is-extendable: ^0.1.0 - checksum: 8fb58d9d7a511f4baf78d383e637bd7d2e80843bd9cd0853649108ea835208fb614da502a553acc30208e1325240bb7cc4a68473021612496bb89725483656d8 - languageName: node - linkType: hard - "extend@npm:~3.0.2": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -3275,17 +2867,6 @@ __metadata: languageName: node linkType: hard -"external-editor@npm:^2.1.0": - version: 2.2.0 - resolution: "external-editor@npm:2.2.0" - dependencies: - chardet: ^0.4.0 - iconv-lite: ^0.4.17 - tmp: ^0.0.33 - checksum: 5e164e033ed93fcbfe311b5760b98e292685ea58e6e62737365de2d625d0043d60b36c5b537795c496b520db568d9e5f5109994e869ca0d9b6b443aacf533efe - languageName: node - linkType: hard - "external-editor@npm:^3.0.3": version: 3.1.0 resolution: "external-editor@npm:3.1.0" @@ -3318,13 +2899,6 @@ __metadata: languageName: node linkType: hard -"fast-diff@npm:^1.1.2": - version: 1.2.0 - resolution: "fast-diff@npm:1.2.0" - checksum: 1b5306eaa9e826564d9e5ffcd6ebd881eb5f770b3f977fcbf38f05c824e42172b53c79920e8429c54eb742ce15a0caf268b0fdd5b38f6de52234c4a8368131ae - languageName: node - linkType: hard - "fast-glob@npm:^3.1.1": version: 3.2.7 resolution: "fast-glob@npm:3.2.7" @@ -3395,13 +2969,6 @@ __metadata: languageName: node linkType: hard -"file-name@npm:^0.1.0": - version: 0.1.0 - resolution: "file-name@npm:0.1.0" - checksum: 301e4928debcb963dfa60a1334ed1ead5eea007eb581bfa6fb102626ce2ea3661b94d86821035f471f90e956984c919a1ff2b5c1fdd6f7cdf9576e65124b27e2 - languageName: node - linkType: hard - "fill-range@npm:^7.0.1": version: 7.0.1 resolution: "fill-range@npm:7.0.1" @@ -3411,16 +2978,6 @@ __metadata: languageName: node linkType: hard -"find-file-up@npm:^0.1.2": - version: 0.1.3 - resolution: "find-file-up@npm:0.1.3" - dependencies: - fs-exists-sync: ^0.1.0 - resolve-dir: ^0.1.0 - checksum: 95475fee7b727266ec65312527c580eb4f01884592620296cf7859e72cce7f4f6a667c964ad6feeec53fb72a7c3991805532ed7a53d8224e9a1ccd88479cabce - languageName: node - linkType: hard - "find-node-modules@npm:^2.1.2": version: 2.1.2 resolution: "find-node-modules@npm:2.1.2" @@ -3431,15 +2988,6 @@ __metadata: languageName: node linkType: hard -"find-pkg@npm:^0.1.0": - version: 0.1.2 - resolution: "find-pkg@npm:0.1.2" - dependencies: - find-file-up: ^0.1.2 - checksum: cd797bfa7dd419849559312cdd3aec767c39939e552daa92e53ff6b61108f331eb2c800d20a5973631eb894ea36c13dded01a868b10f457a685e0ae87a1746e1 - languageName: node - linkType: hard - "find-root@npm:1.1.0": version: 1.1.0 resolution: "find-root@npm:1.1.0" @@ -3561,27 +3109,21 @@ __metadata: "@commitlint/config-conventional": ^13.2.0 "@discordjs/collection": ^0.2.1 "@sapphire/decorators": ^2.2.0 - "@sapphire/discord-utilities": ^2.1.5 "@sapphire/discord.js-utilities": next - "@sapphire/eslint-config": ^3.2.3 - "@sapphire/fetch": next "@sapphire/framework": next "@sapphire/pieces": 3.0.0 "@sapphire/plugin-api": next "@sapphire/plugin-logger": next - "@sapphire/prettier-config": ^1.1.6 - "@sapphire/ts-config": ^3.0.0 "@sapphire/utilities": ^2.0.1 "@semantic-release/changelog": ^6.0.0 "@semantic-release/git": ^10.0.0 "@sentry/node": ^6.13.2 - "@types/eslint-plugin-prettier": ^3.1.0 "@types/node": ^16.10.1 "@types/semantic-release": ^17.2.2 "@types/ws": ^8.2.0 "@typescript-eslint/eslint-plugin": ^4.32.0 "@typescript-eslint/parser": ^4.32.0 - colorette: ^2.0.12 + colorette: ^2.0.13 cz-conventional-changelog: 3.3.0 dbots: ^9.0.1 discord-api-types: ^0.23.1 @@ -3589,13 +3131,10 @@ __metadata: dotenv: ^10.0.0 eslint: ^7.32.0 eslint-config-prettier: ^8.3.0 - eslint-plugin-prettier: ^4.0.0 husky: ^7.0.2 lint-staged: ^11.1.2 prettier: ^2.4.1 pretty-quick: ^3.1.1 - release: ^6.3.0 - semantic: ^0.0.1 semantic-release: ^18.0.0 tslib: ^2.3.1 typescript: ^4.4.3 @@ -3612,24 +3151,6 @@ __metadata: languageName: node linkType: hard -"fs-exists-sync@npm:^0.1.0": - version: 0.1.0 - resolution: "fs-exists-sync@npm:0.1.0" - checksum: 850a0d6e4c03a7bd2fd25043f77cd9d6be9c3b48bb99308bcfe9c94f3f92f65f2cd3fa036e13a1b0ba7a46d2e58792f53e578f01d75fbdcd56baeb9eed63b705 - languageName: node - linkType: hard - -"fs-extra@npm:5.0.0": - version: 5.0.0 - resolution: "fs-extra@npm:5.0.0" - dependencies: - graceful-fs: ^4.1.2 - jsonfile: ^4.0.0 - universalify: ^0.1.0 - checksum: b3dcaf1d545097013c4fa649951c85cad1b845316ab473cc3440254a45e9b0b17d8ca9355af477e982c7d126f1a30417bcf78b1f744593ce77a0f43165f2d5e5 - languageName: node - linkType: hard - "fs-extra@npm:8.1.0": version: 8.1.0 resolution: "fs-extra@npm:8.1.0" @@ -3752,13 +3273,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "get-stream@npm:3.0.0" - checksum: 36142f46005ed74ce3a45c55545ec4e7da8e243554179e345a786baf144e5c4a35fb7bdc49fadfa9f18bd08000589b6fe364abdadfc4e1eb0e1b9914a6bb9c56 - languageName: node - linkType: hard - "get-stream@npm:^5.0.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -3794,27 +3308,6 @@ __metadata: languageName: node linkType: hard -"gh-got@npm:^6.0.0": - version: 6.0.0 - resolution: "gh-got@npm:6.0.0" - dependencies: - got: ^7.0.0 - is-plain-obj: ^1.1.0 - checksum: 6b3f11a695c662a7eb90cbba27ba53c828715c937638e7f36093c0e62ae91309d6d2f846176d9334bb865d6389dba52dfca25d83012d0d9604feb335982b2b3d - languageName: node - linkType: hard - -"git-config-path@npm:^1.0.1": - version: 1.0.1 - resolution: "git-config-path@npm:1.0.1" - dependencies: - extend-shallow: ^2.0.1 - fs-exists-sync: ^0.1.0 - homedir-polyfill: ^1.0.0 - checksum: 13fda02984fa60122cd8ce3f61c63ca427aa41c35a88fe1ba91c508f9245da726d48eaa6a0158acd308b0271759b19dd922d6e8c0b069dc882bf8edc41aecaea - languageName: node - linkType: hard - "git-log-parser@npm:^1.2.0": version: 1.2.0 resolution: "git-log-parser@npm:1.2.0" @@ -3844,56 +3337,6 @@ __metadata: languageName: node linkType: hard -"git-repo-name@npm:0.6.0": - version: 0.6.0 - resolution: "git-repo-name@npm:0.6.0" - dependencies: - cwd: ^0.9.1 - file-name: ^0.1.0 - lazy-cache: ^1.0.4 - remote-origin-url: ^0.5.1 - checksum: be6c290e90d72194b1f0a2a7efb747f524a899cd7ef7a171637163c20f32b84d82ee286a55ed7086ef039b4f3072c29f2df1fe8593138dd75de395866d1d28c0 - languageName: node - linkType: hard - -"git-spawned-stream@npm:1.0.0": - version: 1.0.0 - resolution: "git-spawned-stream@npm:1.0.0" - dependencies: - debug: ~0.8.1 - spawn-to-readstream: ~0.1.3 - checksum: a7fa0864e274ffbeb06caea9d8de9762c305da2629b17ad8b4a430db2680b556962568ca4562384b5e97509bf201e8d69e5af4b04b9edcef46a3dd632dcd7b20 - languageName: node - linkType: hard - -"git-state@npm:4.0.0": - version: 4.0.0 - resolution: "git-state@npm:4.0.0" - dependencies: - after-all-results: ^2.0.0 - checksum: a9d61807d215ff0e14727f1c69662712e665c12b012440664988b68cee8405cdc9ca4c6981651d8810394c242c4f963481d44b1ffb73e7afb7497e628ec2b7a4 - languageName: node - linkType: hard - -"git-username@npm:1.0.0": - version: 1.0.0 - resolution: "git-username@npm:1.0.0" - dependencies: - parse-github-url: ^1.0.2 - remote-origin-url: ^1.0.0 - checksum: 8c9b25a4e5348b88e06c521d313fcfb3fd0a9d3fae8ec5a143e2b38775f13cbbb7dda39b9a2c03273f8f7f56faad286a2f50926a18c6df4ee08a010dbbbefa11 - languageName: node - linkType: hard - -"github-username@npm:4.1.0": - version: 4.1.0 - resolution: "github-username@npm:4.1.0" - dependencies: - gh-got: ^6.0.0 - checksum: ff3e50c63d85cef0f24cac2aa25be99b91505e1f719911b9794007689672ba73eb73fd1020e1540ccce2d770e0b03543f4904841a2720d955ec8ef1c6ca4bb2d - languageName: node - linkType: hard - "glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -3940,16 +3383,6 @@ __metadata: languageName: node linkType: hard -"global-modules@npm:^0.2.3": - version: 0.2.3 - resolution: "global-modules@npm:0.2.3" - dependencies: - global-prefix: ^0.1.4 - is-windows: ^0.2.0 - checksum: 3801788df54897d994c9c8f3d09f253d1379cd879ae61fcddbcc3ecdfdf6fe23a1edb983e8d4dd24cebf7e49823752e1cd29a2d33bdb4de587de8b4a85b17e24 - languageName: node - linkType: hard - "global-modules@npm:^1.0.0": version: 1.0.0 resolution: "global-modules@npm:1.0.0" @@ -3961,18 +3394,6 @@ __metadata: languageName: node linkType: hard -"global-prefix@npm:^0.1.4": - version: 0.1.5 - resolution: "global-prefix@npm:0.1.5" - dependencies: - homedir-polyfill: ^1.0.0 - ini: ^1.3.4 - is-windows: ^0.2.0 - which: ^1.2.12 - checksum: ea1b818a1851655ebb2341cdd5446da81c25f31ca6f0ac358a234cbed5442edc1bfa5628771466988d67d9fcc6ad09ca0e68a8d3d7e3d92f7de3aec87020e183 - languageName: node - linkType: hard - "global-prefix@npm:^1.0.1": version: 1.0.2 resolution: "global-prefix@npm:1.0.2" @@ -4009,29 +3430,7 @@ __metadata: languageName: node linkType: hard -"got@npm:^7.0.0": - version: 7.1.0 - resolution: "got@npm:7.1.0" - dependencies: - decompress-response: ^3.2.0 - duplexer3: ^0.1.4 - get-stream: ^3.0.0 - is-plain-obj: ^1.1.0 - is-retry-allowed: ^1.0.0 - is-stream: ^1.0.0 - isurl: ^1.0.0-alpha5 - lowercase-keys: ^1.0.0 - p-cancelable: ^0.3.0 - p-timeout: ^1.1.1 - safe-buffer: ^5.0.1 - timed-out: ^4.0.0 - url-parse-lax: ^1.0.0 - url-to-options: ^1.0.1 - checksum: 0270472a389bdca67e60d36cccd014e502d1797d925c06ea2ef372fb41ae99c9e25ac4f187cc422760b4a66abb5478f8821b8134b4eaefe0bf5183daeded5e2f - languageName: node - linkType: hard - -"graceful-fs@npm:*, graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:*, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.8 resolution: "graceful-fs@npm:4.2.8" checksum: 5d224c8969ad0581d551dfabdb06882706b31af2561bd5e2034b4097e67cc27d05232849b8643866585fd0a41c7af152950f8776f4dd5579e9853733f31461c6 @@ -4101,13 +3500,6 @@ __metadata: languageName: node linkType: hard -"has-symbol-support-x@npm:^1.4.1": - version: 1.4.2 - resolution: "has-symbol-support-x@npm:1.4.2" - checksum: ff06631d556d897424c00e8e79c10093ad34c93e88bb0563932d7837f148a4c90a4377abc5d8da000cb6637c0ecdb4acc9ae836c7cfd0ffc919986db32097609 - languageName: node - linkType: hard - "has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.2": version: 1.0.2 resolution: "has-symbols@npm:1.0.2" @@ -4115,15 +3507,6 @@ __metadata: languageName: node linkType: hard -"has-to-string-tag-x@npm:^1.2.0": - version: 1.4.1 - resolution: "has-to-string-tag-x@npm:1.4.1" - dependencies: - has-symbol-support-x: ^1.4.1 - checksum: 804c4505727be7770f8b2f5e727ce31c9affc5b83df4ce12344f44b68d557fefb31f77751dbd739de900653126bcd71f8842fac06f97a3fae5422685ab0ce6f0 - languageName: node - linkType: hard - "has-tostringtag@npm:^1.0.0": version: 1.0.0 resolution: "has-tostringtag@npm:1.0.0" @@ -4149,7 +3532,7 @@ __metadata: languageName: node linkType: hard -"homedir-polyfill@npm:^1.0.0, homedir-polyfill@npm:^1.0.1": +"homedir-polyfill@npm:^1.0.1": version: 1.0.3 resolution: "homedir-polyfill@npm:1.0.3" dependencies: @@ -4188,16 +3571,6 @@ __metadata: languageName: node linkType: hard -"http-proxy-agent@npm:^2.1.0": - version: 2.1.0 - resolution: "http-proxy-agent@npm:2.1.0" - dependencies: - agent-base: 4 - debug: 3.1.0 - checksum: 9b3ab4c794b123fcb424e09d9c743c1e3b4ee8f278634a959c118731e3543fa5c7dfe588a428df6c352479b5f8a6dbdf7b122290f8bb2268f349759ab078fc31 - languageName: node - linkType: hard - "http-proxy-agent@npm:^4.0.1": version: 4.0.1 resolution: "http-proxy-agent@npm:4.0.1" @@ -4231,16 +3604,6 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^2.2.0": - version: 2.2.4 - resolution: "https-proxy-agent@npm:2.2.4" - dependencies: - agent-base: ^4.3.0 - debug: ^3.1.0 - checksum: 5fa8eab256b117a8badb5747bedf8b3a9de1fbabdccb26ff3132385426fdc3ad3c8b092ce52a1b74c70229b971df623f4f5a0c17f78e6a8fe5d10fc65d6ed8b8 - languageName: node - linkType: hard - "https-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "https-proxy-agent@npm:5.0.0" @@ -4283,7 +3646,7 @@ __metadata: languageName: node linkType: hard -"iconv-lite@npm:^0.4.17, iconv-lite@npm:^0.4.24": +"iconv-lite@npm:^0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" dependencies: @@ -4372,7 +3735,7 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:~2.0.1, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 @@ -4408,27 +3771,6 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:5.2.0": - version: 5.2.0 - resolution: "inquirer@npm:5.2.0" - dependencies: - ansi-escapes: ^3.0.0 - chalk: ^2.0.0 - cli-cursor: ^2.1.0 - cli-width: ^2.0.0 - external-editor: ^2.1.0 - figures: ^2.0.0 - lodash: ^4.3.0 - mute-stream: 0.0.7 - run-async: ^2.2.0 - rxjs: ^5.5.2 - string-width: ^2.1.0 - strip-ansi: ^4.0.0 - through: ^2.3.6 - checksum: 75632c562d5f5d64002a275e7824ec235f3a640310967800891fd9580434ec124ab3db0a5fedf33fdfeced198c9ce4ae1a6452d3f817aa7bb4cd6798d31ac21a - languageName: node - linkType: hard - "inquirer@npm:6.5.2": version: 6.5.2 resolution: "inquirer@npm:6.5.2" @@ -4555,13 +3897,6 @@ __metadata: languageName: node linkType: hard -"is-extendable@npm:^0.1.0": - version: 0.1.1 - resolution: "is-extendable@npm:0.1.1" - checksum: 3875571d20a7563772ecc7a5f36cb03167e9be31ad259041b4a8f73f33f885441f778cee1f1fe0085eb4bc71679b9d8c923690003a36a6a5fdf8023e6e3f0672 - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -4638,7 +3973,7 @@ __metadata: languageName: node linkType: hard -"is-obj@npm:^1.0.0, is-obj@npm:^1.0.1": +"is-obj@npm:^1.0.1": version: 1.0.1 resolution: "is-obj@npm:1.0.1" checksum: 3ccf0efdea12951e0b9c784e2b00e77e87b2f8bd30b42a498548a8afcc11b3287342a2030c308e473e93a7a19c9ea7854c99a8832a476591c727df2a9c79796c @@ -4652,13 +3987,6 @@ __metadata: languageName: node linkType: hard -"is-object@npm:^1.0.1": - version: 1.0.2 - resolution: "is-object@npm:1.0.2" - checksum: 971219c4b1985b9751f65e4c8296d3104f0457b0e8a70849e848a4a2208bc47317d73b3b85d4a369619cb2df8284dc22584cb2695a7d99aca5e8d0aa64fc075a - languageName: node - linkType: hard - "is-path-cwd@npm:^2.2.0": version: 2.2.0 resolution: "is-path-cwd@npm:2.2.0" @@ -4704,13 +4032,6 @@ __metadata: languageName: node linkType: hard -"is-retry-allowed@npm:^1.0.0": - version: 1.2.0 - resolution: "is-retry-allowed@npm:1.2.0" - checksum: 50d700a89ae31926b1c91b3eb0104dbceeac8790d8b80d02f5c76d9a75c2056f1bb24b5268a8a018dead606bddf116b2262e5ac07401eb8b8783b266ed22558d - languageName: node - linkType: hard - "is-set@npm:^2.0.2": version: 2.0.2 resolution: "is-set@npm:2.0.2" @@ -4725,13 +4046,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^1.0.0": - version: 1.1.0 - resolution: "is-stream@npm:1.1.0" - checksum: 063c6bec9d5647aa6d42108d4c59723d2bd4ae42135a2d4db6eadbd49b7ea05b750fd69d279e5c7c45cf9da753ad2c00d8978be354d65aa9f6bb434969c6a2ae - languageName: node - linkType: hard - "is-stream@npm:^2.0.0": version: 2.0.1 resolution: "is-stream@npm:2.0.1" @@ -4792,35 +4106,14 @@ __metadata: resolution: "is-weakref@npm:1.0.1" dependencies: call-bind: ^1.0.0 - checksum: fdafb7b955671dd2f9658ff47c86e4025c0650fc68a3542a40e5a75898a763b1abd6b1e1f9f13207eed49541cdd76af67d73c44989ea358b201b70274cf8f6c1 - languageName: node - linkType: hard - -"is-windows@npm:^0.2.0": - version: 0.2.0 - resolution: "is-windows@npm:0.2.0" - checksum: 3df25afda2fd9f3926b08cebacf1fc0a1fe7805a2cb73ef0f1b911c949e4e7648c4623979d74b4502bdd9af69471101eb6051b751595f7f88569148186cf7a7a - languageName: node - linkType: hard - -"is-windows@npm:^1.0.1": - version: 1.0.2 - resolution: "is-windows@npm:1.0.2" - checksum: 438b7e52656fe3b9b293b180defb4e448088e7023a523ec21a91a80b9ff8cdb3377ddb5b6e60f7c7de4fa8b63ab56e121b6705fe081b3cf1b828b0a380009ad7 - languageName: node - linkType: hard - -"is-wsl@npm:^1.1.0": - version: 1.1.0 - resolution: "is-wsl@npm:1.1.0" - checksum: ea157d232351e68c92bd62fc541771096942fe72f69dff452dd26dcc31466258c570a3b04b8cda2e01cd2968255b02951b8670d08ea4ed76d6b1a646061ac4fe + checksum: fdafb7b955671dd2f9658ff47c86e4025c0650fc68a3542a40e5a75898a763b1abd6b1e1f9f13207eed49541cdd76af67d73c44989ea358b201b70274cf8f6c1 languageName: node linkType: hard -"isarray@npm:0.0.1": - version: 0.0.1 - resolution: "isarray@npm:0.0.1" - checksum: 49191f1425681df4a18c2f0f93db3adb85573bcdd6a4482539d98eac9e705d8961317b01175627e860516a2fc45f8f9302db26e5a380a97a520e272e2a40a8d4 +"is-windows@npm:^1.0.1": + version: 1.0.2 + resolution: "is-windows@npm:1.0.2" + checksum: 438b7e52656fe3b9b293b180defb4e448088e7023a523ec21a91a80b9ff8cdb3377ddb5b6e60f7c7de4fa8b63ab56e121b6705fe081b3cf1b828b0a380009ad7 languageName: node linkType: hard @@ -4865,16 +4158,6 @@ __metadata: languageName: node linkType: hard -"isurl@npm:^1.0.0-alpha5": - version: 1.0.0 - resolution: "isurl@npm:1.0.0" - dependencies: - has-to-string-tag-x: ^1.2.0 - is-object: ^1.0.1 - checksum: 28a96e019269d57015fa5869f19dda5a3ed1f7b21e3e0c4ff695419bd0541547db352aa32ee4a3659e811a177b0e37a5bc1a036731e71939dd16b59808ab92bd - languageName: node - linkType: hard - "iterate-iterator@npm:^1.0.1": version: 1.0.2 resolution: "iterate-iterator@npm:1.0.2" @@ -5039,13 +4322,6 @@ __metadata: languageName: node linkType: hard -"keypress@npm:0.1.x": - version: 0.1.0 - resolution: "keypress@npm:0.1.0" - checksum: 3a7e9dc0354dc6e5cfd4a507263dee4d736381d1bf40b59b73ed9972aef9b5e5be3ce6df24ca67d1530c9fe9cf90b913c6d2cc49f610b4077af379933a2968a5 - languageName: node - linkType: hard - "kind-of@npm:^6.0.3": version: 6.0.3 resolution: "kind-of@npm:6.0.3" @@ -5053,20 +4329,6 @@ __metadata: languageName: node linkType: hard -"lazy-cache@npm:^1.0.4": - version: 1.0.4 - resolution: "lazy-cache@npm:1.0.4" - checksum: e6650c22e5de1cc3f4a0c25d2b35fe9cd400473c1b3562be9fceadf8f368d708b54d24f5aa51b321b090da65b36426823a8f706b8dbdd68270db0daba812c5d3 - languageName: node - linkType: hard - -"leven@npm:2.1.0": - version: 2.1.0 - resolution: "leven@npm:2.1.0" - checksum: f7b4a01b15c0ee2f92a04c0367ea025d10992b044df6f0d4ee1a845d4a488b343e99799e2f31212d72a2b1dea67124f57c1bb1b4561540df45190e44b5b8b394 - languageName: node - linkType: hard - "levn@npm:^0.4.1": version: 0.4.1 resolution: "levn@npm:0.4.1" @@ -5216,13 +4478,6 @@ __metadata: languageName: node linkType: hard -"limit-spawn@npm:0.0.3": - version: 0.0.3 - resolution: "limit-spawn@npm:0.0.3" - checksum: 44446cc63715a94770c2527df0d23b1673b22e9e25b6333f576cdf236cf2c574be9ecd3d689281cfa640e5758c2cdd0655d7a97f370fbe1e57a178305a67eebd - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.1.6 resolution: "lines-and-columns@npm:1.1.6" @@ -5395,22 +4650,13 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.12, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.3.0": +"lodash@npm:^4.17.12, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 languageName: node linkType: hard -"log-symbols@npm:^2.2.0": - version: 2.2.0 - resolution: "log-symbols@npm:2.2.0" - dependencies: - chalk: ^2.0.1 - checksum: 4c95e3b65f0352dbe91dc4989c10baf7a44e2ef5b0db7e6721e1476268e2b6f7090c3aa880d4f833a05c5c3ff18f4ec5215a09bd0099986d64a8186cfeb48ac8 - languageName: node - linkType: hard - "log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" @@ -5440,23 +4686,6 @@ __metadata: languageName: node linkType: hard -"lowercase-keys@npm:^1.0.0": - version: 1.0.1 - resolution: "lowercase-keys@npm:1.0.1" - checksum: 4d045026595936e09953e3867722e309415ff2c80d7701d067546d75ef698dac218a4f53c6d1d0e7368b47e45fd7529df47e6cb56fbb90523ba599f898b3d147 - languageName: node - linkType: hard - -"lru-cache@npm:^4.0.1": - version: 4.1.5 - resolution: "lru-cache@npm:4.1.5" - dependencies: - pseudomap: ^1.0.2 - yallist: ^2.1.2 - checksum: 4bb4b58a36cd7dc4dcec74cbe6a8f766a38b7426f1ff59d4cf7d82a2aa9b9565cd1cb98f6ff60ce5cd174524868d7bc9b7b1c294371851356066ca9ac4cf135a - languageName: node - linkType: hard - "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -5473,15 +4702,6 @@ __metadata: languageName: node linkType: hard -"make-dir@npm:^1.0.0": - version: 1.3.0 - resolution: "make-dir@npm:1.3.0" - dependencies: - pify: ^3.0.0 - checksum: c564f6e7bb5ace1c02ad56b3a5f5e07d074af0c0b693c55c7b2c2b148882827c8c2afc7b57e43338a9f90c125b58d604e8cf3e6990a48bf949dfea8c79668c0b - languageName: node - linkType: hard - "make-error@npm:^1, make-error@npm:^1.1.1": version: 1.3.6 resolution: "make-error@npm:1.3.6" @@ -5664,13 +4884,6 @@ __metadata: languageName: node linkType: hard -"mimic-response@npm:^1.0.0": - version: 1.0.1 - resolution: "mimic-response@npm:1.0.1" - checksum: 034c78753b0e622bc03c983663b1cdf66d03861050e0c8606563d149bc2b02d63f62ce4d32be4ab50d0553ae0ffe647fc34d1f5281184c6e1e8cf4d85e8d9823 - languageName: node - linkType: hard - "min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -5812,13 +5025,6 @@ __metadata: languageName: node linkType: hard -"mri@npm:1.1.0": - version: 1.1.0 - resolution: "mri@npm:1.1.0" - checksum: 54a9fa580b16dfc2cf154127bfc3a392d797102382dda12256b17f19d5760eddf9c08494a7f458d9e49cf612137bf0e8a4aa75bcca75ac50817af2501e38caf1 - languageName: node - linkType: hard - "mri@npm:^1.1.5": version: 1.2.0 resolution: "mri@npm:1.2.0" @@ -5826,20 +5032,13 @@ __metadata: languageName: node linkType: hard -"ms@npm:*, ms@npm:^2.0.0, ms@npm:^2.1.1": +"ms@npm:*, ms@npm:^2.0.0": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d languageName: node linkType: hard -"ms@npm:2.0.0": - version: 2.0.0 - resolution: "ms@npm:2.0.0" - checksum: 0e6a22b8b746d2e0b65a430519934fefd41b6db0682e3477c10f60c76e947c4c0ad06f63ffdf1d78d335f83edee8c0aa928aa66a36c7cd95b69b26f468d527f4 - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -5911,21 +5110,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:2.6.0": - version: 2.6.0 - resolution: "node-fetch@npm:2.6.0" - checksum: 2b741e9315c1c07df4a291d0b304892fa7e8d623fe789fedd53f9bcb8d09102b07591b4b93e552a65dfc457eee9d5d879d0440aefdb64f2d78e7cb78cbad28e9 - languageName: node - linkType: hard - -"node-fetch@npm:2.6.1": - version: 2.6.1 - resolution: "node-fetch@npm:2.6.1" - checksum: 91075bedd57879117e310fbcc36983ad5d699e522edb1ebcdc4ee5294c982843982652925c3532729fdc86b2d64a8a827797a745f332040d91823c8752ee4d7c - languageName: node - linkType: hard - -"node-fetch@npm:^2.1.1, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.5": +"node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.5": version: 2.6.5 resolution: "node-fetch@npm:2.6.5" dependencies: @@ -5974,20 +5159,6 @@ __metadata: languageName: node linkType: hard -"node-version@npm:1.1.3": - version: 1.1.3 - resolution: "node-version@npm:1.1.3" - checksum: 87b04171352442044cf600f642349f282a1621fee50c4ab471f1aa42203a3910a62e62cf49d19b84fe568a3b13c78bde25911bafa579672feef8dc0a929d492e - languageName: node - linkType: hard - -"node-version@npm:^1.0.0": - version: 1.2.0 - resolution: "node-version@npm:1.2.0" - checksum: 74e92d2a7f0fe0fce3aafd6dcc30b3b440999df68b3d92fcefcad2a52b37bc29c6b542f33760229390bfdc1a4d993fb65b9c199b1f0d568969d07fc1c04bc1e7 - languageName: node - linkType: hard - "nopt@npm:*, nopt@npm:^5.0.0": version: 5.0.0 resolution: "nopt@npm:5.0.0" @@ -6286,13 +5457,6 @@ __metadata: languageName: node linkType: hard -"object-keys@npm:~0.4.0": - version: 0.4.0 - resolution: "object-keys@npm:0.4.0" - checksum: 1be3ebe9b48c0d5eda8e4a30657d887a748cb42435e0e2eaf49faf557bdd602cd2b7558b8ce90a4eb2b8592d16b875a1900bce859cbb0f35b21c67e11a45313c - languageName: node - linkType: hard - "object.assign@npm:^4.1.2": version: 4.1.2 resolution: "object.assign@npm:4.1.2" @@ -6341,15 +5505,6 @@ __metadata: languageName: node linkType: hard -"opn@npm:5.4.0": - version: 5.4.0 - resolution: "opn@npm:5.4.0" - dependencies: - is-wsl: ^1.1.0 - checksum: cc40afeadaac822b41f194f373aa128690335e5597cfc95a58298679d004def82f32ff60673d0eb7d5c76e9631a495209c8a443b7a33b7f975eb4f3f2938a5a9 - languageName: node - linkType: hard - "optionator@npm:^0.9.1": version: 0.9.1 resolution: "optionator@npm:0.9.1" @@ -6364,27 +5519,6 @@ __metadata: languageName: node linkType: hard -"ora@npm:2.0.0": - version: 2.0.0 - resolution: "ora@npm:2.0.0" - dependencies: - chalk: ^2.3.1 - cli-cursor: ^2.1.0 - cli-spinners: ^1.1.0 - log-symbols: ^2.2.0 - strip-ansi: ^4.0.0 - wcwidth: ^1.0.1 - checksum: 82b7a56b80691899c444b084756c90bf204409dee62451fe7996c3d52d2d6237621dea3c95b4b094bace3e86808360376dd24f1029610b7800fb359a298b8c11 - languageName: node - linkType: hard - -"os-homedir@npm:^1.0.1": - version: 1.0.2 - resolution: "os-homedir@npm:1.0.2" - checksum: af609f5a7ab72de2f6ca9be6d6b91a599777afc122ac5cad47e126c1f67c176fe9b52516b9eeca1ff6ca0ab8587fe66208bc85e40a3940125f03cdb91408e9d2 - languageName: node - linkType: hard - "os-tmpdir@npm:~1.0.2": version: 1.0.2 resolution: "os-tmpdir@npm:1.0.2" @@ -6406,13 +5540,6 @@ __metadata: languageName: node linkType: hard -"p-cancelable@npm:^0.3.0": - version: 0.3.0 - resolution: "p-cancelable@npm:0.3.0" - checksum: 2b27639be8f7f8718f2854c1711f713c296db00acc4675975b1531ecb6253da197304b4a211a330a8e54e754d28d4b3f7feecb48f0566dd265e3ba6745cd4148 - languageName: node - linkType: hard - "p-each-series@npm:^2.1.0": version: 2.2.0 resolution: "p-each-series@npm:2.2.0" @@ -6429,13 +5556,6 @@ __metadata: languageName: node linkType: hard -"p-finally@npm:^1.0.0": - version: 1.0.0 - resolution: "p-finally@npm:1.0.0" - checksum: 93a654c53dc805dd5b5891bab16eb0ea46db8f66c4bfd99336ae929323b1af2b70a8b0654f8f1eae924b2b73d037031366d645f1fd18b3d30cbd15950cc4b1d4 - languageName: node - linkType: hard - "p-is-promise@npm:^3.0.0": version: 3.0.0 resolution: "p-is-promise@npm:3.0.0" @@ -6530,15 +5650,6 @@ __metadata: languageName: node linkType: hard -"p-timeout@npm:^1.1.1": - version: 1.2.1 - resolution: "p-timeout@npm:1.2.1" - dependencies: - p-finally: ^1.0.0 - checksum: 65a456f49cca1328774a6bfba61aac98d854b36df9153c2887f82f078d4399e9a30463be8a479871c22ed350a23b34a66ff303ca652b9d81ed4ff5260ac660d2 - languageName: node - linkType: hard - "p-try@npm:^1.0.0": version: 1.0.0 resolution: "p-try@npm:1.0.0" @@ -6602,27 +5713,6 @@ __metadata: languageName: node linkType: hard -"parse-git-config@npm:^1.1.1": - version: 1.1.1 - resolution: "parse-git-config@npm:1.1.1" - dependencies: - extend-shallow: ^2.0.1 - fs-exists-sync: ^0.1.0 - git-config-path: ^1.0.1 - ini: ^1.3.4 - checksum: 60534ff45b94ca8e1127e6b178711312df8bb5a43fa159fffa9e83a8e6ca84d673ea13eebfaee9e3950003b752446151a8bbf40e58dff46c5c879a92b8aa14b1 - languageName: node - linkType: hard - -"parse-github-url@npm:^1.0.2": - version: 1.0.2 - resolution: "parse-github-url@npm:1.0.2" - bin: - parse-github-url: ./cli.js - checksum: a19b8bc6f8908a24cb63a10ff90cd39cec0745615a272ec686803684653be34eb3e638e31a66c8ee3a9568082ff686eaf010181688000a6274c86a23e9220f2f - languageName: node - linkType: hard - "parse-json@npm:^4.0.0": version: 4.0.0 resolution: "parse-json@npm:4.0.0" @@ -6741,23 +5831,7 @@ __metadata: languageName: node linkType: hard -"prepend-http@npm:^1.0.1": - version: 1.0.4 - resolution: "prepend-http@npm:1.0.4" - checksum: 01e7baf4ad38af02257b99098543469332fc42ae50df33d97a124bf8172295907352fa6138c9b1610c10c6dd0847ca736e53fda736387cc5cf8fcffe96b47f29 - languageName: node - linkType: hard - -"prettier-linter-helpers@npm:^1.0.0": - version: 1.0.0 - resolution: "prettier-linter-helpers@npm:1.0.0" - dependencies: - fast-diff: ^1.1.2 - checksum: 00ce8011cf6430158d27f9c92cfea0a7699405633f7f1d4a45f07e21bf78e99895911cbcdc3853db3a824201a7c745bd49bfea8abd5fb9883e765a90f74f8392 - languageName: node - linkType: hard - -"prettier@npm:2.x, prettier@npm:^2.3.2, prettier@npm:^2.4.1": +"prettier@npm:^2.4.1": version: 2.4.1 resolution: "prettier@npm:2.4.1" bin: @@ -6826,13 +5900,6 @@ __metadata: languageName: node linkType: hard -"promise-polyfill@npm:^6.0.1": - version: 6.1.0 - resolution: "promise-polyfill@npm:6.1.0" - checksum: 6f1899cca37e48f67a424842282acd525d8d99d3536f2d97e37a117cfc4a0006683330ceaf5a15fbc09b4450f319a680292f9970a5f8e9cf90acbce0bdb0f751 - languageName: node - linkType: hard - "promise-retry@npm:^2.0.1": version: 2.0.1 resolution: "promise-retry@npm:2.0.1" @@ -6866,13 +5933,6 @@ __metadata: languageName: node linkType: hard -"pseudomap@npm:^1.0.2": - version: 1.0.2 - resolution: "pseudomap@npm:1.0.2" - checksum: 856c0aae0ff2ad60881168334448e898ad7a0e45fe7386d114b150084254c01e200c957cf378378025df4e052c7890c5bd933939b0e0d2ecfcc1dc2f0b2991f5 - languageName: node - linkType: hard - "psl@npm:^1.1.28, psl@npm:^1.8.0": version: 1.8.0 resolution: "psl@npm:1.8.0" @@ -6934,14 +5994,7 @@ __metadata: languageName: node linkType: hard -"random-string@npm:0.2.0": - version: 0.2.0 - resolution: "random-string@npm:0.2.0" - checksum: d65caf3ca1e2f797564b023a553eeb90c087daa651e9e56fa4f87ddd19aa538ac24d1f1ac0949a74d2f47cd0446f0d2e4372b9052096719459248ebd281cbafe - languageName: node - linkType: hard - -"rc@npm:^1.0.1, rc@npm:^1.1.6, rc@npm:^1.2.8": +"rc@npm:^1.2.8": version: 1.2.8 resolution: "rc@npm:1.2.8" dependencies: @@ -7042,18 +6095,6 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:~1.0.17": - version: 1.0.34 - resolution: "readable-stream@npm:1.0.34" - dependencies: - core-util-is: ~1.0.0 - inherits: ~2.0.1 - isarray: 0.0.1 - string_decoder: ~0.10.x - checksum: 85042c537e4f067daa1448a7e257a201070bfec3dd2706abdbd8ebc7f3418eb4d3ed4b8e5af63e2544d69f88ab09c28d5da3c0b77dc76185fddd189a59863b60 - languageName: node - linkType: hard - "readdir-scoped-modules@npm:*, readdir-scoped-modules@npm:^1.1.0": version: 1.1.0 resolution: "readdir-scoped-modules@npm:1.1.0" @@ -7092,16 +6133,6 @@ __metadata: languageName: node linkType: hard -"registry-auth-token@npm:3.3.2": - version: 3.3.2 - resolution: "registry-auth-token@npm:3.3.2" - dependencies: - rc: ^1.1.6 - safe-buffer: ^5.0.1 - checksum: c9d7ae160a738f1fa825556e3669e6c771d2c0239ce37679f7e8646157a97d0a76464738be075002a1f754ef9bfb913b689f4bbfd5296d28f136fbf98c8c2217 - languageName: node - linkType: hard - "registry-auth-token@npm:^4.0.0": version: 4.2.1 resolution: "registry-auth-token@npm:4.2.1" @@ -7111,66 +6142,6 @@ __metadata: languageName: node linkType: hard -"registry-url@npm:3.1.0": - version: 3.1.0 - resolution: "registry-url@npm:3.1.0" - dependencies: - rc: ^1.0.1 - checksum: 6d223da41b04e1824f5faa63905c6f2e43b216589d72794111573f017352b790aef42cd1f826463062f89d804abb2027e3d9665d2a9a0426a11eedd04d470af3 - languageName: node - linkType: hard - -"release@npm:^6.3.0": - version: 6.3.0 - resolution: "release@npm:6.3.0" - dependencies: - "@octokit/rest": 15.2.6 - args: 4.0.0 - async-retry: 1.2.1 - capitalize: 1.0.0 - chalk: 2.4.0 - configstore: 3.1.2 - delay: 4.3.0 - escape-goat: 1.3.0 - fs-extra: 5.0.0 - git-repo-name: 0.6.0 - git-spawned-stream: 1.0.0 - git-state: 4.0.0 - git-username: 1.0.0 - github-username: 4.1.0 - inquirer: 5.2.0 - node-fetch: 2.6.0 - node-version: 1.1.3 - opn: 5.4.0 - ora: 2.0.0 - random-string: 0.2.0 - semver: 5.5.0 - tagged-versions: 1.3.0 - update-check: 1.3.2 - bin: - release: bin/release.js - checksum: d7fa1f31721c21bb8d2857046e69bb526837e02293ce563adad8dc615060b2648d19f2a0a2ded32f62a010d983e02fdeb9e861f91b8cc6ad87252e942284627e - languageName: node - linkType: hard - -"remote-origin-url@npm:^0.5.1": - version: 0.5.3 - resolution: "remote-origin-url@npm:0.5.3" - dependencies: - parse-git-config: ^1.1.1 - checksum: c83ead152291f6af0c7c7948818bdfe1893ddff2aaa74db5165c9827ac2bcbd4a9941e2a4425cb08ee789fac33099de95499e483f1704ce746ea5d7724a17ba7 - languageName: node - linkType: hard - -"remote-origin-url@npm:^1.0.0": - version: 1.0.0 - resolution: "remote-origin-url@npm:1.0.0" - dependencies: - parse-git-config: ^1.1.1 - checksum: 317b4e483efccdf939bf197177b97808bc279aefe2ee4a0a4d994797994be4fa7df156cfc3901d6a121dc52cd1e35fa474129c0866a784d96197e4d740bfa3ac - languageName: node - linkType: hard - "request@npm:^2.88.2": version: 2.88.2 resolution: "request@npm:2.88.2" @@ -7213,16 +6184,6 @@ __metadata: languageName: node linkType: hard -"resolve-dir@npm:^0.1.0": - version: 0.1.1 - resolution: "resolve-dir@npm:0.1.1" - dependencies: - expand-tilde: ^1.2.2 - global-modules: ^0.2.3 - checksum: cc3e1885938f8fe9656a6faa651e21730d369260e907b8dd7c847a4aa18db348ac08ee0dbf2d6f87e2ba08715fb109432ec773bbb31698381bd2a48c0ea66072 - languageName: node - linkType: hard - "resolve-dir@npm:^1.0.0, resolve-dir@npm:^1.0.1": version: 1.0.1 resolution: "resolve-dir@npm:1.0.1" @@ -7296,13 +6257,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"retry@npm:0.10.1": - version: 0.10.1 - resolution: "retry@npm:0.10.1" - checksum: 133ef7c2028bcb09544a6fb9bed9f8266fffeaf72c855f73c2918ace9ef2abd7ccba03744564bcd1a8e948ed70518f8970852f46e649f9e3db6fefb0148cda35 - languageName: node - linkType: hard - "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -7351,15 +6305,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"rxjs@npm:^5.5.2": - version: 5.5.12 - resolution: "rxjs@npm:5.5.12" - dependencies: - symbol-observable: 1.0.1 - checksum: 3c2522402b913c3aa04514cd34e1b290b2a781a2fd6b0e92ac2746eee411aacc1c335716b51b83869075b077df4a6b973831cb54d40d528b42f8f8ad26ffb77c - languageName: node - linkType: hard - "rxjs@npm:^6.4.0, rxjs@npm:^6.6.7": version: 6.6.7 resolution: "rxjs@npm:6.6.7" @@ -7428,18 +6373,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"semantic@npm:^0.0.1": - version: 0.0.1 - resolution: "semantic@npm:0.0.1" - dependencies: - colors: ~0.6.1 - commander: ~1.3.2 - bin: - assemble: ./bin/assemble - checksum: 5e15f415d73f626cb6eef2bba54238fd3d0428e3308a7381fba00540b602a85ae07be781f0ca728a319750c60dc17c84fc3efe9a82b0bf4e5fdb36877ce7c50c - languageName: node - linkType: hard - "semver-compare@npm:^1.0.0": version: 1.0.0 resolution: "semver-compare@npm:1.0.0" @@ -7474,7 +6407,7 @@ resolve@^1.10.0: languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.3.0": +"semver@npm:2 || 3 || 4 || 5": version: 5.7.1 resolution: "semver@npm:5.7.1" bin: @@ -7483,15 +6416,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"semver@npm:5.5.0": - version: 5.5.0 - resolution: "semver@npm:5.5.0" - bin: - semver: ./bin/semver - checksum: f7ae12b9d2f88ea58754512f7d9c19544a370de15ae4f323d9ce2a1158329e33d8644414c685ba20d123653745a2cbe00619fcb7e89d1eff4bef61b070e32b01 - languageName: node - linkType: hard - "semver@npm:^6.0.0, semver@npm:^6.3.0": version: 6.3.0 resolution: "semver@npm:6.3.0" @@ -7645,16 +6569,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"spawn-to-readstream@npm:~0.1.3": - version: 0.1.3 - resolution: "spawn-to-readstream@npm:0.1.3" - dependencies: - limit-spawn: 0.0.3 - through2: ~0.4.1 - checksum: b3c65a0dc68e4f5d14897719a34896cd06bb6c4fcbfd43e87e45343a842620759d9934641b3b6d641f28b6841ca791d622a537ef18cac0452fbd608452960f65 - languageName: node - linkType: hard - "spdx-correct@npm:^3.0.0": version: 3.1.1 resolution: "spdx-correct@npm:3.1.1" @@ -7831,13 +6745,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"string_decoder@npm:~0.10.x": - version: 0.10.31 - resolution: "string_decoder@npm:0.10.31" - checksum: fe00f8e303647e5db919948ccb5ce0da7dea209ab54702894dd0c664edd98e5d4df4b80d6fabf7b9e92b237359d21136c95bf068b2f7760b772ca974ba970202 - languageName: node - linkType: hard - "string_decoder@npm:~1.1.1": version: 1.1.1 resolution: "string_decoder@npm:1.1.1" @@ -7980,13 +6887,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"symbol-observable@npm:1.0.1": - version: 1.0.1 - resolution: "symbol-observable@npm:1.0.1" - checksum: 8e8a4591f4ba4ec82e7c1ba6b0e695331e43572337b87fda06d183f445539f05d1ab9fe177e162c13dd74dbe1374bb96451698157d97ad417c26f7e46e7053be - languageName: node - linkType: hard - "table@npm:^6.0.9": version: 6.7.2 resolution: "table@npm:6.7.2" @@ -8001,16 +6901,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"tagged-versions@npm:1.3.0": - version: 1.3.0 - resolution: "tagged-versions@npm:1.3.0" - dependencies: - child-process-promise: ^2.1.3 - semver: ^5.3.0 - checksum: b2739dda393de95f6d4ab0f6c2c75804e366b806e5aa72b18445ececdcf11afffeae2ad63babd55b5a6164873c7880d6889f9acfb6e5c32014fc0294f0a3c2c0 - languageName: node - linkType: hard - "tar@npm:*, tar@npm:^6.0.2, tar@npm:^6.1.0, tar@npm:^6.1.2": version: 6.1.11 resolution: "tar@npm:6.1.11" @@ -8068,16 +6958,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"through2@npm:~0.4.1": - version: 0.4.2 - resolution: "through2@npm:0.4.2" - dependencies: - readable-stream: ~1.0.17 - xtend: ~2.1.1 - checksum: 50e41d272db4a74b10a62b7e92eeeb8d30e426a7a8a772cd85fac0f8e21d92c6e5cb5012d7db5f7a20f6e147e1f14f87062058c77b05bc9d463ae4d8b3eb1e42 - languageName: node - linkType: hard - "through2@npm:~2.0.0": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -8095,13 +6975,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"timed-out@npm:^4.0.0": - version: 4.0.1 - resolution: "timed-out@npm:4.0.1" - checksum: 98efc5d6fc0d2a329277bd4d34f65c1bf44d9ca2b14fd267495df92898f522e6f563c5e9e467c418e0836f5ca1f47a84ca3ee1de79b1cc6fe433834b7f02ec54 - languageName: node - linkType: hard - "tiny-relative-date@npm:*": version: 1.3.0 resolution: "tiny-relative-date@npm:1.3.0" @@ -8308,7 +7181,7 @@ resolve@^1.10.0: languageName: node linkType: hard -"typescript@^4.3.5, typescript@^4.4.3": +typescript@^4.4.3: version: 4.4.3 resolution: "typescript@npm:4.4.3" bin: @@ -8318,7 +7191,7 @@ resolve@^1.10.0: languageName: node linkType: hard -"typescript@patch:typescript@^4.3.5#~builtin, typescript@patch:typescript@^4.4.3#~builtin": +"typescript@patch:typescript@^4.4.3#~builtin": version: 4.4.3 resolution: "typescript@patch:typescript@npm%3A4.4.3#~builtin::version=4.4.3&hash=32657b" bin: @@ -8367,15 +7240,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"unique-string@npm:^1.0.0": - version: 1.0.0 - resolution: "unique-string@npm:1.0.0" - dependencies: - crypto-random-string: ^1.0.0 - checksum: 588f16bd4ec99b5130f237793d1a5694156adde20460366726573238e41e93b739b87987e863792aeb2392b26f8afb292490ace119c82ed12c46816c9c859f5f - languageName: node - linkType: hard - "unique-string@npm:^2.0.0": version: 2.0.0 resolution: "unique-string@npm:2.0.0" @@ -8406,16 +7270,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"update-check@npm:1.3.2": - version: 1.3.2 - resolution: "update-check@npm:1.3.2" - dependencies: - registry-auth-token: 3.3.2 - registry-url: 3.1.0 - checksum: 50b2697a99e9adc82f6eacfb511158bae604613ad7b192bd177df0de6e66396e4a4ce44cfc1732d8db924763d95bc310a91efcc1341726daa5a3ba0b0791325b - languageName: node - linkType: hard - "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -8432,29 +7286,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"url-parse-lax@npm:^1.0.0": - version: 1.0.0 - resolution: "url-parse-lax@npm:1.0.0" - dependencies: - prepend-http: ^1.0.1 - checksum: 03316acff753845329652258c16d1688765ee34f7d242a94dadf9ff6e43ea567ec062cec7aa27c37f76f2c57f95e0660695afff32fb97b527591c7340a3090fa - languageName: node - linkType: hard - -"url-template@npm:^2.0.8": - version: 2.0.8 - resolution: "url-template@npm:2.0.8" - checksum: 4183fccd74e3591e4154134d4443dccecba9c455c15c7df774f1f1e3fa340fd9bffb903b5beec347196d15ce49c34edf6dec0634a95d170ad6e78c0467d6e13e - languageName: node - linkType: hard - -"url-to-options@npm:^1.0.1": - version: 1.0.1 - resolution: "url-to-options@npm:1.0.1" - checksum: 20e59f4578525fb0d30ffc22b13b5aa60bc9e57cefd4f5842720f5b57211b6dec54abeae2d675381ac4486fd1a2e987f1318725dea996e503ff89f8c8ce2c17e - languageName: node - linkType: hard - "util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" @@ -8522,7 +7353,7 @@ resolve@^1.10.0: languageName: node linkType: hard -"wcwidth@npm:^1.0.0, wcwidth@npm:^1.0.1": +"wcwidth@npm:^1.0.0": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" dependencies: @@ -8572,7 +7403,7 @@ resolve@^1.10.0: languageName: node linkType: hard -"which@npm:^1.2.12, which@npm:^1.2.14, which@npm:^1.2.9": +"which@npm:^1.2.14": version: 1.3.1 resolution: "which@npm:1.3.1" dependencies: @@ -8647,17 +7478,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"write-file-atomic@npm:^2.0.0": - version: 2.4.3 - resolution: "write-file-atomic@npm:2.4.3" - dependencies: - graceful-fs: ^4.1.11 - imurmurhash: ^0.1.4 - signal-exit: ^3.0.2 - checksum: 2db81f92ae974fd87ab4a5e7932feacaca626679a7c98fcc73ad8fcea5a1950eab32fa831f79e9391ac99b562ca091ad49be37a79045bd65f595efbb8f4596ae - languageName: node - linkType: hard - "ws@npm:^7.5.1": version: 7.5.5 resolution: "ws@npm:7.5.5" @@ -8673,22 +7493,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"xdg-basedir@npm:^3.0.0": - version: 3.0.0 - resolution: "xdg-basedir@npm:3.0.0" - checksum: 60d613dcb09b1198c70cb442979825531c605ac7861a8a6131304207d2962020dbb23660ac7e1be324fb9e4111a51a6206d875148d3e98df47a7d1869fa1515f - languageName: node - linkType: hard - -"xtend@npm:~2.1.1": - version: 2.1.2 - resolution: "xtend@npm:2.1.2" - dependencies: - object-keys: ~0.4.0 - checksum: a8b79f31502c163205984eaa2b196051cd2fab0882b49758e30f2f9018255bc6c462e32a090bf3385d1bda04755ad8cc0052a09e049b0038f49eb9b950d9c447 - languageName: node - linkType: hard - "xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" @@ -8703,13 +7507,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"yallist@npm:^2.1.2": - version: 2.1.2 - resolution: "yallist@npm:2.1.2" - checksum: 9ba99409209f485b6fcb970330908a6d41fa1c933f75e08250316cce19383179a6b70a7e0721b89672ebb6199cc377bf3e432f55100da6a7d6e11902b0a642cb - languageName: node - linkType: hard - "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0"