Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 16, 2024

This PR contains the following updates:

Package Change Age Confidence
isbot (source) ^3.6.8 -> ^5.0.0 age confidence

Release Notes

omrilotan/isbot (isbot)

v5.1.30

Compare Source

  • [Pattern] Pattern updates

v5.1.29

Compare Source

  • [Pattern] Pattern update

v5.1.28

Compare Source

  • [Pattern] Pattern update

v5.1.27

Compare Source

  • [Pattern] Pattern update

v5.1.26

Compare Source

  • [Pattern] Pattern update

v5.1.25

Compare Source

  • [Pattern] Pattern update: Reduce complexity

v5.1.24

Compare Source

  • [Pattern] Pattern update: Add generic pattern, remove some specific patterns

v5.1.23

Compare Source

  • [Pattern] Pattern updates

v5.1.22

Compare Source

  • [Pattern] Pattern updates

v5.1.21

Compare Source

  • [Pattern] Pattern updates

v5.1.20

Compare Source

  • [Pattern] Pattern updates

v5.1.19

Compare Source

  • [Pattern] Pattern updates

v5.1.18

Compare Source

  • [Pattern] Pattern updates

v5.1.17

Compare Source

  • [Pattern] Pattern updates for better recognition

v5.1.16

Compare Source

  • [Pattern] Treat CCleaner broswer as an actual browser, not a bot

v5.1.15

Compare Source

  • [Pattern] Pattern updates for better recognition

v5.1.14

Compare Source

  • [Pattern] More accurate patterns for some substrings

v5.1.13

Compare Source

v5.1.12

Compare Source

v5.1.11

Compare Source

  • [Pattern] Pattern updates

v5.1.10

Compare Source

  • [Pattern] Pattern updates

v5.1.9

Compare Source

  • [Pattern] A more careful match for RSS substring

v5.1.8

Compare Source

  • [Pattern] Recognise timestamp in user agent string - is used to generate unique strings for each request

v5.1.7

Compare Source

  • [Pattern] Ignore NewsSapphire in-app browser (news app)
  • [Pattern] Ignore locales with calendar in user agent

v5.1.6

Compare Source

  • [FIX] Browser files (jsdeliver): UMD is global and ESM is named

v5.1.5

Compare Source

  • Add substring "watch" to pattern

v5.1.4

Compare Source

  • Recognise search providers inapp browsers
  • Ignore Crosswalk project: An old project that is no longer maintained and has insignificant usage
  • PDRL Analyzer

v5.1.3

Compare Source

  • [Pattern] Pattern updates

v5.1.2

Compare Source

  • [Pattern] Pattern update

v5.1.1

Compare Source

  • [Pattern] Pattern updates

v5.1.0

Compare Source

  • Build now compatibile with older Javascript version: es2016

v5.0.0

Compare Source

  • Remove named export "pattern" from the interface, instead use "getPattern" method
  • Add a couple of bot patterns

v4.4.0

Compare Source

  • Add a naive fallback pattern for engines that do not support lookbehind in regular expressions
  • Add isbotNaive function to identify bots using a naive approach (simpler and faster)

v4.3.0

Compare Source

  • Accept undefined in place of user agent string to allow headers property to be used "as is" (request.headers["user-agent"])

v4.2.0

Compare Source

  • Accept null in place of user agent string to allow header value to be used "as is" (request.headers.get("user-agent"))

v4.1.2

Compare Source

v4.1.1

Compare Source

  • Recognise browsers with GMS Core (Google's Play Services) as natural non-bot browsers
  • A slightly neater typescript decleration file
  • Adjust "bot" pattern to recognise bot as a standalone word or word suffix (excluding "Cubot")
  • Recognise "rest-client" as a bot

v4.1.0

Compare Source

  • Add createIsbotFromList: Create a custom isbot function from a list of string representation patterns
  • Recognise browsers with HMS Core (Huawei Mobile Services) as natural non-bot browsers

v4.0.0

Compare Source

Breaking changes

This change is meant to reduce the size of the package and improve performance by building the regular expression in build time instead of runtime.

  • Change interface

    • Remove default import. Use named import instead: import { isbot } from "isbot";
    • Drop isbot attached functions from the interface. isbot.<SOMETHING> is no longer supported
  • Drop support for EOL node versions

New features
import { <SOMETHING> }  from "isbot";
import Type Description
pattern {RegExp} The regular expression used to identify bots
list {string[]} List of all individual pattern parts
isbotMatch *{(userAgent: string): string null}*
isbotMatches {(userAgent: string): string[]} All substrings matched by the regular expression
isbotPattern *{(userAgent: string): string null}*
isbotPatterns {(userAgent: string): string[]} All regular expressions used to identify bot substrings in the user agent
createIsbot {(pattern: RegExp): (userAgent: string): boolean} Create a custom isbot function

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/isbot-5.x branch from 61a12c1 to ee2ae48 Compare August 23, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants