You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
This will make `npm pack` output the tarball contents
in an alphabetically and natural sort order.
The current implementation uses `localeCompare` with
the following options:
1. **sensitivity**: `base`, to correctly handle non-ascii letters
using their base ascii, so that `á`,`â`, `ä`, `ã`, `å` are
all handled like `a`
1. **numbers**: `true`, to handle numeric filenames as natural
ascending order so that, for instance, file `10.txt` appears after `9.txt`
---
Convo from npm/rfcs#96
cc @ruyadorno@isaacs
0 commit comments