mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
fix: minium version node.js v18
This commit is contained in:
parent
6edd6d29a7
commit
33272ee8b9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue