Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency isbot to v5 (redwoodjs#10340)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [isbot](https://isbot.js.org) ([source](https://togithub.com/omrilotan/isbot)) | [`3.8.0` -> `5.1.6`](https://renovatebot.com/diffs/npm/isbot/3.8.0/5.1.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/isbot/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/isbot/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/isbot/3.8.0/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/isbot/3.8.0/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>omrilotan/isbot (isbot)</summary> ### [`v5.1.6`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#516) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.5...v5.1.6) - \[FIX] Browser files (jsdeliver): UMD is global and ESM is named ### [`v5.1.5`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#515) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.4...v5.1.5) - Add substring "watch" to pattern ### [`v5.1.4`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#514) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.3...v5.1.4) - 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`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#513) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.2...v5.1.3) - Recognise browsers: Ecosia ios in-app browser, Phantom in-app browser ### [`v5.1.2`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#512) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.1...v5.1.2) - Add bots: Cypress, Detectify, InternetMeasurement, BuiltWith - Recognise browser: Zip Recruiter job search app, Ecosia android in-app browser ### [`v5.1.1`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#511) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.1.0...v5.1.1) - Reduce pattern size by introducing the substring ".com" and improve generic pattern ### [`v5.1.0`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#510) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v5.0.0...v5.1.0) - Build now compatibile with older Javascript version: es2016 ### [`v5.0.0`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.4.0...v5.0.0) - Remove named export "pattern" from the interface, instead use "getPattern" method - Add a couple of bot patterns ### [`v4.4.0`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#440) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.3.0...v4.4.0) - 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`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#430) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.2.0...v4.3.0) - Accept `undefined` in place of user agent string to allow headers property to be used "as is" (`request.headers["user-agent"]`) ### [`v4.2.0`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#420) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.1.2...v4.2.0) - 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`](https://togithub.com/omrilotan/isbot/compare/v4.1.1...v4.1.2) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.1.1...v4.1.2) ### [`v4.1.1`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#411) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.1.0...v4.1.1) - Recognise browsers with GMS Core ([Google's Play Services](https://togithub.com/microg/GmsCore/wiki)) 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`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#410) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v4.0.0...v4.1.0) - 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`](https://togithub.com/omrilotan/isbot/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://togithub.com/omrilotan/isbot/compare/v3.8.0...v4.0.0) ##### 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 ```ts 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}* | The substring matched by the regular expression | | isbotMatches | *{(userAgent: string): string\[]}* | All substrings matched by the regular expression | | isbotPattern | *{(userAgent: string): string | null}* | The regular expression used to identify bot substring in the user agent | | 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 | </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com>
- Loading branch information