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 - autoclosed #5121

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

omrilotan/isbot (isbot)

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.

Copy link

vercel bot commented Feb 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
monorepo-nextjs-app ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 6:57am
monorepo-vite-app ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 6:57am

Copy link

changeset-bot bot commented Feb 21, 2024

⚠️ No Changeset found

Latest commit: 3652a41

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codeclimate bot commented Feb 21, 2024

Code Climate has analyzed commit 3652a41 and detected 0 issues on this pull request.

View more on Code Climate.

@ghost
Copy link

ghost commented Feb 21, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@renovate renovate bot force-pushed the renovate/isbot-5.x branch 3 times, most recently from 87d243f to 1de7503 Compare February 29, 2024 07:29
@renovate renovate bot force-pushed the renovate/isbot-5.x branch 3 times, most recently from 4125cad to a6b0056 Compare March 19, 2024 22:00
@renovate renovate bot force-pushed the renovate/isbot-5.x branch from a6b0056 to 3652a41 Compare March 21, 2024 06:56
@renovate renovate bot changed the title fix(deps): update dependency isbot to v5 fix(deps): update dependency isbot to v5 - autoclosed Mar 22, 2024
@renovate renovate bot closed this Mar 22, 2024
@renovate renovate bot deleted the renovate/isbot-5.x branch March 22, 2024 10: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.

0 participants