Skip to content

Commit c69bb52

Browse files
chore(deps): update patch/minor dependencies (#1161)
* chore(deps): update patch/minor dependencies * chore: lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Vlad Frangu <[email protected]>
1 parent 92b1ce2 commit c69bb52

File tree

6 files changed

+90
-90
lines changed

6 files changed

+90
-90
lines changed

Diff for: .github/CODE_OF_CONDUCT.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
- Using welcoming and inclusive language
18-
- Being respectful of differing viewpoints and experiences
19-
- Gracefully accepting constructive criticism
20-
- Focusing on what is best for the community
21-
- Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
- The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
- Trolling, insulting/derogatory comments, and personal or political attacks
28-
- Public or private harassment
29-
- Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
- Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

Diff for: .github/COMMIT_CONVENTION.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ The scope could be anything specifying the place of the commit change. For examp
7474

7575
The subject contains a succinct description of the change:
7676

77-
- use the imperative, present tense: "change" not "changed" nor "changes"
78-
- don't capitalize the first letter
79-
- no dot (.) at the end
77+
- use the imperative, present tense: "change" not "changed" nor "changes"
78+
- don't capitalize the first letter
79+
- no dot (.) at the end
8080

8181
### Body
8282

Diff for: .github/CONTRIBUTING.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@
22

33
**The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the [Discord server](https://discord.gg/djs) instead of opening an issue, or on [GitHub Discussions](https://github.com/discordjs/discord-api-types/discussions) – you will get redirected there anyway.**
44

5-
- [Code of Conduct](https://github.com/discordjs/discord-api-types/blob/main/.github/CODE_OF_CONDUCT.md)
6-
- [Pull Request Guidelines](#pull-request-guidelines)
7-
- [Development Setup](#development-setup)
8-
- [Project Structure](#project-structure)
9-
- [Contributing Tests](#contributing-tests)
5+
- [Code of Conduct](https://github.com/discordjs/discord-api-types/blob/main/.github/CODE_OF_CONDUCT.md)
6+
- [Pull Request Guidelines](#pull-request-guidelines)
7+
- [Development Setup](#development-setup)
8+
- [Project Structure](#project-structure)
9+
- [Contributing Tests](#contributing-tests)
1010

1111
## Pull Request Guidelines
1212

13-
- Checkout a topic branch from a base branch, e.g. `main`, and merge back against that branch.
13+
- Checkout a topic branch from a base branch, e.g. `main`, and merge back against that branch.
1414

15-
- If adding a new feature:
15+
- If adding a new feature:
1616

17-
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
17+
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
1818

19-
- If fixing a bug:
19+
- If fixing a bug:
2020

21-
- If you are resolving a special issue, add `fix/close #xxxx[,#xxxx]` (#xxxx is the issue id) in your PR body for a better release log, e.g.
21+
- If you are resolving a special issue, add `fix/close #xxxx[,#xxxx]` (#xxxx is the issue id) in your PR body for a better release log, e.g.
2222

2323
```
2424
fix(Guild): handle events correctly
2525
2626
close #28
2727
```
2828
29-
- Provide a detailed description of the bug in the PR. Live demo preferred.
29+
- Provide a detailed description of the bug in the PR. Live demo preferred.
3030
31-
- It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.
31+
- It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.
3232
33-
- Make sure tests pass!
33+
- Make sure tests pass!
3434
35-
- Commit messages must follow the [commit message convention](./COMMIT_CONVENTION.md) so that changelogs can be automatically generated. Commit messages are automatically validated before commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [husky](https://github.com/typicode/husky)).
35+
- Commit messages must follow the [commit message convention](./COMMIT_CONVENTION.md) so that changelogs can be automatically generated. Commit messages are automatically validated before commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [husky](https://github.com/typicode/husky)).
3636
37-
- No need to worry about code style as long as you have installed the dev dependencies - modified files are automatically formatted with Prettier on commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [husky](https://github.com/typicode/husky)).
37+
- No need to worry about code style as long as you have installed the dev dependencies - modified files are automatically formatted with Prettier on commit (by invoking [Git Hooks](https://git-scm.com/docs/githooks) via [husky](https://github.com/typicode/husky)).
3838
3939
## Development Setup
4040
@@ -48,6 +48,6 @@ $ npm i # install the dependencies of the project
4848

4949
A high level overview of tools used:
5050

51-
- [TypeScript](https://www.typescriptlang.org/) as the development language
52-
- [ESLint](https://eslint.org/) for code-style
53-
- [Prettier](https://prettier.io/) for code formatting
51+
- [TypeScript](https://www.typescriptlang.org/) as the development language
52+
- [ESLint](https://eslint.org/) for code-style
53+
- [Prettier](https://prettier.io/) for code formatting

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,25 @@ import { APIUser } from 'https://cdn.skypack.dev/discord-api-types/v10?dts';
7777

7878
The exports of each API version is split into three main parts:
7979

80-
- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway.
80+
- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway.
8181

82-
- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway.
82+
- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway.
8383

84-
- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API.
84+
- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API.
8585

86-
- For endpoint options, they will follow the following structure: `REST<HTTP Method><Type><Query|(JSON|FormData)Body|Result>` where the type represents what it will return.
86+
- For endpoint options, they will follow the following structure: `REST<HTTP Method><Type><Query|(JSON|FormData)Body|Result>` where the type represents what it will return.
8787

88-
- For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`.
88+
- For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`.
8989

90-
- Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `REST<HTTP Method>OAuth2`
90+
- Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `REST<HTTP Method>OAuth2`
9191

92-
- If a type ends with `Result`, then it represents the expected result by calling its accompanying route.
92+
- If a type ends with `Result`, then it represents the expected result by calling its accompanying route.
9393

94-
- Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors.
94+
- Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors.
9595

96-
- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object).
96+
- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object).
9797

98-
- There may be types exported that are identical for all versions. These will be exported as is and can be found in the `globals` file. They will still be prefixed accordingly as described above.
98+
- There may be types exported that are identical for all versions. These will be exported as is and can be found in the `globals` file. They will still be prefixed accordingly as described above.
9999

100100
**A note about how types are documented**: This package will add types only for known and documented properties that are present in Discord's [API Documentation repository](https://github.com/discord/discord-api-docs),
101101
that are mentioned in an open pull request, or known through other means _and have received the green light to be used_.

Diff for: deno/README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,25 @@ import { APIUser } from 'https://cdn.skypack.dev/discord-api-types/v10?dts';
7777

7878
The exports of each API version is split into three main parts:
7979

80-
- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway.
80+
- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway.
8181

82-
- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway.
82+
- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway.
8383

84-
- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API.
84+
- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API.
8585

86-
- For endpoint options, they will follow the following structure: `REST<HTTP Method><Type><Query|(JSON|FormData)Body|Result>` where the type represents what it will return.
86+
- For endpoint options, they will follow the following structure: `REST<HTTP Method><Type><Query|(JSON|FormData)Body|Result>` where the type represents what it will return.
8787

88-
- For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`.
88+
- For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`.
8989

90-
- Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `REST<HTTP Method>OAuth2`
90+
- Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `REST<HTTP Method>OAuth2`
9191

92-
- If a type ends with `Result`, then it represents the expected result by calling its accompanying route.
92+
- If a type ends with `Result`, then it represents the expected result by calling its accompanying route.
9393

94-
- Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors.
94+
- Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors.
9595

96-
- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object).
96+
- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object).
9797

98-
- There may be types exported that are identical for all versions. These will be exported as is and can be found in the `globals` file. They will still be prefixed accordingly as described above.
98+
- There may be types exported that are identical for all versions. These will be exported as is and can be found in the `globals` file. They will still be prefixed accordingly as described above.
9999

100100
**A note about how types are documented**: This package will add types only for known and documented properties that are present in Discord's [API Documentation repository](https://github.com/discord/discord-api-docs),
101101
that are mentioned in an open pull request, or known through other means _and have received the green light to be used_.

Diff for: package-lock.json

+36-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)