New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fast-sort

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-sort - npm Package Versions

13456

3.1.1

Diff
snovakovic
published 3.1.1 •
snovakovic
published 3.1.0 •

Changelog

Source

[3.1.0] - 2021-11-10

Fixed

  • TypeScript interface to allow sorting readonly arrays if inPlaceSorting is not used
snovakovic
published 3.0.3 •
snovakovic
published 3.0.2 •
snovakovic
published 3.0.1 •
snovakovic
published 3.0.0 •

Changelog

Source

[3.0.0] - 2021-04-08

Changed

  • Default export has been replaced with named exports
import sort from 'fast-sort'; // older versions

import { sort } from 'fast-sort'; // v3 and up
  • By default sort no longer mutates array as was case in previous versions it now creates new array instance.

  • sort.createNewInstance is now provided as named export

import { createNewSortInstance } from 'fast-sort';

Added

  • inPlaceSort mutates provided array instead of creating new array instance. This was default behaviour of previous sort versions
  • inPlaceSorting option that can be passed to createNewSortInstance.
snovakovic
published 2.2.0 •

Changelog

Source

[2.2.0] - 2019-12-14

snovakovic
published 2.1.3 •
snovakovic
published 2.1.2 •
snovakovic
published 2.1.1 •