Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json2typescript

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json2typescript - npm Package Versions

23

1.5.1

Diff

andreas-aeschlimann
published 1.5.0 •

Changelog

Source

v1.5.0 (2022-05-02)

Bug Fixes

  • Fix handling of array property type mapping, fixed with PR #142

Features

  • Improve method types, closes #137
  • Change property decorator flags, closes #138
  • Add esm module format in order to fix CommonJS issue with Angular 10, closes #147
  • Improved docs about property initialization, closes #149
  • Implement discriminator feature, closes #165
  • Improve discriminator feature and add lazy-loading to prevent circular dependencies, closes #181

Breaking Changes

  • There are no breaking changes to be expected. The usage of the third parameter of the @JsonProperty decorator has slightly changed but is downward compatible. Collisions with class identifiers in the @JsonObject decorators now throw an error.
andreas-aeschlimann
published 1.5.0-rc.0 •

andreas-aeschlimann
published 1.4.1 •

Changelog

Source

v1.4.1 (2020-04-14)

Bug Fixes

  • Fixed compile due to bad package.json when using older TypeScript versions, closes #132
andreas-aeschlimann
published 1.4.0 •

Changelog

Source

v1.4.0 (2020-04-14)

Bug Fixes

  • Fixed compile issues when using older TypeScript versions, closes #131

Breaking Changes

  • The older versions did not enforce developers the use of the @JsonObject(classIdentifier) decorator. If you do not use the class decorator or have no parameter given, please update according to the docs. This is now mandatory, closes #129 and #130
andreas-aeschlimann
published 1.3.0 •

Changelog

Source

v1.3.0 (2020-04-13)

Bug Fixes

  • Fixed content of package-lock.json, closes #125

Features

  • Implemented ignoreRequiredCheck flag and allow serialization without having instances, closes #126

Breaking Changes

  • In previous version, the serialization of plain objects failed, because instances of classes were required. As of now, the serialization of plain object may succeed if the structure matches the class structure. Thus, this is considered a soft breaking change.
andreas-aeschlimann
published 1.2.5 •

Changelog

Source

v1.2.5 (2020-03-01)

Bug Fixes

  • Added missing Changelog for current version, closes #124
andreas-aeschlimann
published 1.2.4 •

Changelog

Source

v1.2.4 (2020-03-01)

Features

  • Added automation tests on the repository with Travis CI

Bug Fixes

  • Fixed bug in property mapping of complex class inheritances, closes #121
andreas-aeschlimann
published 1.2.3 •

Changelog

Source

v1.2.3 (2019-05-11)

Bug Fixes

  • Wrong output files were included in v1.2.x builds, closes #98
andreas-aeschlimann
published 1.2.2 •

Changelog

Source

v1.2.2 (2019-05-04)

Bug Fixes

  • Corrected ReadMe information, closes #97
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