diff --git a/CHANGELOG.md b/CHANGELOG.md index fd93f17..3dd596d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Bowser Changelog +### 2.4.0 (May 3, 2019) +- [FIX] Update regexp for generic browsers (#310) +- [FIX] Fix issues with module.exports (#318) +- [FIX] Update devDependencies (#316, #321, #322) +- [FIX] Fix docs (#320) + ### 2.3.0 (April 14, 2019) - [ADD] Add support for Blink-based MS Edge (#311) - [ADD] Add more types for TS (#289) diff --git a/docs/Bowser.html b/docs/Bowser.html index ef9f7b1..bd8aaad 100644 --- a/docs/Bowser.html +++ b/docs/Bowser.html @@ -572,7 +572,7 @@ const result = parser.getResult();
diff --git a/docs/Parser.html b/docs/Parser.html index 15311e3..232d438 100644 --- a/docs/Parser.html +++ b/docs/Parser.html @@ -2566,7 +2566,7 @@ the OS called "anything" or the platform called "anything"Example -
const browser = new Bowser(UA);
+    
const browser = Bowser.getParser(window.navigator.userAgent);
 if (browser.satisfies({chrome: '>118.01.1322' }))
 // or with os
 if (browser.satisfies({windows: { chrome: '>118.01.1322' } }))
@@ -2989,7 +2989,7 @@ Returns undefined when the browser is no described in the checkTree
 
- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/bowser.js.html b/docs/bowser.js.html index 92479e1..d140e3e 100644 --- a/docs/bowser.js.html +++ b/docs/bowser.js.html @@ -105,7 +105,7 @@ export default Bowser;
- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/global.html b/docs/global.html index 63340cb..e580535 100644 --- a/docs/global.html +++ b/docs/global.html @@ -1995,7 +1995,7 @@ like "iPhone" or "Kindle Fire HD 7"
- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index df0ec08..b4410ef 100644 --- a/docs/index.html +++ b/docs/index.html @@ -157,7 +157,7 @@ list of aliases can be found in the file.


- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/parser.js.html b/docs/parser.js.html index ab43e3e..b1579f1 100644 --- a/docs/parser.js.html +++ b/docs/parser.js.html @@ -385,7 +385,7 @@ class Parser { * Returns `undefined` when the browser is no described in the checkTree object. * * @example - * const browser = new Bowser(UA); + * const browser = Bowser.getParser(window.navigator.userAgent); * if (browser.satisfies({chrome: '>118.01.1322' })) * // or with os * if (browser.satisfies({windows: { chrome: '>118.01.1322' } })) @@ -546,7 +546,7 @@ export default Parser;
- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/docs/utils.js.html b/docs/utils.js.html index c1102e4..6b47314 100644 --- a/docs/utils.js.html +++ b/docs/utils.js.html @@ -260,7 +260,7 @@ export default class Utils {
- Documentation generated by JSDoc 3.5.5 on Sun Apr 14 2019 13:45:42 GMT+0300 (EEST) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Fri May 03 2019 21:50:23 GMT+0300 (EEST) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index b52c8f5..7a98b87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "bowser", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bd408ff..c260440 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bowser", - "version": "2.3.0", + "version": "2.4.0", "description": "Lightweight browser detector", "keywords": [ "browser",