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.8.0 to 0.8.1

3

out/main/decoder.d.ts
import { Schema } from './schema';
import { SchemaStore } from './store';
import { DeepPartial } from './util.js';
export interface DecodeOptions {

@@ -10,4 +11,4 @@ throw?: boolean;

constructor(schema: Schema<T>, store?: SchemaStore);
create(partials: Partial<T>): T;
create(partials: DeepPartial<T>): T;
decode(value: unknown, options?: DecodeOptions): T;
}
export declare type DataType = 'string' | 'boolean' | 'number' | 'object' | 'array' | 'any' | 'null';
export declare function getType(value: unknown): DataType;
export declare function capitalize(str: string): string;
export declare type DeepPartial<T> = {
[P in keyof T]?: DeepPartial<T[P]>;
};
{
"name": "airtight",
"version": "0.8.0",
"version": "0.8.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