Socket
Socket
Sign inDemoInstall

tcomb

Package Overview
Dependencies
0
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
8Next

3.2.9

Diff

Changelog

Source

v3.2.9

  • New Feature
    • fromJSON: track error path, fix #235 (@gcanti)
  • Internal
    • change shallow copy in order to improve perfs (@gcanti)
gcanti
published 3.2.8 •

Changelog

Source

v3.2.8

  • Bug Fix
    • mixing types and classes in a union throws, fix #232 (@gcanti)
gcanti
published 3.2.7 •

Changelog

Source

v3.2.7

  • Bug Fix
    • add support for class constructors, fromJSON module (@gcanti)
    • type-check the value returned by a custom reviver, fromJSON module (@gcanti)
gcanti
published 3.2.6 •

Changelog

Source

v3.2.6

  • Bug Fix
    • null Maybes should stringify to null, fix #227 (@gcanti)
gcanti
published 3.2.5 •

Changelog

Source

v3.2.5

  • Polish
    • prevent bugs when enums are defined through t.declare (@gcanti)
gcanti
published 3.2.4 •

Changelog

Source

v3.2.4

  • Polish
    • decouple usage of new operator in create() function, fix #223 (@gcanti)
gcanti
published 3.2.3 •

Changelog

Source

v3.2.3

  • Polish
    • add isNil check in interface constructor
  • Experimental
    • add support for babel-plugin-tcomb, fix #218 (@gcanti)
gcanti
published 3.2.2 •

Changelog

Source

v3.2.2

  • Bug Fix
    • relax isObject contraint in interface combinator, fix #214
gcanti
published 3.2.1 •

Changelog

Source

v3.2.1

  • Bug Fix
    • fix missing path argument in FuncType
  • Polish
    • better stringify serialization for functions
gcanti
published 3.2.0 •

Changelog

Source

v3.2.0

  • New Feature
    • isSubsetOf module, function for determining whether one type is compatible with another type (@R3D4C73D)
    • default props for structs (thanks @timoxley)
  • Documentation
    • global strict settings are deprecated (see https://github.com/gcanti/tcomb/issues/168#issuecomment-222422999)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc