Comparing version 3.4.0 to 3.4.1
@@ -8,2 +8,8 @@ # Changelog | ||
## [3.4.0] - 2023-04-15 | ||
### Fixed | ||
* Issue with sorting multiple types in array (https://github.com/snovakovic/fast-sort/issues/62) | ||
## [3.3.3] - 2023-04-15 | ||
@@ -10,0 +16,0 @@ |
@@ -20,3 +20,3 @@ declare type IOrder = 1 | -1; | ||
export declare type ISortByObjectSorter<T> = ISortByAscSorter<T> | ISortByDescSorter<T>; | ||
interface IFastSort<T> { | ||
export interface IFastSort<T> { | ||
/** | ||
@@ -59,5 +59,5 @@ * Sort array in ascending order. | ||
export declare function createNewSortInstance(opts: ISortInstanceOptions): <T>(arrayToSort: T[]) => IFastSort<T>; | ||
export declare const defaultComparer: (a: any, b: any, order: any) => number; | ||
export declare const defaultComparer: (a: any, b: any, order: IOrder) => number; | ||
export declare const sort: <T>(arrayToSort: readonly T[]) => IFastSort<T>; | ||
export declare const inPlaceSort: <T>(arrayToSort: T[]) => IFastSort<T>; | ||
export {}; |
@@ -20,3 +20,3 @@ declare type IOrder = 1 | -1; | ||
export declare type ISortByObjectSorter<T> = ISortByAscSorter<T> | ISortByDescSorter<T>; | ||
interface IFastSort<T> { | ||
export interface IFastSort<T> { | ||
/** | ||
@@ -59,5 +59,5 @@ * Sort array in ascending order. | ||
export declare function createNewSortInstance(opts: ISortInstanceOptions): <T>(arrayToSort: T[]) => IFastSort<T>; | ||
export declare const defaultComparer: (a: any, b: any, order: any) => number; | ||
export declare const defaultComparer: (a: any, b: any, order: IOrder) => number; | ||
export declare const sort: <T>(arrayToSort: readonly T[]) => IFastSort<T>; | ||
export declare const inPlaceSort: <T>(arrayToSort: T[]) => IFastSort<T>; | ||
export {}; |
{ | ||
"name": "fast-sort", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Fast easy to use and flexible sorting with TypeScript support", | ||
@@ -5,0 +5,0 @@ "author": "Stefan Novakovic <stefan.novakovich@gmail.com>", |
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
34634