Skip to content

Commit

Permalink
feat: update of supported node versions
Browse files Browse the repository at this point in the history
Drop support for Node 0.10 and 0.12; add 8.*. 

Updated docs.
Updated engines matcher in package.json.
Updated places where node-0.1-specific code was noted in comments.
  • Loading branch information
johnjbarton authored and dignifiedquire committed Sep 6, 2017
1 parent a36f3eb commit e79463b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ matrix:
before_install:
- npm config set loglevel warn
- g++-4.8 --version
- if [[ "`node --version`" = v0* ]] || [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi
- if [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi

addons:
firefox:
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Karma runs on [Node.js] and is available as an [NPM] package.
On Mac or Linux we recommend using [NVM](https://github.com/creationix/nvm). On Windows, download Node.js
from [the official site](https://nodejs.org/) or use the [NVM PowerShell Module](https://www.powershellgallery.com/packages/nvm).

Note: Karma currently works on Node.js **0.10**, **0.12.x**, **4.x**, **5.x**, **6.x**, **7.x**, and **8.x**. See [FAQ] for more info.
Note: Karma currently works on Node.js **4.x**, **5.x**, **6.x**, **7.x**, and **8.x**. See [FAQ] for more info.

## Installing Karma and plugins

Expand Down
2 changes: 1 addition & 1 deletion docs/intro/04-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +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/LTS/blob/master/README.md) for more info) as well as the latest stable version. That is **0.12.x**, **4.x**, **5.x** and **6.x** at this point. Additionally, Node **0.10** is currently supported.
Karma works on all LTS versions node in active maintenance state (see [LTS docs](https://github.com/nodejs/LTS/blob/master/README.md) for more info) as well as the latest stable version. That is **4.x**, **5.x**, **6.x**, and **8.x** at this point.


[mailing list]: https://groups.google.com/d/forum/karma-users
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
"karma": "./bin/karma"
},
"engines": {
"node": "0.10 || 0.12 || 4 || 5 || 6 || 7 || 8"
"node": ">= 4"
},
"version": "1.7.0",
"license": "MIT",
Expand Down
14 changes: 7 additions & 7 deletions test/unit/file-list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('FileList', () => {
List = proxyquire('../../lib/file-list', {
helper: helper,
glob: glob,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
'graceful-fs': mockFs
})
})
Expand Down Expand Up @@ -210,7 +210,7 @@ describe('FileList', () => {
List = proxyquire('../../lib/file-list', {
helper: helper,
glob: glob,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
'graceful-fs': mockFs
})

Expand Down Expand Up @@ -247,7 +247,7 @@ describe('FileList', () => {
List = proxyquire('../../lib/file-list', {
helper: helper,
glob: glob,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
'graceful-fs': mockFs
})

Expand Down Expand Up @@ -446,7 +446,7 @@ describe('FileList', () => {
helper: helper,
glob: glob,
'graceful-fs': mockFs,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
bluebird: Promise
})

Expand Down Expand Up @@ -573,7 +573,7 @@ describe('FileList', () => {
helper: helper,
glob: glob,
'graceful-fs': mockFs,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
bluebird: Promise
})

Expand Down Expand Up @@ -680,7 +680,7 @@ describe('FileList', () => {
helper: helper,
glob: glob,
'graceful-fs': mockFs,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
bluebird: Promise
})

Expand Down Expand Up @@ -764,7 +764,7 @@ describe('FileList', () => {
helper: helper,
glob: glob,
'graceful-fs': mockFs,
path: pathLib.posix || pathLib/* for node 0.10 */,
path: pathLib.posix,
bluebird: Promise
})
})
Expand Down

0 comments on commit e79463b

Please sign in to comment.