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

field-change-effects-calculator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

field-change-effects-calculator - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "field-change-effects-calculator",
"version": "1.0.1",
"version": "1.0.2",
"description": "Describe field-change-effects-calculator here",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -53,3 +53,3 @@ # field-change-effects-calculator

name: 'B',
reduxPath: ['fields', 'B'],
path: ['fields', 'B'],
value: (ANewValue, state) => state.fields.B.value,

@@ -73,3 +73,3 @@ editable: (ANewValue, state) => ANewValue === 'Hello' ? 'true' : 'false',

name: 'B',
reduxPath: ['fields', 'B'],
path: ['fields', 'B'],
value: (ANewValue, state) => state.fields.B.value,

@@ -86,3 +86,3 @@ editable: (ANewValue, state) => ANewValue === 'Hello' ? 'true' : 'false',

name: 'C',
reduxPath: ['fields', 'C'],
path: ['fields', 'C'],
value: (ANewValue, state) => ANewValue.toLowerCase(),

@@ -97,3 +97,3 @@ editable: (ANewValue, state) => true,

name: 'D',
reduxPath: ['fields', 'D'],
path: ['fields', 'D'],
value: (BNewValue, state) => BNewValue.toLowerCase() + '*',

@@ -114,5 +114,5 @@ editable: (BNewValue, state) => true,

| value | true | `(newValue, state) => any` | Function that will be used to calculate new value for the field. |
| editable | true | `(newValue, state) => any` | Function that will be used to calculate new editable value for the field. |
| readable | true | `(newValue, state) => any` | Function that will be used to calculate new readable value for the field. |
| required | true | `(newValue, state) => any` | Function that will be used to calculate new required value for the field. |
| editable | true | `(newValue, state) => boolean` | Function that will be used to calculate new editable value for the field. |
| readable | true | `(newValue, state) => boolean` | Function that will be used to calculate new readable value for the field. |
| required | true | `(newValue, state) => boolean` | Function that will be used to calculate new required value for the field. |
| otherProps | false | `(newValue, state) => {}` | Function that will be used to calculate other props that do not change often like value, editable, readable etc, like label, placeholder, styles etc. |

@@ -119,0 +119,0 @@

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