npm / isbot
isbot
What changed in isbot 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-24.
8 breaking13 new APIs and options2 performance1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initisbot 514 changes
Breaking changes 2
Defunct services were removed from the crawlers list, which may change crawler identification.
Pattern updates may change which user agents isbot detects as bots.
New APIs and options 8
New name for createIsbot; the old name remains available for backwards compatibility.
New name for createIsbotFromList; the old name remains available for backwards compatibility.
New name for isbotMatch; the old name remains available for backwards compatibility.
New name for isbotMatches; the old name remains available for backwards compatibility.
New name for isbotPattern; the old name remains available for backwards compatibility.
New name for isbotPatterns; the old name remains available for backwards compatibility.
New name for isbot; the old name remains available for backwards compatibility.
New name for isbotNaive; the old name remains available for backwards compatibility.
Performance 1
Patterns were updated to reduce size.
Behavior and default changes 1
Bot detection patterns were updated, which may change which user agents are detected as bots.
Fixes and other changes 2
The browser entry was missing from package output; it is now included.
Interface functions check more effectively for non-empty strings.
isbot 412 changes
Breaking changes 6
The default import was removed; import isbot as a named export instead.
Support for end-of-life Node versions was dropped.
Functions attached to isbot are no longer supported.
The isbot function is now imported as a named export.
Exports the list of all individual pattern parts.
Exports the regular expression used to identify bots.
New APIs and options 5
Creates a custom isbot function from a regular expression.
Returns the substring matched by the regular expression, or null.
Returns all substrings matched by the regular expression.
Returns the regular expression used to identify a bot substring in a user agent.
Returns all regular expressions used to identify bot substrings in a user agent.
Performance 1
The regular expression is built at build time instead of runtime to reduce package size and improve performance.