bowser 2.5.2 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/bundled.js +1 -1
- package/bundled.js.gz +0 -0
- package/es5.js +1 -1
- package/es5.js.gz +0 -0
- package/package.json +5 -2
- package/src/parser-os.js +7 -1
- package/src/parser-platforms.js +1 -1
- package/src/utils.js +42 -1
- package/CONTRIBUTING.md +0 -42
- package/ISSUE_TEMPLATE.md +0 -5
- package/docs/Bowser.html +0 -505
- package/docs/BowserUAIsNotAStringError.html +0 -234
- package/docs/Parser.html +0 -3074
- package/docs/bowser.js.html +0 -146
- package/docs/global.html +0 -2191
- package/docs/index.html +0 -203
- package/docs/parser.js.html +0 -559
- package/docs/scripts/collapse.js +0 -20
- package/docs/scripts/jquery-3.1.1.min.js +0 -4
- package/docs/scripts/linenumber.js +0 -25
- package/docs/scripts/nav.js +0 -12
- package/docs/scripts/polyfill.js +0 -4
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/scripts/prettify/lang-css.js +0 -2
- package/docs/scripts/prettify/prettify.js +0 -28
- package/docs/scripts/search.js +0 -83
- package/docs/styles/jsdoc.css +0 -671
- package/docs/styles/prettify.css +0 -79
- package/docs/utils.js.html +0 -287
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Bowser Changelog
|
|
2
2
|
|
|
3
|
+
### 2.6.0 (Sep 6, 2019)
|
|
4
|
+
- [ADD] Define "module" export in package.json [#354]
|
|
5
|
+
- [FIX] Fix Tablet PC detection [#334]
|
|
6
|
+
|
|
7
|
+
### 2.5.4 (Sep 2, 2019)
|
|
8
|
+
- [FIX] Exclude docs from the npm package [#349]
|
|
9
|
+
|
|
10
|
+
### 2.5.3 (Aug 4, 2019)
|
|
11
|
+
- [FIX] Add MacOS names support [#338]
|
|
12
|
+
- [FIX] Point typings.d.ts from package.json [#341]
|
|
13
|
+
- [FIX] Upgrade dependencies
|
|
14
|
+
|
|
3
15
|
### 2.5.2 (July 17, 2019)
|
|
4
16
|
- [FIX] Fixes the bug undefined method because of failed build (#335)
|
|
5
17
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A small, fast and rich-API browser/platform/engine detector for both browser and
|
|
|
6
6
|
|
|
7
7
|
Don't hesitate to support the project on Github or [OpenCollective](https://opencollective.com/bowser) if you like it ❤️ Also, contributors are always welcome!
|
|
8
8
|
|
|
9
|
-
[](https://travis-ci.org/lancedikson/bowser/) [](https://greenkeeper.io/) [](https://coveralls.io/github/lancedikson/bowser?branch=master)
|
|
9
|
+
[](https://travis-ci.org/lancedikson/bowser/) [](https://greenkeeper.io/) [](https://coveralls.io/github/lancedikson/bowser?branch=master) 
|
|
10
10
|
|
|
11
11
|
# Contents
|
|
12
12
|
- [Overview](#overview)
|
|
@@ -120,13 +120,13 @@ const isValidBrowser = browser.satisfies({
|
|
|
120
120
|
// or in general
|
|
121
121
|
chrome: "~20.1.1432",
|
|
122
122
|
firefox: ">31",
|
|
123
|
-
opera: ">=22"
|
|
123
|
+
opera: ">=22",
|
|
124
124
|
|
|
125
125
|
// also supports equality operator
|
|
126
126
|
chrome: "=20.1.1432", // will match particular build only
|
|
127
127
|
|
|
128
128
|
// and loose-equality operator
|
|
129
|
-
chrome: "~20"
|
|
129
|
+
chrome: "~20", // will match any 20.* sub-version
|
|
130
130
|
chrome: "~20.1" // will match any 20.1.* sub-version (20.1.19 as well as 20.1.12.42-alpha.1)
|
|
131
131
|
});
|
|
132
132
|
```
|