Skip to content

Commit

Permalink
fix security issues
Browse files Browse the repository at this point in the history
Signed-off-by: CyberFlame <[email protected]>
  • Loading branch information
CyberFlameGO committed Jan 23, 2025
1 parent 9600424 commit 6b40cb0
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 65 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@
"dependencies": {
"@types/cheerio": "^0.22.35",
"cheerio": "1.0.0",
"discord-api-types": "^0.37.103",
"discord-api-types": "^0.37.117",
"discord-interactions": "^4.1.0",
"hono": "^4.6.7"
"hono": "^4.6.18"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241022.0",
"@types/chai": "^5.0.0",
"@types/mocha": "^10.0.9",
"@cloudflare/workers-types": "^4.20250121.0",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/sinon": "^17.0.3",
"c8": "^10.1.2",
"c8": "^10.1.3",
"chai": "^5.1.2",
"dotenv": "^16.4.5",
"eslint": "^9.13.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-prettier": "^5.2.1",
"mocha": "^11.0.1",
"pnpm": "^9.12.2",
"prettier": "^3.3.3",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"mocha": "^11.1.0",
"pnpm": "^9.15.4",
"prettier": "^3.4.2",
"sinon": "^19.0.2",
"typescript": "^5.6.3",
"wrangler": "^3.83.0"
"typescript": "^5.7.3",
"wrangler": "^3.105.0"
}
}
98 changes: 49 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ router.post('/webhooks', async (c) => {

switch (interaction["type"]) {
case 0:
return new Response(null, { status: 204 })
return new Response(null, { status: 204 });

case 1:
switch (interaction["event"]["type"]) {
Expand Down

0 comments on commit 6b40cb0

Please sign in to comment.