Skip to content
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

build(deps): update dependency class-transformer to v0.5.1 #1127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
class-transformer 0.3.1 -> 0.5.1 age adoption passing confidence

Release Notes

typestack/class-transformer (class-transformer)

v0.5.1

Compare Source

Changed
  • re-added accidentally removed deprecated function names classToPlain and plainToClass

v0.5.0

Compare Source

NOTE: This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.

Breaking Changes

See the breaking changes from 0.4.1 release. It was accidentally released as patch version.

v0.4.1

Compare Source

NOTE: This version fixes a security vulnerability allowing denial of service attacks with a specially crafted request payload. Please update as soon as possible.

Breaking Changes

Exported functions has been renamed
Some of the exported functions has been renamed to better reflect what they are doing.

  • classToPlain -> instanceToPlain
  • plainToClass -> plainToInstance
  • classToClass -> instanceToInstance
Fixed
  • prevent unhandled error in plaintToclass when union-type member is undefined
  • fixed a scenario when a specially crafted JS object would be parsed to Array
Changed
  • various dev-dependencies updated

v0.4.0

Compare Source

Breaking Changes

See the breaking changes from 0.3.2 release. It was accidentally released as patch version.

Added
  • add option to ignore unset properties
  • group information is exposed in the @Transform handler
  • transformation options are exposed in the @Transform handler
Fixed
  • fixed TypeError when discriminator.subTypes is not defined
Changed
  • various dev-dependencies has been updated

v0.3.2

Compare Source

Breaking Changes

Signature change for @Transform decorator
From this version the @Transform decorator receives the transformation parameters in a a wrapper object. You need to
destructure the values you are interested in.

Old way:

@​Transform((value, obj, type) => /* Do some stuff with value here. */)

New way with wrapper object:

@​Transform(({ value, key, obj, type }) => /* Do some stuff with value here. */)
Added
  • exposeDefaultValues option has been added, when enabled properties will use their default values when no value is present for the property
  • the name of the currently transformed parameter is exposed in the @Transform decorator
Fixed
  • fixed an issue with transforming Map (#​319)
  • fixed an issue with sourcemap generation (#​472)
Changed
  • various internal refactors
  • various changes to the project tooling
  • various dev-dependencies has been updated

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 21, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 5ae24b9 to d2e1402 Compare November 22, 2021 20:11
@renovate renovate bot changed the title build(deps): update dependency class-transformer to v0.5.0 build(deps): update dependency class-transformer to v0.5.1 Nov 22, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from d2e1402 to 5d0394e Compare November 25, 2021 20:49
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 5d0394e to d7229da Compare January 3, 2022 07:05
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from f3c46b0 to 2933232 Compare January 29, 2022 02:36
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 52f5ca5 to 3dd4c68 Compare February 9, 2022 03:23
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 7c5286d to 19dbec2 Compare February 17, 2022 02:25
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 2b0241c to 609d656 Compare March 1, 2022 03:36
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 609d656 to 4ca1ebf Compare March 9, 2022 03:08
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 94dd9b1 to edae3f1 Compare April 6, 2022 02:42
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from edae3f1 to 6f7030c Compare April 9, 2022 04:26
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 6f7030c to 45a3abd Compare April 27, 2022 04:22
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 9 times, most recently from e6962d8 to 346353a Compare June 2, 2022 06:34
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 0c0056e to e2e8bdc Compare November 7, 2023 22:39
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from fbaf4d6 to 9852a93 Compare November 18, 2023 14:07
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 9852a93 to b7b7935 Compare November 23, 2023 13:05
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from a371ad5 to f80920e Compare December 8, 2023 15:55
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 4 times, most recently from d9a2ec4 to 1a29ffc Compare December 16, 2023 05:00
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 98b5be3 to 0d6d486 Compare January 9, 2024 11:46
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 0d6d486 to 434a6aa Compare January 12, 2024 15:52
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 434a6aa to 3082526 Compare January 26, 2024 18:24
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 3082526 to 39cf521 Compare February 24, 2024 01:44
@renovate renovate bot enabled auto-merge (squash) March 20, 2024 13:52
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 71208af to e13bf0e Compare April 3, 2024 01:19
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from e13bf0e to d17d24a Compare April 24, 2024 01:28
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 93d0ad8 to 9157469 Compare June 4, 2024 19:32
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 9157469 to 879616f Compare September 3, 2024 09:54
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 2 times, most recently from 3d11173 to 3626fff Compare September 18, 2024 17:43
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 3626fff to 78ba2e8 Compare October 3, 2024 12:43
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 78ba2e8 to cb9786e Compare October 25, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants