🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

airtight

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airtight - npm Package Compare versions

Comparing version

to
4.3.3

8

out/main/decode.js

@@ -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",