Skip to content

Commit fbb295c

Browse files
committed
fix: 修正 B 站规则识别
1 parent a71677e commit fbb295c

5 files changed

Lines changed: 12 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stackprism",
33
"private": true,
4-
"version": "1.2.62",
4+
"version": "1.2.63",
55
"type": "module",
66
"description": "StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。",
77
"scripts": {

public/rules/headers/cdn-providers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"name": "Wasabi Storage",
26-
"patterns": ["wasabisys", "x-amz-request-id"]
26+
"patterns": ["wasabisys"]
2727
}
2828
]
2929
}

public/rules/page/build-runtime.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@
6767
"resourceHints": ["ws://", "wss://"],
6868
"patterns": ["^wss?://"]
6969
},
70+
{
71+
"name": "WebAssembly",
72+
"confidence": "",
73+
"resourceOnly": true,
74+
"resourceHints": [".wasm"],
75+
"patterns": ["\\.wasm(?:[?#]|[\"'<>\\s]|$)"]
76+
},
7077
{
7178
"name": "Zone.js",
7279
"confidence": "",

public/rules/page/frontend-extra.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
},
9494
{
9595
"name": "Unpoly",
96-
"patterns": ["unpoly(?:\\.min)?\\.js|up-target=|up-follow"],
97-
"globals": ["up"]
96+
"resourceOnly": true,
97+
"patterns": ["(?:^|/)unpoly(?:\\.esm)?(?:\\.min)?\\.js(?:[?#]|[\"'<>\\s]|$)", "@unpoly\\/"]
9898
}
9999
]
100100
},

public/tech-links.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"965": "https://www.drupal.org/project/ninesixtyfive",
55
"1140": "http://cssgrid.net",
66
"WebSocket": "https://developer.mozilla.org/docs/Web/API/WebSockets_API",
7+
"WebAssembly": "https://webassembly.org",
78
"SWR": "https://swr.vercel.app",
89
"Yup": "https://github.com/jquense/yup",
910
"Formik": "https://formik.org",

0 commit comments

Comments
 (0)