Skip to content

Commit 846614b

Browse files
committed
chore: update deps
1 parent e5359fb commit 846614b

File tree

8 files changed

+183
-181
lines changed

8 files changed

+183
-181
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14-
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
13+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
14+
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
1515
with:
1616
bun-version-file: .tool-versions
1717

18-
- run: bun i --frozen-lockfile
18+
- run: bun ci
1919
- run: bun run lint --fix
2020

21-
- uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1.3.1
21+
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2
2222
with:
2323
commit-message: 'style: autofix'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15-
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
15+
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
1616
with:
1717
bun-version-file: .tool-versions
1818

19-
- run: bun i --frozen-lockfile
19+
- run: bun ci
2020
- run: bun run build
2121
- run: bunx jsr publish
2222
- run: npm config set //registry.npmjs.org/:_authToken "${{ secrets.NPM_ACCESS_TOKEN }}"

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
type-check:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14-
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
13+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
14+
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
1515
with:
1616
bun-version-file: .tool-versions
1717

18-
- run: bun i --frozen-lockfile
18+
- run: bun ci
1919
- run: bun run type-check
2020

2121
unit-test:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
25-
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
24+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
2626
with:
2727
bun-version-file: .tool-versions
2828

29-
- run: bun i --frozen-lockfile
29+
- run: bun ci
3030
- run: bun run test

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun 1.2.10
1+
bun 1.2.20

bun.lock

Lines changed: 153 additions & 151 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
"test": "bun test --coverage"
4141
},
4242
"dependencies": {
43-
"cheerio": "^1.0.0",
43+
"cheerio": "^1.1.2",
4444
"ofetch": "^1.4.1"
4545
},
4646
"devDependencies": {
47-
"@antfu/eslint-config": "^4.12.0",
48-
"@commitlint/cli": "^19.8.0",
49-
"@commitlint/config-conventional": "^19.8.0",
50-
"@tsconfig/bun": "^1.0.7",
51-
"@typed-sigterm/eslint-config": "^1.4.1",
52-
"@types/bun": "^1.2.10",
53-
"eslint": "^9.24.0",
47+
"@antfu/eslint-config": "^5.2.1",
48+
"@commitlint/cli": "^19.8.1",
49+
"@commitlint/config-conventional": "^19.8.1",
50+
"@tsconfig/bun": "^1.0.8",
51+
"@typed-sigterm/eslint-config": "^1.6.0",
52+
"@types/bun": "^1.2.20",
53+
"eslint": "^9.34.0",
5454
"husky": "^9.1.7",
55-
"tsdown": "^0.12.5",
56-
"typescript": "^5.8.3"
55+
"tsdown": "^0.14.1",
56+
"typescript": "^5.9.2"
5757
}
5858
}

src/platforms/mxoj.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const ProblemTypeOverridingTags: Partial<Record<string, ProblemType>> = {
2323
交互题: 'interactive',
2424
};
2525

26-
export const DEFAULT_BASE_URL = 'https://oier.team';
26+
export const DEFAULT_BASE_URL = 'http://oier.team';
2727

2828
/** MXOJ platform. */
2929
export default class MXOJ extends Platform {

tests/platforms/__snapshots__/mxoj.spec.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Bun Snapshot v1, https://goo.gl/fbAQLP
1+
// Bun Snapshot v1, http://goo.gl/fbAQLP
22

33
exports[`MXOJ platform should fetch problem 1`] = `
44
{
@@ -35,7 +35,7 @@ Hello, MXOJ!
3535
,
3636
"difficulty": 1,
3737
"id": "A1",
38-
"link": "https://oier.team/problems/A1",
38+
"link": "http://oier.team/problems/A1",
3939
"memoryLimit": 536870912,
4040
"samples": [
4141
{
@@ -161,7 +161,7 @@ g++ grader.cpp guess.cpp -o guess -O2 -std=c++14 -static
161161
,
162162
"difficulty": 0,
163163
"id": "B3",
164-
"link": "https://oier.team/problems/B3",
164+
"link": "http://oier.team/problems/B3",
165165
"memoryLimit": 536870912,
166166
"samples": [],
167167
"tags": [
@@ -219,7 +219,7 @@ exports[`MXOJ platform should fetch submission problem 1`] = `
219219
,
220220
"difficulty": 0,
221221
"id": "B1",
222-
"link": "https://oier.team/problems/B1",
222+
"link": "http://oier.team/problems/B1",
223223
"memoryLimit": 268435456,
224224
"samples": [
225225
{
@@ -260,7 +260,7 @@ exports[`MXOJ platform should fetch objective problem 1`] = `
260260
,
261261
"difficulty": 0,
262262
"id": "B5",
263-
"link": "https://oier.team/problems/B5",
263+
"link": "http://oier.team/problems/B5",
264264
"memoryLimit": 268435456,
265265
"samples": [],
266266
"tags": [

0 commit comments

Comments
 (0)