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 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
- [![Build Status](https://travis-ci.org/lancedikson/bowser.svg?branch=master)](https://travis-ci.org/lancedikson/bowser/) [![Greenkeeper badge](https://badges.greenkeeper.io/lancedikson/bowser.svg)](https://greenkeeper.io/) [![Coverage Status](https://coveralls.io/repos/github/lancedikson/bowser/badge.svg?branch=master)](https://coveralls.io/github/lancedikson/bowser?branch=master)
9
+ [![Build Status](https://travis-ci.org/lancedikson/bowser.svg?branch=master)](https://travis-ci.org/lancedikson/bowser/) [![Greenkeeper badge](https://badges.greenkeeper.io/lancedikson/bowser.svg)](https://greenkeeper.io/) [![Coverage Status](https://coveralls.io/repos/github/lancedikson/bowser/badge.svg?branch=master)](https://coveralls.io/github/lancedikson/bowser?branch=master) ![Downloads](https://img.shields.io/npm/dm/bowser)
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" // will match any 20.* sub-version
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
  ```