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

informed

Package Overview
Dependencies
Maintainers
1
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

informed - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

28

CHANGELOG.md

@@ -0,1 +1,6 @@

## 1.1.2 ( June 25, 2018 )
### Moved
- React and React-Dom to dev dependencies
## 1.1.1 ( June 18, 2018 )

@@ -14,4 +19,8 @@

- Text
- TextArea
- Radio Group
- Radio
- Select
- Select as Multiselect !!!
- Checkbox
- withRadioGroup

@@ -24,3 +33,5 @@ - withFieldApi

- Form
- Field
### Changed

@@ -33,7 +44,8 @@ **

- `formApi` was split into two parts `formApi` ( contains just functions ) `formState` ( contains just form state )
- Form level validation will only occur if all field level validation passes. It used to always execute both.
- Form level validation is gone. You do all validation via field validation.
- `defaultValues` Form prop is now called `initialValues`
- `onChange` Form prop only recieves the `formState`
- `preventDefault` Form prop is now `dontPreventDefault`
- `getApi` Form prop just returns the formApi, not the state and the api
- `onChange` Form prop only recieves the `formState`. It used to retrieve the form Api as well.
- `preventDefault` Form prop is now `dontPreventDefault`
- `getApi` Form prop just returns the formApi, not the state and the api.
- `Form` component now renders the `form` element internally. So you dont have to "hook it up" anymore!!

@@ -48,4 +60,8 @@

- `NestedField` you can use `Scope` instead but all it does is scope internal fields to `scope="your-scope"`
- validateOnSubmit was removed. Now the form always validates on submit by default and you can opt into sooner validation at field level
- validateOnSubmit was removed. Now the form always validates on submit by default and you can opt into sooner validation at field level.
- `defaultValues` form prop is now called `initialValues`
- `pure` Form prop. Its not needed anymore due to the use of `React.PureComponent` internally
- `pure` Form prop. Its not needed anymore due to the use of `React.PureComponent` internally.
- add, remove, and swap values. The developer can achive this on there own without the use of internal functionality.
- Array Syntax. In order to keep things simple we now only support the string syntax for field names.
- Async Validation. Async validation led to many issues that overcomplicated `react-form`. 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.
- Warning and Success have been removed for now to keep lib lean but we may add additional functions in the future.
{
"name": "informed",
"version": "1.1.2",
"version": "1.1.3",
"description": "A lightweight framework and utility for building powerful forms in React applications",

@@ -69,2 +69,4 @@ "main": "dist/index.js",

"patch-package": "^5.1.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-prism": "^4.3.2",

@@ -80,6 +82,3 @@ "sass-loader": "^7.0.1",

},
"dependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
"dependencies": {},
"babel": {

@@ -86,0 +85,0 @@ "presets": [

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