Skip to content
Merged
Show file tree
Hide file tree
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 deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boomzero/quicksubmit",
"version": "1.5.3",
"version": "1.5.4",
"exports": "./index.ts",
"compilerOptions": {
"lib": ["ESNext", "dom"],
Expand Down
5 changes: 3 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const program = new Command();

program
.name("quickSubmit")
.version("v1.5.1")
.version("v1.5.4")
.argument("[file]", "File to submit", "main.cpp")
.option(
"-p, --pid <number>",
Expand Down Expand Up @@ -97,7 +97,8 @@ program
"Cookie": "PHPSESSID=" + PHPSESSID,
},
"referrer": "https://www.xmoj.tech/loginpage.php",
"body": "user_id=zhuchenrui2&password=" +
"body": "user_id=" + encodeURIComponent(config.username) +
"&password=" +
MD5(config.password).toString() + "&submit=&csrf=" + csrf,
"method": "POST",
"mode": "cors",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"crypto-js": "^4.2.0",
"jsdom": "^23.0.1"
},
"version": "1.5.1",
"version": "1.5.4",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate package-lock for the 1.5.4 bump

The tracked package-lock.json still declares the root package as version 1.5.1 in both of its root metadata fields. With this package.json bump, running npm install immediately rewrites those fields to 1.5.4, leaving contributors with a dirty worktree and tools that inspect the lockfile reporting stale release metadata; update the lockfile as part of this version change.

Useful? React with 馃憤聽/ 馃憥.

"description": "Submit code to XMOJ.",
"main": "index.ts",
"scripts": {
Expand Down
Loading