Socket
Socket
Sign inDemoInstall

formatic

Package Overview
Dependencies
Maintainers
4
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formatic - npm Package Compare versions

Comparing version 0.3.31 to 0.3.32

8

build/lib/components/helpers/choices.js

@@ -254,11 +254,13 @@ // # Choices component

var visibleChoices = [];
var inSection;
var isInOpenSection;
var isInSection = false;
choices.forEach(function (choice) {
if (choice.sectionKey) {
inSection = choice.sectionKey === openSection;
isInSection = true;
isInOpenSection = choice.sectionKey === openSection;
}
if (choice.value && choice.value.match(magicChoiceRe)) {
visibleChoices.push(choice);
} else if (alwaysExanded || choice.sectionKey || inSection) {
} else if (alwaysExanded || choice.sectionKey || isInOpenSection || !isInSection) {
visibleChoices.push(choice);

@@ -265,0 +267,0 @@ }

{
"name": "formatic",
"version": "0.3.31",
"version": "0.3.32",
"description": "Automatic, pluggable form generation",

@@ -5,0 +5,0 @@ "main": "./build/lib/formatic",

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