ray-1337
2 years ago
No known key found for this signature in database
GPG Key ID: DED41DCC150FCD32
2 changed files with
3 additions and
2 deletions
-
package.json
-
src/Util.ts
|
@ -41,7 +41,7 @@ |
|
|
"url": "https://13373333.one" |
|
|
"url": "https://13373333.one" |
|
|
}, |
|
|
}, |
|
|
"engines": { |
|
|
"engines": { |
|
|
"node": ">=14" |
|
|
"node": ">=16" |
|
|
}, |
|
|
}, |
|
|
"keywords": [ |
|
|
"keywords": [ |
|
|
"ufw", |
|
|
"ufw", |
|
|
|
@ -18,7 +18,8 @@ export function checkSudo() { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export function checkNodeVersion() { |
|
|
export function checkNodeVersion() { |
|
|
const currentApropriateVersion = 14, nodeVersion = versions.node.split('.'); |
|
|
const currentApropriateVersion = 16; |
|
|
|
|
|
const nodeVersion = versions.node.split('.'); |
|
|
|
|
|
|
|
|
return +nodeVersion[0] > currentApropriateVersion ? true : false; |
|
|
return +nodeVersion[0] > currentApropriateVersion ? true : false; |
|
|
}; |
|
|
}; |
|
|