Update deps

Update to messages.json instead of messages.js
This commit is contained in:
Celeste 2022-10-21 12:51:50 +02:00
parent 4b8c310102
commit 6688d4dcd8
6 changed files with 145 additions and 420 deletions

4
.gitignore vendored
View file

@ -3,4 +3,6 @@
node_modules
deploy.sh
config.*json*
!config.json.sample
!config.json.sample
.env
package-lock.json

3
bot.js
View file

@ -4,6 +4,9 @@ const { Client } = require('discord.js');
const Config = require('./config.json');
const Command = require('./model/command');
const fs = require('fs');
const dotenv = require('dotenv')
dotenv.config();
global.bot = new Client({ fetchAllMembers: true });
global.isRightGuild = (guildSnowflake) => guildSnowflake === Config.guild;

View file

@ -1,299 +0,0 @@
// interface Message {
// name string[];
// description string;
// title string;
// text string;
// }
module.exports = [
{
names: [
'add-friend',
'add-friends',
'addfriend',
'addfriends',
'af',
],
description: 'Explains how to troubleshoot not being able to add a friend',
title: "Add friend",
"text":
'If you and your friends are unable to add each other as friends, or can\'t find each other as friends, ' +
'make sure that you are using a case sensitive username when adding each other. Additionally, you ' +
'can add people by using their user ID. '
},
{
names: [
'add-set-front',
'addsetfront',
'addset-front',
'add-setfront',
'add-set',
'addset',
'add-front',
'addfront',
'addtofront',
'set-front',
'setfront',
'settofront',
'asf',
],
description: 'Talks about how to set who is fronting in the application',
title: "Add / set front",
text:
'There are two ways in-app to show a member as fronting. "Set as front" and "Add to front". \n ' +
'\n' +
'Using "Set as front" will clear all members from your front list, and then add that member. "Add to front" ' +
'won\'t remove anyone from the list, but it will add the member whose add icon you tapped. You can ' +
'individually remove members by tapping the downward facing arrow next to their name.'
},
{
names: [
'avatar',
'avatars',
'images',
'image',
],
description: 'Explains why avatars uploaded to Simply Plural do not sync to PluralKit',
title: "Uploaded Avatars",
"text":
'Uploaded avatars on Simply Plural do not sync to PluralKit. This is because we have to pay for the hosting of ' +
'the avatars and the bandwidth associated with it. Allowing usage outside the app would be too costly for us. ' +
'If you want avatars synced between PluralKit and Simply Plural, make sure that you use avatar URLs instead.'
},
{
names: [
'custom-fields',
'customfields',
'custom-field',
'customfield',
'cfi',
],
description: 'Talks about the "custom fields" feature',
title: "Custom fields",
text:
'Custom fields are customizable fields for members such as: Birthday, Favorite Food, System Role, etc... \n ' +
'\n' +
'You can set them up in Settings -> Custom Fields. Every field has its own privacy, so you can set some fields ' +
'to be seen by all your friends, only your trusted friends or only your own system. There is no limit to ' +
'how many custom fields you can have. '
},
{
names: [
'custom-front',
'custom-fronts',
'customfront',
'customfronts',
'cf',
],
description: 'Explains what "custom front" is',
title: "Custom fronts",
text:
'Custom fronts is a kind of status for fronts, like "blurred", "unknown member", "dissociated", etc... \n ' +
'\n' +
'You don\'t want those to show up as real members in your system list but you still want to be able to ' +
'set front as one of them — that\'s where custom fronts kick in. \n ' +
'\n' +
'They\'re highly customizable (as per popular request), so you can name them anything you want.'
},
{
names: [
'front-history-importing',
'fronthistoryimporting',
'fronthistory-importing',
'front-historyimporting',
'fronthistoryimport',
'fronthistory-import',
'front-historyimport',
'front-history',
'fronthistory',
'front-importing',
'frontimporting',
'front-import',
'frontimport',
'fhi',
],
description: 'Talks about importing the front history from PluralKit',
title: "Front history importing",
text:
'Importing your front history to and from PluralKit is planned in the future ' +
'and currently not implemented.'
},
{
names: [
'messaging',
],
description: 'Talks about the possibility of having a messaging feature',
title: "Messaging",
text:
'The feature of messaging other systems within the app is out of scope, as the app is not meant to be a ' +
'social community app, but a tool for you and your friends. Adding messages between systems would need ' +
'us to implement moderation tools, moderation team and the actual feature, which is not the direction ' +
'we are taking the app in right now. \n ' +
'\n' +
'Messaging within the system, between headmates, is planned for the future so you can communicate more ' +
'easily within the system.'
},
{
names: [
'notifications',
'notification',
],
description: 'Explains how your friends can get notifications from your system',
title: "Notifications",
text:
'If you are having trouble receiving front notifications, or your friends have trouble receiving front notifications; please check the following: \n \n ' +
'- You have front notifications enabled for the friend \n- The friend has opted-in into your front notifications' +
'\n - The friend has enabled notifications for the app in the OS settings (Android, iOS) \n - Your members don\'t prevent front notifications,' +
' go into the settings of your members that front and make sure \"Prevent front notifications\" is turned off.' +
'\n - If they are a trusted friend, make sure that your members that are changing front are visible to trusted friends. \n - If they are a regular friend, make sure that the members that are changing front are visible to all friends. \n ' +
'\n If all of the above checks out, do the following: \n \n ' +
'The person who can\'t receive notifications, create a repeated reminder 3 minutes from now. Then, wait a few minutes until the notification should arrive.' +
' If the notification arrives, then your account has been set up to properly receive notifications and go over the list again to make sure everything checks out.' +
'\n If you do not get an automated reminder notification after a few minutes, then email the developers at hello@apparyllis.com so that they can look into your specific issue. '
},
{
names: [
'see-members',
'seemembers',
'seemember',
'see-member',
'sm',
],
description: 'Explains how to allow your friends to see your members',
title: "See members",
text:
'If your friends cannot see your members, you have to go into the friend\'s profile, click on the ' +
'cogwheel on the top right and press "They can see your shared members", this will allow them to see ' +
'your public members or your members marked as "Shown to Trusted Friends", if they are marked as a ' +
'"Trusted friend".'
},
{
names: [
'sync-members-pluralkit',
'sync-member-pluralkit',
'syncmemberpluralkit',
'syncmember-pluralkit',
'sync-memberpluralkit',
'syncmemberspluralkit',
'syncmembers-pluralkit',
'sync-memberspluralkit',
'sync-member-plural-kit',
'syncmemberplural-kit',
'syncmember-plural-kit',
'sync-memberplural-kit',
'syncmembersplural-kit',
'syncmembers-plural-kit',
'sync-membersplural-kit',
'sync-member',
'syncmember',
'sync-members',
'syncmembers',
'sync-pluralkit',
'syncpluralkit',
'sync-plural-kit',
'syncplural-kit',
'smp',
'smpk',
],
description: 'Talks about syncing your members to PluralKit',
title: "Sync members to PluralKit",
text:
'If you wish to sync your members to PluralKit, go into the settings page -> Integrations -> PluralKit ' +
'and fill in your PluralKit token, you can get this token by typing pk;token anywhere in a PluralKit ' +
'enabled Discord server and PluralKit will message you the token in a DM. \n ' +
'\n' +
'Once filled out, you can go to actions in the members page and press "Sync" (rebooting app may be ' +
'required to see this option after adding the token). You will be prompted with the option to "Sync to PK" ' +
'and "Sync from PK". \n ' +
'\n' +
'Pay attention that they are linked by the PluralKit ID found in the individual member settings in ' +
'Simply Plural. If you make a member on Simply Plural and you make the same member on PluralKit, you ' +
'will have to go into the individual member settings of Simply Plural and fill in the PluralKit user ID ' +
'in the settings. If you don\'t do this, you will end up with duplicate members on PluralKit.'
},
{
names: [
'system-relationships',
'system-relationship',
'systemrelationships',
'systemrelationship',
'sr',
],
description: 'Explains what "system relationships" are',
title: "System relationships",
text:
'This is an open-ended field meant to describe what relationships a headmate has. It can be used to ' +
'describe the member\'s relationship to the system as a whole, their inner system relationships such as ' +
'being family, friends, or romantic partners, or it can describe their outer-system relationships with ' +
'people in the outer world, such as family, friends, and romantic partners.'
},
{
names: [
'website',
],
title: "Website",
description: 'Talks about the website for Simply Plural',
text:
'There is a web version of the app at https://app.apparyllis.com/ . \n ' +
'\n' +
'Please note there are some minor differences from the app version (such as uploading avatars, etc). \n ' +
'\n' +
'As a reminder, your PluralKit token won\'t transfer to the website automatically, so you\'ll need to re-add ' +
'it to "Integrations" to be able for importing from PluralKit, syncing to PluralKit and exporting to PluralKit.'
},
{
names: [
'moreavatars',
'moreavatar',
'more-avatars',
'moreimages',
'more-images',
],
title: "Avatars",
description: "Talks about why more avatar functionality won't be added",
text: 'Adding more uploading avatar functionality is not something that\'s possible for us, we\'re funded by Patreon and a non-profit, ' +
'alongside self-funding. Storing and uploading avatars comes with a cost that would expand exponentially if we were to add it to ' +
'more features. \n ' +
'\n' +
'However, you can add images to any text box that supports Markdown by using `![text](link)` and adding an image link ' +
'inside of "(link)". '
},
{
names: [
'token',
'tokens',
],
title: "Tokens",
description: "Talks about what Simply Plural Tokens are",
text: 'Simply Plural Tokens are to enable third-party integrations development for developers. Right now, there are no third-party integrations yet ' +
'and Tokens are only useful for developers. Later down the road, when third-party integrations are made, you can generate tokens in Simply Plural ' +
'to use those integrations. '
},
{
names: [
'logs',
'log',
],
title: "Logs",
description: "Talks about how to provide logs to the developers",
text: 'If you\'ve been requested to provide logs to the developers: \n ' +
'\n' +
'Please send the logs to the developers by ' +
'going to Settings -> Options and scroll to the bottom and click \"Share logs\", then select Discord or email. Send them to Amaryllis on Discord or ' +
'email hello@apparyllis.com. Then, we can look into what\'s happening! '
},
{
names: [
'nointernet',
'no.internet',
'no-internet',
'noconnection',
'no.connection',
'no-connection',
],
title: "Connection Issues",
description: "Talks about how to resolve and debug connection issues",
text: 'If you are having connection issues, please provide us with the following information: Do you use a VPN? Does the issue happen on both WIFI and Cellular internet? How long have you been having this issue?'
}
]

View file

@ -1,16 +1,19 @@
let names = {};
let messages = {};
const fs = require("fs")
const path = require('path');
const genRandomId = () => Math.ceil(Math.random() * 1000);
const messages = {};
const load = () => require("../messages").forEach(msg => {
let id = genRandomId();
while (messages[id])
id = genRandomId();
const load = () =>
{
const messagesFile = fs.readFileSync(path.join(__dirname, '..', 'messages.json'))
const messagesJson = JSON.parse(messagesFile);
msg.names.forEach(name => names[name] = id);
messages[id] = msg;
});
const messagesList = messagesJson["faq"];
messagesList.forEach((msg) => {
messages[msg["title"]] = msg
})
}
load();
@ -19,6 +22,8 @@ load();
// description string;
// title string;
// text string;
// friendlyName string;
// category string;
// }
module.exports = {
@ -28,25 +33,33 @@ module.exports = {
get messages() {
return messages;
},
get: (name) => messages[names[name]],
get: (name) => messages[name],
getList: () => Object.keys(messages).map(msg => ({ name: messages[msg].names[0], value: messages[msg].description })),
getEmbed: (name) => {
let msg = messages[names[name]];
if (!msg) return;
let foundMsg = null
Object.keys(messages).forEach((msgKey) =>
{
if (foundMsg) return;
const msg = messages[msgKey]
if (msg.names.includes(name))
{
foundMsg = msg;
return;
}
});
if (!foundMsg) return;
return {
color: "A95B44",
author: {
name: msg.title,
name: foundMsg.title,
iconURL: bot.user.displayAvatarURL({ dynamic: true }),
},
description: msg.text,
description: foundMsg.text,
}
},
reload: () => {
names = {};
messages = {};
delete require.cache[require.resolve("../messages")];
load();
}
}

View file

@ -10,7 +10,8 @@
"license": "ISC",
"dependencies": {
"@lilywonhalf/pretty-logger": "^1.1.3",
"axios": "^0.21.1",
"discord.js": "^12.2.0"
"axios": "^1.1.3",
"discord.js": "^14.6.0",
"dotenv": "^16.0.3"
}
}

199
yarn.lock
View file

@ -3,132 +3,137 @@
"@discordjs/collection@^0.1.6":
version "0.1.6"
resolved "https://registry.yarnpkg.com/@discordjs/collection/-/collection-0.1.6.tgz#9e9a7637f4e4e0688fd8b2b5c63133c91607682c"
integrity sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==
"integrity" "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ=="
"resolved" "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz"
"version" "0.1.6"
"@discordjs/form-data@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@discordjs/form-data/-/form-data-3.0.1.tgz#5c9e6be992e2e57d0dfa0e39979a850225fb4697"
integrity sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==
"integrity" "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg=="
"resolved" "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz"
"version" "3.0.1"
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.8"
mime-types "^2.1.12"
"asynckit" "^0.4.0"
"combined-stream" "^1.0.8"
"mime-types" "^2.1.12"
"@lilywonhalf/pretty-logger@^1.1.3":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@lilywonhalf/pretty-logger/-/pretty-logger-1.1.3.tgz#a8d2928cd13c7f7ffed9f6edb8b32e3a4db6de67"
integrity sha512-DcEGjCrQV2j6Hl29G4zD5M/84hzrt1xw7uPOZtZLWFzrCB5OWS/64RWl/y5/om0walTIYf7Nv00hCzfRS8gw4A==
"integrity" "sha512-DcEGjCrQV2j6Hl29G4zD5M/84hzrt1xw7uPOZtZLWFzrCB5OWS/64RWl/y5/om0walTIYf7Nv00hCzfRS8gw4A=="
"resolved" "https://registry.npmjs.org/@lilywonhalf/pretty-logger/-/pretty-logger-1.1.3.tgz"
"version" "1.1.3"
abort-controller@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==
"abort-controller@^3.0.0":
"integrity" "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="
"resolved" "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz"
"version" "3.0.0"
dependencies:
event-target-shim "^5.0.0"
"event-target-shim" "^5.0.0"
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
"asynckit@^0.4.0":
"integrity" "sha1-x57Zf380y48robyXkLzDZkdLS3k= sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
"resolved" "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
"version" "0.4.0"
axios@^0.21.1:
version "0.21.4"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
"axios@^0.21.1":
"integrity" "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg=="
"resolved" "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz"
"version" "0.21.4"
dependencies:
follow-redirects "^1.14.0"
"follow-redirects" "^1.14.0"
combined-stream@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
"combined-stream@^1.0.8":
"integrity" "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="
"resolved" "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz"
"version" "1.0.8"
dependencies:
delayed-stream "~1.0.0"
"delayed-stream" "~1.0.0"
delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
"delayed-stream@~1.0.0":
"integrity" "sha1-3zrhmayt+31ECqrgsp4icrJOxhk= sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
"resolved" "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
"version" "1.0.0"
discord.js@^12.2.0:
version "12.5.3"
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-12.5.3.tgz#56820d473c24320871df9ea0bbc6b462f21cf85c"
integrity sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==
"discord.js@^12.2.0":
"integrity" "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw=="
"resolved" "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz"
"version" "12.5.3"
dependencies:
"@discordjs/collection" "^0.1.6"
"@discordjs/form-data" "^3.0.1"
abort-controller "^3.0.0"
node-fetch "^2.6.1"
prism-media "^1.2.9"
setimmediate "^1.0.5"
tweetnacl "^1.0.3"
ws "^7.4.4"
"abort-controller" "^3.0.0"
"node-fetch" "^2.6.1"
"prism-media" "^1.2.9"
"setimmediate" "^1.0.5"
"tweetnacl" "^1.0.3"
"ws" "^7.4.4"
event-target-shim@^5.0.0:
version "5.0.1"
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
"dotenv@^16.0.3":
"integrity" "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ=="
"resolved" "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz"
"version" "16.0.3"
follow-redirects@^1.14.0:
version "1.14.4"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379"
integrity sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==
"event-target-shim@^5.0.0":
"integrity" "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
"resolved" "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz"
"version" "5.0.1"
mime-db@1.50.0:
version "1.50.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.50.0.tgz#abd4ac94e98d3c0e185016c67ab45d5fde40c11f"
integrity sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==
"follow-redirects@^1.14.0":
"integrity" "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
"resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz"
"version" "1.15.2"
mime-types@^2.1.12:
version "2.1.33"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.33.tgz#1fa12a904472fafd068e48d9e8401f74d3f70edb"
integrity sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==
"mime-db@1.50.0":
"integrity" "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A=="
"resolved" "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz"
"version" "1.50.0"
"mime-types@^2.1.12":
"integrity" "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g=="
"resolved" "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz"
"version" "2.1.33"
dependencies:
mime-db "1.50.0"
"mime-db" "1.50.0"
node-fetch@^2.6.1:
version "2.6.5"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd"
integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==
"node-fetch@^2.6.1":
"integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ=="
"resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz"
"version" "2.6.7"
dependencies:
whatwg-url "^5.0.0"
"whatwg-url" "^5.0.0"
prism-media@^1.2.9:
version "1.3.2"
resolved "https://registry.yarnpkg.com/prism-media/-/prism-media-1.3.2.tgz#a1f04423ec15d22f3d62b1987b6a25dc49aad13b"
integrity sha512-L6UsGHcT6i4wrQhFF1aPK+MNYgjRqR2tUoIqEY+CG1NqVkMjPRKzS37j9f8GiYPlD6wG9ruBj+q5Ax+bH8Ik1g==
"prism-media@^1.2.9":
"integrity" "sha512-L6UsGHcT6i4wrQhFF1aPK+MNYgjRqR2tUoIqEY+CG1NqVkMjPRKzS37j9f8GiYPlD6wG9ruBj+q5Ax+bH8Ik1g=="
"resolved" "https://registry.npmjs.org/prism-media/-/prism-media-1.3.2.tgz"
"version" "1.3.2"
setimmediate@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=
"setimmediate@^1.0.5":
"integrity" "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="
"resolved" "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz"
"version" "1.0.5"
tr46@~0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
"tr46@~0.0.3":
"integrity" "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
"resolved" "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz"
"version" "0.0.3"
tweetnacl@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596"
integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==
"tweetnacl@^1.0.3":
"integrity" "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw=="
"resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz"
"version" "1.0.3"
webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
"webidl-conversions@^3.0.0":
"integrity" "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
"resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz"
"version" "3.0.1"
whatwg-url@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
"whatwg-url@^5.0.0":
"integrity" "sha1-lmRU6HZUYuN2RNNib2dCzotwll0= sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="
"resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz"
"version" "5.0.0"
dependencies:
tr46 "~0.0.3"
webidl-conversions "^3.0.0"
"tr46" "~0.0.3"
"webidl-conversions" "^3.0.0"
ws@^7.4.4:
version "7.5.5"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881"
integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==
"ws@^7.4.4":
"integrity" "sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w=="
"resolved" "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz"
"version" "7.5.5"