Comparing version 4.3.2 to 4.3.3
@@ -21,2 +21,6 @@ import { coerce } from './coerce.js'; | ||
const untypedSchema = schema; | ||
// Any Schema | ||
if (schema.type === 'any') { | ||
return value; | ||
} | ||
// Null/Undefined | ||
@@ -35,6 +39,2 @@ if (value == null) { | ||
} | ||
// Any Schema | ||
if (schema.type === 'any') { | ||
return value; | ||
} | ||
// Ref Schema | ||
@@ -41,0 +41,0 @@ if (schema.type === 'ref') { |
{ | ||
"name": "airtight", | ||
"version": "4.3.2", | ||
"version": "4.3.3", | ||
"description": "JSON Schema inspired library for validating and decoding messages", | ||
@@ -5,0 +5,0 @@ "type": "module", |