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

io-ts

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-ts - npm Package Versions

13
12

2.2.11

Diff

Changelog

Source

2.2.11

  • Experimental
    • Decoder
      • make toForest stack-safe, #520 (@safareli)
gcanti
published 2.2.10 •

Changelog

Source

2.2.10

  • Polish
    • expose modules without lib/es6 prefix, #507 (@osdiab)
gcanti
published 2.2.9 •

Changelog

Source

2.2.9

  • Polish
    • remove Object.freeze calls, closes #497 (@gcanti)
  • Experimental
    • DecodeError
      • add Wrap member (@gcanti)
    • Decoder
      • add withMessage combinator (@gcanti)
    • TaskDecoder
      • add withMessage combinator (@gcanti)
gcanti
published 2.2.8 •

Changelog

Source

2.2.8

  • Experimental
    • (*) remove KleisliDecoder module (@gcanti)
    • (*) remove KleisliTaskDecoder module (@gcanti)
    • (*) remove JsonCodec module (@gcanti)
    • (*) remove JsonEncoder module (@gcanti)
    • Codec
      • (*) make Codec more general by adding a I type parameter (@gcanti)
      • add fromType function (@gcanti)
      • add fromPartial function (@gcanti)
      • add fromArray function (@gcanti)
      • add fromRecord function (@gcanti)
      • add fromTuple function (@gcanti)
      • add fromSum function (@gcanti)
      • add compose function (@gcanti)
    • Decoder
      • (*) make Decoder more general by adding a I type parameter (@gcanti)
      • add fromRefinement function (@gcanti)
      • change fromGuard signature (@gcanti)
      • add fromType function (@gcanti)
      • add fromPartial function (@gcanti)
      • add fromArray function (@gcanti)
      • add fromRecord function (@gcanti)
      • add fromTuple function (@gcanti)
      • add fromSum function (@gcanti)
      • add compose function (@gcanti)
      • add id function (@gcanti)
      • (*) rename functorDecoder instance to Functor (@gcanti)
      • (*) rename altDecoder instance to Alt (@gcanti)
      • (*) rename and split schemableDecoder (@gcanti)
      • add Category instance (@gcanti)
      • add InputOf type (@gcanti)
    • TaskDecoder
      • (*) make TaskDecoder more general by adding a I type parameter (@gcanti)
      • add fromRefinement function (@gcanti)
      • change fromDecoder signature (@gcanti)
      • add fromType function (@gcanti)
      • add fromPartial function (@gcanti)
      • add fromArray function (@gcanti)
      • add fromRecord function (@gcanti)
      • add fromTuple function (@gcanti)
      • add fromSum function (@gcanti)
      • add compose function (@gcanti)
      • add id function (@gcanti)
      • (*) rename functorTaskDecoder instance to Functor (@gcanti)
      • (*) rename altTaskDecoder instance to Alt (@gcanti)
      • (*) rename and split schemableTaskDecoder (@gcanti)
      • add Category instance (@gcanti)
      • add InputOf type (@gcanti)
    • Guard
      • (*) make Guard more general by adding a I type parameter (@gcanti)
      • (*) rename schemableGuard (@gcanti)
      • add InputOf type (@gcanti)
      • add alt function (@gcanti)
      • add zero function (@gcanti)
      • add compose function (@gcanti)
      • add id function (@gcanti)
    • Codec
      • (*) rename invariantCodec to Invariant (@gcanti)
    • Encoder
      • (*) rename contravariantEncoder to Contravariant (@gcanti)
      • (*) rename categoryEncoder to Category (@gcanti)
    • Eq
      • (*) rename and split schemableEq (@gcanti)
    • Kleisli
      • add id (@gcanti)
      • rename type to fromType (@gcanti)
      • rename partial to fromPartial (@gcanti)
      • rename array to fromArray (@gcanti)
      • rename record to fromRecord (@gcanti)
      • rename tuple to fromTuple (@gcanti)
      • rename sum to fromSum (@gcanti)
    • Schemable
      • add Schemable2C, WithUnknownContainers2C, WithUnion2C, WithRefine2C (@gcanti)
    • Type
      • (*) rename and split schemableType (@gcanti)

(*) breaking change

gcanti
published 2.2.7 •

Changelog

Source

2.2.7

  • Experimental
    • add DecodeError module (@gcanti)
    • add FreeSemigroup module (@gcanti)
    • add TaskDecoder module (@gcanti)
    • add Kleisli module (@gcanti)
    • add KleisliDecoder module (@gcanti)
    • add KleisliTaskDecoder module (@gcanti)
    • (*) remove NaN from number instances (@gcanti)
    • (*) remove Tree module (@gcanti)
    • (*) make Json type immutable (@gcanti)
    • Decoder
      • (*) remove never (@gcanti)
      • (*) make parse pipeable and change its parser argument (@gcanti)
      • (*) change DecoderError (@gcanti)
      • (*) remove withExpected in favour of mapLeftWithInput (@gcanti)
    • Guard
      • (*) remove never (@gcanti)
    • Schemable
      • (*) better literal signature (@gcanti)
      • (*) better union signature (@gcanti)
      • (*) make intersections pipeables (@gcanti)
      • (*) make refinements pipeables (@gcanti)

(*) breaking change

gcanti
published 2.2.6 •

Changelog

Source

2.2.6

  • Experimental
    • Decoder
      • add support for non-string tag values to sum, closes #481 (@gcanti)
      • intersection should accumulate all errors (@gcanti)
gcanti
published 2.2.5 •

Changelog

Source

2.2.5

  • Experimental
    • fix type information lost from nested decoder types, #479 (@gcanti)
    • JsonEncoder
      • change id signature (@gcanti)
gcanti
published 2.2.4 •

Changelog

Source

2.2.4

  • Polish
    • remove the dependency on the either instance as a mean of improving tree shaking (@gcanti)
gcanti
published 2.2.3 •

Changelog

Source

2.2.3

  • Polish
    • use the built-in Readonly type in readonly combinator, closes #472 (@gcanti)
  • Experimental
    • split instances (@gcanti)
    • add Type experimental module, #464 (@gcanti)
    • restore the O type parameter to Encoder, #469 (@gcanti)
    • add the O type parameter to Codec (@gcanti)
    • add JsonCodec experimental module (@gcanti)
    • add JsonEncoder experimental module (@gcanti)
    • Schemable
      • rename Schemable interface to Schemable1 (@gcanti)
      • rename WithUnion interface to WithUnion1 (@gcanti)
      • add Schemable interface (@gcanti)
      • add WithUnion interface (@gcanti)
      • add WithRefinement / WithRefinement1 interfaces (@gcanti)
      • add WithUnknownContainers / WithUnknownContainers1 interfaces (@gcanti)
        • move UnknownArray and UnknownRecord to WithUnknownContainers (@gcanti)
    • Schema
      • refactoring with the new Schemable interface (@gcanti)
      • add interpreter function (@gcanti)
  • Internal
    • upgrade to typescript@3.9.3 (@gcanti)
gcanti
published 2.2.2 •

Changelog

Source

2.2.2

  • Experimental
    • add Eq module (@gcanti)
    • Codec
      • add TypeOf operator (@gcanti)
    • Decoder
      • add DecodeError interface (@gcanti)
    • Encoder
      • add TypeOf operator (@gcanti)
    • Guard
      • add TypeOf operator (@gcanti)
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