New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.7.0 to 0.7.1

12

out/main/schema.d.ts

@@ -5,3 +5,3 @@ export declare type Schema<T> = unknown extends T ? UnknownSchema : ((StrictTypeSchema<T> | AnySchema | RefSchema) & (undefined extends T ? {

nullable: true;
} : {}));
} : {}) & BaseSchema<T>);
export declare type SchemaWithId<T> = Schema<T> & {

@@ -32,3 +32,3 @@ id: string;

type: 'boolean';
} & BaseSchema<boolean>;
};
export declare type NumberSchema = {

@@ -38,3 +38,3 @@ type: 'number' | 'integer';

maximum?: number;
} & BaseSchema<number>;
};
export declare type StringSchema = {

@@ -45,3 +45,3 @@ type: 'string';

enum?: string[];
} & BaseSchema<string>;
};
export declare type ObjectSchema<T> = {

@@ -51,9 +51,9 @@ type: 'object';

additionalProperties?: Schema<any>;
} & BaseSchema<T>;
};
export declare type ArraySchema<T> = {
type: 'array';
items: Schema<T>;
} & BaseSchema<T[]>;
};
export declare type PropertiesSpec<T> = {
[K in keyof T]-?: Schema<T[K]>;
};
{
"name": "airtight",
"version": "0.7.0",
"version": "0.7.1",
"description": "Tight subset of JSON schema",

@@ -5,0 +5,0 @@ "main": "out/main/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc