Skip to content

Commit 969237a

Browse files
committed
Revert the bin-version-check update for now
It introduces more packages down the dep tree.
1 parent 48d68c1 commit 969237a

3 files changed

Lines changed: 22 additions & 212 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {promises as fs} from 'node:fs';
22
import path from 'node:path';
33
import binCheck from '@xhmikosr/bin-check';
4-
import binaryVersionCheck from 'binary-version-check';
4+
import binVersionCheck from 'bin-version-check';
55
import download from '@xhmikosr/downloader';
66
import osFilterObject from '@xhmikosr/os-filter-obj';
77

@@ -127,7 +127,7 @@ export default class BinWrapper {
127127
}
128128

129129
if (this.version()) {
130-
return binaryVersionCheck(this.path(), this.version());
130+
return binVersionCheck(this.path(), this.version());
131131
}
132132
});
133133
}

package-lock.json

Lines changed: 19 additions & 209 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@xhmikosr/bin-check": "^7.0.3",
4545
"@xhmikosr/downloader": "^15.0.2",
4646
"@xhmikosr/os-filter-obj": "^3.0.0",
47-
"binary-version-check": "^6.1.0"
47+
"bin-version-check": "^5.1.0"
4848
},
4949
"devDependencies": {
5050
"ava": "~6.2.0",

0 commit comments

Comments
 (0)