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

@uform/core

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uform/core - npm Package Compare versions

Comparing version 0.1.20 to 0.2.0

6

lib/field.js

@@ -159,2 +159,6 @@ "use strict";

_proto.publishState = function publishState() {
return (0, _utils.publishFieldState)(this);
};
_proto.syncContextValue = function syncContextValue() {
if (this.visible) {

@@ -172,4 +176,2 @@ var contextValue = this.context.getValue(this.name, true);

}
return (0, _utils.publishFieldState)(this);
};

@@ -176,0 +178,0 @@

@@ -86,2 +86,3 @@ "use strict";

if (field) {
field.syncContextValue();
return (0, _utils.isFn)(callback) ? callback(field.publishState()) : field.publishState();

@@ -88,0 +89,0 @@ }

{
"name": "@uform/core",
"version": "0.1.20",
"version": "0.2.0",
"license": "MIT",

@@ -21,4 +21,4 @@ "main": "lib",

"dependencies": {
"@uform/utils": "^0.1.20",
"@uform/validator": "^0.1.20",
"@uform/utils": "^0.2.0",
"@uform/validator": "^0.2.0",
"dot-match": "^0.1.18",

@@ -31,3 +31,3 @@ "rxjs": "^6.3.3",

},
"gitHead": "ee7c2f0b943e734cd6ece678ad96e6a60288b2eb"
"gitHead": "d73125e1a27b97f08375d5b866c4c6169df4f847"
}

@@ -158,2 +158,6 @@ import {

publishState() {
return publishFieldState(this)
}
syncContextValue() {
if (this.visible) {

@@ -172,3 +176,2 @@ const contextValue = this.context.getValue(this.name, true)

}
return publishFieldState(this)
}

@@ -175,0 +178,0 @@

@@ -154,2 +154,3 @@ import {

if (field) {
field.syncContextValue()
return isFn(callback)

@@ -156,0 +157,0 @@ ? callback(field.publishState())

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