npm-packlist 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/index.js +1 -1
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -12,7 +12,7 @@ process.argv.slice(2).forEach(arg => {
12
12
  dirs.push(arg)
13
13
  })
14
14
 
15
- const sort = list => doSort ? list.sort((a, b) => a.localeCompare(b)) : list
15
+ const sort = list => doSort ? list.sort((a, b) => a.localeCompare(b, 'en')) : list
16
16
 
17
17
  const packlist = require('../')
18
18
  if (!dirs.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-packlist",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Get a list of the files to add from a folder into an npm package",
5
5
  "directories": {
6
6
  "test": "test"