Skip to content

Commit

Permalink
Merge branch 'release/2.0.0-alpha.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Jul 9, 2018
2 parents 1fb99ce + 6fa8971 commit 7fc8f3c
Show file tree
Hide file tree
Showing 47 changed files with 32,893 additions and 2,765 deletions.
19 changes: 19 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"presets": [["env", {
"useBuiltIns": true,
"modules": "umd",
"targets": {
"ie": "8",
"browsers": ">2%"
}
}]],
"plugins": [
"add-module-exports"
],
"env": {
"test": {
"plugins": [ "istanbul" ],
"presets": [["env", { "targets": { "node": "current" } }]]
}
}
}
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: Ba2bS7pOlSLZWuESBnff8qxDjIS8Mg1Z0
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/bowser.js
6 changes: 6 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: airbnb-base
rules:
no-underscore-dangle: 0
no-void: 0
plugins:
- ava
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ node_modules/
.idea/
/bowser.js
/bowser.min.js
/lib/
.nyc_output
coverage
dist
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
make
src/useragents.js
Makefile
.nyc_output
coverage
4 changes: 4 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sourceMap": false,
"instrument": false
}
14 changes: 14 additions & 0 deletions .testem.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"framework": "custom",
"src_files": [
"src/**/*.js",
"test/**/*.js"
],
"launchers": {
"tap": {
"command": "ava test/**/*.js --tap",
"protocol": "tap"
}
},
"launch_in_dev": [ "tap" ]
}
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
language: node_js
after_success: npm run coverage
node_js:
- "4.4.7"
notifications:
email:
- dustin@dustindiaz.com

script: NODE_ENV=test ./node_modules/.bin/mocha --reporter spec
- "8.4.0"
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Bowser Changelog

### 2.0.0-alpha.1 (July 9, 2018)
- [ADD] `Bowser.getParser()`
- [ADD] `Bowser.parse`
- [ADD] `Parser` class which describes parsing process
- [CHANGE] Change bowser's returning object
- [REMOVE] Remove bower support

### 1.9.4 (June 28, 2018)
- [FIX] Fix NAVER Whale browser detection (#220)
- [FIX] Fix MZ Browser browser detection (#219)
Expand Down
4 changes: 2 additions & 2 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Template to report about browser detection issue

`window.navigator.userAgent` of the browser is: ...
And it's detected like a ...
But real name of the browser is ...
And it's detected like ...
However, the real name of the browser is ...
16 changes: 0 additions & 16 deletions Makefile

This file was deleted.

Loading

0 comments on commit 7fc8f3c

Please sign in to comment.