Skip to content

Commit

Permalink
chore: remove support for node 6 (#3246)
Browse files Browse the repository at this point in the history
Set node 8 as minimal supported version.

Closes #3151
BREAKING CHANGE:
Drop Support for Node 6, to make it possible to use async/await in karma codebase.
  • Loading branch information
lusarz authored and johnjbarton committed Jan 1, 2019
1 parent 1a57029 commit 8a83990
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: false
language: node_js
node_js:
- 6
- 8
- 10

Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: "{build}"

environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"

Expand Down
3 changes: 1 addition & 2 deletions docs/intro/04-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ The latest stable version from NPM (`npm install karma`). See [versioning] for m


### Which version of Node.js does Karma run with?
Karma works on all LTS versions node in active maintenance state (see [LTS docs](https://github.com/nodejs/Release/blob/master/README.md) for more info) as well as the latest stable version. That is **6.x**, **8.x** and **10.x** at this point.

Karma works on all active LTS versions of node as specified by the [Node.js Release Working Group](https://github.com/nodejs/Release/blob/master/README.md). The nodejs version numbers are set in the package.json. Older versions of karma work with older versions of nodejs, but are not maintained or updated.

[mailing list]: https://groups.google.com/d/forum/karma-users
[karma-ng-scenario]: https://github.com/karma-runner/karma-ng-scenario
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
"karma": "./bin/karma"
},
"engines": {
"node": ">= 6"
"node": ">= 8"
},
"version": "3.1.4",
"license": "MIT",
Expand Down

0 comments on commit 8a83990

Please sign in to comment.