Skip to content

Commit

Permalink
Up to 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaitrehenry committed Oct 22, 2021
1 parent 8798b4d commit d3e22df
Show file tree
Hide file tree
Showing 54 changed files with 243 additions and 176 deletions.
12 changes: 6 additions & 6 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build": "tsc --pretty"
},
"napa": {
"device-detector": "https://github.com/matomo-org/device-detector#71160b2"
"device-detector": "https://github.com/matomo-org/device-detector#4.0.2"
},
"napa-config": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion src/fixtures/Tests/Parser/Client/fixtures/browser.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/fixtures/Tests/Parser/Client/fixtures/library.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"user_agent":"Wget/1.10+devel","client":{"type":"library","name":"Wget","version":"1.10"}},{"user_agent":"Wget/1.11.4 Red Hat modified","client":{"type":"library","name":"Wget","version":"1.11.4"}},{"user_agent":"Wget/ (linux-gnu)","client":{"type":"library","name":"Wget","version":""}},{"user_agent":"curl/7.21.0 (i386-redhat-linux-gnu) libcurl/7.21.0 NSS/3.12.10.0 zlib/1.2.5 libidn/1.18 libssh2/1.2.4","client":{"type":"library","name":"curl","version":"7.21.0"}},{"user_agent":"PycURL/7.19.3.1 libcurl/7.26.0 GnuTLS/2.12.20 zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3","client":{"type":"library","name":"curl","version":"7.26.0"}},{"user_agent":"python-requests/1.2.0 CPython/2.7.3 Linux/3.8.0-33-generic","client":{"type":"library","name":"Python Requests","version":"1.2.0"}},{"user_agent":"python-requests/1.2.0 CPython/2.7.5 Windows/7","client":{"type":"library","name":"Python Requests","version":"1.2.0"}},{"user_agent":"Python-urllib/2.6","client":{"type":"library","name":"Python urllib","version":"2.6"}},{"user_agent":"Mozilla/5.0 (Python-urllib2)","client":{"type":"library","name":"Python urllib","version":""}},{"user_agent":"Java/1.7.0_51","client":{"type":"library","name":"Java","version":"1.7.0"}},{"user_agent":"Java1.1.4","client":{"type":"library","name":"Java","version":"1.1.4"}},{"user_agent":"libwww-perl/5.69","client":{"type":"library","name":"Perl","version":"5.69"}},{"user_agent":"perlclient/1.0","client":{"type":"library","name":"Perl","version":"1.0"}},{"user_agent":"Guzzle/3.9.3 curl/7.38.0 PHP/5.6.14-0+deb8u1","client":{"type":"library","name":"Guzzle (PHP HTTP Client)","version":"3.9.3"}},{"user_agent":"HTTP_Request2/2.3.0 (http://pear.php.net/package/http_request2) PHP/5.3.3","client":{"type":"library","name":"HTTP_Request2","version":"2.3.0"}},{"user_agent":"Mechanize/2.7.3 Ruby/1.9.3p551 (http://github.com/sparklemotion/mechanize/)","client":{"type":"library","name":"Mechanize","version":"2.7.3"}},{"user_agent":"Python/3.5 aiohttp/1.0.5","client":{"type":"library","name":"aiohttp","version":"1.0.5"}},{"user_agent":"Google-HTTP-Java-Client/1.17.0-rc (gzip)","client":{"type":"library","name":"Google HTTP Java Client","version":"1.17.0-rc"}},{"user_agent":"WWW-Mechanize/1.73","client":{"type":"library","name":"WWW-Mechanize","version":"1.73"}},{"user_agent":"Faraday v0.9.1","client":{"type":"library","name":"Faraday","version":"0.9.1"}},{"user_agent":"Go-http-client/1.1","client":{"type":"library","name":"Go-http-client","version":"1.1"}},{"user_agent":"Go-http-client/2.0","client":{"type":"library","name":"Go-http-client","version":"2.0"}},{"user_agent":"Go 1.1 package http","client":{"type":"library","name":"Go-http-client","version":"1.1"}},{"user_agent":"urlgrabber/3.9.1 yum/3.2.29","client":{"type":"library","name":"urlgrabber (yum)","version":"3.9.1"}},{"user_agent":"urlgrabber/3.10 yum/3.4.3","client":{"type":"library","name":"urlgrabber (yum)","version":"3.10"}},{"user_agent":"libdnf/0.11.1","client":{"type":"library","name":"libdnf","version":"0.11.1"}},{"user_agent":"HTTPie/1.0.2","client":{"type":"library","name":"HTTPie","version":"1.0.2"}},{"user_agent":"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.3p105","client":{"type":"library","name":"REST Client for Ruby","version":"2.0.2"}},{"user_agent":"RestSharp/106.2.1.0","client":{"type":"library","name":"RestSharp","version":"106.2.1.0"}},{"user_agent":"scalaj-http/2.4.0","client":{"type":"library","name":"ScalaJ HTTP","version":"2.4.0"}},{"user_agent":"REST::Client/273","client":{"type":"library","name":"Perl REST::Client","version":"273"}},{"user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","client":{"type":"library","name":"Node Fetch","version":"1.0"}},{"user_agent":"ReactorNetty/0.9.10.RELEASE","client":{"type":"library","name":"ReactorNetty","version":"0.9.10"}}]
[{"user_agent":"Wget/1.10+devel","client":{"type":"library","name":"Wget","version":"1.10"}},{"user_agent":"Wget/1.11.4 Red Hat modified","client":{"type":"library","name":"Wget","version":"1.11.4"}},{"user_agent":"Wget/ (linux-gnu)","client":{"type":"library","name":"Wget","version":""}},{"user_agent":"curl/7.21.0 (i386-redhat-linux-gnu) libcurl/7.21.0 NSS/3.12.10.0 zlib/1.2.5 libidn/1.18 libssh2/1.2.4","client":{"type":"library","name":"curl","version":"7.21.0"}},{"user_agent":"PycURL/7.19.3.1 libcurl/7.26.0 GnuTLS/2.12.20 zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3","client":{"type":"library","name":"curl","version":"7.26.0"}},{"user_agent":"python-requests/1.2.0 CPython/2.7.3 Linux/3.8.0-33-generic","client":{"type":"library","name":"Python Requests","version":"1.2.0"}},{"user_agent":"python-requests/1.2.0 CPython/2.7.5 Windows/7","client":{"type":"library","name":"Python Requests","version":"1.2.0"}},{"user_agent":"Python-urllib/2.6","client":{"type":"library","name":"Python urllib","version":"2.6"}},{"user_agent":"Mozilla/5.0 (Python-urllib2)","client":{"type":"library","name":"Python urllib","version":""}},{"user_agent":"Java/1.7.0_51","client":{"type":"library","name":"Java","version":"1.7.0"}},{"user_agent":"Java1.1.4","client":{"type":"library","name":"Java","version":"1.1.4"}},{"user_agent":"libwww-perl/5.69","client":{"type":"library","name":"Perl","version":"5.69"}},{"user_agent":"perlclient/1.0","client":{"type":"library","name":"Perl","version":"1.0"}},{"user_agent":"Guzzle/3.9.3 curl/7.38.0 PHP/5.6.14-0+deb8u1","client":{"type":"library","name":"Guzzle (PHP HTTP Client)","version":"3.9.3"}},{"user_agent":"HTTP_Request2/2.3.0 (http://pear.php.net/package/http_request2) PHP/5.3.3","client":{"type":"library","name":"HTTP_Request2","version":"2.3.0"}},{"user_agent":"Mechanize/2.7.3 Ruby/1.9.3p551 (http://github.com/sparklemotion/mechanize/)","client":{"type":"library","name":"Mechanize","version":"2.7.3"}},{"user_agent":"Python/3.5 aiohttp/1.0.5","client":{"type":"library","name":"aiohttp","version":"1.0.5"}},{"user_agent":"Google-HTTP-Java-Client/1.17.0-rc (gzip)","client":{"type":"library","name":"Google HTTP Java Client","version":"1.17.0-rc"}},{"user_agent":"WWW-Mechanize/1.73","client":{"type":"library","name":"WWW-Mechanize","version":"1.73"}},{"user_agent":"Faraday v0.9.1","client":{"type":"library","name":"Faraday","version":"0.9.1"}},{"user_agent":"Go-http-client/1.1","client":{"type":"library","name":"Go-http-client","version":"1.1"}},{"user_agent":"Go-http-client/2.0","client":{"type":"library","name":"Go-http-client","version":"2.0"}},{"user_agent":"Go 1.1 package http","client":{"type":"library","name":"Go-http-client","version":"1.1"}},{"user_agent":"urlgrabber/3.9.1 yum/3.2.29","client":{"type":"library","name":"urlgrabber (yum)","version":"3.9.1"}},{"user_agent":"urlgrabber/3.10 yum/3.4.3","client":{"type":"library","name":"urlgrabber (yum)","version":"3.10"}},{"user_agent":"libdnf/0.11.1","client":{"type":"library","name":"libdnf","version":"0.11.1"}},{"user_agent":"HTTPie/1.0.2","client":{"type":"library","name":"HTTPie","version":"1.0.2"}},{"user_agent":"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.3p105","client":{"type":"library","name":"REST Client for Ruby","version":"2.0.2"}},{"user_agent":"RestSharp/106.2.1.0","client":{"type":"library","name":"RestSharp","version":"106.2.1.0"}},{"user_agent":"scalaj-http/2.4.0","client":{"type":"library","name":"ScalaJ HTTP","version":"2.4.0"}},{"user_agent":"REST::Client/273","client":{"type":"library","name":"Perl REST::Client","version":"273"}},{"user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","client":{"type":"library","name":"Node Fetch","version":"1.0"}},{"user_agent":"ReactorNetty/0.9.10.RELEASE","client":{"type":"library","name":"ReactorNetty","version":"0.9.10"}},{"user_agent":"PostmanRuntime/7.9.1","client":{"type":"library","name":"Postman Desktop","version":"7.9.1"}}]
2 changes: 1 addition & 1 deletion src/fixtures/Tests/Parser/Device/fixtures/camera.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"user_agent":"Mozilla/5.0 (Linux; U; Android 4.0; de-DE; EK-GC100 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","device":{"type":"camera","brand":"Samsung","model":"GALAXY Camera"}},{"user_agent":"Mozilla/5.0 (Linux; Android 4.1.2; EK-GC100 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Mobile Safari/537.36 OPR/15.0.1162.60140","device":{"type":"camera","brand":"Samsung","model":"GALAXY Camera"}},{"user_agent":"Mozilla/5.0 (Linux; U; Android 2.3.3; ja-jp; COOLPIX S800c Build/CP01_WW) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1","device":{"type":"camera","brand":"Nikon","model":"Coolpix S800c"}}]
[{"user_agent":"Mozilla/5.0 (Linux; U; Android 4.0; de-DE; EK-GC100 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","device":{"type":"camera","brand":"Samsung","model":"Galaxy Camera"}},{"user_agent":"Mozilla/5.0 (Linux; Android 4.1.2; EK-GC100 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Mobile Safari/537.36 OPR/15.0.1162.60140","device":{"type":"camera","brand":"Samsung","model":"Galaxy Camera"}},{"user_agent":"Mozilla/5.0 (Linux; U; Android 2.3.3; ja-jp; COOLPIX S800c Build/CP01_WW) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1","device":{"type":"camera","brand":"Nikon","model":"Coolpix S800c"}}]
2 changes: 1 addition & 1 deletion src/fixtures/Tests/Parser/Device/fixtures/console.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"user_agent":"Mozilla/5.0 (Linux; Android 4.1.1; ARCHOS GAMEPAD Build/JRO03H) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19","device":{"type":"console","brand":"Archos","model":"Gamepad"}},{"user_agent":"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; Xbox)","device":{"type":"console","brand":"Microsoft","model":"Xbox 360"}},{"user_agent":"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; Xbox; Xbox One)","device":{"type":"console","brand":"Microsoft","model":"Xbox One"}},{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586","device":{"type":"console","brand":"Microsoft","model":"Xbox One"}},{"user_agent":"Mozilla/5.0 (Nintendo 3DS; U; ; en) Version/1.7498.EU","device":{"type":"console","brand":"Nintendo","model":"3DS"}},{"user_agent":"Bunjalloo/0.7.6(Nintendo DS;U;en)","device":{"type":"console","brand":"Nintendo","model":"DS"}},{"user_agent":"Opera/9.30 (Nintendo Wii; U; ; 3642; en)","device":{"type":"console","brand":"Nintendo","model":"Wii"}},{"user_agent":"Mozilla/5.0 (Nintendo WiiU) AppleWebKit/534.52 (KHTML, like Gecko) NX/2.1.0.8.21 NintendoBrowser/1.0.0.7494.US","device":{"type":"console","brand":"Nintendo","model":"WiiU"}},{"user_agent":"Mozilla/5.0 (Linux; U; Android OUYA 4.1.2; en-us; OUYA Build/JZO54L-OUYA) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30","device":{"type":"console","brand":"OUYA","model":"OUYA"}},{"user_agent":"Mozilla/5.0 (PLAYSTATION 3 4.46) AppleWebKit/531.22.8 (KHTML, like Gecko)","device":{"type":"console","brand":"Sony","model":"PlayStation 3"}},{"user_agent":"Mozilla/5.0 (PlayStation 4 1.52) AppleWebKit/536.26 (KHTML, like Gecko)","device":{"type":"console","brand":"Sony","model":"PlayStation 4"}},{"user_agent":"Mozilla/4.0 (PlayStation Portable); 2.00)","device":{"type":"console","brand":"Sony","model":"PlayStation Portable"}},{"user_agent":"Mozilla/5.0 (PlayStation Vita 3.01) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2","device":{"type":"console","brand":"Sony","model":"PlayStation Vita"}}]
[{"user_agent":"Mozilla/5.0 (Linux; Android 4.1.1; ARCHOS GAMEPAD Build/JRO03H) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19","device":{"type":"console","brand":"Archos","model":"Gamepad"}},{"user_agent":"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; Xbox)","device":{"type":"console","brand":"Microsoft","model":"Xbox 360"}},{"user_agent":"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; Xbox; Xbox One)","device":{"type":"console","brand":"Microsoft","model":"Xbox One"}},{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586","device":{"type":"console","brand":"Microsoft","model":"Xbox One"}},{"user_agent":"Mozilla/5.0 (Nintendo 3DS; U; ; en) Version/1.7498.EU","device":{"type":"console","brand":"Nintendo","model":"3DS"}},{"user_agent":"Bunjalloo/0.7.6(Nintendo DS;U;en)","device":{"type":"console","brand":"Nintendo","model":"DS"}},{"user_agent":"Opera/9.30 (Nintendo Wii; U; ; 3642; en)","device":{"type":"console","brand":"Nintendo","model":"Wii"}},{"user_agent":"Mozilla/5.0 (Nintendo WiiU) AppleWebKit/534.52 (KHTML, like Gecko) NX/2.1.0.8.21 NintendoBrowser/1.0.0.7494.US","device":{"type":"console","brand":"Nintendo","model":"WiiU"}},{"user_agent":"Mozilla/5.0 (Linux; U; Android OUYA 4.1.2; en-us; OUYA Build/JZO54L-OUYA) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30","device":{"type":"console","brand":"OUYA","model":"OUYA"}},{"user_agent":"Mozilla/5.0 (PLAYSTATION 3 4.46) AppleWebKit/531.22.8 (KHTML, like Gecko)","device":{"type":"console","brand":"Sony","model":"PlayStation 3"}},{"user_agent":"Mozilla/5.0 (PlayStation 4 1.52) AppleWebKit/536.26 (KHTML, like Gecko)","device":{"type":"console","brand":"Sony","model":"PlayStation 4"}},{"user_agent":"Mozilla/4.0 (PlayStation Portable); 2.00)","device":{"type":"console","brand":"Sony","model":"PlayStation Portable"}},{"user_agent":"Mozilla/5.0 (PlayStation Vita 3.01) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2","device":{"type":"console","brand":"Sony","model":"PlayStation Vita"}},{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; XBOX_ONE_ED) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393","device":{"type":"console","brand":"Microsoft","model":"Xbox One S"}},{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox One X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 Edge/20.02","device":{"type":"console","brand":"Microsoft","model":"Xbox One X"}},{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox Series X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 Edge/20.02","device":{"type":"console","brand":"Microsoft","model":"Xbox Series X"}}]
2 changes: 1 addition & 1 deletion src/fixtures/Tests/Parser/fixtures/oss.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/fixtures/Tests/fixtures/bots.json

Large diffs are not rendered by default.

Loading

0 comments on commit d3e22df

Please sign in to comment.