Skip to content

Commit

Permalink
use Mobile-Detect@2.8.28
Browse files Browse the repository at this point in the history
  • Loading branch information
hgoebl committed Dec 9, 2017
1 parent 7222f6e commit 3d62e63
Show file tree
Hide file tree
Showing 7 changed files with 1,395 additions and 1,223 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v1.4.0:
date: 2017-12-09
changes:
- use Mobile-Detect@2.8.28
- fix #67 (vulnerable to ReDoS)

v1.3.7:
date: 2017-09-06
changes:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can find out information about the device rendering your web page:
* [Mobile Grade (A, B, C)](http://jquerymobile.com/gbs/)
* specific versions (e.g. WebKit)

Current `master` branch is using detection logic from **Mobile-Detect@2.8.26**
Current `master` branch is using detection logic from **Mobile-Detect@2.8.28**

# Live Demo

Expand Down Expand Up @@ -120,11 +120,11 @@ You can easily extend it, e.g. `android`, `iphone`, etc.

## CDN - [jsDelivr](http://www.jsdelivr.com/#!mobile-detect.js)

<script src="//cdn.jsdelivr.net/npm/mobile-detect@1.3.7/mobile-detect.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/mobile-detect@1.4.0/mobile-detect.min.js"></script>

## cdnjs - [cdnjs.com](https://cdnjs.com/libraries/mobile-detect)

<script src="//cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.3.7/mobile-detect.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.0/mobile-detect.min.js"></script>

# Extending/Modifying Behaviour

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobile-detect",
"version": "1.3.7",
"version": "1.4.0",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"homepage": "http://hgoebl.github.io/mobile-detect.js/",
"keywords": [
Expand Down
22 changes: 13 additions & 9 deletions mobile-detect.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions mobile-detect.min.js

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
@@ -1,6 +1,6 @@
{
"name": "mobile-detect",
"version": "1.3.7",
"version": "1.4.0",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"main": "mobile-detect.js",
"typings": "mobile-detect",
Expand Down
Loading

0 comments on commit 3d62e63

Please sign in to comment.