Socket
Socket
Sign inDemoInstall

class-validator-jsonschema

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-validator-jsonschema - npm Package Versions

13

2.1.0

Diff

epiphone
published 2.0.3 •

Changelog

Source

[2.0.3] - 2020-08-01

Fixed

  • Handle undefined typeMeta.reflectedType in Map type resolution #45
epiphone
published 2.0.2 •

Changelog

Source

[2.0.2] - 2020-06-03

Fixed

  • Handling for Map fields #35
epiphone
published 2.0.1 •

Changelog

Source

[2.0.1] - 2020-05-06

Fixed

  • Fix metadata object mutation breaking validation in routing-controllers #36
epiphone
published 2.0.0 •

Changelog

Source

[2.0.0] - 2020-05-04

Changed

  • Same as v2.0.0-rc1
epiphone
published 2.0.0-rc1 •

Changelog

Source

[2.0.0-rc1] - 2020-05-01

Changed

  • Bump class-validator peer dependency to ^0.12.0 - meaning we're no longer compatible with pre-0.12 versions of class-validator!

  • validationMetadatasToSchemas no longer takes a validationMetadatas object as first argument. Instead the library now automatically grabs validationMetadatas from getMetadataStorage() under the hood.

    This simplifies library usage from

    const metadatas = (getFromContainer(MetadataStorage) as any).validationMetadatas
    const schemas = validationMetadatasToSchemas(metadatas)
    

    into plain

    const schemas = validationMetadatasToSchemas()
    

    You can still choose to override the default metadata storage using the optional options argument:

    const schemas = validationMetadatasToSchemas({
        classValidatorMetadataStorage: myCustomMetadataStorage
    })
    
epiphone
published 1.3.1 •

Changelog

Source

[1.3.1] - 2019-12-05

Fixed

  • The default enum converter uses Object.values instead of Object.key to support named values such as enum SomeEnum { Key = 'value' } (thanks @DimalT at #23)
epiphone
published 1.3.0 •

Changelog

Source

[1.3.0] - 2019-06-24

Fixed

  • Moved class-transformer and class-validator to peer dependencies #11
  • Updated dependencies
epiphone
published 1.2.1 •

Changelog

Source

[1.2.1] - 2019-06-03

Fixed

  • Update dependencies to fix mismatch with class-validator and class-tranformer #11
epiphone
published 1.2.0 •

Changelog

Source

[1.2.0] - 2018-09-25

Added

  • Support class-transfomer's @Type decorator for explicitly defining type of nested properties wrapped in a generic (e.g. @ValidateNested({ each: true }) users: UserClass[]) #7
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