Comparing version 3.0.1 to 3.0.3
@@ -8,3 +8,3 @@ import * as i0 from "@angular/core"; | ||
*/ | ||
_min(arr: Array<any>): number; | ||
_min(arr: Array<any>): any; | ||
/** | ||
@@ -14,3 +14,3 @@ * _max: Returns the maximum value in the array | ||
*/ | ||
_max(arr: Array<any>): number; | ||
_max(arr: Array<any>): any; | ||
/** | ||
@@ -22,3 +22,3 @@ * _sortNumbers: method sorts the elements of an numbers array in place and returns the sorted array. The default sort order is ascending | ||
*/ | ||
_sortNumbers(arr: Array<any>, mode?: number): any[]; | ||
_sortNumbers(arr: Array<any>, mode?: number | any): Array<any> | any; | ||
/** | ||
@@ -29,3 +29,3 @@ * _sort: method sorts the elements of an array in place and returns the sorted array. The default sort order is ascending | ||
*/ | ||
_sort(arr: Array<any>): any[]; | ||
_sort(arr: Array<any>): Array<any> | any; | ||
/** | ||
@@ -35,3 +35,3 @@ * _reverse: Returns the reverse ordered array | ||
*/ | ||
_reverse(arr: Array<any>): any[]; | ||
_reverse(arr: Array<any>): Array<any> | any; | ||
/** | ||
@@ -42,3 +42,3 @@ * _join: New string by concatenating all of the elements in an array | ||
*/ | ||
_join(arr: Array<any>, joinBy?: string): string; | ||
_join(arr: Array<any>, joinBy?: string | any): string | any; | ||
/** | ||
@@ -50,3 +50,3 @@ * _isValidArray: Checks whether the passed item is array or not | ||
*/ | ||
_isValidArray(arr: any): boolean; | ||
_isValidArray(arr: any): boolean | any; | ||
/** | ||
@@ -60,3 +60,3 @@ * _indexOfFrom: Returns the index of item from given array from starting at particular index | ||
*/ | ||
_indexOfFrom(arr: Array<any>, item: any, start: number): number; | ||
_indexOfFrom(arr: Array<any>, item: any, start: number | any): number | any; | ||
/** | ||
@@ -69,3 +69,3 @@ * _indexOf: Returns the index of item from given array | ||
*/ | ||
_indexOf(arr: Array<any>, item: any): number; | ||
_indexOf(arr: Array<any>, item: any): number | any; | ||
/** | ||
@@ -79,3 +79,3 @@ * _hasAt: Checks whether the array contains the item at particular given index | ||
*/ | ||
_hasAt(arr: Array<any>, item: any, positionIndex: number): boolean; | ||
_hasAt(arr: Array<any>, item: any, positionIndex: number | any): boolean | any; | ||
/** | ||
@@ -88,3 +88,3 @@ * _has: Checks whether the array contains the item | ||
*/ | ||
_has(arr: Array<any>, item: any): boolean; | ||
_has(arr: Array<any>, item: any): boolean | any; | ||
/** | ||
@@ -97,3 +97,3 @@ * _filterNumbersArray: Filters integer array for an given condition and returns a new array. | ||
*/ | ||
_filterNumbersArray(arr: Array<number>, condition: any, expected: number): number[]; | ||
_filterNumbersArray(arr: Array<number>, condition: any, expected: number | any): any; | ||
/** | ||
@@ -107,3 +107,3 @@ * _fill: method shallow copies part of an array to another location in the same array and returns it without modifying its length method changes all elements in an array to a static value, from a start index (default 0) to an end index (default array.length). It returns the modified array. | ||
*/ | ||
_fill(arr: Array<any>, value: any, from: number, to: number): Array<any>; | ||
_fill(arr: Array<any>, value: any, from: number | any, to: number | any): Array<any> | any; | ||
/** | ||
@@ -117,3 +117,3 @@ * _copyWithin: method shallow copies part of an array to another location in the same array and returns it without modifying its length | ||
*/ | ||
_copyWithin(arr: Array<any>, from: number, to: number): Array<any>; | ||
_copyWithin(arr: Array<any>, from: number | any, to: number | any): Array<any> | any; | ||
/** | ||
@@ -131,3 +131,3 @@ * _concat: method is used to merge two or more arrays. | ||
*/ | ||
_length(arr: Array<any>): number; | ||
_length(arr: Array<any>): number | any; | ||
/** | ||
@@ -138,3 +138,3 @@ * _copy: Duplicates an array | ||
*/ | ||
_copy(arr: Array<any>): Array<any>; | ||
_copy(arr: Array<any>): Array<any> | any; | ||
/** | ||
@@ -147,3 +147,3 @@ * _slice: returns a shallow copy of a portion of an array into a new array object selected from start to end | ||
*/ | ||
_slice(arr: Array<any>, start: number, end?: number): Array<any>; | ||
_slice(arr: Array<any>, start: number | any, end?: number | any): Array<any> | any; | ||
/** | ||
@@ -156,3 +156,3 @@ * _splice: Cut of / Splice of an items at particular valid index | ||
*/ | ||
_splice(arr: Array<any>, start: number, end?: number): Array<any>; | ||
_splice(arr: Array<any>, start: number | any, end?: number | any): Array<any> | any; | ||
/** | ||
@@ -183,5 +183,5 @@ * _shift: It will remove the array item at beginning & return item | ||
*/ | ||
_push(arr: Array<any>, item: any): Array<any>; | ||
_push(arr: Array<any>, item: any): Array<any> | any; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxArrayService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<NgxArrayService>; | ||
} |
@@ -8,3 +8,3 @@ { | ||
"description": "Array class is a global object that is used in the construction of arrays; which are high-level, list-like objects.", | ||
"version": "3.0.1", | ||
"version": "3.0.3", | ||
"peerDependencies": { | ||
@@ -11,0 +11,0 @@ "@angular/common": "^15.2.0", |
@@ -16,2 +16,4 @@ <img width="256px" src="https://icon.beforepost.com/VYJ57IDB-D5QBG9K9-CXN7I5MX.svg"/> | ||
--- | ||
[<img src="https://github.com/manoj10101996/resources/blob/main/ngx-array-poster.png?raw=true" width="100%" >](https://www.beforepost.com/package/ngx/ngx-array) | ||
--- | ||
@@ -18,0 +20,0 @@ ## Import |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
154507
148
0