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

fix(deps): update dependency class-transformer to v0.5.1 #45

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 14, 2021

WhiteSource Renovate

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

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: "every weekend" (UTC).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever PR becomes conflicted, 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 342e764 to d4832df Compare February 14, 2021 16:11
@renovate renovate bot changed the title fix(deps): update dependency class-transformer to v0.3.2 fix(deps): update dependency class-transformer to v0.4.0 Feb 14, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 25 times, most recently from 1056ce1 to 92c9994 Compare July 24, 2021 12:55
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from c2e7670 to be945e2 Compare August 7, 2021 01:36
@renovate renovate bot changed the title fix(deps): update dependency class-transformer to v0.4.0 fix(deps): update dependency class-transformer to v0.5.0 Nov 20, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 4502cc8 to 3f4f121 Compare November 22, 2021 19:44
@renovate renovate bot changed the title fix(deps): update dependency class-transformer to v0.5.0 fix(deps): update dependency class-transformer to v0.5.1 Nov 22, 2021
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 4 times, most recently from 910d1af to a620ac7 Compare November 27, 2021 11:31
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 5 times, most recently from 56541b6 to c53396b Compare December 11, 2021 02:14
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 4 times, most recently from eb7756a to 4161117 Compare December 18, 2021 03:28
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 5 times, most recently from 84acc5c to 9f747e7 Compare December 25, 2021 03:44
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 4 times, most recently from 225e339 to cb5f855 Compare January 1, 2022 17:13
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch 3 times, most recently from 0e1bf18 to 083c9d7 Compare January 8, 2022 05:33
@renovate renovate bot force-pushed the renovate/class-transformer-0.x branch from 083c9d7 to 3c30525 Compare January 8, 2022 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant