New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wessberg/type

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/type - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

9

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="0.0.25"></a>
## 0.0.25 (2017-08-20)
* 0.0.25 ([2afdd27](https://github.com/wessberg/Type/commit/2afdd27))
* Bumped Typescript dependency ([10acdac](https://github.com/wessberg/Type/commit/10acdac))
* Bumped version ([79ffc47](https://github.com/wessberg/Type/commit/79ffc47))
<a name="0.0.24"></a>

@@ -2,0 +11,0 @@ ## 0.0.24 (2017-08-19)

2

dist/es2015/binding-name/array-binding-name-kind.d.ts

@@ -5,2 +5,2 @@ export declare enum ArrayBindingNameKind {

}
export declare const arrayBindingNameKindStringified: string;
export declare const arrayBindingNameKindStringified = "\nexport enum ArrayBindingNameKind {\n\tBOUND = \"BOUND\", SKIPPED = \"SKIPPED\"\n}\n";

@@ -6,2 +6,2 @@ export declare enum BindingNameKind {

}
export declare const bindingNameKindStringified: string;
export declare const bindingNameKindStringified = "\nexport enum BindingNameKind {\n\tNORMAL = \"NORMAL\", OBJECT_BINDING = \"OBJECT_BINDING\", ARRAY_BINDING = \"ARRAY_BINDING\"\n}\n";

@@ -24,2 +24,2 @@ import { ArrayBindingNameKind } from "./array-binding-name-kind";

export declare type BindingName = IObjectBindingName | ArrayBindingName;
export declare const bindingNameStringified: string;
export declare const bindingNameStringified = "\nexport interface IBindingName {\n}\n\nexport interface IObjectBindingName extends IBindingName {\n\tname: string;\n\tpropertyName: string;\n\tisRestSpread: boolean;\n}\n\nexport interface IArrayBindingName extends IBindingName {\n\tkind: ArrayBindingNameKind;\n\tindex: number;\n}\n\nexport interface ISkippedArrayBindingName extends IArrayBindingName {\n\tkind: ArrayBindingNameKind.SKIPPED;\n}\n\nexport interface IBoundArrayBindingName extends IArrayBindingName {\n\tkind: ArrayBindingNameKind.BOUND;\n\tname: string;\n\tpropertyName: string;\n\tisRestSpread: boolean;\n}\n\nexport declare type ArrayBindingName = ISkippedArrayBindingName|IBoundArrayBindingName;\nexport declare type BindingName = IObjectBindingName|ArrayBindingName;\n";

@@ -14,2 +14,2 @@ import { InterfaceTypeMemberNameKind } from "./interface-type-member-name-kind";

export declare type InterfaceTypeMemberName = IInterfaceTypeMemberStaticName | IInterfaceTypeMemberSymbolName;
export declare const interfaceTypeMemberNameStringified: string;
export declare const interfaceTypeMemberNameStringified = "\nexport interface IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind;\n}\n\nexport interface IInterfaceTypeMemberStaticName extends IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind.STATIC;\n\tname: string;\n}\n\nexport interface IInterfaceTypeMemberSymbolName extends IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind.BUILT_IN_SYMBOL;\n\tname: string;\n}\n\nexport declare type InterfaceTypeMemberName = IInterfaceTypeMemberStaticName|IInterfaceTypeMemberSymbolName;\n";

@@ -8,2 +8,2 @@ import { Type } from "../type/type";

}
export declare const interfaceTypeMemberStringified: string;
export declare const interfaceTypeMemberStringified = "\nexport interface IInterfaceTypeMember {\n\tname: InterfaceTypeMemberName;\n\toptional: boolean;\n\ttype: Type;\n}\n";

@@ -11,2 +11,2 @@ import { IInterfaceTypeMember } from "./i-interface-type-member";

}
export declare const interfaceTypeStringified: string;
export declare const interfaceTypeStringified = "\nexport interface IInterfaceType {\n\tname: string;\n\textends: IReferenceType[];\n\tmembers: IInterfaceTypeMember[];\n\ttypeParameters: ITypeParameter[];\n}\n";

@@ -5,2 +5,2 @@ export declare enum InterfaceTypeMemberNameKind {

}
export declare const interfaceTypeMemberNameKindStringified: string;
export declare const interfaceTypeMemberNameKindStringified = "\nexport enum InterfaceTypeMemberNameKind {\n\tSTATIC = \"STATIC\",\n\tBUILT_IN_SYMBOL = \"BUILT_IN_SYMBOL\"\n}\n";

@@ -23,2 +23,2 @@ import { Type } from "../type/type";

export declare type Parameter = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified: string;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";

@@ -27,2 +27,2 @@ export declare enum TypeKind {

}
export declare const typeKindStringified: string;
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";

@@ -7,2 +7,2 @@ import { Type } from "../type/type";

}
export declare const typeParameterStringified: string;
export declare const typeParameterStringified = "\nexport interface ITypeParameter {\n\tname: string;\n\textends?: Type;\n\tinitializer?: Type;\n}\n";

@@ -97,2 +97,2 @@ import { TypeKind } from "../type-kind/type-kind";

export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | IVoidType | IPojoType;
export declare const typeStringified: string;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: Parameter[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;\n";

@@ -5,2 +5,2 @@ export declare enum ArrayBindingNameKind {

}
export declare const arrayBindingNameKindStringified: string;
export declare const arrayBindingNameKindStringified = "\nexport enum ArrayBindingNameKind {\n\tBOUND = \"BOUND\", SKIPPED = \"SKIPPED\"\n}\n";

@@ -6,2 +6,2 @@ export declare enum BindingNameKind {

}
export declare const bindingNameKindStringified: string;
export declare const bindingNameKindStringified = "\nexport enum BindingNameKind {\n\tNORMAL = \"NORMAL\", OBJECT_BINDING = \"OBJECT_BINDING\", ARRAY_BINDING = \"ARRAY_BINDING\"\n}\n";

@@ -24,2 +24,2 @@ import { ArrayBindingNameKind } from "./array-binding-name-kind";

export declare type BindingName = IObjectBindingName | ArrayBindingName;
export declare const bindingNameStringified: string;
export declare const bindingNameStringified = "\nexport interface IBindingName {\n}\n\nexport interface IObjectBindingName extends IBindingName {\n\tname: string;\n\tpropertyName: string;\n\tisRestSpread: boolean;\n}\n\nexport interface IArrayBindingName extends IBindingName {\n\tkind: ArrayBindingNameKind;\n\tindex: number;\n}\n\nexport interface ISkippedArrayBindingName extends IArrayBindingName {\n\tkind: ArrayBindingNameKind.SKIPPED;\n}\n\nexport interface IBoundArrayBindingName extends IArrayBindingName {\n\tkind: ArrayBindingNameKind.BOUND;\n\tname: string;\n\tpropertyName: string;\n\tisRestSpread: boolean;\n}\n\nexport declare type ArrayBindingName = ISkippedArrayBindingName|IBoundArrayBindingName;\nexport declare type BindingName = IObjectBindingName|ArrayBindingName;\n";

@@ -14,2 +14,2 @@ import { InterfaceTypeMemberNameKind } from "./interface-type-member-name-kind";

export declare type InterfaceTypeMemberName = IInterfaceTypeMemberStaticName | IInterfaceTypeMemberSymbolName;
export declare const interfaceTypeMemberNameStringified: string;
export declare const interfaceTypeMemberNameStringified = "\nexport interface IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind;\n}\n\nexport interface IInterfaceTypeMemberStaticName extends IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind.STATIC;\n\tname: string;\n}\n\nexport interface IInterfaceTypeMemberSymbolName extends IInterfaceTypeMemberName {\n\tkind: InterfaceTypeMemberNameKind.BUILT_IN_SYMBOL;\n\tname: string;\n}\n\nexport declare type InterfaceTypeMemberName = IInterfaceTypeMemberStaticName|IInterfaceTypeMemberSymbolName;\n";

@@ -8,2 +8,2 @@ import { Type } from "../type/type";

}
export declare const interfaceTypeMemberStringified: string;
export declare const interfaceTypeMemberStringified = "\nexport interface IInterfaceTypeMember {\n\tname: InterfaceTypeMemberName;\n\toptional: boolean;\n\ttype: Type;\n}\n";

@@ -11,2 +11,2 @@ import { IInterfaceTypeMember } from "./i-interface-type-member";

}
export declare const interfaceTypeStringified: string;
export declare const interfaceTypeStringified = "\nexport interface IInterfaceType {\n\tname: string;\n\textends: IReferenceType[];\n\tmembers: IInterfaceTypeMember[];\n\ttypeParameters: ITypeParameter[];\n}\n";

@@ -5,2 +5,2 @@ export declare enum InterfaceTypeMemberNameKind {

}
export declare const interfaceTypeMemberNameKindStringified: string;
export declare const interfaceTypeMemberNameKindStringified = "\nexport enum InterfaceTypeMemberNameKind {\n\tSTATIC = \"STATIC\",\n\tBUILT_IN_SYMBOL = \"BUILT_IN_SYMBOL\"\n}\n";

@@ -23,2 +23,2 @@ import { Type } from "../type/type";

export declare type Parameter = INormalParameterType | IObjectBindingParameterType | IArrayBindingParameterType;
export declare const parameterStringified: string;
export declare const parameterStringified = "\nexport interface IParameterType {\n\tkind: BindingNameKind;\n\tisRestSpread: boolean;\n\toptional: boolean;\n\ttype: Type;\n}\n\nexport interface INormalParameterType extends IParameterType {\n\tkind: BindingNameKind.NORMAL;\n\tname: string;\n}\n\nexport interface IObjectBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.OBJECT_BINDING;\n\tbindings: IObjectBindingName[];\n}\n\nexport interface IArrayBindingParameterType extends IParameterType {\n\tkind: BindingNameKind.ARRAY_BINDING;\n\tbindings: ArrayBindingName[];\n}\n\nexport declare type Parameter = INormalParameterType|IObjectBindingParameterType|IArrayBindingParameterType;\n";

@@ -27,2 +27,2 @@ export declare enum TypeKind {

}
export declare const typeKindStringified: string;
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";

@@ -7,2 +7,2 @@ import { Type } from "../type/type";

}
export declare const typeParameterStringified: string;
export declare const typeParameterStringified = "\nexport interface ITypeParameter {\n\tname: string;\n\textends?: Type;\n\tinitializer?: Type;\n}\n";

@@ -97,2 +97,2 @@ import { TypeKind } from "../type-kind/type-kind";

export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | IVoidType | IPojoType;
export declare const typeStringified: string;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: Parameter[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;\n";
{
"name": "@wessberg/type",
"version": "0.0.24",
"version": "0.0.25",
"description": "Type signatures and enums for model types.",

@@ -37,6 +37,6 @@ "scripts": {

"ava": "^0.22.0",
"typescript": "2.4.2",
"conventional-changelog-cli": "latest",
"husky": "latest",
"tslint": "latest",
"husky": "latest",
"conventional-changelog-cli": "latest"
"typescript": "^2.5.1"
},

@@ -43,0 +43,0 @@ "dependencies": {

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