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 2.1.0-dev.0 to 2.1.0-dev.2

5

index.d.ts
/*!
* TSBuffer Validator v2.1.0-dev.0
* TSBuffer Validator v2.1.0-dev.2
* -----------------------------------------

@@ -27,7 +27,6 @@ * MIT LICENSE

/** @public */
export declare class ProtoHelper {
readonly proto: TSBufferProto;
constructor(proto: TSBufferProto);
/** 将ReferenceTYpeSchema层层转换为它最终实际引用的类型 */
/** 将ReferenceTypeSchema层层转换为它最终实际引用的类型 */
parseReference(schema: TSBufferSchema): Exclude<TSBufferSchema, TypeReference>;

@@ -34,0 +33,0 @@ isInterface(schema: TSBufferSchema, excludeReference?: boolean): schema is InterfaceTypeSchema | InterfaceReference;

7

index.js
/*!
* TSBuffer Validator v2.1.0-dev.0
* TSBuffer Validator v2.1.0-dev.2
* -----------------------------------------

@@ -16,3 +16,2 @@ * MIT LICENSE

/** @public */
var ProtoHelper = /** @class */ (function () {

@@ -25,3 +24,3 @@ function ProtoHelper(proto) {

}
/** 将ReferenceTYpeSchema层层转换为它最终实际引用的类型 */
/** 将ReferenceTypeSchema层层转换为它最终实际引用的类型 */
ProtoHelper.prototype.parseReference = function (schema) {

@@ -85,3 +84,3 @@ // Reference

return {
type: 'Union',
type: tsbufferSchema.SchemaType.Union,
members: flatInterface.properties.map(function (v, i) { return ({

@@ -88,0 +87,0 @@ id: i,

{
"name": "tsbuffer-validator",
"version": "2.1.0-dev.0",
"version": "2.1.0-dev.2",
"description": "Validator for TSBuffer values",

@@ -44,3 +44,3 @@ "main": "index.js",

"k8w-extend-native": "^1.4.6",
"tsbuffer-schema": "^2.2.0-dev.0",
"tsbuffer-schema": "^2.2.0-dev.1",
"tslib": "^2.3.1"

@@ -70,7 +70,7 @@ },

"nyc": "^15.1.0",
"rollup": "^2.67.0",
"rollup": "^2.67.1",
"rollup-plugin-typescript2": "^0.31.2",
"ts-node": "^10.4.0",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
}
}

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