-
Notifications
You must be signed in to change notification settings - Fork 1
Minor version update | 2.2.0 --> 2.2.1 #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.5.3...6.5.4) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.2 to 5.0.1. - [Release notes](https://github.com/chalk/chalk/releases) - [Commits](chalk/chalk@v4.1.2...v5.0.1) --- updated-dependencies: - dependency-name: chalk dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.2 to 5.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chalk/chalk/releases">chalk's releases</a>.</em></p> <blockquote> <h2>v5.0.1</h2> <ul> <li>Add <code>main</code> field to package.json for backwards compatibility with some developer tools 85f7e96</li> </ul> <p><a href="https://github.com/chalk/chalk/compare/v5.0.0...v5.0.1">https://github.com/chalk/chalk/compare/v5.0.0...v5.0.1</a></p> <h2>v5.0.0</h2> <h3>Breaking</h3> <ul> <li><strong>This package is now pure ESM. Please <a href="https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c">read this</a>.</strong> <ul> <li>If you use TypeScript, you need to use TypeScript 4.7 or later. <a href="https://github-redirect.dependabot.com/microsoft/TypeScript/issues/46452">Why.</a></li> <li>If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.</li> <li>The Chalk issue tracker is not a support channel for your favorite build/bundler tool.</li> <li>It's totally fine to stay on Chalk v4. It's been stable for years.</li> </ul> </li> <li>Require Node.js 12.20 fa16f4e</li> <li>Move some properties off the default export to individual named exports: <ul> <li><code>chalk.Instance</code> → <code>Chalk</code></li> <li><code>chalk.supportsColor</code> → <code>supportsColor</code></li> <li><code>chalk.stderr</code> → <code>chalkStderr</code></li> <li><code>chalk.stderr.supportsColor</code> → <code>supportsColorStderr</code></li> </ul> </li> <li>Remove <code>.keyword()</code>, <code>.hsl()</code>, <code>.hsv()</code>, <code>.hwb()</code>, and <code>.ansi()</code> coloring methods (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/433">#433</a>) 4cf2e40 <ul> <li>These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the <a href="https://github.com/Qix-/color-convert"><code>color-convert</code> package</a>.</li> </ul> </li> <li>The tagged template literal support moved into a separate package: <a href="https://github.com/chalk/chalk-template"><code>chalk-template</code></a> (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/524">#524</a>) c987c61</li> </ul> <pre lang="diff"><code>-import chalk from 'chalk'; +import chalkTemplate from 'chalk-template'; <p>-chalk<code>2 + 3 = {bold ${2 + 3}}</code>; +chalkTemplate<code>2 + 3 = {bold ${2 + 3}}</code>; </code></pre></p> <h3>Improvements</h3> <ul> <li>Bundle dependencies 04fdbd6 <ul> <li>This means Chalk no longer has any dependencies 🎉</li> </ul> </li> <li><a href="https://packagephobia.com/result?p=chalk">The install size is less than half of v4.</a></li> <li>Add <code>overline</code> style (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/433">#433</a>) 4cf2e40</li> <li>Preserve function prototype methods (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/434">#434</a>) 0fba91b</li> </ul> <p><a href="https://github.com/chalk/chalk/compare/v4.1.0...v5.0.0">https://github.com/chalk/chalk/compare/v4.1.0...v5.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/chalk/chalk/commit/bccde97f8a1bb125d4fe99e8fd355182101ff4f2"><code>bccde97</code></a> 5.0.1</li> <li><a href="https://github.com/chalk/chalk/commit/85f7e96f758e95dee5211b9bca1a173b8fb3abe9"><code>85f7e96</code></a> Add <code>main</code> field to package.json for backwards compatibiltiy</li> <li><a href="https://github.com/chalk/chalk/commit/4d5c4795ad24c326ae16bfe0c39c826c732716a9"><code>4d5c479</code></a> 5.0.0</li> <li><a href="https://github.com/chalk/chalk/commit/7a6893551d93ebe0bd031141b3e2b91d7e0676aa"><code>7a68935</code></a> Fix code coverage</li> <li><a href="https://github.com/chalk/chalk/commit/04fdbd6d8d262ed8668cf3f2e94f647d2bc028d8"><code>04fdbd6</code></a> Bundle dependencies</li> <li><a href="https://github.com/chalk/chalk/commit/d7c4aac07e422c8ae534897b3f1707aa71a51c73"><code>d7c4aac</code></a> Upgrade dependencies</li> <li><a href="https://github.com/chalk/chalk/commit/09fd5c4ba812cc2e3a0df183caf3e53cc556e440"><code>09fd5c4</code></a> Re-export types from <code>supports-color</code> (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/526">#526</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/c987c614869ba286f0eb11c1966ee1d135c80599"><code>c987c61</code></a> Remove support for tagged template literals (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/524">#524</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/f478655c3c04c844f70a596d9ec750c3da00f795"><code>f478655</code></a> Update dependents number in readme (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/521">#521</a>)</li> <li><a href="https://github.com/chalk/chalk/commit/3761e455a17ebb1c01b2736fbe8bd42534383ab2"><code>3761e45</code></a> Meta tweak (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/520">#520</a>)</li> <li>Additional commits viewable in <a href="https://github.com/chalk/chalk/compare/v4.1.2...v5.0.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.5.3 to 6.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/releases">mongoose's releases</a>.</em></p> <blockquote> <h1>6.5.4 / 2022-08-30</h1> <ul> <li>fix(document): allow calling $assertPopulated() with values to better support manual population <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12233">#12233</a></li> <li>fix(connection+mongoose): better handling for calling model() with 1 argument <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12359">#12359</a></li> <li>fix(model): allow defining discriminator virtuals and methods using schema options <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12326">#12326</a></li> <li>fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12330">#12330</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12329">#12329</a> <a href="https://github.com/Jule-">Jule-</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): fix replaceOne return type <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12351">#12351</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): use this for return type from $assertPopulated() <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12234">#12234</a></li> <li>docs: highlight how to connect using auth in README <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12354">#12354</a> <a href="https://github.com/AntonyOnScript">AntonyOnScript</a></li> <li>docs: improve jsdoc comments for private methods <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12337">#12337</a> <a href="https://github.com/hasezoey">hasezoey</a></li> <li>docs: fix minor typo in compatibility table header <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12355">#12355</a> <a href="https://github.com/skyme5">skyme5</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md">mongoose's changelog</a>.</em></p> <blockquote> <h1>6.5.4 / 2022-08-30</h1> <ul> <li>fix(document): allow calling $assertPopulated() with values to better support manual population <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12233">#12233</a></li> <li>fix(connection+mongoose): better handling for calling model() with 1 argument <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12359">#12359</a></li> <li>fix(model): allow defining discriminator virtuals and methods using schema options <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12326">#12326</a></li> <li>fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12330">#12330</a> <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12329">#12329</a> <a href="https://github.com/Jule-">Jule-</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): fix replaceOne return type <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12351">#12351</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): use this for return type from $assertPopulated() <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12234">#12234</a></li> <li>docs: highlight how to connect using auth in README <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12354">#12354</a> <a href="https://github.com/AntonyOnScript">AntonyOnScript</a></li> <li>docs: improve jsdoc comments for private methods <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12337">#12337</a> <a href="https://github.com/hasezoey">hasezoey</a></li> <li>docs: fix minor typo in compatibility table header <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12355">#12355</a> <a href="https://github.com/skyme5">skyme5</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/803a786b8b79fa7624d57ee8d3f632f0b9bb7821"><code>803a786</code></a> chore: release 6.5.4</li> <li><a href="https://github.com/Automattic/mongoose/commit/b60d0e62e2c5a6b9dc4584247b86fe4947cff7ab"><code>b60d0e6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12341">#12341</a> from Automattic/vkarpov15/<a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12233">gh-12233</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/20584b2fe9bbb7af1a94c20bf5a2efed0ae138f4"><code>20584b2</code></a> fix(mongoose): fix build from <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12359">#12359</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/3bef3cf33e7a29028b73680ca053111c89bff13b"><code>3bef3cf</code></a> fix(connection+mongoose): better handling for calling <code>model()</code> with 1 argument</li> <li><a href="https://github.com/Automattic/mongoose/commit/aba698b724d2e65e00d2dd5062b06ed7ce403543"><code>aba698b</code></a> style: fix lint</li> <li><a href="https://github.com/Automattic/mongoose/commit/f858ca58e0a77d989e65d1a548a6042bf9e81ca1"><code>f858ca5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12359">#12359</a> from chochihim/patch-1</li> <li><a href="https://github.com/Automattic/mongoose/commit/c6d58892806f74f77d56dc211366a33b0731caab"><code>c6d5889</code></a> Update connection.js</li> <li><a href="https://github.com/Automattic/mongoose/commit/53d4f387c78fa01cf59d18e9acfff02a43d65606"><code>53d4f38</code></a> Update lib/connection.js</li> <li><a href="https://github.com/Automattic/mongoose/commit/1563a1bf38c014838a4aff38ab4ebbc26634a92e"><code>1563a1b</code></a> docs(document): improve <code>$assertPopulated()</code> docs</li> <li><a href="https://github.com/Automattic/mongoose/commit/67bfdddabe8b837f08196659297ca99c1db5325a"><code>67bfddd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Automattic/mongoose/issues/12337">#12337</a> from hasezoey/changeCommentType</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/6.5.3...6.5.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Update csClassPoll to reflect the update
…dels/john-schiltz
Add null checks to role operations
Force merge cause github is stupid
…into bugfix/use-models/john-schiltz
…gfix/update-workflows
## Add interfaces for models to add strong typing when passing them to functions ## Pass models rather than strings into role functions - Add interfaces for models and a role interface - Rewrite Role commands to be generic across role interfaces - Fixed typing issues in rolesOps once strong typing was implemented for models - Rename schemas to align with mongoose's naming conventions ## Bugfixes - Correctly print the name of role if it is missing from a server - Add missing awaits to async functions - Revert chalk version from 5 to 4 ## Misc - Add check to confirm collections exist on bot boot - Add all env files gitignore to help with multiple servers
JS-0356
JS-0336
Swap to reply to not have to check for null
JS-0356
switch on wrong field forgot `break` didn't capitalize query field
Fixes bug introduced in #22 Where roles were not being retrieved from the db correctly - switch on the wrong field - forgot `break` - didn't capitalize the query field
# Fix all deepsource issues - Replace any with generics - Move non-export functions to before use - Remove unused variables - Add missing `await`s - Correctly type `resolve` in `sleep` - Remove non-null assertion postfixes for strict null checking
schiltz3
approved these changes
Sep 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New in version 2.2.1
Merged Pull Requests
addNewRole
by @schiltz3 in Fix bug inaddNewRole
#29New Contributors
Full Changelog: v2.2.0...v2.2.1