Skip to content

Releases: flexdinesh/typy

2.0.1

07 Mar 08:46
Compare
Choose a tag to compare
  • Fix: Nested arrays with length > 10 will work like a charm now

2.0.0

04 Mar 12:26
Compare
Choose a tag to compare
  • Package minified with >60% compression
  • New getters added
    • safeNumber returns the value if input is Number or returns 0
    • safeBoolean returns the value if input is Boolean or returns false
    • safeFunction returns the function if input is function or returns an empty function () => {}

1.4.3

12 Feb 02:20
Compare
Choose a tag to compare
  • Added support for use in TypeScript codebases

1.4.1

10 Feb 08:34
Compare
Choose a tag to compare

Typy can now handle array elements in object path

v1.4.0

05 Feb 19:24
Compare
Choose a tag to compare

Two new getters are available in Typy

  • safeObject returns the value from a nested object path without throwing
  • safeString returns the value if input is string or returns empty string

v1.3.0

05 Feb 18:01
Compare
Choose a tag to compare

Optimized the code to use getters and setters. Typy will now check only for the requested type.

v1.2.0

05 Feb 02:26
Compare
Choose a tag to compare
Bump up version for new instance fix