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

@mihanizm56/react-final-form-utils

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mihanizm56/react-final-form-utils - npm Package Compare versions

Comparing version 0.0.3-beta.1 to 0.0.3-beta.2

dist/components/condition-field/utils/is-value-selected.d.ts

4

dist/components/condition-field/index.js
import React from 'react';
import { Field } from 'react-final-form';
import { isValueSelected } from './utils/is-value-selected';
export var ConditionField = function (_a) {

@@ -7,4 +8,5 @@ var when = _a.when, is = _a.is, children = _a.children;

var value = _a.input.value;
return (value === is ? children : null);
var isSelected = isValueSelected({ value: value, is: is });
return isSelected ? children : null;
}));
};
{
"name": "@mihanizm56/react-final-form-utils",
"version": "0.0.3-beta.1",
"version": "0.0.3-beta.2",
"description": "form utils module",

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

}
}
}
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