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
404
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.8.1 to 1.9.0

63

CHANGELOG.md

@@ -0,4 +1,11 @@

## 1.9.0 ( August 8, 2018 )
### Rebuilt
- Added prettier so all the files have been changed... so i rebuilt to have source maps match code
## 1.8.1 ( August 1, 2018 )
### Rebuilt
- Attempting to simply rebuild lib due to possible build issue

@@ -9,2 +16,3 @@

### Updated
- initialValue to get exposed as prop to custom fields

@@ -15,2 +23,3 @@

### Added
- Source maps

@@ -21,2 +30,3 @@

### Fixed
- Issue where Basic radio group was not getting exported

@@ -27,7 +37,9 @@

### Fixed
- issue where bind to field did not pass down the field prop.
- issue where bind to field did not pass down the field prop.
## 1.7.2 ( July 20, 2018 )
### Fixed
- Issue where element wont get removed from array when deregistering field... this is used when dynamically removing value

@@ -38,2 +50,3 @@

### Added
- Field prop is now exposed to field elements and default inputs pass field as name to html inputs

@@ -44,2 +57,3 @@

### Added
- fieldExists method to the formApi

@@ -50,2 +64,3 @@

### Added
- onValueChange prop to inputs so you can tie into when values change!!

@@ -56,2 +71,3 @@

### Fixed
- Issue where prop changes to fields would not get recognized

@@ -62,2 +78,3 @@

### Fixed
- issue where i forgott to add @babel/runtime as dependency

@@ -68,2 +85,3 @@

### Added
- asyncValidation prop to inputs

@@ -75,2 +93,3 @@ - asyncValidateOnBlur prop to inputs

### Added
- Basic input fields so users can more easily create custom inputs

@@ -81,3 +100,4 @@ - Docs for creating custom inputs

### Fixed
### Fixed
- issue where you could not nest scope

@@ -87,3 +107,4 @@

### Fixed
### Fixed
- issue where you could not pass initialValue=false to checkbox

@@ -93,3 +114,4 @@

### Fixed
### Fixed
- issue where mutable values were getting passed to onSubmit and getState

@@ -99,3 +121,4 @@

### Fixed
### Fixed
- issue where path array was being build every get and set

@@ -105,3 +128,4 @@

### Fixed
### Fixed
- issue where onChange was getting passed to internal form element

@@ -112,2 +136,3 @@

### Added
- globalObject: 'this' to the webpack dist config to support SSR

@@ -118,2 +143,3 @@

### Fixed
- Issue with event emitter limit ( need to look into alternative solution )

@@ -124,3 +150,4 @@ - Removed depricated sandbox sinon usage that was causing errors during tests

### Updated
### Updated
- Webpack dist configuration to keep class names

@@ -131,4 +158,5 @@

### Fixed
- Issue were initialValue was getting passed all the way down to html input
- Issue where form would not rerender when field was registered
- Issue where form would not rerender when field was registered

@@ -138,2 +166,3 @@ ## 1.3.1 ( June 28, 2018 )

### Fixed
- Issue were validateOnMount was getting passed all the way down to html input

@@ -144,2 +173,3 @@

### Added
- mask so you can mask values at field level. example `value => value + '!!!'`

@@ -150,2 +180,3 @@

### Added
- hook so you can add a button with type=reset and it will reset the form

@@ -156,2 +187,3 @@

### Added
- validateOnMount to input props

@@ -162,2 +194,3 @@

### Moved
- React and React-Dom to dev dependencies

@@ -168,11 +201,15 @@

### Fixed
- Bug where i did not do null check on event within on submit
## 1.0.1 ( June 15, 2018 )
## 1.0.1 ( June 15, 2018 )
### Added
- Notify prop to inputs that allows you to notify other fields when your error state changes ( see docs )
## 1.0.0 (June 12, 2018)
### Added
- Text

@@ -194,4 +231,4 @@ - TextArea

### Changed
### Changed
**

@@ -206,8 +243,8 @@ Note: this was the first release but i wanted to include changes from

- `onChange` Form prop only recieves the `formState`. It used to retrieve the form Api as well.
- `preventDefault` Form prop is now `dontPreventDefault`
- `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!!
### Removed
### Removed
**

@@ -224,3 +261,3 @@ Note: this was the first release but i wanted to include things that were removed from

- 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.
- 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.8.1",
"version": "1.9.0",
"description": "A lightweight framework and utility for building powerful forms in React applications",

@@ -19,4 +19,8 @@ "main": "dist/index.js",

"postPublish": "git push --tags",
"precommit": "pretty-quick --staged",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook:docs": "build-storybook -c .storybook -o docs",
"prettier": "prettier --write 'src/**/*.{js,md}' 'tests/**/*.{js,md}' 'stories/**/*.{js,md}'",
"pretty-quick": "pretty-quick",
"lint:fix": "eslint src/** tests/** stories/** --fix",
"coveralls": "NODE_ENV=spec nyc npm test && nyc report --reporter=text-lcov | coveralls",

@@ -71,2 +75,4 @@ "test:coverage": "NODE_ENV=spec nyc mocha-webpack --exit --opts tests/mocha-webpack.opts",

"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.3.0",
"eslint-plugin-react": "^7.10.0",
"html-loader": "^0.5.5",

@@ -81,2 +87,3 @@ "istanbul-instrumenter-loader": "^3.0.1",

"patch-package": "^5.1.1",
"prettier": "1.14.0",
"react": "^16.4.1",

@@ -96,3 +103,5 @@ "react-dom": "^16.4.1",

"dependencies": {
"@babel/runtime": "^7.0.0-beta.53"
"@babel/runtime": "^7.0.0-beta.53",
"husky": "^0.14.3",
"pretty-quick": "^1.6.0"
},

@@ -99,0 +108,0 @@ "nyc": {

Sorry, the diff of this file is not supported yet

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