Socket
Socket
Sign inDemoInstall

class-transformer

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-transformer - npm Package Versions

124

0.1.0

Diff

Changelog

Source

0.1.0

Added
  • renamed library from constructor-utils to class-transformer
  • completely renamed most of names
  • renamed all main methods: plainToConstructor now is plainToClass and constructorToPlain is classToPlain, etc.
  • plainToConstructorArray method removed - now plainToClass handles it
  • @Skip() decorator renamed to @Exclude()
  • added @Expose decorator
  • added lot of new options: groups, versioning, custom names, etc.
  • methods and getters that should be exposed must be decorated with @Expose decorator
  • added excludedPrefix to class transform options that allows exclude properties that start with one of the given prefix
pleerock
published 0.1.0-beta.10 •

pleerock
published 0.1.0-beta.9 •

pleerock
published 0.1.0-beta.8 •

pleerock
published 0.1.0-beta.7 •

pleerock
published 0.1.0-beta.6 •

pleerock
published 0.1.0-beta.5 •

pleerock
published 0.1.0-beta.4 •

pleerock
published 0.1.0-beta.3 •

pleerock
published 0.1.0-beta.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc