Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Commit 0b5a8c7

Browse files
authored
Breaking: drop support for Node < 6 (#223)
* Chore: add supported Node.js versions to CI Wanted to add Node v11 to the list of versions in CI and noticed a few others were missing. Do we want to drop support for Node@<6 at some point? * Update engines field in package.json
1 parent a05e9f2 commit 0b5a8c7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
language: node_js
22
node_js:
3-
- "0.10"
4-
- "0.12"
5-
- iojs
6-
- "4"
3+
- "6"
4+
- "8"
5+
- "9"
6+
- "10"
7+
- "11"
78
sudo: false
89
script: "npm test"
910
after_success:

lib/doctrine.js

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
return func.call(obj, name);
2929
};
3030
}());
31-
3231
function shallowCopy(obj) {
3332
var ret = {}, key;
3433
for (key in obj) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/doctrine.js",
66
"version": "2.1.0",
77
"engines": {
8-
"node": ">=0.10.0"
8+
"node": ">=6.0.0"
99
},
1010
"directories": {
1111
"lib": "./lib"

0 commit comments

Comments
 (0)