rsshub 1.0.0-master.f71451d → 1.0.0-master.f75997f

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.
Files changed (50) hide show
  1. package/lib/config.ts +14 -0
  2. package/lib/errors/index.test.ts +2 -2
  3. package/lib/middleware/template.tsx +12 -3
  4. package/lib/routes/0x80/index.ts +87 -0
  5. package/lib/routes/0x80/namespace.ts +7 -0
  6. package/lib/routes/aljazeera/index.ts +17 -14
  7. package/lib/routes/apple/podcast.ts +64 -0
  8. package/lib/routes/bilibili/cache.ts +1 -1
  9. package/lib/routes/bing/daily-wallpaper.ts +9 -8
  10. package/lib/routes/byau/namespace.ts +6 -0
  11. package/lib/routes/byau/xinwen/index.ts +72 -0
  12. package/lib/routes/cpcaauto/index.ts +255 -0
  13. package/lib/routes/cpcaauto/namespace.ts +8 -0
  14. package/lib/routes/dehenglaw/index.ts +128 -0
  15. package/lib/routes/dehenglaw/namespace.ts +8 -0
  16. package/lib/routes/dehenglaw/templates/description.art +7 -0
  17. package/lib/routes/gov/stats/index.ts +25 -22
  18. package/lib/routes/gxmzu/ai.ts +1 -1
  19. package/lib/routes/gxmzu/lib.ts +9 -26
  20. package/lib/routes/gxmzu/utils/index.ts +31 -13
  21. package/lib/routes/gxmzu/yjs.ts +1 -1
  22. package/lib/routes/jou/utils/index.ts +35 -25
  23. package/lib/routes/lofter/tag.ts +3 -3
  24. package/lib/routes/lofter/user.ts +3 -3
  25. package/lib/routes/njxzc/utils/index.ts +31 -13
  26. package/lib/routes/qingting/podcast.ts +61 -39
  27. package/lib/routes/reuters/common.ts +2 -2
  28. package/lib/routes/sara/index.ts +66 -0
  29. package/lib/routes/sara/namespace.ts +6 -0
  30. package/lib/routes/tencent/news/author.ts +13 -11
  31. package/lib/routes/test/index.ts +11 -1
  32. package/lib/routes/twitter/api/mobile-api/login.ts +29 -28
  33. package/lib/routes/twitter/namespace.ts +2 -2
  34. package/lib/routes/twitter/user.ts +5 -0
  35. package/lib/routes/u3c3/index.ts +1 -1
  36. package/lib/routes/u3c3/namespace.ts +1 -1
  37. package/lib/routes/u9a9/index.ts +2 -2
  38. package/lib/routes/u9a9/namespace.ts +1 -1
  39. package/lib/routes/zsxq/group.ts +63 -0
  40. package/lib/routes/zsxq/namespace.ts +6 -0
  41. package/lib/routes/zsxq/types.ts +149 -0
  42. package/lib/routes/zsxq/user.ts +58 -0
  43. package/lib/routes/zsxq/utils.ts +70 -0
  44. package/lib/setup.test.ts +183 -12
  45. package/lib/utils/render.ts +1 -1
  46. package/lib/utils/request-rewriter/get.ts +8 -1
  47. package/lib/utils/wechat-mp.test.ts +411 -32
  48. package/lib/utils/wechat-mp.ts +447 -76
  49. package/lib/views/{rss3-ums.ts → rss3.ts} +2 -2
  50. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsshub",
3
- "version": "1.0.0-master.f71451d",
3
+ "version": "1.0.0-master.f75997f",
4
4
  "description": "Make RSS Great Again!",
5
5
  "keywords": [
6
6
  "RSS"
@@ -22,22 +22,22 @@
22
22
  ],
23
23
  "lint-staged": {
24
24
  "*.js": [
25
- "eslint --cache --fix",
26
- "prettier --ignore-unknown --ignore-path ./.gitignore --write"
25
+ "prettier --ignore-unknown --ignore-path ./.gitignore --write",
26
+ "eslint --cache --fix"
27
27
  ],
28
28
  "*.{ts,tsx}": [
29
- "eslint --cache --fix",
30
- "prettier --ignore-unknown --ignore-path ./.gitignore --write"
29
+ "prettier --ignore-unknown --ignore-path ./.gitignore --write",
30
+ "eslint --cache --fix"
31
31
  ],
32
32
  "*.yml": "eslint --cache --fix"
33
33
  },
34
34
  "dependencies": {
35
- "@hono/node-server": "1.10.0",
35
+ "@hono/node-server": "1.11.0",
36
36
  "@hono/swagger-ui": "0.2.1",
37
37
  "@hono/zod-openapi": "0.11.0",
38
38
  "@notionhq/client": "2.2.15",
39
39
  "@postlight/parser": "2.2.3",
40
- "@sentry/node": "7.110.1",
40
+ "@sentry/node": "7.111.0",
41
41
  "@tonyrl/rand-user-agent": "2.0.59",
42
42
  "aes-js": "3.1.2",
43
43
  "art-template": "4.13.2",
@@ -57,13 +57,13 @@
57
57
  "fanfou-sdk": "5.0.0",
58
58
  "form-data": "4.0.0",
59
59
  "googleapis": "134.0.0",
60
- "hono": "4.2.4",
60
+ "hono": "4.2.5",
61
61
  "html-to-text": "9.0.5",
62
62
  "https-proxy-agent": "7.0.4",
63
63
  "iconv-lite": "0.6.3",
64
64
  "imapflow": "1.0.159",
65
65
  "instagram-private-api": "1.46.1",
66
- "ioredis": "5.3.2",
66
+ "ioredis": "5.4.1",
67
67
  "ip-regex": "5.0.0",
68
68
  "jsdom": "24.0.0",
69
69
  "json-bigint": "1.0.0",
@@ -95,7 +95,7 @@
95
95
  "telegram": "2.20.15",
96
96
  "tiny-async-pool": "2.1.0",
97
97
  "title": "3.5.3",
98
- "tldts": "6.1.16",
98
+ "tldts": "6.1.18",
99
99
  "tough-cookie": "4.1.3",
100
100
  "tsx": "4.7.2",
101
101
  "twitter-api-v2": "1.16.1",
@@ -103,7 +103,7 @@
103
103
  "uuid": "9.0.1",
104
104
  "winston": "3.13.0",
105
105
  "xxhash-wasm": "1.0.2",
106
- "zod": "3.22.4"
106
+ "zod": "3.22.5"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@babel/preset-env": "7.24.4",
@@ -153,7 +153,7 @@
153
153
  "js-beautify": "1.15.1",
154
154
  "lint-staged": "15.2.2",
155
155
  "mockdate": "3.0.5",
156
- "msw": "2.2.13",
156
+ "msw": "2.2.14",
157
157
  "prettier": "3.2.5",
158
158
  "remark-parse": "11.0.0",
159
159
  "supertest": "6.3.4",
@@ -171,8 +171,8 @@
171
171
  "build:docs": "tsx scripts/workflow/build-docs.ts",
172
172
  "dev": "cross-env NODE_ENV=dev tsx watch --no-cache lib/index.ts",
173
173
  "dev:cache": "cross-env NODE_ENV=production tsx watch lib/index.ts",
174
- "format": "eslint --cache --fix \"**/*.{ts,tsx,js,yml}\" && prettier \"**/*.{ts,tsx,js,json}\" --write",
175
- "format:check": "eslint --cache \"**/*.{ts,tsx,js,yml}\" && prettier \"**/*.{ts,tsx,js,json}\" --check",
174
+ "format": "prettier \"**/*.{ts,tsx,js,json}\" --write && eslint --cache --fix \"**/*.{ts,tsx,js,yml}\"",
175
+ "format:check": "prettier \"**/*.{ts,tsx,js,json}\" --check && eslint --cache \"**/*.{ts,tsx,js,yml}\"",
176
176
  "format:staged": "lint-staged",
177
177
  "lint": "eslint --cache .",
178
178
  "profiling": "cross-env NODE_ENV=production tsx --prof lib/index.ts",