Socket
Socket
Sign inDemoInstall

react-formr

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

react-formr - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

4

lib/formr.js

@@ -95,4 +95,6 @@ var __assign = (this && this.__assign) || function () {

value: values[key],
touched: touched[key],
valid: valid[key],
};
}, [onHandleChange, onHandleBlur, values]);
}, [onHandleChange, onHandleBlur, values, touched, valid]);
var returnItem = {

@@ -99,0 +101,0 @@ onHandleChange: onHandleChange,

@@ -33,2 +33,4 @@ export interface FormMessages {

value: string;
valid: boolean;
touched: boolean;
}

@@ -35,0 +37,0 @@ export interface FormrFunctions {

{
"name": "react-formr",
"version": "1.1.7",
"version": "1.1.8",
"description": "Form managing component for React & React Native",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -108,5 +108,7 @@ import React, { useRef, useState, useCallback, useEffect } from "react";

value: values[key],
touched: touched[key],
valid: valid[key],
};
},
[onHandleChange, onHandleBlur, values]
[onHandleChange, onHandleBlur, values, touched, valid]
);

@@ -113,0 +115,0 @@

@@ -34,2 +34,4 @@ export interface FormMessages {

value: string;
valid: boolean;
touched: boolean;
}

@@ -36,0 +38,0 @@ export interface FormrFunctions {

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