Skip to content

Commit

Permalink
1.1.3
Browse files Browse the repository at this point in the history
- fixes compatibility with older versions of node <8
  • Loading branch information
gabrielcsapo committed Oct 25, 2017
1 parent b1d7e08 commit e1de012
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["env", "react"]
"presets": ["env"]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.3 (10/24/2017)

- fixes compatibility with older versions of node <8

# 1.1.2 (10/24/2017)

- fixes location of bin
Expand Down
2 changes: 1 addition & 1 deletion bin/lcov-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const semver = require('semver');

if (semver.lt(process.version, '8.5.0')) {
// only shim pre 8 binaries
require('babel-register');
require('babel-polyfill');
require('babel-register');
}

require('./index.js');
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lcov-server",
"version": "1.1.2",
"version": "1.1.3",
"description": "🎯 A simple lcov server & cli parser",
"main": "index.js",
"homepage": "https://github.com/gabrielcsapo/lcov-server#readme",
Expand Down Expand Up @@ -51,6 +51,7 @@
"license": "Apache-2.0",
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"commander": "^2.11.0",
"compression": "^1.7.1",
Expand All @@ -69,7 +70,6 @@
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-minify-webpack-plugin": "^0.2.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"body-parser": "^1.18.2",
"css-loader": "^0.28.7",
Expand Down
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ var config = {
test: /\.js$/,
exclude: [/node_modules/],
use: [{
loader: 'babel-loader'
loader: 'babel-loader',
options: {
presets: ['env', 'react']
}
}]
}
]
Expand Down

0 comments on commit e1de012

Please sign in to comment.