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

ts-commons

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-commons - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

logs/xvba_debug.log

9

dist/utils/string.utils.d.ts

@@ -0,1 +1,2 @@

export declare type NullableString = string | undefined | null;
export declare class StringUtils {

@@ -14,3 +15,3 @@ static readonly EMPTY: string;

*/
static isEmpty(str: string | undefined | null): boolean;
static isEmpty(str: NullableString): boolean;
/**

@@ -26,3 +27,3 @@ * check current string is not empty.

*/
static isNotEmpty(str: string | undefined | null): boolean;
static isNotEmpty(str: NullableString): str is NonNullable<NullableString>;
/**

@@ -38,3 +39,3 @@ * check current string is blank.

*/
static isBlank(str: string | undefined | null): boolean;
static isBlank(str: NullableString): boolean;
/**

@@ -50,3 +51,3 @@ * check current string is not blank.

*/
static isNotBlank(str: string | undefined | null): boolean;
static isNotBlank(str: NullableString): str is NonNullable<NullableString>;
/**

@@ -53,0 +54,0 @@ * Removes all leading and trailing white-space characters from the current string.

{
"name": "ts-commons",
"version": "1.0.29",
"version": "1.0.30",
"description": "common methods for typescript",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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