Socket
Socket
Sign inDemoInstall

validate-value

Package Overview
Dependencies
7
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.0 to 7.2.1

2

build/lib/Value.js

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

const error = this.validateInternal.errors[0];
let updatedPath = `${valueName}${error.dataPath.slice(1).replace(/\//gu, separator)}`;
let updatedPath = `${valueName}${error.dataPath.replace(/\//gu, separator)}`;
let message = 'Validation failed';

@@ -25,0 +25,0 @@ if (error.keyword === 'required') {

@@ -0,1 +1,8 @@

## [7.2.1](https://github.com/thenativeweb/validate-value/compare/7.2.0...7.2.1) (2020-10-08)
### Bug Fixes
* Fix missing first separator in paths in error messages. ([#181](https://github.com/thenativeweb/validate-value/issues/181)) ([e6be031](https://github.com/thenativeweb/validate-value/commit/e6be0318428a5d8c3c4909aa1ea47d30b60849c3))
# [7.2.0](https://github.com/thenativeweb/validate-value/compare/7.1.1...7.2.0) (2020-09-29)

@@ -2,0 +9,0 @@

@@ -31,3 +31,3 @@ import Ajv from 'ajv';

let updatedPath = `${valueName}${error.dataPath.slice(1).replace(/\//gu, separator)}`;
let updatedPath = `${valueName}${error.dataPath.replace(/\//gu, separator)}`;
let message = 'Validation failed';

@@ -34,0 +34,0 @@

{
"name": "validate-value",
"version": "7.2.0",
"version": "7.2.1",
"description": "validate-value validates values against JSON schemas.",

@@ -27,3 +27,3 @@ "contributors": [

"assertthat": "5.2.1",
"roboter": "11.2.28",
"roboter": "11.3.12",
"semantic-release-configuration": "1.0.21"

@@ -30,0 +30,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc