Skip to content

Commit 3218051

Browse files
committed
Bump version 0.7.34
1 parent 551ad88 commit 3218051

9 files changed

+85
-31
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ua-parser-js",
3-
"version": "0.7.33",
3+
"version": "0.7.34",
44
"authors": [
55
"Faisal Salman <[email protected]>"
66
],

changelog.md

+30-20
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@
44

55
Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://github.com/faisalman/ua-parser-js/issues/536) for the reason behind this confusion.
66

7-
## Version 0.7.30 / 1.0.1
7+
## Version 0.7.34 / 1.0.34
8+
- Fix Sharp Mobile detected as Huawei Tablet
9+
- Fix IE8 bug
10+
- Add new devices : Kobo e-Reader, Apple Watch, and some new SmartTV devices
11+
- Add new OS : watchOS
12+
- Improve browser detection : Kakao, Naver, Brave
13+
- Improve device detection : Oculus, iPad
14+
- Improve OS detection : Chrome OS
15+
- Using navigator.userAgentData as fallback for device.type & os.name
816

9-
- Add new browser : Obigo, UP.Browser, Klar
10-
- Add new device : Oculus, Roku
11-
- Add new OS: Maemo, HP-UX, Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
12-
- Improve detection for Sony Xperia 1ii, LG Android TV, and some more devices
13-
- Improve detection for ARM64 CPU
14-
- Improve detection for Windows Mobile, Netscape, Mac on PowerPC
15-
- Categorize PDA as mobile
16-
- Fix Sharp devices misjudged as Huawei
17-
- Fix trailing comma for ES3 compatibility
18-
- Some code refactor
19-
20-
## Version 0.7.31 / 1.0.2
17+
## Version 0.7.33 / 1.0.33
2118

22-
- Fix OPPO Reno A5 incorrect detection
23-
- Fix TypeError Bug
24-
- Use AST to extract regexes and verify them with safe-regex
19+
- Add new browser : Cobalt
20+
- Identify Macintosh as an Apple device
21+
- Fix ReDoS vulnerability
2522

2623
## Version 0.7.32 / 1.0.32
2724

@@ -38,11 +35,24 @@ Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://g
3835
- Fix included commas in Safari / Mobile Safari version
3936
- Increase UA_MAX_LENGTH to 350
4037

41-
## Version 0.7.33 / 1.0.33
38+
## Version 0.7.31 / 1.0.2
4239

43-
- Add new browser : Cobalt
44-
- Identify Macintosh as an Apple device
45-
- Fix ReDoS vulnerability
40+
- Fix OPPO Reno A5 incorrect detection
41+
- Fix TypeError Bug
42+
- Use AST to extract regexes and verify them with safe-regex
43+
44+
## Version 0.7.30 / 1.0.1
45+
46+
- Add new browser : Obigo, UP.Browser, Klar
47+
- Add new device : Oculus, Roku
48+
- Add new OS: Maemo, HP-UX, Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
49+
- Improve detection for Sony Xperia 1ii, LG Android TV, and some more devices
50+
- Improve detection for ARM64 CPU
51+
- Improve detection for Windows Mobile, Netscape, Mac on PowerPC
52+
- Categorize PDA as mobile
53+
- Fix Sharp devices misjudged as Huawei
54+
- Fix trailing comma for ES3 compatibility
55+
- Some code refactor
4656

4757
# Version 0.8
4858

dist/ua-parser.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ua-parser.pack.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

images/51degrees.svg

+19
Loading

package.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'faisalman:ua-parser-js',
3-
version: '0.7.33',
3+
version: '0.7.34',
44
summary: 'Lightweight JavaScript-based user-agent string parser',
55
git: 'https://github.com/faisalman/ua-parser-js.git',
66
documentation: 'readme.md'

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "UAParser.js",
33
"name": "ua-parser-js",
4-
"version": "0.7.33",
4+
"version": "0.7.34",
55
"author": "Faisal Salman <[email protected]> (http://faisalman.com)",
66
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment",
77
"keywords": [

readme.md

+27-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,30 @@ JavaScript library to detect Browser, Engine, OS, CPU, and Device type/model fro
1818
* Demo : https://faisalman.github.io/ua-parser-js
1919
* Source : https://github.com/faisalman/ua-parser-js
2020

21+
***
22+
23+
### From Our Sponsors:
24+
<table>
25+
<thead>
26+
</thead>
27+
<tbody>
28+
<tr>
29+
<td align="center" width="200px" rowspan="3"><a href="https://www.npmjs.com/package/@51degrees/ua-parser-js"><img src="images/51degrees.svg" alt="51degrees" width="75%" height="75%" ></a></td>
30+
<td align="left" width="400px"><a href="https://www.npmjs.com/package/@51degrees/ua-parser-js">↗ @51degrees/ua-parser-js</a></td>
31+
</tr>
32+
<tr>
33+
<td><br/><p>UAParser.js has been upgraded to detect comprehensive device data based on the User-Agent and User-Agent Client Hints.</p><p>This package supports all device types including Apple and Android devices and can be used either in a browser (client-side) or Node.js environment (server-side).</p><p>Visit <a href="https://www.npmjs.com/package/@51degrees/ua-parser-js">↗ 51Degrees <u>UAParser</u></a> to get started.</p>
34+
</td>
35+
</tr>
36+
<tr>
37+
<td>
38+
<p>On 6 March, we’ll be hosting a demonstration of the 51Degrees UAParser. Register your place for the webinar <a href="https://event.webinarjam.com/register/36/6k2gqu5p">↗ here</a>.</p></td>
39+
</tr>
40+
</tbody>
41+
</table>
42+
43+
---
44+
2145
# Documentation
2246
### UAParser([user-agent][,extensions])
2347
typeof `user-agent` "string".
@@ -312,9 +336,10 @@ console.log(myParser.setUA(myUA).getBrowser()); // {name: "MyBrowser", version:
312336

313337
# Development
314338

315-
## Sponsors
339+
## Backers & Sponsors
316340

317-
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/tiers/backers.svg?avatarHeight=64" height="80"/></a> <a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/tiers/sponsors.svg?avatarHeight=64" height="80"/></a>
341+
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/organizations.svg?avatarHeight=64"></a>
342+
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/individuals.svg?avatarHeight=64"></a>
318343

319344
<a href="https://www.paypal.me/faisalman/"><img src="https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg" height="40"></a>
320345

src/ua-parser.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/////////////////////////////////////////////////////////////////////////////////
2-
/* UAParser.js v0.7.33
2+
/* UAParser.js v0.7.34
33
Copyright © 2012-2021 Faisal Salman <[email protected]>
44
MIT License *//*
55
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
@@ -17,7 +17,7 @@
1717
/////////////
1818

1919

20-
var LIBVERSION = '0.7.33',
20+
var LIBVERSION = '0.7.34',
2121
EMPTY = '',
2222
UNKNOWN = '?',
2323
FUNC_TYPE = 'function',

0 commit comments

Comments
 (0)