You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typescript-string-operations

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-string-operations - npm Package Compare versions

Comparing version

to
1.5.0-rc.5

tests/node_modules/typescript-string-operations/tests/node_modules/typescript-string-operations/tests/node_modules/typescript-string-operations/index.d.ts

4

package.json
{
"name": "typescript-string-operations",
"version": "1.5.0-rc.4",
"version": "1.5.0-rc.5",
"description": "Simple lightweight string operation library for Typescript, works with Angular",

@@ -42,3 +42,3 @@ "main": "dist/index.min.js",

"uglify-js": "^3.17.0",
"typescript-string-operations": "1.5.0-rc.4"
"typescript-string-operations": "1.5.0-rc.5"
},

@@ -45,0 +45,0 @@ "directories": {

@@ -10,3 +10,3 @@

// @ts-ignore
export declare class String implements StringConstructor, $String {
export declare class String extends $String implements StringConstructor {
new(value?: any): string;

@@ -13,0 +13,0 @@ constructor(value?: any);

@@ -10,3 +10,3 @@

// @ts-ignore
export declare class String implements StringConstructor {
export declare class String implements StringConstructor, $String {
new(value?: any): string;

@@ -21,16 +21,16 @@ constructor(value?: any);

*/
Empty: string;
static Empty: string;
/**
* @deprecated The method should not be used, and will be removed in future versions! Use `String.isNullOrWhiteSpace()` instead.
*/
IsNullOrWhiteSpace(value: string | null | undefined): boolean;
static IsNullOrWhiteSpace(value: string | null | undefined): boolean;
/**
* @deprecated The method should not be used, and will be removed in future versions! Use `String.join()` instead.
*/
Join(delimiter: string, ...args: (string | object | Array<any>)[]): string;
static Join(delimiter: string, ...args: (string | object | Array<any>)[]): string;
/**
* @deprecated The method should not be used, and will be removed in future version!s Use `String.format()` instead.
*/
Format(format: string, ...args: any[]): string;
static Format(format: string, ...args: any[]): string;
}

@@ -9,3 +9,6 @@

export interface String extends $String, StringConstructor {
// @ts-ignore
export declare class String implements StringConstructor {
new(value?: any): string;
constructor(value?: any);
prototype: globalThis.String;

@@ -12,0 +15,0 @@ fromCharCode(...codes: number[]): string;