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

@conform-to/yup

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conform-to/yup - npm Package Compare versions

Comparing version 0.4.0-pre.0 to 0.4.0-pre.1

9

index.js

@@ -89,3 +89,3 @@ 'use strict';

}
function getError(error, scope) {
function getError(error) {
var _error$inner$reduce;

@@ -96,8 +96,3 @@

var name = (_e$path = e.path) !== null && _e$path !== void 0 ? _e$path : '';
if (!scope || scope.includes(name)) {
result.push([name, e.message]);
}
result.push([(_e$path = e.path) !== null && _e$path !== void 0 ? _e$path : '', e.message]);
return result;

@@ -104,0 +99,0 @@ }, [])) !== null && _error$inner$reduce !== void 0 ? _error$inner$reduce : [];

@@ -85,3 +85,3 @@ function getFieldsetConstraint(source) {

}
function getError(error, scope) {
function getError(error) {
var _error$inner$reduce;

@@ -92,8 +92,3 @@

var name = (_e$path = e.path) !== null && _e$path !== void 0 ? _e$path : '';
if (!scope || scope.includes(name)) {
result.push([name, e.message]);
}
result.push([(_e$path = e.path) !== null && _e$path !== void 0 ? _e$path : '', e.message]);
return result;

@@ -100,0 +95,0 @@ }, [])) !== null && _error$inner$reduce !== void 0 ? _error$inner$reduce : [];

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.4.0-pre.0",
"version": "0.4.0-pre.1",
"main": "index.js",

@@ -18,3 +18,3 @@ "module": "module/index.js",

"peerDependencies": {
"@conform-to/dom": "0.4.0-pre.0",
"@conform-to/dom": "0.4.0-pre.1",
"yup": ">=0.32.0"

@@ -21,0 +21,0 @@ },

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