mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
Node 18+
This commit is contained in:
parent
bd6edcd309
commit
d1594b8278
3 changed files with 19 additions and 19 deletions
30
package-lock.json
generated
30
package-lock.json
generated
|
@ -15,7 +15,7 @@
|
||||||
"@discordjs/voice": "^0.15.0",
|
"@discordjs/voice": "^0.15.0",
|
||||||
"btoa": "^1.2.1",
|
"btoa": "^1.2.1",
|
||||||
"canvacord": "^5.1.0",
|
"canvacord": "^5.1.0",
|
||||||
"canvas": "^2.9.0",
|
"canvas": "^2.10.2",
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"cron": "^2.1.0",
|
"cron": "^2.1.0",
|
||||||
"discord-api-types": "^0.37.36",
|
"discord-api-types": "^0.37.36",
|
||||||
|
@ -1087,13 +1087,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/canvas": {
|
"node_modules/canvas": {
|
||||||
"version": "2.9.3",
|
"version": "2.10.2",
|
||||||
"resolved": "https://registry.npmjs.org/canvas/-/canvas-2.9.3.tgz",
|
"resolved": "https://registry.npmjs.org/canvas/-/canvas-2.10.2.tgz",
|
||||||
"integrity": "sha512-WOUM7ghii5TV2rbhaZkh1youv/vW1/Canev6Yx6BG2W+1S07w8jKZqKkPnbiPpQEDsnJdN8ouDd7OvQEGXDcUw==",
|
"integrity": "sha512-FSmlsip0nZ0U4Zcfht0qBJqDhlfGuevTZKE8h+dBOYrJjGvY3iqMGSzzbvkaFhvMXiVxfcMaPHS/kge++T5SKg==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mapbox/node-pre-gyp": "^1.0.0",
|
"@mapbox/node-pre-gyp": "^1.0.0",
|
||||||
"nan": "^2.15.0",
|
"nan": "^2.17.0",
|
||||||
"simple-get": "^3.0.3"
|
"simple-get": "^3.0.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -3142,9 +3142,9 @@
|
||||||
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
||||||
},
|
},
|
||||||
"node_modules/nan": {
|
"node_modules/nan": {
|
||||||
"version": "2.16.0",
|
"version": "2.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz",
|
"resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
|
||||||
"integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA=="
|
"integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ=="
|
||||||
},
|
},
|
||||||
"node_modules/natural-compare": {
|
"node_modules/natural-compare": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
|
@ -5256,12 +5256,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"canvas": {
|
"canvas": {
|
||||||
"version": "2.9.3",
|
"version": "2.10.2",
|
||||||
"resolved": "https://registry.npmjs.org/canvas/-/canvas-2.9.3.tgz",
|
"resolved": "https://registry.npmjs.org/canvas/-/canvas-2.10.2.tgz",
|
||||||
"integrity": "sha512-WOUM7ghii5TV2rbhaZkh1youv/vW1/Canev6Yx6BG2W+1S07w8jKZqKkPnbiPpQEDsnJdN8ouDd7OvQEGXDcUw==",
|
"integrity": "sha512-FSmlsip0nZ0U4Zcfht0qBJqDhlfGuevTZKE8h+dBOYrJjGvY3iqMGSzzbvkaFhvMXiVxfcMaPHS/kge++T5SKg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@mapbox/node-pre-gyp": "^1.0.0",
|
"@mapbox/node-pre-gyp": "^1.0.0",
|
||||||
"nan": "^2.15.0",
|
"nan": "^2.17.0",
|
||||||
"simple-get": "^3.0.3"
|
"simple-get": "^3.0.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -6789,9 +6789,9 @@
|
||||||
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
||||||
},
|
},
|
||||||
"nan": {
|
"nan": {
|
||||||
"version": "2.16.0",
|
"version": "2.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz",
|
"resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
|
||||||
"integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA=="
|
"integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ=="
|
||||||
},
|
},
|
||||||
"natural-compare": {
|
"natural-compare": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"@discordjs/voice": "^0.15.0",
|
"@discordjs/voice": "^0.15.0",
|
||||||
"btoa": "^1.2.1",
|
"btoa": "^1.2.1",
|
||||||
"canvacord": "^5.1.0",
|
"canvacord": "^5.1.0",
|
||||||
"canvas": "^2.9.0",
|
"canvas": "^2.10.2",
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"cron": "^2.1.0",
|
"cron": "^2.1.0",
|
||||||
"discord-api-types": "^0.37.36",
|
"discord-api-types": "^0.37.36",
|
||||||
|
|
|
@ -11,10 +11,10 @@ const checks = [
|
||||||
() => {
|
() => {
|
||||||
console.log("\n\nEnvironnement");
|
console.log("\n\nEnvironnement");
|
||||||
return new Promise(res => {
|
return new Promise(res => {
|
||||||
if (parseInt(process.version.split(".")[0].split("v")[1]) >= 12) {
|
if (parseInt(process.version.split(".")[0].split("v")[1]) >= 18) {
|
||||||
success("node.js version equal or higher than v12");
|
success("node.js version equal or higher than v18");
|
||||||
} else {
|
} else {
|
||||||
error("node.js version should be equal or higher than v12");
|
error("node.js version should be equal or higher than v18");
|
||||||
}
|
}
|
||||||
res();
|
res();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue