Skip to content

Commit 2899a2e

Browse files
committed
update to 6.4.6 version. This commit:
matomo-org/device-detector@4985884
1 parent ccde142 commit 2899a2e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+28325
-1680
lines changed

DeviceDetector.NET.CacheBuilder/DeviceDetector.NET.CacheBuilder.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<ItemGroup>
1010
<PackageReference Include="CommandLineParser" Version="2.9.1" />
11-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
12-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.7" />
12+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.7" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

DeviceDetector.NET.RegexEngine.PCRE/DeviceDetector.NET.RegexEngine.PCRE.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="PCRE.NET" Version="1.1.0" />
10+
<PackageReference Include="PCRE.NET" Version="1.2.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

DeviceDetector.NET.Tests/DeviceDetector.NET.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="FluentAssertions" Version="7.0.0" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
12-
<PackageReference Include="xunit" Version="2.9.2" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
10+
<PackageReference Include="FluentAssertions" Version="8.5.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
12+
<PackageReference Include="xunit" Version="2.9.3" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>

DeviceDetector.NET.Tests/DeviceDetectorTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ public void TestIsParsed()
203203
[InlineData("smartphone-39")]
204204
[InlineData("smartphone-40")]
205205
[InlineData("smartphone-41")]
206+
[InlineData("smartphone-42")]
206207
[InlineData("tablet")]
207208
[InlineData("tablet-1")]
208209
[InlineData("tablet-2")]
@@ -221,6 +222,7 @@ public void TestIsParsed()
221222
[InlineData("tv-2")]
222223
[InlineData("tv-3")]
223224
[InlineData("tv-4")]
225+
[InlineData("tv-5")]
224226
[InlineData("unknown")]
225227
[InlineData("wearable")]
226228
public void TestParse(string fileNme)

DeviceDetector.NET.Tests/Parser/Client/BrowserTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void TestAllBrowsersTested()
7474
public void TestGetAvailableClients()
7575
{
7676
var available = new BrowserParser().GetAvailableClients();
77-
BrowserParser.GetAvailableBrowsers().Count.Should().BeGreaterOrEqualTo(available.Count);
77+
BrowserParser.GetAvailableBrowsers().Count.Should().BeGreaterThanOrEqualTo(available.Count);
7878
}
7979

8080
[Fact]

DeviceDetector.NET.Tests/Parser/Client/fixtures/browser.yml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10361,3 +10361,104 @@
1036110361
family: Chrome
1036210362
headers:
1036310363
http-x-requested-with: com.android.webview
10364+
-
10365+
user_agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36
10366+
client:
10367+
type: browser
10368+
name: Herond Browser
10369+
version: 122.0.0.0
10370+
engine: Blink
10371+
engine_version: 122.0.0.0
10372+
family: Chrome
10373+
headers:
10374+
Sec-CH-UA: '"Chromium";v="122", "Not(A:Brand";v="24", "Herond";v="122"'
10375+
-
10376+
user_agent: Mozilla/5.0 (Windows; U; en-US; rv:1.8.1.11; Gecko/20071129; Firefox/2.5.0) Maple 6.0.00077
10377+
client:
10378+
type: browser
10379+
name: Maple
10380+
version: 6.0.00077
10381+
engine: Maple
10382+
engine_version: 6.0.00077
10383+
family: ""
10384+
-
10385+
user_agent: Mozilla/5.0 (Linux; olleh tv; U; xx; SMT-E5015) AppleWebKit/536.25 (KHTML, like Gecko) AltiBrowser/3.0.4 (olleh tv; Large Screen) Safari/536.25
10386+
client:
10387+
type: browser
10388+
name: AltiBrowser
10389+
version: 3.0.4
10390+
engine: WebKit
10391+
engine_version: "536.25"
10392+
family: ""
10393+
-
10394+
user_agent: NetworkingExtension/8619.1.26.30.5 Network/4277.2.5 iOS/18.0
10395+
client:
10396+
type: browser
10397+
name: Mobile Safari
10398+
version: "18.0"
10399+
engine: WebKit
10400+
engine_version: ""
10401+
family: Safari
10402+
-
10403+
user_agent: NetworkingExtension/8619.2.8.10.9 CFNetwork/1568.200.51 Darwin/24.1.0
10404+
client:
10405+
type: browser
10406+
name: Safari
10407+
version: 8619.2.8.10
10408+
engine: WebKit
10409+
engine_version: ""
10410+
family: Safari
10411+
-
10412+
user_agent: Mozilla/5.0 (MotorolaWebKit; U; /Windows CE 7.0) AppleWebKit/534.51 (KHTML, like Gecko) Version/2.3.0 Mobile Safari/534.51
10413+
client:
10414+
type: browser
10415+
name: Motorola Internet Browser
10416+
version: 2.3.0
10417+
engine: WebKit
10418+
engine_version: "534.51"
10419+
family: ""
10420+
-
10421+
user_agent: Mozilla/1.1 (compatible; MSPIE 2.0; Windows CE)
10422+
client:
10423+
type: browser
10424+
name: Pocket Internet Explorer
10425+
version: "2.0"
10426+
engine: Trident
10427+
engine_version: ""
10428+
family: Internet Explorer
10429+
-
10430+
user_agent: Microsoft Pocket Internet Explorer/0.6
10431+
client:
10432+
type: browser
10433+
name: Pocket Internet Explorer
10434+
version: "0.6"
10435+
engine: Trident
10436+
engine_version: ""
10437+
family: Internet Explorer
10438+
-
10439+
user_agent: Mozilla/5.0 (Linux; U; Android 1.5.2.0-RT-20120926.155001; xx; K-Touch W619 Build/AliyunOs-2012) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 SogouMSE,SogouMobileBrowser/2.1.0
10440+
client:
10441+
type: browser
10442+
name: Sogou Mobile Browser
10443+
version: 2.1.0
10444+
engine: WebKit
10445+
engine_version: "534.30"
10446+
family: Safari
10447+
-
10448+
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
10449+
client:
10450+
type: browser
10451+
name: Safari
10452+
version: ""
10453+
engine: WebKit
10454+
engine_version: 605.1.15
10455+
family: Safari
10456+
-
10457+
user_agent: OperaGX/2825 CFNetwork/1568.300.101 Darwin/24.2.0
10458+
client:
10459+
type: browser
10460+
name: Opera GX
10461+
version: ""
10462+
engine: WebKit
10463+
engine_version: ""
10464+
family: Opera

DeviceDetector.NET.Tests/Parser/Client/fixtures/library.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,3 +731,63 @@
731731
type: library
732732
name: Azure Blob Storage
733733
version: 12.23.0
734+
-
735+
user_agent: trafilatura/1.5.0 (+https://github.com/adbar/trafilatura)
736+
client:
737+
type: library
738+
name: trafilatura
739+
version: 1.5.0
740+
-
741+
user_agent: 'sqlmap/1.8.10.1#dev (https://sqlmap.org)'
742+
client:
743+
type: library
744+
name: sqlmap
745+
version: 1.8.10.1
746+
-
747+
user_agent: vimeo.php 3.0.8; (http://developer.vimeo.com/api/docs)
748+
client:
749+
type: library
750+
name: vimeo.php
751+
version: 3.0.8
752+
-
753+
user_agent: php7.4
754+
client:
755+
type: library
756+
name: PHP
757+
version: "7.4"
758+
-
759+
user_agent: PHP/5.3.93
760+
client:
761+
type: library
762+
name: PHP
763+
version: 5.3.93
764+
-
765+
user_agent: localhost.localdomain/go-network-v2.0.1
766+
client:
767+
type: library
768+
name: go-network
769+
version: 2.0.1
770+
-
771+
user_agent: Bun/1.2.10
772+
client:
773+
type: library
774+
name: Bun
775+
version: 1.2.10
776+
-
777+
user_agent: Apidog/1.0.0 (https://apidog.com)
778+
client:
779+
type: library
780+
name: Apidog
781+
version: 1.0.0
782+
-
783+
user_agent: webchk v1.2.0
784+
client:
785+
type: library
786+
name: webchk
787+
version: 1.2.0
788+
-
789+
user_agent: Darwin/24.5.0 (Watch7,9; watchOS 11.4) MatomoTrackerSDK/7.7.0
790+
client:
791+
type: library
792+
name: MatomoTracker
793+
version: 7.7.0

DeviceDetector.NET.Tests/Parser/Client/fixtures/mobile_app.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,3 +2303,93 @@
23032303
type: mobile app
23042304
name: TownNews Now
23052305
version: "4.0"
2306+
-
2307+
user_agent: Klara/1 CFNetwork/1128.0.1 Darwin/19.6.0
2308+
client:
2309+
type: mobile app
2310+
name: Klara
2311+
version: ""
2312+
-
2313+
user_agent: Dalvik/2.1.0 (Linux; U; Android 11; SM-A725M Build/RP1A.200720.012) EdmodoAndroid/10.43.5(69a222)
2314+
client:
2315+
type: mobile app
2316+
name: Edmodo
2317+
version: 10.43.5
2318+
-
2319+
user_agent: HFEducationIOS/1.0.6+g5a01fc39-dirty (iOS; 18.1.1; iPad13,18)
2320+
client:
2321+
type: mobile app
2322+
name: HeartFocus Education
2323+
version: 1.0.6
2324+
-
2325+
user_agent: HFIOS/1.0.8+ab701 (iOS; 18.1.1; iPad13,18)
2326+
client:
2327+
type: mobile app
2328+
name: HeartFocus
2329+
version: 1.0.8
2330+
-
2331+
user_agent: Mozilla/5.0 (Mobile; LYF/F10Q/LYF-F10Q-000-01-31-071119; Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5 YouTube/1.92.52.J
2332+
client:
2333+
type: mobile app
2334+
name: YouTube
2335+
version: 1.92.52
2336+
-
2337+
user_agent: Mozilla/5.0 (Mobile; ALCATEL A406DL; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5.4 YouTube/1.92.52.K
2338+
client:
2339+
type: mobile app
2340+
name: YouTube
2341+
version: 1.92.52
2342+
-
2343+
user_agent: WebexTeams
2344+
client:
2345+
type: mobile app
2346+
name: Webex Teams
2347+
version: ""
2348+
-
2349+
user_agent: Telegram/29835 CFNetwork/1333.0.4 Darwin/21.5.0
2350+
client:
2351+
type: mobile app
2352+
name: Telegram
2353+
version: ""
2354+
-
2355+
user_agent: 'Mozilla/5.0 [en] (X11, U; OpenVAS-VT 9.0.3)'
2356+
client:
2357+
type: mobile app
2358+
name: OpenVAS
2359+
version: 9.0.3
2360+
-
2361+
user_agent: appdb/1.4.4 (com.4sh2812.32u1982378; build:2875; iOS 18.3.0) Alamofire/3.5.0
2362+
client:
2363+
type: mobile app
2364+
name: appdb
2365+
version: 1.4.4
2366+
-
2367+
user_agent: Apache/2.2.2 (Fedora) (internal dummy connection)
2368+
client:
2369+
type: mobile app
2370+
name: Apache
2371+
version: 2.2.2
2372+
-
2373+
user_agent: Apache/2.4.34 (Ubuntu) OpenSSL/1.1.1 (internal dummy connection)
2374+
client:
2375+
type: mobile app
2376+
name: Apache
2377+
version: 2.4.34
2378+
-
2379+
user_agent: com.google.ios.youtube/17.39.4 (iPad4,2; U; CPU iOS 12_5_7 like Mac OS X; zh-Hans_US)
2380+
client:
2381+
type: mobile app
2382+
name: YouTube
2383+
version: 17.39.4
2384+
-
2385+
user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D167 iPhone6,1/N51AP Zite/2.6
2386+
client:
2387+
type: mobile app
2388+
name: Zite
2389+
version: "2.6"
2390+
-
2391+
user_agent: DeepL/1627620 CFNetwork/3826.400.101 Darwin/24.3.0
2392+
client:
2393+
type: mobile app
2394+
name: DeepL
2395+
version: ""

DeviceDetector.NET.Tests/Parser/Devices/DevicesTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void DeviceBrandsTest()
2323
.DeviceBrands
2424
.Count
2525
.Should()
26-
.Be(1977);
26+
.Be(2089);
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)