mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
Update utils.ts
This commit is contained in:
parent
a5877fbc5a
commit
c5b8214a15
@ -10,7 +10,7 @@ export const resolveConfigPath = function (storageLocation: string, file: string
|
||||
return path.resolve(path.dirname(storageLocation), file);
|
||||
};
|
||||
|
||||
export const MIN_NODE_VERSION = '12';
|
||||
export const MIN_NODE_VERSION = '18';
|
||||
|
||||
export function isVersionValid(version) {
|
||||
return semver.satisfies(version, `>=${MIN_NODE_VERSION}`);
|
||||
|
Loading…
Reference in New Issue
Block a user