mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-28 03:30:37 +02:00
Update:Remove fast-sort dependency
This commit is contained in:
parent
e06a015d6e
commit
089d4b5cee
7 changed files with 135 additions and 16 deletions
|
@ -4,7 +4,7 @@ const filePerms = require('../utils/filePerms')
|
|||
const Logger = require('../Logger')
|
||||
const Library = require('../objects/Library')
|
||||
const libraryHelpers = require('../utils/libraryHelpers')
|
||||
const { sort, createNewSortInstance } = require('fast-sort')
|
||||
const { sort, createNewSortInstance } = require('../libs/fastSort')
|
||||
const naturalSort = createNewSortInstance({
|
||||
comparer: new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' }).compare
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue