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

a-plus-forms-json-validator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-plus-forms-json-validator - npm Package Compare versions

Comparing version

to
1.0.3

2

dist/normalizer.js

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

var value = originalData[key];
var requiredAndEmpty = required.includes(key) && value === '';
var requiredAndEmpty = required.includes(key) && (value === '' || value === null);

@@ -22,0 +22,0 @@ // considering empty strings as non-present data

{
"name": "a-plus-forms-json-validator",
"version": "1.0.2",
"version": "1.0.3",
"description": "JSON Schema validator ",

@@ -54,3 +54,3 @@ "files": [

"peerDependencies": {
"a-plus-forms": "^0.4.0"
"a-plus-forms": "^0.5.0"
},

@@ -57,0 +57,0 @@ "dependencies": {