karafra / ai-art

Discord bot generating images from given query
https://karafra.github.io/ai-art/
Apache License 2.0
75 stars 33 forks source link

⬆️ Bump class-validator, @discord-nestjs/common, @nestjs/graphql and @ntegral/nestjs-sentry #46

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps class-validator to 0.14.0 and updates ancestor dependencies class-validator, @discord-nestjs/common, @nestjs/graphql and @ntegral/nestjs-sentry. These dependencies need to be updated together.

Updates class-validator from 0.13.2 to 0.14.0

Changelog

Sourced from class-validator's changelog.

0.14.0 (2022-12-09)

Added

  • add @IsTimeZone decorator to check if given string is valid IANA time zone
  • add @IsISO4217CurrencyCode decorator to check if the string is an ISO 4217 currency code
  • add @IsStrongPassword decorator to check if given password matches specific complexity criteria
  • add @IsBase58 decorator to check if a string is base58 encoded
  • add @IsTaxId decorator to check if a given string is a valid tax ID in a given locale
  • add support for passing function as date generator in @MinDate and @MaxDate decorators
  • add option to print constraint error message instead of constraint type in validation error
  • improve decorator metadata lookup performance
  • return possible values in error message for @IsEnum decorator

Fixed

  • re-added @types/validator as dependency
  • fix error generation when using @NestedValidation
  • pass validation options correctly to validator in @IsDateString decorator
  • support passing Symbol as parameter in error message generation
  • specify supported locales for @IsAlphanumeric decorator
  • correctly assign decorator name in metadata instead of loosing it
  • fix various spelling errors in documentation
  • fix various spelling errors and inconsistencies in JSDoc for decorators

Changed

  • enable forbidUnknownValues option by default
  • remove documentation about deprecated schema based validation and added warning
  • update warning message logged about missing decorator metadata
  • update libphonenumber-js to ^1.10.14 from ^1.9.43
  • update various dev-dependencies

BREAKING CHANGES

forbidUnknownValues option is enabled by default

From this release the forbidUnknownValues is enabled by default. This is the desired behavior for majority of use-cases, but this change may break validation for some. The two scenarios that results in failed validation:

  • when attempting to validate a class instance without metadata for it
  • when using group validation and the specified validation group results in zero validation applied

The old behavior can be restored via specifying forbidUnknownValues: false option when calling the validate functions.

For more details see [PR #1798](typestack/class-validator#1798) and #1422 (comment).

@NestedValidation decorator correctly assigns validation errors

Until now the errors from a nested validation in some cases were incorrectly assigned

... (truncated)

Commits
  • 5f0d424 merge: release 0.14.0 (#1841)
  • e3d0708 build: bump version to 0.14.0
  • ad76890 docs: add changelog for 0.14.0
  • 9a775c5 build(deps-dev): bump @​types/node from 18.11.11 to 18.11.12 (#1840)
  • 53bc9f6 build(deps-dev): bump @​typescript-eslint/eslint-plugin (#1837)
  • d9b4072 build(deps-dev): bump @​typescript-eslint/parser from 5.45.1 to 5.46.0 (#1838)
  • f993e9e build(deps-dev): bump typescript from 4.9.3 to 4.9.4 (#1835)
  • ad1a41d build(deps-dev): bump @​rollup/plugin-commonjs from 23.0.3 to 23.0.4 (#1836)
  • 42b4f7f build(deps-dev): bump prettier from 2.8.0 to 2.8.1 (#1834)
  • 0c986d4 build(deps-dev): bump @​types/node from 18.11.10 to 18.11.11 (#1833)
  • Additional commits viewable in compare view


Updates @discord-nestjs/common from 3.4.2 to 5.2.5

Release notes

Sourced from @​discord-nestjs/common's releases.

@​discord-nestjs/common@​5.2.5

5.2.5 (2023-05-14)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.2.4

5.2.4 (2023-05-03)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.2.3

5.2.3 (2023-03-20)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.2.2

5.2.2 (2023-03-12)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.2.1

5.2.1 (2023-02-28)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.2.0

5.2.0 (2023-02-24)

Features

  • Set attachment object if prop type is Attachment (7c659d8)

@​discord-nestjs/common@​5.1.7

5.1.7 (2023-02-24)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.1.6

5.1.6 (2023-02-22)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.1.5

5.1.5 (2023-02-14)

Note: Version bump only for package @​discord-nestjs/common

@​discord-nestjs/common@​5.1.4

5.1.4 (2023-02-05)

... (truncated)

Commits


Updates @nestjs/graphql from 10.0.21 to 10.2.1

Release notes

Sourced from @​nestjs/graphql's releases.

v10.2.0

Features

Bug fixes

  • apollo, graphql, mercurius
    • #2408 fix(@​nestjs/graphql): set unique ids on resolvers to fix cache errors (@​koyedele)
  • graphql
  • apollo
    • #2605 fix(graphql): prevent potential memory leak for mostly falsy filter function (@​niceandneat)
  • apollo, mercurius

Enhancements

Dependencies

Committers: 6

v10.1.7

Bug fixes

  • apollo, graphql

Dependencies

... (truncated)

Commits
  • df98fb8 v10.2.1
  • 2c50d95 v10.2.0
  • 50dde67 Merge pull request #2546 from tugascript/tugascript/add-mercurius-hooks-object
  • cd65d44 Merge pull request #2634 from nestjs/renovate/lint-staged-13.x
  • ea0e7b3 chore(deps): update dependency lint-staged to v13.1.1
  • 4a68551 chore(deps): update apollo graphql packages to v2.3.1
  • 075e1e1 chore(deps): update typescript-eslint monorepo to v5.51.0
  • 670b486 Merge pull request #2630 from nestjs/renovate/graphql-tools-monorepo
  • 24db2bb fix(deps): update graphql-tools monorepo
  • d6ac4b0 Merge branch 'roypeled-master'
  • Additional commits viewable in compare view


Updates @ntegral/nestjs-sentry from 3.0.7 to 4.0.0

Commits


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 commands and options
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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/karafra/ai-art/network/alerts).
dependabot[bot] commented 1 year ago

Looks like these dependencies are no longer a dependency, so this is no longer needed.