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

Lines changed: 0 additions & 7 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 7 additions & 7 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy