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

Update dependency puppeteer to v24 #212

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
669 changes: 279 additions & 390 deletions package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@
"nodemailer": "6.9.13",
"nodemon": "^3.0.0",
"pg": "8.12.0",
"puppeteer": "^22.12.1",
"puppeteer": "^24.0.0",
"textversionjs": "1.1.3",
"voucher-code-generator": "1.3.0",
"xkcd-api": "^1.0.1",

Unchanged files with check annotations Beta

success: true,
equationOutcome,
};
} catch (e) {

Check warning on line 24 in commands/24parser.js

GitHub Actions / Format & lint check

'e' is defined but never used
return {
success: false,
message: "Could not compile. The equation is invalid.",
parentChannel = item;
}
});
} catch (error) {

Check warning on line 41 in commands/createvc.js

GitHub Actions / Format & lint check

'error' is defined but never used
await interaction.reply("Something is wrong!");
}
const response = await axios.get(`${apiURL}/courses/getCourse/${courseCode}`);
data = response.data;
// console.log(data);
} catch (e) {

Check warning on line 35 in commands/handbook.js

GitHub Actions / Format & lint check

'e' is defined but never used
return await interaction.reply({
content: "Invalid course code.",
ephemeral: true,
let message;
try {
message = await interaction.channel.messages.fetch(msg_id);
} catch (err) {

Check warning on line 96 in commands/schedulepost.js

GitHub Actions / Format & lint check

'err' is defined but never used
return await interaction.reply({
content: "Invalid message ID",
ephemeral: true,
try {
const response = await axios.get("https://emkc.org/api/v2/piston/runtimes");
data = response.data;
} catch (e) {

Check warning on line 32 in events/coderunner.js

GitHub Actions / Format & lint check

'e' is defined but never used
return message.reply("Could not retrieve runtimes.");
}
stdin: stdin,
});
data = response.data;
} catch (e) {

Check warning on line 53 in events/coderunner.js

GitHub Actions / Format & lint check

'e' is defined but never used
return message.reply("Could not execute code.");
}
name: "ready",
once: true,
execute(client) {
const timer = setInterval(

Check warning on line 11 in events/createvc.js

GitHub Actions / Format & lint check

'timer' is assigned a value but never used
function () {
// Reading data from the file
fs.readFile("./data/createvc.json", "utf-8", (err, jsonString) => {