Skip to content

Commit

Permalink
chore: minimum required Node.js version is 8.9.0 (#166)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: minimum required `Node.js` version is `8.9.0`
  • Loading branch information
evilebottnawi committed Mar 17, 2020
1 parent c78786d commit c937e8c
Show file tree
Hide file tree
Showing 5 changed files with 2,229 additions and 1,792 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Expand Up @@ -16,13 +16,6 @@ matrix:
- node_js: '12'
script: yarn pretest
env: CI=pretest
# Yarn doesn't support node@4
# - node_js: '4'
# script: yarn test:ci
# env: CI=tests 4
- node_js: '6'
script: yarn test:ci
env: CI=tests 6
- node_js: '8'
script: yarn test:ci
env: CI=tests 8
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Expand Up @@ -2,9 +2,6 @@

environment:
matrix:
# Yarn doesn't support node@4
# - nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 8
- nodejs_version: 10
- nodejs_version: 12
Expand Down
1 change: 1 addition & 0 deletions lib/parseQuery.js
Expand Up @@ -35,6 +35,7 @@ function parseQuery(query) {
let name = arg.substr(0, idx);
let value = decodeURIComponent(arg.substr(idx + 1));

// eslint-disable-next-line no-prototype-builtins
if (specialValues.hasOwnProperty(value)) {
value = specialValues[value];
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -21,16 +21,16 @@
"url": "https://github.com/webpack/loader-utils.git"
},
"engines": {
"node": ">=4.0.0"
"node": ">=8.9.0"
},
"devDependencies": {
"coveralls": "^3.0.2",
"eslint": "^5.11.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"jest": "^21.2.1",
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"standard-version": "^4.0.0"
"standard-version": "^7.1.0"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit c937e8c

Please sign in to comment.