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

build(deps): bump isbot from 3.7.0 to 4.1.0 #8

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 1, 2024

Bumps isbot from 3.7.0 to 4.1.0.

Changelog

Sourced from isbot's changelog.

4.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

4.0.1

  • Pattern optimisation (performance improvement)

4.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

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

3.7.1

  • Replace "ghost" with "inspect" to avoid false positives
Commits
  • f945d66 Add createIsbotFromList (#228)
  • 9417d76 Improve readme example of helper functions
  • 037c1b9 Announce version 4 will become "latest"
  • 5926d24 Pattern optimisations (#227)
  • 40f84df Major Change Interface: release as "next"
  • a0fdadd and another thing
  • 40a0944 Do I have to do everything around here?
  • c79386a Page: I think this looks nicer
  • 8b05fe3 Small improvements to the website
  • 0caac4a Add some usability for the website: copy link
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [isbot](https://github.com/omrilotan/isbot) from 3.7.0 to 4.1.0.
- [Changelog](https://github.com/omrilotan/isbot/blob/next/CHANGELOG.md)
- [Commits](omrilotan/isbot@v3.7.0...v4.1.0)

---
updated-dependencies:
- dependency-name: isbot
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 1, 2024
Copy link
Author

dependabot bot commented on behalf of github Feb 1, 2024

Superseded by #11.

@dependabot dependabot bot closed this Feb 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/isbot-4.1.0 branch February 1, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants