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: microlinkhq/top-user-agents
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.35
Choose a base ref
...
head repository: microlinkhq/top-user-agents
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.36
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Feb 17, 2025

  1. fix: exclude Cloudinary (#42)

    * fix: exclude Cloudinary
    
    closes #41
    
    * refactor: lowercase comparison
    
    * chore: update assets
    Kikobeats authored Feb 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6ad721c View commit details
  2. chore(release): 2.1.36

    Kikobeats committed Feb 17, 2025
    Copy the full SHA
    8e7d0ba View commit details
Showing with 12 additions and 7 deletions.
  1. +7 −0 CHANGELOG.md
  2. +2 −2 bin/util.js
  3. +1 −1 package.json
  4. +1 −2 src/desktop.json
  5. +1 −2 src/index.json
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### 2.1.36 (2025-02-17)


### Bug Fixes

* exclude Cloudinary ([#42](https://github.com/Kikobeats/top-user-agents/issues/42)) ([6ad721c](https://github.com/Kikobeats/top-user-agents/commit/6ad721c9a8fe0bf44e5a7ca1fa17e8dcfeae85f4)), closes [#41](https://github.com/Kikobeats/top-user-agents/issues/41)

### 2.1.35 (2025-02-17)

### 2.1.34 (2025-02-10)
4 changes: 2 additions & 2 deletions bin/util.js
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ const connect = () =>
const isBot = userAgent => {
const result =
isbot(userAgent) ||
['NetworkingExtension', 'CFNetwork', 'retweet'].some(str =>
userAgent.includes(str)
['cfnetwork', 'cloudinary', 'networkingextension', 'retweet'].some(str =>
userAgent.toLowerCase().includes(str)
)
if (result) debug(userAgent)
return result
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "top-user-agents",
"description": "A list of most common User Agent.",
"homepage": "https://microlink.io/user-agents",
"version": "2.1.35",
"version": "2.1.36",
"types": "./src/index.d.ts",
"exports": {
".": {
3 changes: 1 addition & 2 deletions src/desktop.json
Original file line number Diff line number Diff line change
@@ -44,7 +44,6 @@
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; rv:135.0) Gecko/20100101 Firefox/135.0",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15",
"Mozilla/5.0 (compatible; Cloudinary/1.0)",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
@@ -81,4 +80,4 @@
"Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.6.7 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36"
]
]
3 changes: 1 addition & 2 deletions src/index.json
Original file line number Diff line number Diff line change
@@ -57,7 +57,6 @@
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; rv:135.0) Gecko/20100101 Firefox/135.0",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15",
"Mozilla/5.0 (compatible; Cloudinary/1.0)",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
@@ -99,4 +98,4 @@
"Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.6.7 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36"
]
]