Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-sort

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-sort - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

6

CHANGELOG.md

@@ -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 @@

4

dist/sort.d.ts

@@ -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>",

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