Socket
Socket
Sign inDemoInstall

json-schema-to-typescript

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-to-typescript - npm Package Versions

1
12

10.0.2

Diff

bcherny
published 10.0.1 •

bcherny
published 10.0.0 •

Changelog

Source

10.0.0

Lots of bugfixes, some of which may be breaking changes.

  • 4aabd23 Bugfix: Correctly generate intersection types when a schema combines multiple JSON Schema directives (eg. properties and allOf) (#157, #243, #256, #314)
  • 3a45990 Bugfix: Referenced schemas are now correctly normalized, improving emitted type declarations for some kinds of referenced schemas with properies using minItems or maxItems
  • 800c076 1ec105d Bugfix: Fix bugs where complex unions were partially emitted in some cases (#277, #320, #326, #327)
  • 828cc05 Bugfix: Fixed an issue where enum names were sometimes incorrectly generated (#339)
  • e038017 Bugfix: Fixed an issue where union member names and comments were incorrect or omitted in some cases (#329)
  • 2b406f9 Bugfix: Fixed an issue where base types were not deduped before emission when using extends (#322)
  • 47036f5 ba4aa65 Perf: Significant performance improvements
bcherny
published 9.1.1 •

bcherny
published 9.1.0 •

Changelog

Source

9.1.0

  • d88a514 Bugfix: Improve deduping logic for anyOf (#273)
  • 8f3f101 Bugfix: Multiple fixes for CLI
  • d0ad44b Perf: Improve normalizer performance (#286)
bcherny
published 9.0.1 •

bcherny
published 9.0.0 •

Changelog

Source

9.0.0

This release brings improved typesafety, thorough testing of all supported NodeJS version and operating systems on CI, and bugfixes.

  • 105d239 Feat: Emit unknown instead of any by default
  • 8f0b1bc Feat: Add unknownAny CLI option (#281)
  • 375dfd2 Bugfix: Fix generated type names to increment counters, instead of appending when we're unable to infer a type's name
  • 7f52f98 Drop support for NodeJS <10
bcherny
published 8.2.0 •

Changelog

Source

8.2.0

  • a0257d8 Feat: Add support for directories and globs as inputs (#238)
bcherny
published 8.1.0 •

Changelog

Source

8.1.0

  • 1d24618 Feat: Add ignoreMinAndMaxItems CLI option, defaulting to false (#274)
bcherny
published 8.0.1 •

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