Skip to content

Commit c71a504

Browse files
committed
feat: 补充订阅税务识别规则
扩展 SaaS 页面规则,新增订阅计费、轻量结账、税务和发票服务资源 URL 匹配。 覆盖 Chargebee Billing、Recurly、Zuora Billing、Maxio / Chargify、Billsby、ChargeOver、FastSpring Checkout、Lemon Squeezy Checkout、Gumroad Embed、Freemius Checkout、Memberful、Payhip Checkout、ThriveCart、SamCart、SendOwl Checkout、FoxyCart、MoonClerk、Quaderno Checkout、TaxJar、Avalara AvaTax,并补充对应技术链接。 将版本升至 1.1.30。 验证:npx prettier --write .;npx prettier --check .;pnpm run typecheck;pnpm run lint;JSON/正则全量校验;pnpm run build;版本一致性检查;git diff --check。
1 parent 2b70897 commit c71a504

3 files changed

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

public/rules/page/saas-services-page.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,6 +2127,110 @@
21272127
}
21282128
]
21292129
},
2130+
{
2131+
"defaults": {
2132+
"kind": "订阅计费 / 税务发票",
2133+
"matchIn": ["resources"]
2134+
},
2135+
"rules": [
2136+
{
2137+
"name": "Chargebee Billing",
2138+
"patterns": [
2139+
"js\\.chargebee\\.com/v[0-9]+/chargebee\\.js|checkout\\.chargebee\\.com|chargebee\\.com/[^\\s\"'<>]*(?:checkout|hosted_pages|billing)"
2140+
]
2141+
},
2142+
{
2143+
"name": "Recurly",
2144+
"patterns": [
2145+
"js\\.recurly\\.com/v[0-9]+/recurly\\.js|api\\.recurly\\.com/js|recurly\\.com/[^\\s\"'<>]*(?:checkout|pricing|billing)"
2146+
]
2147+
},
2148+
{
2149+
"name": "Zuora Billing",
2150+
"patterns": [
2151+
"static\\.zuora\\.com/Resources|checkout\\.zuora\\.com|zuora\\.com/[^\\s\"'<>]*(?:PublicHostedPage|checkout|billing)"
2152+
]
2153+
},
2154+
{
2155+
"name": "Maxio / Chargify",
2156+
"patterns": [
2157+
"js\\.chargify\\.com|chargify\\.com/[^\\s\"'<>]*(?:hosted|checkout|billing|js)|maxio\\.com/[^\\s\"'<>]*(?:checkout|billing)"
2158+
]
2159+
},
2160+
{
2161+
"name": "Billsby",
2162+
"patterns": ["checkoutlib\\.billsby\\.com|checkout\\.billsby\\.com|billsby\\.com/[^\\s\"'<>]*(?:checkout|widgets?|billing)"]
2163+
},
2164+
{
2165+
"name": "ChargeOver",
2166+
"patterns": [
2167+
"assets\\.chargeover\\.com|app\\.chargeover\\.com|chargeover\\.com/[^\\s\"'<>]*(?:signup|checkout|invoice|billing)"
2168+
]
2169+
},
2170+
{
2171+
"name": "FastSpring Checkout",
2172+
"patterns": ["sbl\\.onfastspring\\.com|sites\\.fastspring\\.com|fastspring\\.com/[^\\s\"'<>]*(?:embedded-store|checkout|sbl)"]
2173+
},
2174+
{
2175+
"name": "Lemon Squeezy Checkout",
2176+
"patterns": [
2177+
"app\\.lemonsqueezy\\.com/checkout|js\\.lemonsqueezy\\.com|cdn\\.lemonsqueezy\\.com|lemonsqueezy\\.com/[^\\s\"'<>]*(?:checkout|buy)"
2178+
]
2179+
},
2180+
{
2181+
"name": "Gumroad Embed",
2182+
"patterns": ["gumroad\\.com/js/gumroad\\.js|gumroad\\.com/[^\\s\"'<>]*(?:l/|checkout|overlay|embed)"]
2183+
},
2184+
{
2185+
"name": "Freemius Checkout",
2186+
"patterns": ["checkout\\.freemius\\.com|cdn\\.freemius\\.com|freemius\\.com/[^\\s\"'<>]*(?:checkout|pricing|buy)"]
2187+
},
2188+
{
2189+
"name": "Memberful",
2190+
"patterns": ["js\\.memberful\\.com/embed\\.js|memberful\\.com/[^\\s\"'<>]*(?:checkout|auth|embed|plans)"]
2191+
},
2192+
{
2193+
"name": "Payhip Checkout",
2194+
"patterns": ["payhip\\.com/[^\\s\"'<>]*(?:b/|checkout|buy-button|embed)|payhip\\.com/payhip\\.js"]
2195+
},
2196+
{
2197+
"name": "ThriveCart",
2198+
"patterns": ["checkout\\.thrivecart\\.com|thrivecart\\.com/[^\\s\"'<>]*(?:checkout|embed|cart)"]
2199+
},
2200+
{
2201+
"name": "SamCart",
2202+
"patterns": ["checkout\\.samcart\\.com|samcart\\.com/[^\\s\"'<>]*(?:products|checkout|funnels)"]
2203+
},
2204+
{
2205+
"name": "SendOwl Checkout",
2206+
"patterns": ["transactions\\.sendowl\\.com|sendowl\\.com/[^\\s\"'<>]*(?:orders|checkout|cart|js)"]
2207+
},
2208+
{
2209+
"name": "FoxyCart",
2210+
"patterns": [
2211+
"cdn\\.foxycart\\.com|foxycart\\.com/[^\\s\"'<>]*(?:cart|checkout|loader)|foxy\\.io/[^\\s\"'<>]*(?:cart|checkout)"
2212+
]
2213+
},
2214+
{
2215+
"name": "MoonClerk",
2216+
"patterns": [
2217+
"app\\.moonclerk\\.com/pay|moonclerk\\.com/pay|js\\.moonclerk\\.com|moonclerk\\.com/[^\\s\"'<>]*(?:forms|checkout)"
2218+
]
2219+
},
2220+
{
2221+
"name": "Quaderno Checkout",
2222+
"patterns": ["js\\.quaderno\\.io|quaderno\\.io/[^\\s\"'<>]*(?:checkout|taxes|invoice|billing)"]
2223+
},
2224+
{
2225+
"name": "TaxJar",
2226+
"patterns": ["api\\.taxjar\\.com|taxjar\\.com/[^\\s\"'<>]*(?:api|sales-tax-calculator|checkout|tax)"]
2227+
},
2228+
{
2229+
"name": "Avalara AvaTax",
2230+
"patterns": ["avatax\\.avalara\\.net|sandbox-rest\\.avatax\\.com|avalara\\.com/[^\\s\"'<>]*(?:avatax|api|tax)"]
2231+
}
2232+
]
2233+
},
21302234
{
21312235
"name": "Airtable",
21322236
"kind": "表格 / 数据库",

public/tech-links.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,26 @@
14161416
"BoldSign": "https://boldsign.com",
14171417
"Scrive": "https://www.scrive.com",
14181418
"Xodo Sign / eversign": "https://eversign.com",
1419+
"Chargebee Billing": "https://www.chargebee.com",
1420+
"Recurly": "https://recurly.com",
1421+
"Zuora Billing": "https://www.zuora.com",
1422+
"Maxio / Chargify": "https://www.maxio.com",
1423+
"Billsby": "https://www.billsby.com",
1424+
"ChargeOver": "https://chargeover.com",
1425+
"FastSpring Checkout": "https://fastspring.com",
1426+
"Lemon Squeezy Checkout": "https://www.lemonsqueezy.com",
1427+
"Gumroad Embed": "https://gumroad.com",
1428+
"Freemius Checkout": "https://freemius.com",
1429+
"Memberful": "https://memberful.com",
1430+
"Payhip Checkout": "https://payhip.com",
1431+
"ThriveCart": "https://thrivecart.com",
1432+
"SamCart": "https://www.samcart.com",
1433+
"SendOwl Checkout": "https://www.sendowl.com",
1434+
"FoxyCart": "https://www.foxy.io",
1435+
"MoonClerk": "https://www.moonclerk.com",
1436+
"Quaderno Checkout": "https://www.quaderno.io",
1437+
"TaxJar": "https://www.taxjar.com",
1438+
"Avalara AvaTax": "https://www.avalara.com",
14191439
"Airtable": "https://www.airtable.com",
14201440
"Jotform": "https://www.jotform.com",
14211441
"Formspree": "https://formspree.io",

0 commit comments

Comments
 (0)