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

tscommons-core

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tscommons-core - npm Package Compare versions

Comparing version 1.18.1 to 1.18.2

28

dist/helpers/commons-type.d.ts

@@ -81,10 +81,10 @@ import { TDefined } from '../types/tdefined';

static assertEncodedObject(test: unknown): TEncodedObject;
static isT<T>(test: unknown, checker: (_: unknown) => boolean): test is T;
static assertT<T>(test: unknown, checker: (_: unknown) => boolean, typeName: string): T;
static isTArray<T>(test: unknown, checker: (_: unknown) => boolean): test is T[];
static assertTArray<T>(test: unknown, checker: (_: unknown) => boolean, typeName: string): T[];
static isTKeyObject<T>(test: unknown, checker: (_: unknown) => boolean): test is TKeyObject<T>;
static assertTKeyObject<T>(test: unknown, checker: (_: unknown) => boolean, typeName: string): TKeyObject<T>;
static isTArrayKeyObject<T>(test: unknown, checker: (_: unknown) => boolean): test is TKeyObject<T[]>;
static assertTArrayKeyObject<T>(test: unknown, checker: (_: unknown) => boolean, typeName: string): TKeyObject<T[]>;
static isT<T>(test: unknown, checker: (t: unknown) => t is T): test is T;
static assertT<T>(test: unknown, checker: (t: unknown) => t is T, typeName: string): T;
static isTArray<T>(test: unknown, checker: (t: unknown) => t is T): test is T[];
static assertTArray<T>(test: unknown, checker: (t: unknown) => t is T, typeName: string): T[];
static isTKeyObject<T>(test: unknown, checker: (t: unknown) => t is T): test is TKeyObject<T>;
static assertTKeyObject<T>(test: unknown, checker: (t: unknown) => t is T, typeName: string): TKeyObject<T>;
static isTArrayKeyObject<T>(test: unknown, checker: (t: unknown) => t is T): test is TKeyObject<T[]>;
static assertTArrayKeyObject<T>(test: unknown, checker: (t: unknown) => t is T, typeName: string): TKeyObject<T[]>;
static isEnum<E>(test: unknown, resolver: (_: string) => E | undefined): test is E;

@@ -107,5 +107,5 @@ static assertEnum<E>(test: unknown, resolver: (_: string) => E | undefined, enumName: string): E;

static hasPropertyEnumArray<E>(test: unknown, property: string, checker: (_: unknown) => _ is E): test is TPropertyObject;
static hasPropertyT<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyTArray<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyTKeyObject<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyT<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyTArray<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyTKeyObject<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyNumberArray(test: unknown, property: string): test is TPropertyObject;

@@ -129,5 +129,5 @@ static hasPropertyNumberKeyObject(test: unknown, property: string): test is TPropertyObject;

static hasPropertyEnumArrayOrUndefined<E>(test: unknown, property: string, checker: (_: unknown) => _ is E): test is TPropertyObject;
static hasPropertyTOrUndefined<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyTArrayOrUndefined<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyTKeyObjectOrUndefined<T>(test: unknown, property: string, checker: (_: unknown) => boolean): test is TPropertyObject;
static hasPropertyTOrUndefined<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyTArrayOrUndefined<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyTKeyObjectOrUndefined<T>(test: unknown, property: string, checker: (t: unknown) => t is T): test is TPropertyObject;
static hasPropertyNumberArrayOrUndefined(test: unknown, property: string): test is TPropertyObject;

@@ -134,0 +134,0 @@ static hasPropertyNumberKeyObjectOrUndefined(test: unknown, property: string): test is TPropertyObject;

{
"name": "tscommons-core",
"version": "1.18.1",
"version": "1.18.2",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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