@xhmikosr/bin-wrapper 9.0.0 → 11.0.0

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 +4 -6
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -36,11 +36,7 @@ export default class BinWrapper {
36
36
  }
37
37
 
38
38
  this._src = this._src || [];
39
- this._src.push({
40
- url: src,
41
- os,
42
- arch,
43
- });
39
+ this._src.push({url: src, os, arch});
44
40
 
45
41
  return this;
46
42
  }
@@ -175,7 +171,9 @@ export default class BinWrapper {
175
171
  urls.map(url =>
176
172
  download(url, this.dest(), {
177
173
  extract: true,
178
- strip: this.options.strip,
174
+ decompress: {
175
+ strip: this.options.strip,
176
+ },
179
177
  }),
180
178
  ),
181
179
  ).then(result => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xhmikosr/bin-wrapper",
3
- "version": "9.0.0",
3
+ "version": "11.0.0",
4
4
  "description": "Binary wrapper that makes your programs seamlessly available as local dependencies",
5
5
  "license": "MIT",
6
6
  "repository": "XhmikosR/bin-wrapper",
@@ -39,13 +39,13 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@xhmikosr/bin-check": "^6.0.0",
42
- "@xhmikosr/downloader": "^11.0.2",
42
+ "@xhmikosr/downloader": "^13.0.0",
43
43
  "bin-version-check": "^5.0.0",
44
44
  "os-filter-obj": "^2.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "ava": "^5.3.0",
48
- "c8": "^7.14.0",
47
+ "ava": "^4.3.3",
48
+ "c8": "^8.0.0",
49
49
  "isexe": "^2.0.0",
50
50
  "nock": "^13.3.1",
51
51
  "path-exists": "^5.0.0",