Merge pull request #230 from the-programmers-hangout/chore-bump-deps

chore: bump deps
This commit is contained in:
Jean-Philippe Sirois
2020-03-11 20:57:09 -04:00
committed by GitHub
3 changed files with 1879 additions and 1754 deletions
+1847 -1722
View File
File diff suppressed because it is too large Load Diff
+29 -29
View File
@@ -28,50 +28,50 @@
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
},
"dependencies": {
"@reach/router": "^1.2.1",
"gatsby": "^2.19.7",
"gatsby-plugin-layout": "^1.1.21",
"gatsby-plugin-manifest": "^2.2.39",
"@reach/router": "^1.3.3",
"gatsby": "^2.19.34",
"gatsby-plugin-layout": "^1.1.23",
"gatsby-plugin-manifest": "^2.2.45",
"gatsby-plugin-prefetch-google-fonts": "^1.4.3",
"gatsby-plugin-react-helmet": "^3.1.21",
"gatsby-plugin-react-helmet": "^3.1.23",
"gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-sharp": "^2.4.3",
"gatsby-plugin-styled-components": "^3.1.18",
"gatsby-plugin-typescript": "^2.1.26",
"gatsby-plugin-sharp": "^2.4.8",
"gatsby-plugin-styled-components": "^3.1.20",
"gatsby-plugin-typescript": "^2.2.2",
"gatsby-remark-auto-headers": "^1.0.3",
"gatsby-remark-katex": "^3.1.23",
"gatsby-source-filesystem": "^2.1.46",
"gatsby-transformer-remark": "^2.6.48",
"gatsby-transformer-sharp": "^2.3.13",
"gatsby-remark-katex": "^3.1.25",
"gatsby-source-filesystem": "^2.1.51",
"gatsby-transformer-remark": "^2.6.56",
"gatsby-transformer-sharp": "^2.3.17",
"katex": "^0.11.1",
"lodash": "^4.17.15",
"polished": "^3.4.3",
"polished": "^3.4.4",
"prismjs": "^1.19.0",
"ramda": "^0.26.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"ramda": "^0.27.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-helmet": "^5.2.1",
"react-highlight": "^0.12.0",
"react-particles-js": "^2.7.0",
"react-perfect-scrollbar": "^1.5.3",
"styled-components": "^5.0.0",
"typescript": "^3.7.5"
"react-particles-js": "^2.7.1",
"react-perfect-scrollbar": "^1.5.8",
"styled-components": "^5.0.1",
"typescript": "^3.8.3"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.11.2",
"@graphql-codegen/typescript": "1.11.2",
"@graphql-codegen/typescript-operations": "1.11.2",
"@graphql-codegen/typescript-react-apollo": "1.11.2",
"@graphql-codegen/cli": "^1.13.0",
"@graphql-codegen/typescript": "1.13.0",
"@graphql-codegen/typescript-operations": "1.13.0",
"@graphql-codegen/typescript-react-apollo": "1.13.0",
"@types/lodash": "^4.14.149",
"@types/prismjs": "^1.16.0",
"@types/ramda": "^0.26.40",
"@types/react": "^16.9.19",
"@types/ramda": "^0.26.43",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-helmet": "^5.0.15",
"@types/styled-components": "^4.4.2",
"@types/styled-components": "^5.0.1",
"babel-plugin-styled-components": "^1.10.7",
"discord.js": "^11.5.1",
"gatsby-plugin-remove-trailing-slashes": "^2.1.20",
"discord.js": "^12.0.2",
"gatsby-plugin-remove-trailing-slashes": "^2.1.22",
"prettier": "^1.19.1",
"tslint": "^6.0.0",
"tslint-config-prettier": "^1.18.0",
+3 -3
View File
@@ -24,12 +24,12 @@ const writeS = (content, dest) => {
client.once("ready", async () => {
// tslint:disable-next-line no-console
console.log("Bot ready, fetching user list...")
const tph = client.guilds.get(TPH)
const tph = client.guilds.cache.get(TPH)
if (!tph) {
throw Error("Bot is not in TPH, cannot fetch users")
}
const guild = await tph.fetchMembers()
const memberInfo = guild.members.map(member => ({
const members = await tph.members.fetch()
const memberInfo = members.map(member => ({
avatar: member.user.displayAvatarURL,
identifier: `${member.user.username}#${member.user.discriminator}`,
}))