From 72e5318620c4ec5ea887ead6862b663e0102a20b Mon Sep 17 00:00:00 2001 From: "Dependencies.io Bot" Date: Sat, 4 Aug 2018 16:28:53 +0000 Subject: [PATCH 1/2] Update eslint from 5.2.0 to 5.3.0 in / --- package-lock.json | 22 +++++++++++----------- package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index c66f04990f1..1b534093e10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6227,9 +6227,9 @@ } }, "eslint": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.2.0.tgz", - "integrity": "sha512-zlggW1qp7/TBjwLfouRoY7eWXrXwJZFqCdIxxh0/LVB/QuuKuIMkzyUZEcDo6LBadsry5JcEMxIqd3H/66CXVg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.3.0.tgz", + "integrity": "sha512-N/tCqlMKkyNvAvLu+zI9AqDasnSLt00K+Hu8kdsERliC9jYEc8ck12XtjvOXrBKu8fK6RrBcN9bat6Xk++9jAg==", "dev": true, "requires": { "ajv": "6.5.2", @@ -6248,7 +6248,7 @@ "functional-red-black-tree": "1.0.1", "glob": "7.1.2", "globals": "11.7.0", - "ignore": "4.0.2", + "ignore": "4.0.3", "imurmurhash": "0.1.4", "inquirer": "5.2.0", "is-resolvable": "1.1.0", @@ -6263,7 +6263,7 @@ "path-is-inside": "1.0.2", "pluralize": "7.0.0", "progress": "2.0.0", - "regexpp": "1.1.0", + "regexpp": "2.0.0", "require-uncached": "1.0.3", "semver": "5.5.0", "string.prototype.matchall": "2.0.0", @@ -6413,9 +6413,9 @@ "dev": true }, "ignore": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.2.tgz", - "integrity": "sha512-uoxnT7PYpyEnsja+yX+7v49B7LXxmzDJ2JALqHH3oEGzpM2U1IGcbfnOr8Dt57z3B/UWs7/iAgPFbmye8m4I0g==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.3.tgz", + "integrity": "sha512-Z/vAH2GGIEATQnBVXMclE2IGV6i0GyVngKThcGZ5kHgHMxLo9Ow2+XHRq1aEKEej5vOF1TPJNbvX6J/anT0M7A==", "dev": true }, "inquirer": { @@ -20640,9 +20640,9 @@ } }, "regexpp": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", - "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.0.tgz", + "integrity": "sha512-g2FAVtR8Uh8GO1Nv5wpxW7VFVwHcCEr4wyA8/MHiRkO8uHoR5ntAA8Uq3P1vvMTX/BeQiRVSpDGLd+Wn5HNOTA==", "dev": true }, "regexpu-core": { diff --git a/package.json b/package.json index e0908340535..61af0f6a060 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "enzyme": "3.3.0", "enzyme-adapter-react-16": "1.1.1", "enzyme-context-patch": "0.0.7", - "eslint": "^5.2.0", + "eslint": "^5.3.0", "eslint-import-resolver-webpack": "^0.10.1", "exports-loader": "0.7.0", "front-matter": "2.3.0", From e8f0c7e16fe8b2eeee7f60be8a200f3924e9a1db Mon Sep 17 00:00:00 2001 From: Leonid Khachaturov Date: Mon, 6 Aug 2018 16:49:20 +0200 Subject: [PATCH 2/2] Fix linting error --- components/analytics/analytics__custom-plugin-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/analytics/analytics__custom-plugin-utils.js b/components/analytics/analytics__custom-plugin-utils.js index 54e437ba892..6286ebfc9cc 100644 --- a/components/analytics/analytics__custom-plugin-utils.js +++ b/components/analytics/analytics__custom-plugin-utils.js @@ -44,7 +44,7 @@ AnalyticsCustomPluginUtils.getScreenWidthPresentation = () => { /** * Sizes were taken from bootstrap's grid (xs, sm, md, lg) */ -// eslint-disable-next-line no-magic-numbers + // eslint-disable-next-line no-magic-numbers const sizes = [0, 768, 992, 1200]; for (let i = 1; i < sizes.length; ++i) { if (window.innerWidth < sizes[i]) {