cannot use Node 16 for now, waiting on: https://github.com/LinusU/fs-temp/pull/6

pull/29/head
tycrek 4 years ago
parent f4d67e8b94
commit 9f4801a4e3
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -11,7 +11,7 @@ function doCheck() {
: reject(Object.entries(versions) : reject(Object.entries(versions)
.filter(([, { isSatisfied }]) => (!isSatisfied)) .filter(([, { isSatisfied }]) => (!isSatisfied))
.map(([packageName, { version: current, wanted: minimum }]) => .map(([packageName, { version: current, wanted: minimum }]) =>
`\nInvalid ${packageName} version!\n- Current: ${current}\n- Minimum: ${minimum}`) `\nInvalid ${packageName} version!\n- Current: ${current}\n- Required: ${minimum}`)
.join('') .join('')
.concat('\nPlease update to continue!')))); .concat('\nPlease update to continue!'))));
} }

@ -4,7 +4,7 @@
"description": "The superior self-hosted ShareX server", "description": "The superior self-hosted ShareX server",
"main": "ass.js", "main": "ass.js",
"engines": { "engines": {
"node": ">=14.x.x", "node": ">=14.7.x <16",
"npm": ">=7.x.x" "npm": ">=7.x.x"
}, },
"scripts": { "scripts": {

Loading…
Cancel
Save