Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Node 4 #190

Merged
merged 4 commits into from Jun 13, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Expand Up @@ -14,7 +14,7 @@
"no-var": "off",
"prefer-const": "off",
"prefer-arrow-callback": "off",
"node/no-unsupported-features": ["error", {"version": 4}],
"node/no-unsupported-features": ["error", {"version": 6}],
"func-names": ["error", "always"],
"prefer-template": "error",
"object-shorthand": [
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,10 +7,10 @@ branches:
- master
matrix:
include:
- node_js: "4"
- node_js: "6"
- node_js: "8"
after_success: "bash <(curl -s https://codecov.io/bash)"
- node_js: "10"
- node_js: "12"
install:
- yarn install --frozen-lockfile
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## HEAD

- **Breaking change:** Remove support for Node 4.

## 5.2.1

- Chore: Upgrade `js-yaml` to avoid npm audit warning.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -63,7 +63,7 @@ If you are still using v4, those v4 docs are available [in the `4.0.0` tag](http
npm install cosmiconfig
```

Tested in Node 4+.
Tested in Node 6+.

## Usage

Expand Down
17 changes: 9 additions & 8 deletions appveyor.yml
@@ -1,12 +1,5 @@
# http://www.appveyor.com/docs/appveyor-yml

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

branches:
only:
- master
Expand All @@ -19,8 +12,16 @@ deploy: off
cache:
- "%LOCALAPPDATA%\\Yarn"

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

install:
- ps: Install-Product node $env:nodejs_version x64
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64
- yarn install --frozen-lockfile

test_script:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -109,6 +109,6 @@
"remark-preset-davidtheclark": "^0.7.0"
},
"engines": {
"node": ">=4"
"node": ">=6"
}
}