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

1
1011

0.3.0

Diff

Changelog

Source

0.3.0

This is a breaking change only if you are using fp-ts APIs

  • Breaking Change
    • upgrade to latest fp-ts v0.2 (@gcanti)
gcanti
published 0.2.3 •

Changelog

Source

0.2.3

  • Internal
    • upgrade to fp-ts v0.1 (@gcanti)
gcanti
published 0.2.2 •

Changelog

Source

0.2.2

  • New Feature
    • add partial combinator (makes optional props possible)
    • add readonly combinator (values are not frozen in production)
    • add readonlyArray combinator (values are not frozen in production)
    • add never type
  • Breaking Changes
    • remove maybe combinator, can be defined in userland as
      export function maybe<RT extends t.Any>(
        type: RT,
        name?: string
      ): t.UnionType<[RT, typeof t.null], t.TypeOf<RT> | null> {
        return t.union([type, t.null], name)
      }
      
  • Polish
    • export pathReporterFailure function from default reporters
  • Bug Fix
    • revert pruning excess properties (see https://github.com/gcanti/io-ts/pull/27 for context)
    • revert intersection combinator accepting only InterfaceTypes
  • Experimental
    • Pattern matching / catamorphism for unions
gcanti
published 0.2.1 •

gcanti
published 0.2.0 •

gcanti
published 0.1.1 •

gcanti
published 0.1.0 •

Changelog

Source

0.1.0

  • New Feature

    • add support for jsnext
    • add Integer type
  • Breaking Changes

    • t.Object type. Renamed to t.Dictionary, now accepts arrays so is fully equivalent to { [key: string]: any }.
    • t.instanceOf combinator. Removed.
    • t.object combinator. Renamed to t.interface. ObjectType to InterfaceType. Excess properties are now pruned.
    • mapping combinator. Renamed to dictionary. MappingType to DictionaryType.
    • intersection combinator. Due to the new excess property pruning in t.interface now only accept InterfaceTypes.
    • API isSuccess removed, use either.isRight instead
    • API isFailure removed, use either.isLeft instead
    • API fromValidation removed
gcanti
published 0.0.3 •

gcanti
published 0.0.2 •

Changelog

Source

0.0.2

  • Bug Fix
    • reverse overloading definitions for unions, intersections and tuples, fix inference bug
gcanti
published 0.0.1 •

Changelog

Source

0.0.1

Initial release

1
1011
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