Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies: Bump axios from 1.4.0 to 1.6.8 #1053

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@
"@octokit/plugin-throttling": "^5.1.1",
"@octokit/rest": "^19.0.7",
"@types/node": "^18.16.3",
"axios": "^1.4.0",
"axios": "^1.6.8",
"bufferutil": "^4.0.7",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -564,12 +564,12 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3"
integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==

axios@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f"
integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==
axios@^1.6.8:
version "1.6.8"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.8.tgz#66d294951f5d988a00e87a0ffb955316a619ea66"
integrity sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==
dependencies:
follow-redirects "^1.15.0"
follow-redirects "^1.15.6"
form-data "^4.0.0"
proxy-from-env "^1.1.0"

@@ -1113,10 +1113,10 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==

follow-redirects@^1.15.0:
version "1.15.2"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
follow-redirects@^1.15.6:
version "1.15.6"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==

forever-agent@~0.6.1:
version "0.6.1"

Unchanged files with check annotations Beta

});
return results.data;
} catch (e: any) {

Check warning on line 137 in src/apis/githubAPI.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type
if (e.status === 404) return null;
console.trace(e);
});
return results.data?.total_count;
} catch (e: any) {

Check warning on line 160 in src/apis/githubAPI.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type
console.trace(e);
throw e;
}
console.trace("matchedCommand.handle{Select|Context}Menu failed", error);
const content = `⚠️ Something went extremely wrong!\n \`\`\`\n${
(error as any)?.stack ?? error ?? ""

Check warning on line 194 in src/commandHandler.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type
}\n\`\`\``;
if ((interaction as any).deferred || (interaction as any).replied)

Check warning on line 196 in src/commandHandler.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type

Check warning on line 196 in src/commandHandler.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type
return (interaction as any).editReply({ content });

Check warning on line 197 in src/commandHandler.ts

GitHub Actions / Lint and Build (development)

Unexpected any. Specify a different type
interaction.reply({ ephemeral: true, content });
});
.addFields(
...userCommits
.slice(0, 3)
.filter(({ totalCount }) => totalCount! > 0)

Check warning on line 134 in src/commands/commitStatsCommand.ts

GitHub Actions / Lint and Build (development)

Forbidden non-null assertion
.map(({ repo, commits, totalCount }, index) => ({
name: `${toMedal(index + 1)} **${repo.owner}/${
repo.name
}** - **${totalCount?.toLocaleString("en-US")} commit${
totalCount! > 1 ? "s" : ""

Check warning on line 139 in src/commands/commitStatsCommand.ts

GitHub Actions / Lint and Build (development)

Forbidden non-null assertion
}**`,
value: [
...commits
if (!embed.description) return;
const result = await githubAPI.fetchSerenityManpageByUrl(
embed.description?.match(/\(([^)]+)\)/)![1]

Check warning on line 99 in src/commands/manCommand.ts

GitHub Actions / Lint and Build (development)

Forbidden non-null assertion
);
if (result == null) return;