From d1e9607c439a610a93e3456370a0d9136691ac56 Mon Sep 17 00:00:00 2001 From: abdfnx Date: Sat, 17 Sep 2022 10:53:08 +0300 Subject: [PATCH] update `.gitignore`, and update nodejs packages --- .gitignore | 1 + package.json | 4 +- packages/botway.js/README.md | 2 +- packages/botway.js/package.json | 2 +- pnpm-lock.yaml | 94 ++++++++++++++++----------------- 5 files changed, 52 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index c9e4a051..65219ad1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.so *.dylib /botway +/bin/botway # Test binary, built with `go test -c` *.test diff --git a/package.json b/package.json index 39afd5e3..74dc0d50 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ ], "dependencies": { "global": "^4.4.0", - "node-fetch": "^3.2.4", + "node-fetch": "^3.2.10", "node-stream-zip": "^1.15.0", "stream": "^0.0.2" }, "packageManager": "pnpm@7.9.0", "devDependencies": { - "turbo": "^1.4.3" + "turbo": "^1.4.7" } } diff --git a/packages/botway.js/README.md b/packages/botway.js/README.md index 4966f842..3e0141b4 100755 --- a/packages/botway.js/README.md +++ b/packages/botway.js/README.md @@ -29,7 +29,7 @@ pnpm add botway.js const { GetToken, GetAppId, GetGuildId } = require("botway.js"); const { Client, Intents } = require("discord.js"); -const rest = new REST({ version: "9" }).setToken(GetToken()); +const rest = new REST({ version: "10" }).setToken(GetToken()); rest // how to get the id of my server? the answer in this discussion https://github.com/abdfnx/botway/discussions/4#discussioncomment-2653737 diff --git a/packages/botway.js/package.json b/packages/botway.js/package.json index 294e78ee..46166d37 100644 --- a/packages/botway.js/package.json +++ b/packages/botway.js/package.json @@ -1,6 +1,6 @@ { "name": "botway.js", - "version": "0.0.5", + "version": "0.0.6", "description": "Nodejs client for botway.", "author": "@abdfnx", "homepage": "https://github.com/abdfnx/botway", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b2938d3..37be8b45 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,17 +5,17 @@ importers: .: specifiers: global: ^4.4.0 - node-fetch: ^3.2.4 + node-fetch: ^3.2.10 node-stream-zip: ^1.15.0 stream: ^0.0.2 - turbo: ^1.4.3 + turbo: ^1.4.7 dependencies: global: 4.4.0 node-fetch: 3.2.10 node-stream-zip: 1.15.0 stream: 0.0.2 devDependencies: - turbo: 1.4.6 + turbo: 1.4.7 installer/assets: specifiers: @@ -1869,137 +1869,137 @@ packages: is-number: 7.0.0 dev: true - /turbo-android-arm64/1.4.6: - resolution: {integrity: sha512-YxSlHc64CF5J7yNUMiLBHkeLyzrpe75Oy7tivWb3z7ySG44BXPikk4HDJZPh0T1ELvukDwuPKkvDukJ2oCLJpA==} + /turbo-android-arm64/1.4.7: + resolution: {integrity: sha512-BtWtH8e8w1GhtYpGQmkcDS/AUzVZhQ4ZZN+qtUFei1wZD7VAdtJ9Wcsfi3WD+mXA6vtpIpRJVfQMcShr8l8ErA==} cpu: [arm64] os: [android] requiresBuild: true dev: true optional: true - /turbo-darwin-64/1.4.6: - resolution: {integrity: sha512-f6uto7LLpjwZ6iZSF+8uaDpuiTji6xmnWDxNuW23DBE8iv5mxehHd+6Ys851uKDRrPb3QdCu9ctyigKTAla5Vg==} + /turbo-darwin-64/1.4.7: + resolution: {integrity: sha512-bMvZaAz5diec9feZ0XpQosYI8U0kiOQM2tj2sv0Y2WZbe227wodVMCQMyUowmcotO8nr6NF76Xo5E+H+dnY6LQ==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.4.6: - resolution: {integrity: sha512-o9C6e5XyuMHQwE0fEhUxfpXxvNr2QXXWX8nxIjygxeF19AqKbk/s08vZBOEmXV6/gx/pRhZ1S2nf0PIUjKBD/Q==} + /turbo-darwin-arm64/1.4.7: + resolution: {integrity: sha512-AyfxYfKgh1EigQKjypbnDoMLuy4e/n/go+KYiWKKIpOaWXWLBokrBWzYN/aI3NMDRUJWK5ExdlWI9Nleelq8uQ==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-freebsd-64/1.4.6: - resolution: {integrity: sha512-Gg9VOUo6McXYKGevcYjGUSmMryZyZggvpdPh7Dw3QTcT8Tsy6OBtq6WnJ2O4kFDsMigyKtEOJPceD9vDMZt3yQ==} + /turbo-freebsd-64/1.4.7: + resolution: {integrity: sha512-T5/osfbCh0rL53MFS5byFFfsR3vPMHIKIJ4fMMCNkoHsmFj2R0Pv53nqhEItogt0FJwCDHPyt7oBqO83H/AWQQ==} cpu: [x64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-freebsd-arm64/1.4.6: - resolution: {integrity: sha512-W7VrcneWFN1QENKt5cpAPSsf9ArYBBAm3VtPBZEO5tX8kuahGlah1SKdKJXrRxYOY82wyNxDagS/rHpBlrAAzw==} + /turbo-freebsd-arm64/1.4.7: + resolution: {integrity: sha512-PL+SaO78AUCas+YKj01UiS2rpmGcxz8XPmLdFWmq6PYjPX6GL5UBAc3pkBphIm0aTLZtsikoEul+JrwAuAy6UA==} cpu: [arm64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-linux-32/1.4.6: - resolution: {integrity: sha512-76j/zsui6mWPX8pZVMGgF8eiKHPmKuGa2lo0A/Ja0HUvdYCOGUfHsWJGVVIeYbuEp3jsKyVt7OnMDeH9CqO6bg==} + /turbo-linux-32/1.4.7: + resolution: {integrity: sha512-dK94UwDzySMALoQtjBVVPbWJZP6xw3yHGuytM3q5p4kfMZPSA+rgNBn5T5Af2Rc7jxlLAsu5ODJ0SgIbWSF5Hg==} cpu: [ia32] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.4.6: - resolution: {integrity: sha512-z4A37Xm7lZyO9ddtGnvQHWMrsAKX6vFBxdbtb9MY76VRblo7lWSuk4LwCeM+T+ZDJ9LBFiF7aD/diRShlLx9jA==} + /turbo-linux-64/1.4.7: + resolution: {integrity: sha512-F6IM23zgTYo9gYJaNp17gVvQBt0hMIvz52OF91DpPYSLpV2h9OSlzPJ3j5TGaWueS/bc/YCV23+VojXX/MauGQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm/1.4.6: - resolution: {integrity: sha512-Uh/V3oaAdhyZW6FKPpKihAxQo3EbvLaVNnzzkBmBnvHRkqoDJHhpuG72V7nn8pzxVbJ1++NEVjvbc2kmKFvGjg==} + /turbo-linux-arm/1.4.7: + resolution: {integrity: sha512-FTh4itdMNZ7IxGKknFnQ6iPO9vGGKqyySkCYLR01lnw6BTnKL9KuM9XUCBRyn7dNmHhAnqu1ZtVsBkH7CE7DEw==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.4.6: - resolution: {integrity: sha512-FW1jmOpZfOoVVvml338N0MPnYjiMyYWTaMb4T+IosgGYymcUE3xJjfXJcqfU/9/uKTyY8zG0qr9/5rw2kpMS2Q==} + /turbo-linux-arm64/1.4.7: + resolution: {integrity: sha512-kFe5jzj3FoY6jAEwyNEswndj1t/fPl0qyxfcQv6aNPz7Nb2Lh7mY/EEse+CG3ydIo5RZKba7ppQoBSDmHx7JsA==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-mips64le/1.4.6: - resolution: {integrity: sha512-iWaL3Pwj52BH3T2M8nXScmbSnq4+x47MYK7lJMG7FsZGAIoT5ToO1Wt1iX3GRHTcnIZYm/kCfJ1ptK/NCossLA==} + /turbo-linux-mips64le/1.4.7: + resolution: {integrity: sha512-756nG8dnPQVcnl9s70S4NQ43aJjpsnc2h0toktPO+9u2ayv9XTbIPvZLFsS55bDeYhodDGvxoB96W6Xnx01hyQ==} cpu: [mipsel] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-ppc64le/1.4.6: - resolution: {integrity: sha512-Af/KlUmpiORDyELxT7byXNWl3fefErGQMJfeqXEtAdhs8OCKQWuU+lchcZbiBZYNpL+lZoa3PAmP9Fpx7R4plA==} + /turbo-linux-ppc64le/1.4.7: + resolution: {integrity: sha512-VS2ofGN/XsafNGJdZ21UguURHb7KRG879yWLj59hO1d+0xXXQbx7ljsmEPOhiE4UjEdx4Ur6P44BhztTgDx9Og==} cpu: [ppc64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-32/1.4.6: - resolution: {integrity: sha512-NBd+XPlRSaR//lVN13Q9DOqK3CbowSvafIyGsO4jfvMsGTdyNDL6AYtFsvTKW91/G7ZhATmSEkPn2pZRuhP/DA==} + /turbo-windows-32/1.4.7: + resolution: {integrity: sha512-M5GkZdA0CbJAOcR8SScM63CBV+NtX7qjhoNNOl0F99nGJ+rO3dH71CcM/rbhlz9SQzKQoX8rcuwZHe4r2HZAug==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.4.6: - resolution: {integrity: sha512-86AbmG+CjzVTpn4RGtwU2CYy4zSyAc9bIQ4pDGLIpCJg6JlD11duaiMJh0SCU/HCqWLJjWDI4qD+f9WNbgPsyQ==} + /turbo-windows-64/1.4.7: + resolution: {integrity: sha512-ftZUtZ1BX1vi8MbxKr+a7riIkhwvGnNTtWGprVu+aDJ8PnV+lNqbkrLJGvKP7Cn22hGTfzcjNNPcJ5PBZpQEQw==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.4.6: - resolution: {integrity: sha512-V+pWcqhTtmQQ3ew8qEjYtUwzyW6tO1RgvP+6OKzItYzTnMTr1Fe42Q21V+tqRNxuNfFDKsgVJdk2p5wB87bvyQ==} + /turbo-windows-arm64/1.4.7: + resolution: {integrity: sha512-mZ79XeJFfaeVKdBV3w0eoGaqAxFnwxrme0jZtSWemAbeDSCF/13wcbLGwtq0+Lu0LxEGweeQ5AqsCIc9t9i6sA==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.4.6: - resolution: {integrity: sha512-FKtBXlOJ7YjSK22yj4sJLCtDcHFElypt7xw9cZN7Wyv9x4XBrTmh5KP6RmcGnRR1/GJlTNwD2AY2T9QTPnHh+g==} + /turbo/1.4.7: + resolution: {integrity: sha512-oIk7PAISPidDOkTM5M+ydEe5GDQ/+TahDgIbaYKeAAy2Qpmur4s0HybSDWHIdxLqI96OPD/mOKymRLrjh3Mdhg==} hasBin: true requiresBuild: true optionalDependencies: - turbo-android-arm64: 1.4.6 - turbo-darwin-64: 1.4.6 - turbo-darwin-arm64: 1.4.6 - turbo-freebsd-64: 1.4.6 - turbo-freebsd-arm64: 1.4.6 - turbo-linux-32: 1.4.6 - turbo-linux-64: 1.4.6 - turbo-linux-arm: 1.4.6 - turbo-linux-arm64: 1.4.6 - turbo-linux-mips64le: 1.4.6 - turbo-linux-ppc64le: 1.4.6 - turbo-windows-32: 1.4.6 - turbo-windows-64: 1.4.6 - turbo-windows-arm64: 1.4.6 + turbo-android-arm64: 1.4.7 + turbo-darwin-64: 1.4.7 + turbo-darwin-arm64: 1.4.7 + turbo-freebsd-64: 1.4.7 + turbo-freebsd-arm64: 1.4.7 + turbo-linux-32: 1.4.7 + turbo-linux-64: 1.4.7 + turbo-linux-arm: 1.4.7 + turbo-linux-arm64: 1.4.7 + turbo-linux-mips64le: 1.4.7 + turbo-linux-ppc64le: 1.4.7 + turbo-windows-32: 1.4.7 + turbo-windows-64: 1.4.7 + turbo-windows-arm64: 1.4.7 dev: true /type-fest/2.19.0: