Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-field-form

Package Overview
Dependencies
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-field-form - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

5

es/utils/validateUtil.js

@@ -20,3 +20,6 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

function replaceMessage(template, kv) {
return template.replace(/\$\{\w+\}/g, function (str) {
return template.replace(/\\?\$\{\w+\}/g, function (str) {
if (str.startsWith('\\')) {
return str.slice(1);
}
var key = str.slice(2, -1);

@@ -23,0 +26,0 @@ return kv[key];

@@ -27,3 +27,6 @@ "use strict";

function replaceMessage(template, kv) {
return template.replace(/\$\{\w+\}/g, function (str) {
return template.replace(/\\?\$\{\w+\}/g, function (str) {
if (str.startsWith('\\')) {
return str.slice(1);
}
var key = str.slice(2, -1);

@@ -30,0 +33,0 @@ return kv[key];

2

package.json
{
"name": "rc-field-form",
"version": "2.3.0",
"version": "2.4.0",
"description": "React Form Component",

@@ -5,0 +5,0 @@ "typings": "es/index.d.ts",

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