Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency isbot to v5 #10340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
isbot (source) 3.8.0 -> 5.1.6 age adoption passing confidence

Release Notes

omrilotan/isbot (isbot)

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

  • Recognise browsers: Ecosia ios in-app browser, Phantom in-app browser

v5.1.2

Compare Source

  • Add bots: Cypress, Detectify, InternetMeasurement, BuiltWith
  • Recognise browser: Zip Recruiter job search app, Ecosia android in-app browser

v5.1.1

Compare Source

  • Reduce pattern size by introducing the substring ".com" and improve generic pattern

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/isbot-5.x branch 3 times, most recently from 6cf25f5 to 7f1a0ba Compare April 2, 2024 17:05
@renovate renovate bot force-pushed the renovate/isbot-5.x branch 5 times, most recently from 2453ef2 to 6567e38 Compare April 25, 2024 11:34
@renovate renovate bot force-pushed the renovate/isbot-5.x branch 2 times, most recently from c8dc883 to 01003f7 Compare May 10, 2024 08:42
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.

None yet

0 participants