Skip to content

Commit e1de012

Browse files
author
Gabriel J. Csapo
committed
1.1.3
- fixes compatibility with older versions of node <8
1 parent b1d7e08 commit e1de012

7 files changed

+15
-8
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["env", "react"]
2+
"presets": ["env"]
33
}

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.3 (10/24/2017)
2+
3+
- fixes compatibility with older versions of node <8
4+
15
# 1.1.2 (10/24/2017)
26

37
- fixes location of bin

bin/lcov-server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const semver = require('semver');
44

55
if (semver.lt(process.version, '8.5.0')) {
66
// only shim pre 8 binaries
7-
require('babel-register');
87
require('babel-polyfill');
8+
require('babel-register');
99
}
1010

1111
require('./index.js');

dist/bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+2-2
Large diffs are not rendered by default.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lcov-server",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "🎯 A simple lcov server & cli parser",
55
"main": "index.js",
66
"homepage": "https://github.com/gabrielcsapo/lcov-server#readme",
@@ -51,6 +51,7 @@
5151
"license": "Apache-2.0",
5252
"dependencies": {
5353
"babel-polyfill": "^6.26.0",
54+
"babel-preset-env": "^1.6.1",
5455
"babel-register": "^6.26.0",
5556
"commander": "^2.11.0",
5657
"compression": "^1.7.1",
@@ -69,7 +70,6 @@
6970
"babel-core": "^6.26.0",
7071
"babel-loader": "^7.1.2",
7172
"babel-minify-webpack-plugin": "^0.2.0",
72-
"babel-preset-env": "^1.6.0",
7373
"babel-preset-react": "^6.24.1",
7474
"body-parser": "^1.18.2",
7575
"css-loader": "^0.28.7",

webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ var config = {
3232
test: /\.js$/,
3333
exclude: [/node_modules/],
3434
use: [{
35-
loader: 'babel-loader'
35+
loader: 'babel-loader',
36+
options: {
37+
presets: ['env', 'react']
38+
}
3639
}]
3740
}
3841
]

0 commit comments

Comments
 (0)