node-easywechat 3.7.12 → 3.7.14

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.
@@ -11,6 +11,7 @@ jobs:
11
11
  publish-npm:
12
12
  runs-on: ubuntu-latest
13
13
  permissions:
14
+ contents: write
14
15
  id-token: write
15
16
  steps:
16
17
  - uses: actions/checkout@v4
@@ -26,3 +27,26 @@ jobs:
26
27
  - run: npm publish --tag latest --provenance --access public
27
28
  env:
28
29
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
30
+ - name: Generate release notes
31
+ run: |
32
+ tag="${GITHUB_REF_NAME}"
33
+ awk -v tag="$tag" '
34
+ $1 == "##" && $2 == tag { found = 1; next }
35
+ found && /^## / { exit }
36
+ found && !emitted && $0 == "" { next }
37
+ found { emitted = 1; print }
38
+ ' CHANGELOG.md > release-notes.md
39
+
40
+ if [ ! -s release-notes.md ]; then
41
+ echo "No changelog entry found for ${tag}" > release-notes.md
42
+ fi
43
+ - name: Publish GitHub release
44
+ run: |
45
+ tag="${GITHUB_REF_NAME}"
46
+ if gh release view "$tag" > /dev/null 2>&1; then
47
+ gh release edit "$tag" --title "$tag" --notes-file release-notes.md
48
+ else
49
+ gh release create "$tag" --title "$tag" --notes-file release-notes.md
50
+ fi
51
+ env:
52
+ GH_TOKEN: ${{ github.token }}
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v3.7.14 (2026-06-08)
5
+
6
+ - Fix: update dependencies
7
+
8
+ ## v3.7.13 (2026-05-11)
9
+
10
+ - Fix: update dependencies
11
+
4
12
  ## v3.7.12 (2026-02-12)
5
13
 
6
14
  - Fix: update dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-easywechat",
3
- "version": "3.7.12",
3
+ "version": "3.7.14",
4
4
  "description": "EasyWechat SDK for Node.js (NOT OFFICIAL)",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -22,19 +22,19 @@
22
22
  "node": ">=15.6.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@types/node": "^20.19.33",
25
+ "@types/node": "^20.19.42",
26
26
  "axios-mock-adapter": "^1.22.0",
27
- "mocha": "^11.7.5",
27
+ "mocha": "^11.7.6",
28
28
  "package-release": "^1.0.4",
29
29
  "typescript": "^5.9.3"
30
30
  },
31
31
  "dependencies": {
32
- "axios": "^1.13.5",
32
+ "axios": "^1.17.0",
33
33
  "axios-retry": "^4.5.0",
34
34
  "form-data": "^4.0.5",
35
35
  "merge": "^2.1.1",
36
- "node-socialite": "^1.5.3",
37
- "qs": "^6.14.2",
36
+ "node-socialite": "^1.5.5",
37
+ "qs": "^6.15.2",
38
38
  "raw-body": "^2.5.3",
39
39
  "xml2js": "^0.6.2"
40
40
  }