Skip to content

Commit c71009e

Browse files
committed
fix(node): support Node.js 8.x or newer
BREAKING CHANGE: Support Node.js 8.x or newer, Transitive Dependency ip-regex@3.0.0 supports node ">=8".
1 parent 23b02e3 commit c71009e

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ language: node_js
22
matrix:
33
fast_finish: true
44
node_js:
5+
- 8.9.0
56
- 10.13.0
67
before_script:
7-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 >
8-
./codeclimate-test-reporter
8+
- curl -L
9+
https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
10+
> ./codeclimate-test-reporter
911
- chmod +x ./codeclimate-test-reporter
1012
- ./codeclimate-test-reporter before-build
1113
- npm run build

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"tslint": "5.12.1",
4343
"typescript": "3.2.2"
4444
},
45+
"engines": {
46+
"node": ">=8.0.0"
47+
},
4548
"files": [
4649
"dist"
4750
],

0 commit comments

Comments
 (0)