Skip to content

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

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/class-transformer-0.x
Open

build(deps): update dependency class-transformer to v0.5.1#1127
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/class-transformer-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2021

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
class-transformer 0.3.10.5.1 age 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: (UTC)

  • 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 5 times, most recently from ba77b1a to 2a85ecf Compare June 20, 2022 20:54
@renovate renovate Bot force-pushed the renovate/class-transformer-0.x branch 5 times, most recently from f262c5a to a7ecc97 Compare June 27, 2022 20:31
@renovate renovate Bot force-pushed the renovate/class-transformer-0.x branch 9 times, most recently from b0022ae to 1996d11 Compare July 4, 2022 21:26
@renovate renovate Bot force-pushed the renovate/class-transformer-0.x branch 6 times, most recently from dbbbf00 to f872218 Compare July 17, 2022 00:29
@renovate renovate Bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 8cc6ca4 to f81b585 Compare July 25, 2022 20:17
@renovate renovate Bot force-pushed the renovate/class-transformer-0.x branch from f81b585 to 0d9e3f6 Compare July 28, 2022 05:24
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