New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

informed

Package Overview
Dependencies
Maintainers
2
Versions
404
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

informed - npm Package Versions

1
41

2.0.4

Diff

Changelog

Source

2.0.4 (Feb 13, 2019)

Added

  • validateFields function to the form!!!
joepuzzo
published 2.0.3 •

Changelog

Source

2.0.3 (Feb 13, 2019)

Fixed

  • Issue where reset would not work for scoped fields

Added

  • Set Values to the form api!!!
joepuzzo
published 2.0.2 •

Changelog

Source

2.0.2 (Feb 13, 2019)

Fixed

  • Issue where ArrayField was prefixing all fields with 'field'
  • Issue where when input fields changed input did not rerender.
joepuzzo
published 2.0.1 •

Changelog

Source

2.0.1 (Feb 10, 2019)

Fixed

  • Issue where render and component props were getting passed to the dom form
joepuzzo
published 2.0.0 •

Changelog

Source

2.0.0 (Feb 7, 2019)

Added

  • useFieldApi
  • useFieldState
  • useFormApi
  • useFormState
  • useField
  • format
  • parse
  • maintianCursor ( fixes issue where cursor jumps to end on mask )
  • ArrayField ( Check out the docs! this is sick! )
  • Form Level validation ( function that can invalidate the form as a whole )
  • debug prop that allows you to visually view the rendering!

Changed

  • the field "siblings.1" now resolves to values.siblings[1], it used to resolve to values.siblings.1
  • the field "siblings['2']" now resolves to values.siblings[2], it used to resolve to values.siblings.2
  • withFormApi will no longer trigger a rerender if the fomrs state changes. This is a great optimization for those who want to modify but dont care about the form state!
  • the validate prop now expects the validation function to return undefined if there is no error. Any other returned value (including falsey null, 0, etc will be treated as an error for the field.

Removed

  • The Field Component
  • fieldExists not needed
  • setState will maybe add later but its complex and out of scope ATM
  • setValues will maybe add later but its complex and out of scope ATM ( as of V 2.0.3 its back! )
  • preSubmit was never needed.. developers can do this themselves
  • Async Validation. Async validation led to many issues that overcomplicated informed. We determined this is something that the developer could achive on there own for now but we may look into adding this in the future.
joepuzzo
published 1.10.12 •

Changelog

Source

1.10.12 ( December 4, 2018 )

Updated

  • typescript definition file
joepuzzo
published 1.10.11 •

Changelog

Source

1.10.11 & 1.10.10 I ran version patch twice lol ( December 4, 2018 )

Updated

  • Select forward ref
joepuzzo
published 1.10.9 •

Changelog

Source

1.10.9 ( November 16, 2018 )

Updated

  • files in package json to include typeigs
joepuzzo
published 1.10.8 •

Changelog

Source

1.10.8 ( November 8, 2018 )

Added

  • type file for typescript
joepuzzo
published 1.10.7 •

Changelog

Source

1.10.7 ( October 11, 2018 )

Updated

  • Name of withFormSate
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