From 80560d85b834307bd4cf77fb34257eacefde7781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=BA?= Date: Tue, 25 Dec 2018 15:10:42 +0800 Subject: [PATCH] Update deps. (#313) --- lib/ci-reporter.js | 3 ++- package.json | 48 +++++++++++++++++++++++----------------------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/lib/ci-reporter.js b/lib/ci-reporter.js index 2831678..4522f51 100644 --- a/lib/ci-reporter.js +++ b/lib/ci-reporter.js @@ -123,6 +123,7 @@ function reduceErrors (files) { if (ci.isCI && (ci.APPVEYOR || ci.CIRCLE || ci.JENKINS)) { appveyorApiUrl = process.env.APPVEYOR_API_URL; if (appveyorApiUrl) { + // eslint-disable-next-line node/no-deprecated-api appveyorApiUrl = url.resolve(appveyorApiUrl, 'api/build/compilationmessages'); } module.exports = function (files) { @@ -149,7 +150,7 @@ if (ci.isCI && (ci.APPVEYOR || ci.CIRCLE || ci.JENKINS)) { function resolveHomePath (strPath) { return strPath.replace( - /^~(?=\/)/, + /^~(?=\/|$)/, os.homedir ); } diff --git a/package.json b/package.json index 8aa2063..13bb342 100644 --- a/package.json +++ b/package.json @@ -14,14 +14,14 @@ "ci-info": "^2.0.0", "cli-truncate": "^1.1.0", "emphasize": "^2.0.0", - "fancy-log": "^1.3.2", - "fs-extra": "^7.0.0", + "fancy-log": "^1.3.3", + "fs-extra": "^7.0.1", "in-gfw": "^1.2.0", "is-windows": "^1.0.2", "js-yaml": "^3.12.0", "junit-report-builder": "^1.3.1", "lodash.get": "^4.4.2", - "os-locale": "^3.0.0", + "os-locale": "^3.0.1", "plugin-error": "^1.0.1", "string-width": "^3.0.0", "term-size": "^1.2.0", @@ -31,41 +31,41 @@ "devDependencies": { "codecov": "^3.1.0", "csslint": "^1.0.5", - "eclint": "^2.7.0", - "eslint": "^5.1.0", + "eclint": "^2.8.1", + "eslint": "^5.11.0", "eslint-config-standard": "^12.0.0", - "eslint-plugin-compat": "^2.5.0", - "eslint-plugin-import": "^2.13.0", - "eslint-plugin-node": "^7.0.1", - "eslint-plugin-promise": "^4.0.0", + "eslint-plugin-compat": "^2.6.3", + "eslint-plugin-import": "^2.14.0", + "eslint-plugin-node": "^8.0.0", + "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", - "exec-extra": "^2.4.0", + "exec-extra": "^2.7.0", "goo.gl": "^0.1.4", "greenkeeper-lockfile": "^1.15.1", "gulp-csslint": "^1.0.1", "gulp-eslint": "^5.0.0", - "gulp-html-postcss": "^7.1.3", - "gulp-htmlhint": "^2.1.1", + "gulp-html-postcss": "^7.1.4", + "gulp-htmlhint": "^2.2.1", "gulp-jscs": "^4.1.0", "gulp-jshint": "^2.1.0", - "gulp-jsonlint": "^1.2.1", - "gulp-standard": "^11.0.0", + "gulp-jsonlint": "^1.2.2", + "gulp-standard": "^12.0.0", "gulp-stylint": "^4.0.2", "gulp-tslint": "^8.1.3", - "gulp-xo": "^0.17.1", + "gulp-xo": "^0.20.0", "jsdom": "^13.1.0", - "jshint": "^2.9.5", + "jshint": "^2.9.7", "json-stable-stringify": "^1.0.1", "mocha": "^5.2.0", - "npm-run-all": "^4.1.3", - "nyc": "^12.0.2", - "proxyquire": "^2.0.1", - "sinon": "^6.1.3", + "npm-run-all": "^4.1.5", + "nyc": "^13.1.0", + "proxyquire": "^2.1.0", + "sinon": "^7.2.2", "strip-ansi": "^5.0.0", - "stylelint": "^9.3.0", + "stylelint": "^9.9.0", "stylelint-config-standard": "^18.2.0", - "tslint": "^5.10.0", - "typescript": "^2.9.2", + "tslint": "^5.12.0", + "typescript": "^3.2.2", "vinyl": "^2.2.0", "vinyl-fs": "^3.0.3" }, @@ -124,5 +124,5 @@ "test-cov": "nyc npm-run-all --parallel test:*", "test": "env npm-run-all --parallel lint:* test-cov" }, - "version": "2.9.0" + "version": "2.10.0" }