Skip to content

Commit

Permalink
Merge branch '2.8.1' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Dec 26, 2019
2 parents 16843fd + 01f5f22 commit f32c4fd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Bowser Changelog

### 2.8.1 (Dec 26, 2019)
- [FIX] Reverted [#382] as it broke build

### 2.8.0 (Dec 26, 2019)
- [ADD] Add polyfills for Array.find & Object.assign [#383]
- [ADD] Export constants with types.d.ts [#382]
Expand Down
8 changes: 0 additions & 8 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ declare namespace Bowser {

function parse(UA: string): Parser.ParsedResult;

/**
* Constants exposed via bowser getters
*/
const BROWSER_MAP: Record<string, string>;
const ENGINE_MAP: Record<string, string>;
const OS_MAP: Record<string, string>;
const PLATFORMS_MAP: Record<string, string>;

namespace Parser {
interface Parser {
constructor(UA: string, skipParsing?: boolean): Parser.Parser;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bowser",
"version": "2.8.0",
"version": "2.8.1",
"description": "Lightweight browser detector",
"keywords": [
"browser",
Expand Down
6 changes: 0 additions & 6 deletions src/bowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,4 @@ class Bowser {
}
}

export {
BROWSER_MAP,
ENGINE_MAP,
OS_MAP,
PLATFORMS_MAP,
} from './constants.js';
export default Bowser;

0 comments on commit f32c4fd

Please sign in to comment.