Skip to content

Commit

Permalink
Bump version 1.0.36
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalman committed Sep 9, 2023
1 parent 9bcfbe2 commit 91f3185
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 34 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "ua-parser-js",
"version": "1.0.35",
"version": "1.0.36",
"authors": [
"Faisal Salman <f@faisalman.com>"
],
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Expand Up @@ -4,6 +4,12 @@

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.

## Version 0.7.36 / 1.0.36
- Add new browser: Snapchat
- Add new devices: Infinix, Tecno
- Improve device detection: Amazon Fire TV, Xiaomi POCO
- Improve OS detection: iOS

## Version 0.7.35 / 1.0.35
- Fix result from user-supplied user-agent being altered
- Add new browser: Heytap, TikTok
Expand Down
4 changes: 2 additions & 2 deletions dist/ua-parser.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/ua-parser.pack.js

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions images/51degrees.svg

This file was deleted.

2 changes: 1 addition & 1 deletion license.md
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2012-2021 Faisal Salman <<f@faisalman.com>>
Copyright (c) 2012-2023 Faisal Salman <<f@faisalman.com>>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion package.js
@@ -1,6 +1,6 @@
Package.describe({
name: 'faisalman:ua-parser-js',
version: '1.0.35',
version: '1.0.36',
summary: 'Lightweight JavaScript-based user-agent string parser',
git: 'https://github.com/faisalman/ua-parser-js.git',
documentation: 'readme.md'
Expand Down
16 changes: 14 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"title": "UAParser.js",
"name": "ua-parser-js",
"version": "1.0.35",
"version": "1.0.36",
"author": "Faisal Salman <f@faisalman.com> (http://faisalman.com)",
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment",
"keywords": [
Expand All @@ -13,7 +13,15 @@
"device",
"cpu",
"jquery-plugin",
"ecosystem:jquery"
"ecosystem:jquery",
"ua-parser-js",
"client-hints",
"user-agent-detection",
"device-detection",
"platform-detection",
"mobile-detection",
"browser-detection",
"architecture-detection"
],
"homepage": "https://github.com/faisalman/ua-parser-js",
"contributors": [
Expand Down Expand Up @@ -197,6 +205,10 @@
{
"type": "paypal",
"url": "https://paypal.me/faisalman"
},
{
"type": "github",
"url": "https://github.com/sponsors/faisalman"
}
]
}
4 changes: 2 additions & 2 deletions src/ua-parser.js
@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////////
/* UAParser.js v1.0.35
/* UAParser.js v1.0.36
Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
MIT License *//*
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
Expand All @@ -17,7 +17,7 @@
/////////////


var LIBVERSION = '1.0.35',
var LIBVERSION = '1.0.36',
EMPTY = '',
UNKNOWN = '?',
FUNC_TYPE = 'function',
Expand Down
8 changes: 4 additions & 4 deletions test/browser-test.json
Expand Up @@ -1503,7 +1503,7 @@
"ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/112.0 Mobile/15E148 Safari/605.1.15",
"expect" :
{
"name" : "Mobile Firefox",
"name" : "Firefox",
"version" : "112.0",
"major" : "112"
}
Expand Down Expand Up @@ -1825,7 +1825,7 @@
"ua" : "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 5X Build/N2G47W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36",
"expect" :
{
"name" : "Mobile Chrome",
"name" : "Chrome",
"version" : "58.0.3029.83",
"major" : "58"
}
Expand All @@ -1835,7 +1835,7 @@
"ua" : "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 5X Build/N2G47W) AppleWebKit/537.36 (KHTML, like Gecko) FxiOS/7.5b3349 Mobile/14F89 Safari/603.2.4",
"expect" :
{
"name" : "Mobile Firefox",
"name" : "Firefox",
"version" : "7.5b3349",
"major" : "7"
}
Expand All @@ -1845,7 +1845,7 @@
"ua" : "Mozilla/5.0 (Android 5.0; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0",
"expect" :
{
"name" : "Mobile Firefox",
"name" : "Firefox",
"version" : "41.0",
"major" : "41"
}
Expand Down

0 comments on commit 91f3185

Please sign in to comment.