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

@uform/validator

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uform/validator - npm Package Compare versions

Comparing version 0.1.0-beta.12 to 0.1.0-beta.13

2

lib/message.js

@@ -48,3 +48,3 @@ "use strict";

var getMessage = function getMessage(path) {
return (0, _utils.getIn)(LOCALE.messages, getMatchLang(LOCALE.lang) + "." + path);
return (0, _utils.getIn)(LOCALE.messages, getMatchLang(LOCALE.lang) + "." + path) || 'field is not valid,but not found error message.';
};

@@ -51,0 +51,0 @@

{
"name": "@uform/validator",
"version": "0.1.0-beta.12",
"version": "0.1.0-beta.13",
"license": "MIT",

@@ -18,3 +18,3 @@ "main": "lib",

"dependencies": {
"@uform/utils": "^0.1.0-beta.12"
"@uform/utils": "^0.1.0-beta.13"
},

@@ -24,3 +24,3 @@ "publishConfig": {

},
"gitHead": "23c8eeac80be0cd67e74926d6f17179fb0a365fa"
"gitHead": "202f4e360864a926d389a9f7ceeeef03ab882fbe"
}

@@ -36,5 +36,5 @@ import { getIn, each } from './utils'

export const getMessage = path => {
return getIn(LOCALE.messages, `${getMatchLang(LOCALE.lang)}.${path}`)
return getIn(LOCALE.messages, `${getMatchLang(LOCALE.lang)}.${path}`) || 'field is not valid,but not found error message.'
}
setLocale(locales)
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