Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: omrilotan/isbot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.24
Choose a base ref
...
head repository: omrilotan/isbot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.1.25
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Mar 17, 2025

  1. [Pattern] Pattern update: Reduce complexity

    omrilotan committed Mar 17, 2025
    Copy the full SHA
    3ebbeb9 View commit details
Showing with 7 additions and 5 deletions.
  1. +4 βˆ’0 CHANGELOG.md
  2. +1 βˆ’1 package.json
  3. +2 βˆ’4 src/patterns.json
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.1.25](https://github.com/omrilotan/isbot/compare/v5.1.24...v5.1.25)

- [Pattern] Pattern update: Reduce complexity

## [5.1.24](https://github.com/omrilotan/isbot/compare/v5.1.23...v5.1.24)

- [Pattern] Pattern update: Add generic pattern, remove some specific patterns
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isbot",
"version": "5.1.24",
"version": "5.1.25",
"description": "πŸ€–/πŸ‘¨β€πŸ¦° Recognise bots/crawlers/spiders using the user agent string.",
"keywords": [
"bot",
6 changes: 2 additions & 4 deletions src/patterns.json
Original file line number Diff line number Diff line change
@@ -47,10 +47,8 @@
"^jigsaw",
"^microsoft bits",
"^movabletype",
"^mozilla/5\\.0\\s[a-z\\.-]+$",
"^mozilla/\\d\\.\\d\\s\\(compatible;?\\)$",
"^mozilla/\\d\\.\\d\\s\\(compatible;\\s\\w+\\/\\d+\\.\\d+\\)$",
"^mozilla/\\d\\.\\d\\s\\w*$",
"^mozilla/\\d\\.\\d\\s[\\w\\.-]+$",
"^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$",
"^navermailapp",
"^netsurf",
"^offline",