From dc74af75c905113668d8ecbf4556f5662f1fe88a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jul 2023 11:32:26 -0500 Subject: [PATCH] chore(deps-dev): bump eslint from 8.44.0 to 8.45.0 (#123) --- lib/hooks.js | 6 ++---- package-lock.json | 16 ++++++---------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/lib/hooks.js b/lib/hooks.js index 43df2ef..94de058 100644 --- a/lib/hooks.js +++ b/lib/hooks.js @@ -114,17 +114,15 @@ async function init (options) { debug('%s(): merged hook data: %j', hookName, finalData) return finalData - } else // for the `response` hook, return the first non-falsy value - if (hookName === 'response') { + } else if (hookName === 'response') { const response = results.find((result) => result) debug('%s(): first result: %j', hookName, response) return response - } else // for the `read` hook, return the first non-falsy value - if (hookName === 'read') { + } else if (hookName === 'read') { const response = results.find((result) => result) debug('%s(): first result: %j', hookName, response) diff --git a/package-lock.json b/package-lock.json index 5e2c9fe..aef5abe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3450,9 +3450,9 @@ } }, "node_modules/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -3480,7 +3480,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -3492,7 +3491,6 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -14424,9 +14422,9 @@ "dev": true }, "eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", @@ -14454,7 +14452,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -14466,7 +14463,6 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "dependencies": {