added working reaction handling without role assignments
This commit is contained in:
4
.fleet/run.json
Normal file
4
.fleet/run.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
]
|
||||||
|
}
|
@ -1,6 +1,34 @@
|
|||||||
const {MessageReaction, PartialMessageReaction, User} = require("discord.js")
|
const {MessageReaction, PartialMessageReaction, User} = require("discord.js")
|
||||||
const {Connection} = require("mysql")
|
const {Connection} = require("mysql")
|
||||||
|
|
||||||
|
/**
|
||||||
|
reaction programming syntax
|
||||||
|
-----------------------------------------------------------------------------------------------------
|
||||||
|
MessageID:
|
||||||
|
ReactionEmoji:
|
||||||
|
Role = a role mention
|
||||||
|
Restriction:
|
||||||
|
None: this action has no restrictions
|
||||||
|
AddOnly: nonremovable action
|
||||||
|
AddOnce: can only be added oncuechange
|
||||||
|
Temporary: will only be added for a given time
|
||||||
|
StaffOnly: can only be added to staff [not final]
|
||||||
|
PremiumOnly: can only be added to as premium specified users [not final]
|
||||||
|
Duration: the time duration an action stays active if Restriction Temporary is
|
||||||
|
-----------------------------------------------------------------------------------------------------
|
||||||
|
gets moved to a more permanent documentation once syntax is final
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Development dummy data
|
||||||
|
const DevData = {
|
||||||
|
"1049942781579247627": {
|
||||||
|
"👀":{
|
||||||
|
Role: "test",
|
||||||
|
Restriction: "AddOnly"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* handles reactions in both ways
|
* handles reactions in both ways
|
||||||
* @param {MessageReaction | PartialMessageReaction} reaction the message reaction
|
* @param {MessageReaction | PartialMessageReaction} reaction the message reaction
|
||||||
@ -10,14 +38,15 @@ const {Connection} = require("mysql")
|
|||||||
*/
|
*/
|
||||||
const HandleReaction = async (reaction, user, database, Action) => {
|
const HandleReaction = async (reaction, user, database, Action) => {
|
||||||
// Handle if reaction is partial and therefor might throw api errors
|
// Handle if reaction is partial and therefor might throw api errors
|
||||||
if (reaction.partial()){
|
if (reaction.partial){
|
||||||
try{
|
try{
|
||||||
// global values
|
// global values
|
||||||
let react = await reaction.fetch()
|
let message = reaction.message
|
||||||
|
|
||||||
// Route Actions
|
// Route Actions
|
||||||
switch (Action) {
|
switch (Action) {
|
||||||
case "add":
|
case "add":
|
||||||
|
console.log(DevData[message.id][reaction._emoji.name])
|
||||||
break;
|
break;
|
||||||
case "remove":
|
case "remove":
|
||||||
break;
|
break;
|
||||||
@ -26,6 +55,8 @@ const HandleReaction = async (reaction, user, database, Action) => {
|
|||||||
console.log(e)
|
console.log(e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
console.error("error while checking if reaction was partial")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
31
index.js
31
index.js
@ -1,23 +1,20 @@
|
|||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
const { Client, GatewayIntentBits, Collection, REST, Routes, Events } = require('discord.js');
|
const { Client, GatewayIntentBits, Collection, REST, Routes, Events, Partials } = require('discord.js');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const sql = require('mysql');
|
const sql = require('mysql');
|
||||||
|
|
||||||
const bot = new Client({ intents: [GatewayIntentBits.Guilds] });
|
const bot = new Client({
|
||||||
|
intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageReactions ],
|
||||||
|
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
|
||||||
|
});
|
||||||
|
|
||||||
bot.commands = new Collection();
|
bot.commands = new Collection();
|
||||||
const commands = [];
|
const commands = [];
|
||||||
|
|
||||||
const { HandleReaction } = require("./Commons/Services/Reaction");
|
const { HandleReaction } = require("./Commons/Services/Reaction");
|
||||||
|
|
||||||
const Database = require("./Commons/Data/Database");
|
// const Database = require("./Commons/Data/Database");
|
||||||
const server = Database(process.env)
|
// const server = Database(process.env)
|
||||||
|
|
||||||
server.connect(function(err) {
|
|
||||||
if (err) {
|
|
||||||
console.error('error connecting: ' + err.stack);
|
|
||||||
process.exit(1)
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/* ===============
|
/* ===============
|
||||||
* File Import *
|
* File Import *
|
||||||
@ -49,11 +46,15 @@ bot.on(Events.InteractionCreate, async interaction => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Handles Reactions
|
// Handles Reactions
|
||||||
bot.on(Events.MessageReactionAdd, async reaction => {
|
bot.on(Events.MessageReactionAdd, async (reaction, user) => {
|
||||||
HandleReaction(reaction, Database, "add")
|
console.log("reaction")
|
||||||
|
console.log(reaction)
|
||||||
|
console.log(reaction._emoji.name, reaction.message.id)
|
||||||
|
HandleReaction(reaction, user, undefined, "add")
|
||||||
})
|
})
|
||||||
|
|
||||||
bot.on(Events.MessageReactionRemove, reaction => {
|
bot.on(Events.MessageReactionRemove, async (reaction, user) => {
|
||||||
HandleReaction(reaction, async Database, "remove")
|
HandleReaction(reaction, user, Database, "remove")
|
||||||
})
|
})
|
||||||
bot.login(process.env.TOKEN)
|
bot.login(process.env.TOKEN)
|
||||||
|
|
||||||
|
169
package-lock.json
generated
169
package-lock.json
generated
@ -15,42 +15,42 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@discordjs/builders": {
|
"node_modules/@discordjs/builders": {
|
||||||
"version": "1.3.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.4.0.tgz",
|
||||||
"integrity": "sha512-Pvca6Nw8Hp+n3N+Wp17xjygXmMvggbh5ywUsOYE2Et4xkwwVRwgzxDJiMUuYapPtnYt4w/8aKlf5khc8ipLvhg==",
|
"integrity": "sha512-nEeTCheTTDw5kO93faM1j8ZJPonAX86qpq/QVoznnSa8WWcCgJpjlu6GylfINTDW6o7zZY0my2SYdxx2mfNwGA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/util": "^0.1.0",
|
"@discordjs/util": "^0.1.0",
|
||||||
"@sapphire/shapeshift": "^3.7.0",
|
"@sapphire/shapeshift": "^3.7.1",
|
||||||
"discord-api-types": "^0.37.12",
|
"discord-api-types": "^0.37.20",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"ts-mixer": "^6.0.1",
|
"ts-mixer": "^6.0.2",
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@discordjs/collection": {
|
"node_modules/@discordjs/collection": {
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.3.0.tgz",
|
||||||
"integrity": "sha512-VvrrtGb7vbfPHzbhGq9qZB5o8FOB+kfazrxdt0OtxzSkoBuw9dURMkCwWizZ00+rDpiK2HmLHBZX+y6JsG9khw==",
|
"integrity": "sha512-ylt2NyZ77bJbRij4h9u/wVy7qYw/aDqQLWnadjvDqW/WoWCxrsX6M3CIw9GVP5xcGCDxsrKj5e0r5evuFYwrKg==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@discordjs/rest": {
|
"node_modules/@discordjs/rest": {
|
||||||
"version": "1.3.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.4.0.tgz",
|
||||||
"integrity": "sha512-U6X5J+r/MxYpPTlHFuPxXEf92aKsBaD2teBC7sWkKILIr30O8c9+XshfL7KFBCavnAqS/qE+PF9fgRilO3N44g==",
|
"integrity": "sha512-k3Ip7ffFSAfp7Mu4H/3BEXFvFz+JsbXRrRtpeBMnSp1LefhtlZWJE6xdXzNlblktKNQltnRwY+z0NZrGQdxAMw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/collection": "^1.2.0",
|
"@discordjs/collection": "^1.3.0",
|
||||||
"@discordjs/util": "^0.1.0",
|
"@discordjs/util": "^0.1.0",
|
||||||
"@sapphire/async-queue": "^1.5.0",
|
"@sapphire/async-queue": "^1.5.0",
|
||||||
"@sapphire/snowflake": "^3.2.2",
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
"discord-api-types": "^0.37.12",
|
"discord-api-types": "^0.37.20",
|
||||||
"file-type": "^18.0.0",
|
"file-type": "^18.0.0",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.1",
|
||||||
"undici": "^5.11.0"
|
"undici": "^5.13.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
@ -74,9 +74,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sapphire/shapeshift": {
|
"node_modules/@sapphire/shapeshift": {
|
||||||
"version": "3.7.0",
|
"version": "3.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.7.1.tgz",
|
||||||
"integrity": "sha512-A6vI1zJoxhjWo4grsxpBRBgk96SqSdjLX5WlzKp9H+bJbkM07mvwcbtbVAmUZHbi/OG3HLfiZ1rlw4BhH6tsBQ==",
|
"integrity": "sha512-JmYN/0GW49Vl8Hi4PwrsDBNjcuCylH78vWYolVys74LRIzilAAMINxx4RHQOdvYoz+ceJKVp4+zBbQ5kuIFOLw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"lodash.uniqwith": "^4.5.0"
|
"lodash.uniqwith": "^4.5.0"
|
||||||
@ -87,9 +87,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sapphire/snowflake": {
|
"node_modules/@sapphire/snowflake": {
|
||||||
"version": "3.2.2",
|
"version": "3.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.3.0.tgz",
|
||||||
"integrity": "sha512-ula2O0kpSZtX9rKXNeQMrHwNd7E4jPDJYUXmEGTFdMRfyfMw+FPyh04oKMjAiDuOi64bYgVkOV3MjK+loImFhQ==",
|
"integrity": "sha512-Hec5N6zEkZuZFLybVKyLFLlcSgYmR6C1/+9NkIhxPwOf6tgX52ndJCSz8ADejmbrNE0VuNCNkpzhRZzenEC9vA==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v14.0.0",
|
"node": ">=v14.0.0",
|
||||||
"npm": ">=7.0.0"
|
"npm": ">=7.0.0"
|
||||||
@ -101,9 +101,9 @@
|
|||||||
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
|
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "18.11.9",
|
"version": "18.11.11",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz",
|
||||||
"integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg=="
|
"integrity": "sha512-KJ021B1nlQUBLopzZmPBVuGU9un7WJd/W4ya7Ih02B4Uwky5Nja0yGYav2EfYIk0RR2Q9oVhf60S2XR1BCWJ2g=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/ws": {
|
"node_modules/@types/ws": {
|
||||||
"version": "8.5.3",
|
"version": "8.5.3",
|
||||||
@ -138,27 +138,27 @@
|
|||||||
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
|
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
|
||||||
},
|
},
|
||||||
"node_modules/discord-api-types": {
|
"node_modules/discord-api-types": {
|
||||||
"version": "0.37.18",
|
"version": "0.37.21",
|
||||||
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.18.tgz",
|
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.21.tgz",
|
||||||
"integrity": "sha512-mJ+9C8gmG5csssVZPH06Y8IGiJykljFyZc6n6F+T3vKo6yNBI5TtLIbwt6t9hJzsR5f1ITzRZ6cuPrTvRCUxqA=="
|
"integrity": "sha512-GB4ThibZEzWXcvgL2QfjKoDX5j1sNLWtgibodiJ9M9PM0u9bdR2t3vZ24oQWLKlksJehSJmZDtRsAibhcr46vw=="
|
||||||
},
|
},
|
||||||
"node_modules/discord.js": {
|
"node_modules/discord.js": {
|
||||||
"version": "14.6.0",
|
"version": "14.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.7.1.tgz",
|
||||||
"integrity": "sha512-On1K7xpJZRe0KsziIaDih2ksYPhgxym/ZqV45i1f3yig4vUotikqs7qp5oXiTzQ/UTiNRCixUWFTh7vA1YBCqw==",
|
"integrity": "sha512-1FECvqJJjjeYcjSm0IGMnPxLqja/pmG1B0W2l3lUY2Gi4KXiyTeQmU1IxWcbXHn2k+ytP587mMWqva2IA87EbA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/builders": "^1.3.0",
|
"@discordjs/builders": "^1.4.0",
|
||||||
"@discordjs/collection": "^1.2.0",
|
"@discordjs/collection": "^1.3.0",
|
||||||
"@discordjs/rest": "^1.3.0",
|
"@discordjs/rest": "^1.4.0",
|
||||||
"@discordjs/util": "^0.1.0",
|
"@discordjs/util": "^0.1.0",
|
||||||
"@sapphire/snowflake": "^3.2.2",
|
"@sapphire/snowflake": "^3.2.2",
|
||||||
"@types/ws": "^8.5.3",
|
"@types/ws": "^8.5.3",
|
||||||
"discord-api-types": "^0.37.12",
|
"discord-api-types": "^0.37.20",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"lodash.snakecase": "^4.1.1",
|
"lodash.snakecase": "^4.1.1",
|
||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.1",
|
||||||
"undici": "^5.11.0",
|
"undici": "^5.13.0",
|
||||||
"ws": "^8.9.0"
|
"ws": "^8.11.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.9.0"
|
"node": ">=16.9.0"
|
||||||
@ -246,33 +246,6 @@
|
|||||||
"node": ">= 0.6"
|
"node": ">= 0.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mysql/node_modules/readable-stream": {
|
|
||||||
"version": "2.3.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
|
||||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
|
||||||
"dependencies": {
|
|
||||||
"core-util-is": "~1.0.0",
|
|
||||||
"inherits": "~2.0.3",
|
|
||||||
"isarray": "~1.0.0",
|
|
||||||
"process-nextick-args": "~2.0.0",
|
|
||||||
"safe-buffer": "~5.1.1",
|
|
||||||
"string_decoder": "~1.1.1",
|
|
||||||
"util-deprecate": "~1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/mysql/node_modules/safe-buffer": {
|
|
||||||
"version": "5.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
|
||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
|
||||||
},
|
|
||||||
"node_modules/mysql/node_modules/string_decoder": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
|
||||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
|
||||||
"dependencies": {
|
|
||||||
"safe-buffer": "~5.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/peek-readable": {
|
"node_modules/peek-readable": {
|
||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz",
|
||||||
@ -291,16 +264,17 @@
|
|||||||
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
|
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
|
||||||
},
|
},
|
||||||
"node_modules/readable-stream": {
|
"node_modules/readable-stream": {
|
||||||
"version": "3.6.0",
|
"version": "2.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
||||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"inherits": "^2.0.3",
|
"core-util-is": "~1.0.0",
|
||||||
"string_decoder": "^1.1.1",
|
"inherits": "~2.0.3",
|
||||||
"util-deprecate": "^1.0.1"
|
"isarray": "~1.0.0",
|
||||||
},
|
"process-nextick-args": "~2.0.0",
|
||||||
"engines": {
|
"safe-buffer": "~5.1.1",
|
||||||
"node": ">= 6"
|
"string_decoder": "~1.1.1",
|
||||||
|
"util-deprecate": "~1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/readable-web-to-node-stream": {
|
"node_modules/readable-web-to-node-stream": {
|
||||||
@ -318,24 +292,23 @@
|
|||||||
"url": "https://github.com/sponsors/Borewit"
|
"url": "https://github.com/sponsors/Borewit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/safe-buffer": {
|
"node_modules/readable-web-to-node-stream/node_modules/readable-stream": {
|
||||||
"version": "5.2.1",
|
"version": "3.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||||
"funding": [
|
"dependencies": {
|
||||||
{
|
"inherits": "^2.0.3",
|
||||||
"type": "github",
|
"string_decoder": "^1.1.1",
|
||||||
"url": "https://github.com/sponsors/feross"
|
"util-deprecate": "^1.0.1"
|
||||||
},
|
},
|
||||||
{
|
"engines": {
|
||||||
"type": "patreon",
|
"node": ">= 6"
|
||||||
"url": "https://www.patreon.com/feross"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "consulting",
|
|
||||||
"url": "https://feross.org/support"
|
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
|
"node_modules/safe-buffer": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
},
|
},
|
||||||
"node_modules/sqlstring": {
|
"node_modules/sqlstring": {
|
||||||
"version": "2.3.1",
|
"version": "2.3.1",
|
||||||
@ -354,11 +327,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/string_decoder": {
|
"node_modules/string_decoder": {
|
||||||
"version": "1.3.0",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
||||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"safe-buffer": "~5.2.0"
|
"safe-buffer": "~5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/strtok3": {
|
"node_modules/strtok3": {
|
||||||
@ -404,9 +377,9 @@
|
|||||||
"integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
|
"integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA=="
|
||||||
},
|
},
|
||||||
"node_modules/undici": {
|
"node_modules/undici": {
|
||||||
"version": "5.12.0",
|
"version": "5.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-5.12.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.13.0.tgz",
|
||||||
"integrity": "sha512-zMLamCG62PGjd9HHMpo05bSLvvwWOZgGeiWlN/vlqu3+lRo3elxktVGEyLMX+IO7c2eflLjcW74AlkhEZm15mg==",
|
"integrity": "sha512-UDZKtwb2k7KRsK4SdXWG7ErXiL7yTGgLWvk2AXO1JMjgjh404nFo6tWSCM2xMpJwMPx3J8i/vfqEh1zOqvj82Q==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"busboy": "^1.6.0"
|
"busboy": "^1.6.0"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user