Skip to content

Commit

Permalink
Support Node v4 LTS semver-minor releases
Browse files Browse the repository at this point in the history
Fixes TryGhost#6473
- Replace Node v4.2 with v4 in Travis config
- Replace ~4.2.0 with ^4.2.0 in engines to support semver-minor bumps in LTS line
  • Loading branch information
naoyak committed Feb 11, 2016
1 parent 76e9d88 commit 4834cb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
- "0.10"
- "0.12"
- "4.2"
- "4"
sudo: false
cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Install Node.js.

```bash
# Node v0.10.x - recommended
# Node v0.12.x and v4.2.x - supported
# Node v0.12.x and v4.2.x / v4.3.x - supported
#
# Choose wisely
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "grunt validate --verbose"
},
"engines": {
"node": "~0.10.0 || ~0.12.0 || ~4.2.0",
"node": "~0.10.0 || ~0.12.0 || ^4.2.0",
"iojs": "~1.2.0"
},
"dependencies": {
Expand Down

0 comments on commit 4834cb4

Please sign in to comment.