Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@domonda/form

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domonda/form - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [2.2.4](https://github.com/domonda/domonda-js/compare/@domonda/form@2.2.3...@domonda/form@2.2.4) (2019-11-30)
### Bug Fixes
* **FormField:** dont set (create path for) undefined values ([caff778](https://github.com/domonda/domonda-js/commit/caff7787947274e2816921bef17a56ad4dea93d8))
## [2.2.3](https://github.com/domonda/domonda-js/compare/@domonda/form@2.2.2...@domonda/form@2.2.3) (2019-11-21)

@@ -8,0 +19,0 @@

4

createFormField.js

@@ -69,3 +69,5 @@ "use strict";

var { changed, validityMessage } = _a, rest = __rest(_a, ["changed", "validityMessage"]);
return (Object.assign(Object.assign({}, state), { values: setWith_1.default(() => undefined, path, rest.value, form.state.values), fields: Object.assign(Object.assign({}, form.state.fields), { [path]: {
return (Object.assign(Object.assign({}, state), { values: rest.value === undefined
? state.values
: setWith_1.default(() => undefined, path, rest.value, form.state.values), fields: Object.assign(Object.assign({}, form.state.fields), { [path]: {
validityMessage,

@@ -72,0 +74,0 @@ changed,

{
"name": "@domonda/form",
"version": "2.2.3",
"version": "2.2.4",
"description": "Powerful yet simple form library built using @domonda/plumb.",

@@ -5,0 +5,0 @@ "keywords": [

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