schema-magic
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -169,5 +169,5 @@ const $json=require('json-magic'); | ||
if ($check.array(curSchema)){ | ||
replacement=curSchema.filter(c=>c!=="string").concat(["string"]); | ||
replacement=_.uniq(curSchema.concat(["string"])); | ||
}else{ | ||
replacement=[curSchema,"string"]; | ||
replacement=_.uniq([curSchema,"string"]); | ||
} | ||
@@ -174,0 +174,0 @@ } |
{ | ||
"name": "schema-magic", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "JSON Schema Utilities", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32811