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

tsbuffer-schema

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsbuffer-schema - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

24

index.d.ts

@@ -6,11 +6,4 @@ /** 任意类型 */

/** TypeScript NonNullable<T> */
interface NonNullableTypeSchema {
type: 'NonNullable';
/** 引用目标的SchemaID */
target: string;
}
declare type TSBufferSchema = BooleanTypeSchema | NumberTypeSchema | StringTypeSchema | ArrayTypeSchema | TupleTypeSchema | EnumTypeSchema | AnyTypeSchema | LiteralTypeSchema | ObjectTypeSchema | InterfaceTypeSchema | BufferTypeSchema | IndexedAccessTypeSchema | ReferenceTypeSchema | UnionTypeSchema | IntersectionTypeSchema | PickTypeSchema | PartialTypeSchema | OmitTypeSchema | OverwriteTypeSchema | NonNullableTypeSchema | DateTypeSchema;
declare type TSBufferSchema = BooleanTypeSchema | NumberTypeSchema | StringTypeSchema | ArrayTypeSchema | TupleTypeSchema | EnumTypeSchema | AnyTypeSchema | LiteralTypeSchema | NonPrimitiveTypeSchema | InterfaceTypeSchema | BufferTypeSchema | IndexedAccessTypeSchema | ReferenceTypeSchema | UnionTypeSchema | IntersectionTypeSchema | PickTypeSchema | PartialTypeSchema | OmitTypeSchema | OverwriteTypeSchema | NonNullableTypeSchema | DateTypeSchema;
interface ArrayTypeSchema {

@@ -155,7 +148,14 @@ type: 'Array';

/** TypeScript NonNullable<T> */
interface NonNullableTypeSchema {
type: 'NonNullable';
/** 引用目标的SchemaID */
target: string;
}
/**
* let a: object;
*/
interface NonPrimitiveTypeSchema {
type: 'NonPrimitive';
interface ObjectTypeSchema {
type: 'Object';
}

@@ -192,3 +192,3 @@

Literal = "Literal",
NonPrimitive = "NonPrimitive",
Object = "Object",
Interface = "Interface",

@@ -220,2 +220,2 @@ Buffer = "Buffer",

export { AnyTypeSchema, ArrayTypeSchema, BooleanTypeSchema, BufferTypeSchema, DateTypeSchema, EnumTypeSchema, IndexedAccessTypeSchema, InterfaceReference, InterfaceTypeSchema, IntersectionTypeSchema, LiteralTypeSchema, NonNullableTypeSchema, NonPrimitiveTypeSchema, NumberTypeSchema, OmitTypeSchema, OverwriteTypeSchema, PartialTypeSchema, PickTypeSchema, ReferenceTypeSchema, SchemaType, StringTypeSchema, TSBufferProto, TSBufferSchema, TupleTypeSchema, TypeReference, UnionTypeSchema };
export { AnyTypeSchema, ArrayTypeSchema, BooleanTypeSchema, BufferTypeSchema, DateTypeSchema, EnumTypeSchema, IndexedAccessTypeSchema, InterfaceReference, InterfaceTypeSchema, IntersectionTypeSchema, LiteralTypeSchema, NonNullableTypeSchema, NumberTypeSchema, ObjectTypeSchema, OmitTypeSchema, OverwriteTypeSchema, PartialTypeSchema, PickTypeSchema, ReferenceTypeSchema, SchemaType, StringTypeSchema, TSBufferProto, TSBufferSchema, TupleTypeSchema, TypeReference, UnionTypeSchema };
{
"name": "tsbuffer-schema",
"version": "1.4.0",
"version": "1.5.0",
"description": "TSBuffer schema declarations",

@@ -14,4 +14,3 @@ "main": "index.cjs",

"bp": "tsc --noEmit && npm version patch && npm run build && cd dist && npm publish && cd ..",
"build": "rm -rf dist && npx rollup -c && cp package.json README.md LICENSE dist/",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src"
"build": "rm -rf dist && npx rollup -c && cp package.json README.md LICENSE dist/"
},

@@ -44,6 +43,4 @@ "repository": {

"devDependencies": {
"copyfiles": "^2.4.1",
"rollup": "^2.42.3",
"rollup-plugin-dts": "^3.0.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",

@@ -50,0 +47,0 @@ "typescript": "^4.2.3"

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