🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@focus4/form-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@focus4/form-toolbox - npm Package Compare versions

Comparing version
12.12.5
to
12.12.6
+7
-4
lib/focus4.form-toolbox.js

@@ -714,7 +714,10 @@ import { registerFieldComponent, registerFormComponent, useDisplay, useField, useInput } from "@focus4/forms";

if (transformedDate?.isValid) {
const { year, month, day } = transformedDate;
const { year, month, day, hour, minute, second } = transformedDate;
let newDate = date.set({
year,
month,
day
year: inputFormat.includes("yy") ? year : void 0,
month: inputFormat.includes("MM") ? month : void 0,
day: inputFormat.includes("dd") ? day : void 0,
hour: inputFormat.includes("HH") ? hour : void 0,
minute: inputFormat.includes("mm") ? minute : void 0,
second: inputFormat.includes("ss") ? second : void 0
});

@@ -721,0 +724,0 @@ if (ISOStringFormat === "local-utc-midnight") newDate = newDate.toUTC();

{
"name": "@focus4/form-toolbox",
"version": "12.12.5",
"version": "12.12.6",
"description": "Focus v4, form-toolbox module",

@@ -20,4 +20,4 @@ "main": "lib/focus4.form-toolbox.js",

"@focus4/entities": "12.10.3",
"@focus4/forms": "12.12.5",
"@focus4/stores": "12.12.4",
"@focus4/forms": "12.12.6",
"@focus4/stores": "12.12.5",
"@focus4/styling": "12.11.1",

@@ -24,0 +24,0 @@ "@focus4/toolbox": "12.11.2",

Sorry, the diff of this file is too big to display