Skip to content

Commit c937e8c

Browse files
chore: minimum required Node.js version is 8.9.0 (#166)
BREAKING CHANGE: minimum required `Node.js` version is `8.9.0`
1 parent c78786d commit c937e8c

File tree

5 files changed

+2229
-1792
lines changed

5 files changed

+2229
-1792
lines changed

.travis.yml

-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ matrix:
1616
- node_js: '12'
1717
script: yarn pretest
1818
env: CI=pretest
19-
# Yarn doesn't support node@4
20-
# - node_js: '4'
21-
# script: yarn test:ci
22-
# env: CI=tests 4
23-
- node_js: '6'
24-
script: yarn test:ci
25-
env: CI=tests 6
2619
- node_js: '8'
2720
script: yarn test:ci
2821
env: CI=tests 8

appveyor.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
environment:
44
matrix:
5-
# Yarn doesn't support node@4
6-
# - nodejs_version: 4
7-
- nodejs_version: 6
85
- nodejs_version: 8
96
- nodejs_version: 10
107
- nodejs_version: 12

lib/parseQuery.js

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function parseQuery(query) {
3535
let name = arg.substr(0, idx);
3636
let value = decodeURIComponent(arg.substr(idx + 1));
3737

38+
// eslint-disable-next-line no-prototype-builtins
3839
if (specialValues.hasOwnProperty(value)) {
3940
value = specialValues[value];
4041
}

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
"url": "https://github.com/webpack/loader-utils.git"
2222
},
2323
"engines": {
24-
"node": ">=4.0.0"
24+
"node": ">=8.9.0"
2525
},
2626
"devDependencies": {
27-
"coveralls": "^3.0.2",
28-
"eslint": "^5.11.0",
29-
"eslint-plugin-node": "^8.0.0",
30-
"eslint-plugin-prettier": "^3.0.0",
31-
"jest": "^21.2.1",
27+
"coveralls": "^3.0.9",
28+
"eslint": "^6.8.0",
29+
"eslint-plugin-node": "^11.0.0",
30+
"eslint-plugin-prettier": "^3.1.2",
31+
"jest": "^25.1.0",
3232
"prettier": "^1.19.1",
33-
"standard-version": "^4.0.0"
33+
"standard-version": "^7.1.0"
3434
},
3535
"main": "lib/index.js",
3636
"files": [

0 commit comments

Comments
 (0)