libnpmexec 1.1.0 → 1.1.1

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.
@@ -12,7 +12,7 @@ const cacheInstallDir = ({ cache, packages }) => {
12
12
 
13
13
  const getHash = (packages) =>
14
14
  crypto.createHash('sha512')
15
- .update(packages.sort((a, b) => a.localeCompare(b)).join('\n'))
15
+ .update(packages.sort((a, b) => a.localeCompare(b, 'en')).join('\n'))
16
16
  .digest('hex')
17
17
  .slice(0, 16)
18
18
 
package/lib/index.js CHANGED
@@ -143,7 +143,7 @@ const exec = async (opts) => {
143
143
  },
144
144
  }))
145
145
  .map(mani => mani._from)
146
- .sort((a, b) => a.localeCompare(b))
146
+ .sort((a, b) => a.localeCompare(b, 'en'))
147
147
 
148
148
  // no need to install if already present
149
149
  if (add.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmexec",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "files": [
5
5
  "lib"
6
6
  ],
package/CHANGELOG.md DELETED
@@ -1,17 +0,0 @@
1
- # Changelog
2
-
3
- ## v1.1.0
4
-
5
- - Add add walk up dir lookup logic to satisfy local bins,
6
- similar to `@npmcli/run-script`
7
-
8
- ## v1.0.1
9
-
10
- - Fix `scriptShell` option name.
11
-
12
- ## v1.0.0
13
-
14
- - Initial implementation, moves the code that used to live in the **npm cli**,
15
- ref: https://github.com/npm/cli/blob/release/v7.10.0/lib/exec.js into this
16
- separate module, providing a programmatic API to the **npm exec** functionality.
17
-