xmoj-script 2.1.3 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - name: Checkout
12
- uses: actions/checkout@v4
12
+ uses: actions/checkout@v5
13
13
  with:
14
14
  fetch-depth: 0
15
15
  - name: Generate a token
@@ -19,7 +19,7 @@ jobs:
19
19
  strategy:
20
20
  fail-fast: false
21
21
  steps:
22
- - uses: actions/checkout@v4
22
+ - uses: actions/checkout@v5
23
23
  - uses: github/codeql-action/init@v3
24
24
  with:
25
25
  languages: "javascript"
@@ -9,5 +9,5 @@ jobs:
9
9
  dependency-review:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
- - uses: actions/checkout@v4
12
+ - uses: actions/checkout@v5
13
13
  - uses: actions/dependency-review-action@v4
@@ -21,7 +21,7 @@ jobs:
21
21
  with:
22
22
  node-version: 16
23
23
  registry-url: https://registry.npmjs.org/
24
- - uses: actions/checkout@v4
24
+ - uses: actions/checkout@v5
25
25
  with:
26
26
  fetch-depth: 0
27
27
  - name: Publish to npm
@@ -20,7 +20,7 @@ jobs:
20
20
  with:
21
21
  node-version: 16
22
22
  registry-url: https://registry.npmjs.org/
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v5
24
24
  with:
25
25
  fetch-depth: 0
26
26
  - name: Get version
@@ -14,7 +14,7 @@ jobs:
14
14
  pull-requests: write
15
15
  contents: write
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v5
18
18
  with:
19
19
  fetch-depth: 0
20
20
  - name: Update to release
@@ -21,6 +21,6 @@ jobs:
21
21
  with:
22
22
  app-id: ${{ secrets.APP_ID }}
23
23
  private-key: ${{ secrets.APP_PRIVATE_KEY }}
24
- - uses: actions/checkout@v4
24
+ - uses: actions/checkout@v5
25
25
  - name: Update version
26
26
  run: node ./Update/UpdateVersion.js ${{ steps.generate_token.outputs.token }} ${{ github.event.number }} "${{ github.event.pull_request.title }}"
@@ -15,11 +15,11 @@ jobs:
15
15
  pull-requests: write
16
16
  checks: write
17
17
  steps:
18
- - uses: actions/checkout@v3
18
+ - uses: actions/checkout@v5
19
19
  with:
20
20
  ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
21
21
  fetch-depth: 0 # a full history is required for pull request analysis
22
22
  - name: 'Qodana Scan'
23
- uses: JetBrains/qodana-action@v2024.3
23
+ uses: JetBrains/qodana-action@v2025.2
24
24
  env:
25
25
  QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
@@ -10,7 +10,7 @@ jobs:
10
10
  name: Syncing branches
11
11
  steps:
12
12
  - name: Checkout
13
- uses: actions/checkout@v2
13
+ uses: actions/checkout@v5
14
14
  - name: Set up Node
15
15
  uses: actions/setup-node@v4
16
16
  with:
package/Update.json CHANGED
@@ -3002,6 +3002,36 @@
3002
3002
  }
3003
3003
  ],
3004
3004
  "Notes": "No release notes were provided for this release."
3005
+ },
3006
+ "2.2.0": {
3007
+ "UpdateDate": 1755767075588,
3008
+ "Prerelease": false,
3009
+ "UpdateContents": [
3010
+ {
3011
+ "PR": 829,
3012
+ "Description": "Update diff-match-patch library source URL"
3013
+ },
3014
+ {
3015
+ "PR": 834,
3016
+ "Description": "feat: use credential management api"
3017
+ },
3018
+ {
3019
+ "PR": 835,
3020
+ "Description": "feat: add user-selectable theme"
3021
+ }
3022
+ ],
3023
+ "Notes": "No release notes were provided for this release."
3024
+ },
3025
+ "2.2.1": {
3026
+ "UpdateDate": 1756003502262,
3027
+ "Prerelease": true,
3028
+ "UpdateContents": [
3029
+ {
3030
+ "PR": 839,
3031
+ "Description": "Fix formatting in feedback card text"
3032
+ }
3033
+ ],
3034
+ "Notes": "No release notes were provided for this release."
3005
3035
  }
3006
3036
  }
3007
3037
  }
package/XMOJ.user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // ==UserScript==
2
2
  // @name XMOJ
3
- // @version 2.1.3
3
+ // @version 2.2.1
4
4
  // @description XMOJ增强脚本
5
5
  // @author @XMOJ-Script-dev, @langningchen and the community
6
6
  // @namespace https://github/langningchen
@@ -1513,7 +1513,7 @@ async function main() {
1513
1513
  FeedbackCardBody.className = "card-body";
1514
1514
  let FeedbackCardText = document.createElement("p");
1515
1515
  FeedbackCardText.className = "card-text";
1516
- FeedbackCardText.innerText = "如果您有任何建议或者发现了bug,请前往本项目的GitHub页面并提交issue。提交issue前请先搜索是否有相同的issue,如果有请在该issue下留言。请在issue中尽可能详细地描述您的问题,并且附上您的浏览器版本、操作系统版本、脚本版本、复现步骤等信息。谢谢您支持本项目。";
1516
+ FeedbackCardText.innerText = "如果您有任何建议或者发现了 bug,请前往本项目的 GitHub 页面并提交 issue。提交 issue 前请先搜索是否有相同的 issue,如果有请在该 issue 下留言。请在 issue 中尽可能详细地描述您的问题,并且附上您的浏览器版本、操作系统版本、脚本版本、复现步骤等信息。谢谢您支持本项目。";
1517
1517
  FeedbackCardBody.appendChild(FeedbackCardText);
1518
1518
  let FeedbackCardLink = document.createElement("a");
1519
1519
  FeedbackCardLink.className = "card-link";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmoj-script",
3
- "version": "2.1.3",
3
+ "version": "2.2.1",
4
4
  "description": "an improvement script for xmoj.tech",
5
5
  "main": "AddonScript.js",
6
6
  "scripts": {