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

formular

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formular - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

1

lib/Field.d.ts

@@ -42,2 +42,3 @@ import { CancelablePromise } from './util/index';

unset(): void;
setError(error: any): void;
validate: () => CancelablePromise;

@@ -44,0 +45,0 @@ on(eventName: string, handler: Function): void;

@@ -168,2 +168,13 @@ var __assign = (this && this.__assign) || function () {

};
Field.prototype.setError = function (error) {
this.setState({
error: error,
isChanged: true,
isValid: false,
isValidating: false,
isValidated: true,
});
this._events.dispatch('set', this.state.value);
this._events.dispatch('change', this.state.value); // @deprecated
};
Field.prototype.on = function (eventName, handler) {

@@ -170,0 +181,0 @@ this._events.subscribe(eventName, handler);

2

package.json
{
"name": "formular",
"version": "2.1.5",
"version": "2.1.6",
"author": "Pavel Ivanov",

@@ -5,0 +5,0 @@ "description": "Build forms in React. Easy-Peasy!",

Sorry, the diff of this file is not supported yet

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