Skip to content

Commit 674d734

Browse files
committed
补充交互基础库匹配规则
补充动画运行时、交互调试面板、Worker 通信和脚本隔离相关前端库的本地资源匹配规则。 新增规则继续限定在专属包目录、明确发行文件名和固定运行时路径,避免宽泛文本触发。 同步补充技术链接并将版本号提升到 1.3.19。
1 parent 47a50a6 commit 674d734

3 files changed

Lines changed: 75 additions & 1 deletion

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.3.18",
4+
"version": "1.3.19",
55
"type": "module",
66
"description": "StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。",
77
"scripts": {

public/rules/page/frontend-local-libraries.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,14 @@
457457
"name": "Lottie",
458458
"patterns": ["(?:^|/)(?:lottie(?:_light)?|bodymovin)(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"]
459459
},
460+
{
461+
"name": "Rive",
462+
"patterns": [
463+
"(?:^|/)rive(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
464+
"(?:^|/)@rive-app/[^/\\s\"'<>]+(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs|wasm)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
465+
"(?:^|/)rive-(?:canvas|webgl)(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs|wasm)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
466+
]
467+
},
460468
{
461469
"name": "Swiper",
462470
"patterns": [
@@ -921,6 +929,28 @@
921929
"(?:^|/)eruda/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
922930
]
923931
},
932+
{
933+
"name": "dat.GUI",
934+
"patterns": [
935+
"(?:^|/)dat\\.gui(?:\\.module)?(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
936+
"(?:^|/)dat\\.gui(?:@[^/\\s\"'<>]+)?/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
937+
"(?:^|/)dat-gui(?:@[^/\\s\"'<>]+)?/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
938+
]
939+
},
940+
{
941+
"name": "lil-gui",
942+
"patterns": [
943+
"(?:^|/)lil-gui(?:\\.umd)?(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
944+
"(?:^|/)lil-gui(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs|css)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
945+
]
946+
},
947+
{
948+
"name": "Tweakpane",
949+
"patterns": [
950+
"(?:^|/)tweakpane(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
951+
"(?:^|/)tweakpane(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs|css)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
952+
]
953+
},
924954
{
925955
"name": "typed.js",
926956
"patterns": [
@@ -935,6 +965,27 @@
935965
"(?:^|/)aos/.+\\.(?:js|css)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
936966
]
937967
},
968+
{
969+
"name": "WOW.js",
970+
"patterns": [
971+
"(?:^|/)wow(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
972+
"(?:^|/)wowjs(?:@[^/\\s\"'<>]+)?/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
973+
]
974+
},
975+
{
976+
"name": "Rough Notation",
977+
"patterns": [
978+
"(?:^|/)rough-notation(?:\\.iife)?(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
979+
"(?:^|/)rough-notation(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
980+
]
981+
},
982+
{
983+
"name": "Lenis",
984+
"patterns": [
985+
"(?:^|/)lenis(?:\\.min)?\\.(?:js|css)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
986+
"(?:^|/)lenis(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs|css)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
987+
]
988+
},
938989
{
939990
"name": "howler",
940991
"patterns": [
@@ -2017,6 +2068,20 @@
20172068
"(?:^|/)workbox-sw/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
20182069
]
20192070
},
2071+
{
2072+
"name": "Comlink",
2073+
"patterns": [
2074+
"(?:^|/)comlink(?:\\.umd)?(?:\\.min)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
2075+
"(?:^|/)comlink(?:@[^/\\s\"'<>]+)?/.+\\.(?:m?js|cjs)(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
2076+
]
2077+
},
2078+
{
2079+
"name": "Partytown",
2080+
"patterns": [
2081+
"(?:^|/)~partytown/(?:partytown|atomics|sandbox|sw)(?:-[^/\\s\"'<>]+)?\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)",
2082+
"(?:^|/)@builder\\.io/partytown(?:@[^/\\s\"'<>]+)?/.+\\.js(?:[?#][^\\s\"'<>]*)?(?:[\"'<>\\s]|$)"
2083+
]
2084+
},
20202085
{
20212086
"name": "snabbdom",
20222087
"patterns": [

public/tech-links.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@
302302
"GSAP": "https://gsap.com",
303303
"Anime.js": "https://animejs.com",
304304
"Lottie": "https://airbnb.io/lottie",
305+
"Rive": "https://rive.app",
305306
"Framer Motion": "https://motion.dev",
306307
"tween.js": "https://github.com/tweenjs/tween.js",
307308
"simple-mind-map": "https://github.com/wanglin2/mind-map",
@@ -324,6 +325,9 @@
324325
"LazyLoad": "https://github.com/verlok/vanilla-lazyload",
325326
"jQuery LazyLoad": "https://github.com/tuupola/jquery_lazyload",
326327
"ScrollReveal": "https://scrollrevealjs.org",
328+
"WOW.js": "https://wowjs.uk",
329+
"Rough Notation": "https://roughnotation.com",
330+
"Lenis": "https://lenis.darkroom.engineering",
327331
"SpinKit": "https://tobiasahlin.com/spinkit",
328332
"Infinite Scroll": "https://infinite-scroll.com",
329333
"Odometer.js": "https://github.hubspot.com/odometer",
@@ -476,11 +480,16 @@
476480
"ES Modules": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules",
477481
"PWA Manifest": "https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest",
478482
"Service Worker": "https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API",
483+
"Comlink": "https://github.com/GoogleChromeLabs/comlink",
484+
"Partytown": "https://partytown.builder.io",
479485
"Zone.js": "https://github.com/angular/angular/tree/main/packages/zone.js",
480486
"微信 JS-SDK": "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html",
481487
"Emotion": "https://emotion.sh",
482488
"styled-components": "https://styled-components.com",
483489
"Workbox": "https://developer.chrome.com/docs/workbox",
490+
"dat.GUI": "https://github.com/dataarts/dat.gui",
491+
"lil-gui": "https://lil-gui.georgealways.com",
492+
"Tweakpane": "https://tweakpane.github.io/docs",
484493
"Turborepo / Turbopack": "https://turbo.build/pack",
485494
"Rspack": "https://rspack.dev",
486495
"Rollup": "https://rollupjs.org",

0 commit comments

Comments
 (0)