Skip to content

Commit 34290e6

Browse files
committed
💥 drop Node.js 6
1 parent a950d7c commit 34290e6

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

‎.travis.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
sudo: false
2-
31
language: node_js
42
node_js:
5-
- "6.5"
63
- "8"
74
- "10"
85
- "12"
96

10-
script:
11-
# eslint and nyc don't support Node 6.
12-
- |
13-
if [ $TRAVIS_NODE_VERSION != "6.5" ]; then
14-
npm test
15-
else
16-
npm run -s test:node6
17-
fi
18-
197
after_success:
20-
- |
21-
if [ $TRAVIS_NODE_VERSION != "6.5" ]; then
22-
npm run coveralls
23-
fi
8+
- npm run coveralls

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The regular expression parser for ECMAScript.
1414
$ npm install regexpp
1515
```
1616

17-
- require Node.js 6.5.0 or newer.
17+
- require Node.js 8 or newer.
1818

1919
## 📖 Usage
2020

‎package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "regexpp",
33
"version": "2.0.1",
4-
"description": "Regular expression parser for ECMAScript 2018.",
4+
"description": "Regular expression parser for ECMAScript.",
55
"engines": {
6-
"node": ">=6.5.0"
6+
"node": ">=8"
77
},
88
"main": "index",
99
"files": [
@@ -39,7 +39,6 @@
3939
"lint": "eslint scripts src test --ext .ts",
4040
"pretest": "run-s build lint",
4141
"test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000",
42-
"test:node6": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000",
4342
"update:test": "ts-node scripts/update-fixtures.ts",
4443
"update:ids": "ts-node scripts/update-unicode-ids.ts",
4544
"preversion": "npm test",
@@ -67,6 +66,8 @@
6766
"es2016",
6867
"es2017",
6968
"es2018",
69+
"es2019",
70+
"es2020",
7071
"annexB"
7172
],
7273
"author": "Toru Nagashima (https://github.com/mysticatea)",

0 commit comments

Comments
 (0)