@m13v/seo-components 0.38.0 → 0.38.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m13v/seo-components",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "scripts": {
5
5
  "build:css": "tailwind -i src/_build.css -o dist/styles.css --minify",
6
6
  "lint:mobile-spans": "node scripts/lint-mobile-spans.mjs",
@@ -39,8 +39,15 @@ export interface DmShortLinkRedirectConfig {
39
39
  * just this), Chrome/70.x (2018 release, only seen from headless fleets).
40
40
  * - Empty UA is also treated as bot in the caller (see isBot computation
41
41
  * below) since real browsers always send a UA.
42
+ *
43
+ * 2026-05-08: extended again after the post_link_clicks behavioral sweep
44
+ * surfaced three more recurring patterns the regex was missing:
45
+ * - Nexus 5X Build/MMB29P, the literal Googlebot Smartphone UA template
46
+ * (Google publishes this; any real Android user is on a current device).
47
+ * - AI-Innovation-Radar, a named AI/news scraper.
48
+ * - AFMMainUI/Darwin, Apple's Ads-For-Messages link prefetch (no human tap).
42
49
  */
43
- const BOT_UA_RE = /bot|crawler|spider|Twitterbot|LinkedInBot|Slackbot|facebookexternalhit|Discordbot|TelegramBot|WhatsApp|Applebot|Googlebot|Bingbot|YandexBot|DuckDuckBot|redditbot|Pinterest|Embedly|Snapchat|axios\/|python-requests|python-urllib|node-fetch|^node$|dataminr|Anthill|^Mozilla\/5\.0$|Chrome\/70\./i;
50
+ const BOT_UA_RE = /bot|crawler|spider|Twitterbot|LinkedInBot|Slackbot|facebookexternalhit|Discordbot|TelegramBot|WhatsApp|Applebot|Googlebot|Bingbot|YandexBot|DuckDuckBot|redditbot|Pinterest|Embedly|Snapchat|axios\/|python-requests|python-urllib|node-fetch|^node$|dataminr|Anthill|^Mozilla\/5\.0$|Chrome\/70\.|Nexus 5X Build\/MMB29P|AI-Innovation-Radar|^AFMMainUI/i;
44
51
 
45
52
  /**
46
53
  * Factory for `GET /r/[code]`.