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

cerebral-forms

Package Overview
Dependencies
Maintainers
3
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cerebral-forms - npm Package Compare versions

Comparing version 1.0.0-b-alpha.0e4c147a to 1.0.0-b-alpha.0e8b027d

2

lib/chains/changeField.js

@@ -24,3 +24,3 @@ 'use strict';

exports.default = [(0, _operators.set)((0, _tags.state)(_templateObject, (0, _tags.input)(_templateObject2)), (0, _tags.input)(_templateObject3)), (0, _validateField2.default)((0, _tags.state)(_templateObject4, (0, _tags.input)(_templateObject2)))];
exports.default = [(0, _operators.set)((0, _tags.state)(_templateObject, (0, _tags.props)(_templateObject2)), (0, _tags.props)(_templateObject3)), (0, _validateField2.default)((0, _tags.state)(_templateObject4, (0, _tags.props)(_templateObject2)))];
//# sourceMappingURL=changeField.js.map

@@ -17,3 +17,3 @@ 'use strict';

var state = _ref.state,
input = _ref.input,
props = _ref.props,
resolve = _ref.resolve;

@@ -20,0 +20,0 @@

{
"name": "cerebral-forms",
"version": "1.0.0-b-alpha.0e4c147a",
"version": "1.0.0-b-alpha.0e8b027d",
"description": "Signals, actions and state factories to create forms",

@@ -28,7 +28,7 @@ "main": "lib/index.js",

"peerDependencies": {
"cerebral": "2.0.0-b-alpha.0e4c147a"
"cerebral": "2.0.0-b-alpha.0e8b027d"
},
"devDependencies": {
"@cerebral/monorepo": "0.0.1-alpha.0e4c147a",
"cerebral": "2.0.0-b-alpha.0e4c147a"
"@cerebral/monorepo": "0.0.1-alpha.0e8b027d",
"cerebral": "2.0.0-b-alpha.0e8b027d"
},

@@ -35,0 +35,0 @@ "nyc": {

@@ -203,3 +203,3 @@ # cerebral-forms

```js
import {input} from 'cerebral/operators'
import {props} from 'cerebral/tags'
import {validateField} from 'cerebral-forms'

@@ -212,3 +212,3 @@

// dynamic
validateField(input`fieldPath`),
validateField(props`fieldPath`),
doThat

@@ -222,3 +222,3 @@ ]

```js
import {input} from 'cerebral/operators'
import {props} from 'cerebral/tags'
import {validateForm} from 'cerebral-forms'

@@ -230,3 +230,3 @@

// dynamic
validateForm(input`formPath`),
validateForm(props`formPath`),
isFormValid, {

@@ -247,3 +247,3 @@ true: [

```js
import {input} from 'cerebral/operators'
import {props} from 'cerebral/tags'
import {resetForm} from 'cerebral-forms'

@@ -256,3 +256,3 @@

// dynamic
resetForm(input`formPath`),
resetForm(props`formPath`),
doThat

@@ -348,3 +348,3 @@ ]

```js
import {input} from 'cerebral/operators'
import {props} from 'cerebral/tags'
import {isValidForm} from 'cerebral-forms'

@@ -356,3 +356,3 @@

// dynamic
isValidForm(input`formPath`), {
isValidForm(props`formPath`), {
true: [],

@@ -359,0 +359,0 @@ false: []

Sorry, the diff of this file is not supported yet

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