New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

informed

Package Overview
Dependencies
Maintainers
2
Versions
404
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

informed - npm Package Compare versions

Comparing version 4.57.0 to 4.58.0

8

dist/cjs/hooks/useForm.js

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

var _excluded = ["onSubmit", "onReset", "onChange", "onSubmitFailure", "onValueChange", "onValueSet", "onValid", "onInvalid", "onValueModified", "initialValues", "validateFields", "autocomplete", "showErrorIfError", "showErrorIfTouched", "showErrorIfDirty", "validateOn", "validateOnMount", "formApiRef", "dontPreventDefault", "yupSchema", "allowEmptyStrings", "disabled", "preventEnter", "validateModified", "schema", "ajv", "ajvErrors", "components", "errorMessage", "fieldMap", "adapter", "name", "keepState", "keepStateIfRelevant", "focusOnInvalid", "scrollOnInvalid", "resetOnlyOnscreen"];
var _excluded = ["onSubmit", "onReset", "onChange", "onSubmitFailure", "onValueChange", "onValueSet", "onValid", "onInvalid", "onValueModified", "initialValues", "validateFields", "autocomplete", "showErrorIfError", "showErrorIfTouched", "showErrorIfDirty", "validateOn", "validateOnMount", "formApiRef", "dontPreventDefault", "yupSchema", "allowEmptyStrings", "disabled", "preventEnter", "validateModified", "schema", "ajv", "ajvErrors", "components", "errorMessage", "fieldMap", "adapter", "name", "keepState", "keepStateIfRelevant", "focusOnInvalid", "scrollOnInvalid", "resetOnlyOnscreen", "debounceGather", "debounceError"];
var logger = debug.Debug('informed:useForm' + '\t');

@@ -58,2 +58,4 @@ var useForm = function useForm(_ref) {

resetOnlyOnscreen = _ref.resetOnlyOnscreen,
debounceGather = _ref.debounceGather,
debounceError = _ref.debounceError,
userProps = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);

@@ -97,3 +99,5 @@ // Register this controller by name if we are in global context

scrollOnInvalid: scrollOnInvalid,
resetOnlyOnscreen: resetOnlyOnscreen
resetOnlyOnscreen: resetOnlyOnscreen,
debounceGather: debounceGather,
debounceError: debounceError
};

@@ -100,0 +104,0 @@ var optionsRef = React.useRef();

@@ -9,3 +9,3 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2 } from '../_virtual/_rollupPluginBabelHelpers.js';

var _excluded = ["onSubmit", "onReset", "onChange", "onSubmitFailure", "onValueChange", "onValueSet", "onValid", "onInvalid", "onValueModified", "initialValues", "validateFields", "autocomplete", "showErrorIfError", "showErrorIfTouched", "showErrorIfDirty", "validateOn", "validateOnMount", "formApiRef", "dontPreventDefault", "yupSchema", "allowEmptyStrings", "disabled", "preventEnter", "validateModified", "schema", "ajv", "ajvErrors", "components", "errorMessage", "fieldMap", "adapter", "name", "keepState", "keepStateIfRelevant", "focusOnInvalid", "scrollOnInvalid", "resetOnlyOnscreen"];
var _excluded = ["onSubmit", "onReset", "onChange", "onSubmitFailure", "onValueChange", "onValueSet", "onValid", "onInvalid", "onValueModified", "initialValues", "validateFields", "autocomplete", "showErrorIfError", "showErrorIfTouched", "showErrorIfDirty", "validateOn", "validateOnMount", "formApiRef", "dontPreventDefault", "yupSchema", "allowEmptyStrings", "disabled", "preventEnter", "validateModified", "schema", "ajv", "ajvErrors", "components", "errorMessage", "fieldMap", "adapter", "name", "keepState", "keepStateIfRelevant", "focusOnInvalid", "scrollOnInvalid", "resetOnlyOnscreen", "debounceGather", "debounceError"];
var logger = Debug('informed:useForm' + '\t');

@@ -50,2 +50,4 @@ var useForm = function useForm(_ref) {

resetOnlyOnscreen = _ref.resetOnlyOnscreen,
debounceGather = _ref.debounceGather,
debounceError = _ref.debounceError,
userProps = _objectWithoutProperties(_ref, _excluded);

@@ -89,3 +91,5 @@ // Register this controller by name if we are in global context

scrollOnInvalid: scrollOnInvalid,
resetOnlyOnscreen: resetOnlyOnscreen
resetOnlyOnscreen: resetOnlyOnscreen,
debounceGather: debounceGather,
debounceError: debounceError
};

@@ -92,0 +96,0 @@ var optionsRef = useRef();

@@ -204,2 +204,4 @@ import React from 'react';

scrollOnInvalid?: ScrollIntoViewOptions;
debounceGather?: number;
debounceError?: number;
} & Omit<UserProps, 'onSubmit' | 'onReset' | 'onChange' | 'onSubmitFailure'>;

@@ -206,0 +208,0 @@

{
"name": "informed",
"version": "4.57.0",
"version": "4.58.0",
"description": "A lightweight framework and utility for building powerful forms in React applications",

@@ -5,0 +5,0 @@ "type": "module",

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

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

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