Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tsbuffer-validator

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsbuffer-validator - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

13

index.d.ts
/*!
* TSBuffer Validator v1.1.4
* TSBuffer Validator v1.1.5
* -----------------------------------------

@@ -54,2 +54,4 @@ * Apache 2.0 LICENSE

parseMappedType(schema: PickTypeSchema | OmitTypeSchema | PartialTypeSchema | OverwriteTypeSchema): InterfaceTypeSchema | UnionTypeSchema;
/** type类型是否能编码为该literal */
canBeLiteral(schema: TSBufferSchema, literal: any): boolean;
}

@@ -128,2 +130,11 @@

/**
* 单次validate的选项,会向下透传
* @public
*/
export declare interface ValidateOptions {
/** Common properties from Union/Intersection type */
unionProperties?: string[];
}
/** @public */

@@ -130,0 +141,0 @@ export declare type ValidateOutput = {

2

package.json
{
"name": "tsbuffer-validator",
"version": "1.1.4",
"version": "1.1.5",
"description": "Validator for TSBuffer values",

@@ -5,0 +5,0 @@ "main": "index.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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