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 Versions

1
6

2.1.0

Diff

snovakovic
published 2.0.1 •

snovakovic
published 2.0.0 •

Changelog

Source

[2.0.0] - 2019-12-14

Added

  • Option to create new custom sort instance
  const naturalSort = sort.createNewInstance({
    comparer: new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' }).compare,
  });
  • TypeScript support
  • more info on this release on https://github.com/snovakovic/fast-sort/releases/tag/v2.0.0
snovakovic
published 1.6.0 •

Changelog

Source

[1.6.0]

Added

  • Option to override default comparer in by sorter
  sort(testArr).by({
    desc: true,
    comparer: new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' }).compare,
  });
snovakovic
published 1.5.6 •

snovakovic
published 1.5.5 •

snovakovic
published 1.5.4 •

snovakovic
published 1.5.3 •

snovakovic
published 1.5.2 •

snovakovic
published 1.5.1 •

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