Skip to content

Commit

Permalink
refactor: drop node 4 and 6 support
Browse files Browse the repository at this point in the history
update all deps

closes #299
  • Loading branch information
fengmk2 committed May 8, 2019
1 parent 2688fa8 commit 322c5e0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ test/fixtures/css-loader-example2/webpack*.json
!test/fixtures/warn-node-modules-exists/node_modules
!test/fixtures/ignore-warn-node-modules-exists/node_modules
test/fixtures/high-speed-store/tmp
.nyc_output
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ env:
- CC=clang CXX=clang++ npm_config_clang=1 npm_registry=https://registry.npmjs.org
language: node_js
node_js:
- '12'
- '10'
- '8'
- '6'
- '4'
before_script:
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
script:
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ environment:
npm_registry: https://registry.npmjs.org

matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"
- nodejs_version: "12"

# Install scripts. (runs after repo cloning)
install:
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,58 +15,58 @@
"npmupdate": "bin/update.js"
},
"scripts": {
"test": "mocha -r thunk-mocha -r intelli-espower-loader -t 200000 test/*.test.js",
"test-cov": "istanbul cover --report none --print none node_modules/mocha/bin/_mocha -- -r thunk-mocha -r intelli-espower-loader -t 200000 test/*.test.js && istanbul report text-summary json lcov",
"test-local": "npm_china=true local=true mocha -r thunk-mocha -r intelli-espower-loader -t 200000 test/*.test.js",
"test": "mocha -r intelli-espower-loader -t 200000 test/*.test.js",
"test-cov": "nyc --reporter=lcov --reporter=text-summary --reporter=json npm test",
"test-local": "npm_china=true local=true npm test",
"lint": "eslint . --fix",
"ci": "npm run lint && npm run test-cov",
"autod": "autod"
},
"dependencies": {
"agentkeepalive": "^3.1.0",
"agentkeepalive": "^4.0.2",
"await-event": "^2.1.0",
"binary-mirror-config": "^1.19.0",
"bytes": "^2.5.0",
"chalk": "^1.1.3",
"bytes": "^3.1.0",
"chalk": "^2.4.2",
"cmd-shim": "^2.0.2",
"co": "^4.6.0",
"co-fs-extra": "^1.2.1",
"co-parallel": "^1.0.0",
"debug": "^2.6.8",
"debug": "^4.1.1",
"destroy": "^1.0.4",
"minimatch": "^3.0.4",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"moment": "^2.18.1",
"ms": "^2.0.0",
"moment": "^2.24.0",
"ms": "^2.1.1",
"mz": "^2.7.0",
"mz-modules": "^2.1.0",
"node-gyp": "^3.7.0",
"node-homedir": "^1.0.0",
"node-gyp": "^4.0.0",
"node-homedir": "^1.1.1",
"normalize-git-url": "^3.0.2",
"normalize-package-data": "^2.3.8",
"npm-package-arg": "^4.2.0",
"ora": "~1.3.0",
"rimraf": "^2.6.1",
"runscript": "^1.2.1",
"semver": "^5.3.0",
"tar": "^4.0.1",
"urllib": "^2.29.1",
"utility": "^1.14.0",
"uuid": "^3.0.1"
"normalize-package-data": "^2.5.0",
"npm-package-arg": "^6.1.0",
"ora": "^3.4.0",
"rimraf": "^2.6.3",
"runscript": "^1.3.0",
"semver": "^6.0.0",
"tar": "^4.4.8",
"urllib": "^2.33.3",
"utility": "^1.16.1",
"uuid": "^3.3.2"
},
"devDependencies": {
"autod": "2",
"coffee": "^3.3.2",
"autod": "3",
"coffee": "^5.2.1",
"eslint": "3",
"eslint-config-egg": "3",
"http-proxy": "^1.16.2",
"intelli-espower-loader": "1",
"istanbul": "*",
"mm": "^2.2.1",
"mocha": "3",
"power-assert": "1",
"thunk-mocha": "1"
"mm": "^2.5.0",
"mocha": "6",
"mz-modules": "^2.1.0",
"nyc": "^14.0.0",
"power-assert": "1"
},
"homepage": "https://github.com/cnpm/npminstall",
"repository": {
Expand All @@ -78,7 +78,7 @@
"url": "https://github.com/cnpm/npminstall/issues"
},
"publishConfig": {
"tag": "latest-3"
"tag": "latest-4"
},
"keywords": [
"npminstall",
Expand All @@ -88,7 +88,7 @@
"fatest npm install"
],
"engines": {
"node": ">=4.2.3"
"node": ">=8.0.0"
},
"author": "fengmk2 <fengmk2@gmail.com> (https://fengmk2.com)",
"license": "MIT"
Expand Down

0 comments on commit 322c5e0

Please sign in to comment.