From 0ff9eee551d523a97302444a2c66d80c50f58b4e Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Sat, 24 Jun 2017 02:49:45 +0000 Subject: [PATCH 1/2] chore(package): update eslint to version 4.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 40b7f40..eba3647 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "description": "makes IE capable of rendering several of the most useful CSS3 decoration features.", "devDependencies": { "coveralls": "^2.13.1", - "eslint": "^3.19.0", + "eslint": "^4.1.0", "got": "^7.0.0", "mocha": "^3.4.1", "nyc": "^11.0.2", From eaeb2a576eb41b60dc34d385201d8b70c2ca325d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=BA?= Date: Mon, 26 Jun 2017 09:55:29 +0800 Subject: [PATCH 2/2] fix eslint error --- lib/opt-validation.js | 3 ++- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/opt-validation.js b/lib/opt-validation.js index d1e455b..db28475 100644 --- a/lib/opt-validation.js +++ b/lib/opt-validation.js @@ -42,7 +42,7 @@ function testRemotesFile (url, prop, type) { } function fixurl (url) { - url = url && /^(https?:)?(\/\/[^\/]+\/.+)\/?$/.exec(url); + url = url && /^(https?:)?(\/\/[^/]+\/.+)\/?$/.exec(url); if (url) { return (url[1] || 'https:') + url[2]; } @@ -97,4 +97,5 @@ function validation (options) { }); } + module.exports = validation; diff --git a/package.json b/package.json index eba3647..0fac7f8 100644 --- a/package.json +++ b/package.json @@ -4,17 +4,17 @@ "url": "https://github.com/gucong3000/postcss-pie/issues" }, "dependencies": { - "postcss": "^6.0.1", + "postcss": "^6.0.3", "request": "^2.81.0" }, "description": "makes IE capable of rendering several of the most useful CSS3 decoration features.", "devDependencies": { "coveralls": "^2.13.1", - "eslint": "^4.1.0", + "eslint": "^4.1.1", "got": "^7.0.0", - "mocha": "^3.4.1", + "mocha": "^3.4.2", "nyc": "^11.0.2", - "sinon": "^2.3.1" + "sinon": "^2.3.5" }, "homepage": "https://github.com/gucong3000/postcss-pie#readme", "keywords": [