@xhmikosr/bin-wrapper 13.0.5 → 13.0.7

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/index.js +1 -4
  2. package/package.json +8 -7
package/index.js CHANGED
@@ -163,10 +163,7 @@ export default class BinWrapper {
163
163
  );
164
164
  }
165
165
 
166
- const urls = [];
167
- for (const file of files) {
168
- urls.push(file.url);
169
- }
166
+ const urls = files.map(file => file.url);
170
167
 
171
168
  return Promise.all(
172
169
  urls.map(url =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xhmikosr/bin-wrapper",
3
- "version": "13.0.5",
3
+ "version": "13.0.7",
4
4
  "description": "Binary wrapper that makes your programs seamlessly available as local dependencies",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,21 +42,22 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@xhmikosr/bin-check": "^7.0.3",
45
- "@xhmikosr/downloader": "^15.0.1",
45
+ "@xhmikosr/downloader": "^15.0.2",
46
46
  "@xhmikosr/os-filter-obj": "^3.0.0",
47
47
  "bin-version-check": "^5.1.0"
48
48
  },
49
49
  "devDependencies": {
50
- "ava": "^6.1.2",
51
- "c8": "^9.1.0",
52
- "isexe": "^2.0.0",
53
- "nock": "^13.5.4",
50
+ "ava": "~6.2.0",
51
+ "c8": "^10.1.3",
52
+ "isexe": "^3.1.1",
53
+ "nock": "^14.0.5",
54
54
  "path-exists": "^5.0.0",
55
55
  "tempy": "^3.1.0",
56
- "xo": "^0.58.0"
56
+ "xo": "^0.60.0"
57
57
  },
58
58
  "xo": {
59
59
  "rules": {
60
+ "promise/prefer-await-to-then": "off",
60
61
  "unicorn/prevent-abbreviations": "off"
61
62
  }
62
63
  }