@xhmikosr/bin-wrapper 13.0.6 → 13.1.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.
- package/index.js +2 -2
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {promises as fs} from 'node:fs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import binCheck from '@xhmikosr/bin-check';
|
|
4
|
-
import
|
|
4
|
+
import binVersionCheck from 'bin-version-check';
|
|
5
5
|
import download from '@xhmikosr/downloader';
|
|
6
6
|
import osFilterObject from '@xhmikosr/os-filter-obj';
|
|
7
7
|
|
|
@@ -127,7 +127,7 @@ export default class BinWrapper {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
if (this.version()) {
|
|
130
|
-
return
|
|
130
|
+
return binVersionCheck(this.path(), this.version());
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xhmikosr/bin-wrapper",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"description": "Binary wrapper that makes your programs seamlessly available as local dependencies",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"wrapper"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@xhmikosr/bin-check": "^7.0
|
|
45
|
-
"@xhmikosr/downloader": "^15.0
|
|
44
|
+
"@xhmikosr/bin-check": "^7.1.0",
|
|
45
|
+
"@xhmikosr/downloader": "^15.1.0",
|
|
46
46
|
"@xhmikosr/os-filter-obj": "^3.0.0",
|
|
47
|
-
"
|
|
47
|
+
"bin-version-check": "^5.1.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"ava": "~6.2.0",
|
|
51
51
|
"c8": "^10.1.3",
|
|
52
52
|
"isexe": "^3.1.1",
|
|
53
|
-
"nock": "^14.0.
|
|
53
|
+
"nock": "^14.0.6",
|
|
54
54
|
"path-exists": "^5.0.0",
|
|
55
55
|
"tempy": "^3.1.0",
|
|
56
56
|
"xo": "^0.60.0"
|