Socket
Socket
Sign inDemoInstall

angular-extensions

Package Overview
Dependencies
25
Maintainers
1
Versions
220
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 14.0.72 to 14.0.73

20

core/object.extensions.d.ts
declare global {
interface StartCaseOptions {
/**
* Should insert a space before digit present in string. E.g. "every10Month" => "Every 10 Month"
*/
insertSpaceBeforeDigits?: boolean;
/**
* Should insert a space after digit present in string. E.g. "calculate10e" => "Calculate 10 e"
*/
insertSpaceAfterDigits?: boolean;
/**
* Should insert a space before abbreviation present in string. E.g. "FaceID" => "Face ID"
*/
insertSpaceBeforeAbbreviations?: boolean;
/**
* Should make single letter part present in string. E.g. "pH" => "PH"
*/
capitalizeSingleLetters?: boolean;
}
interface String {
trimEnd(this: string, charList?: string): string;
toStartCase(this: string, options?: StartCaseOptions): string;
}

@@ -122,2 +141,3 @@ interface Dictionary<T> {

}): FormData;
export declare function toStartCase(this: string, options?: StartCaseOptions): string;
export {};

2

package.json
{
"name": "angular-extensions",
"version": "14.0.72",
"version": "14.0.73",
"repository": "https://github.com/nazar-kuzo/angular-extensions.git",

@@ -5,0 +5,0 @@ "author": "Nazar Kuzo",

@@ -11,8 +11,9 @@ import { PipeTransform } from "@angular/core";

* @param insertSpaceBeforeAbbreviations Should insert a space before abbreviation present in string. E.g. "FaceID" => "Face ID"
* @param insertSpaceAfterDigits Should insert a space after digit present in string. E.g. "calculate10e" => "Calculate 10 e"
* @param capitalizeSingleLetters Should make single letter part present in string. E.g. "pH" => "PH"
* @returns Formatted string
*/
transform(value?: string, insertSpaceBeforeDigits?: boolean, insertSpaceBeforeAbbreviations?: boolean): string;
private startCase;
transform(value?: string, insertSpaceBeforeDigits?: boolean, insertSpaceBeforeAbbreviations?: boolean, insertSpaceAfterDigits?: boolean, capitalizeSingleLetters?: boolean): string;
static ɵfac: i0.ɵɵFactoryDeclaration<StartCasePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<StartCasePipe, "startCase", false>;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc