From 0367005b1920b4efae9ce8becd002761e685f1b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Sep 2021 11:36:17 +0200 Subject: [PATCH] Bump eslint-plugin-react from 7.25.1 to 7.25.3 (#665) * Bump eslint-plugin-react from 7.25.1 to 7.25.3 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.1 to 7.25.3. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.25.3) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update SEO.jsx * Update SEO.jsx Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Kretschmann --- package-lock.json | 39 +++++++++++++++++++++++++++--------- package.json | 2 +- src/components/atoms/SEO.jsx | 10 ++------- 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index b113408..347a896 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "eslint-config-prettier": "^8.3.0", "eslint-plugin-graphql": "^4.0.0", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-testing-library": "^4.12.3", "gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.25", @@ -9139,19 +9139,19 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz", - "integrity": "sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz", + "integrity": "sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==", "dependencies": { "array-includes": "^3.1.3", "array.prototype.flatmap": "^1.2.4", "doctrine": "^2.1.0", "estraverse": "^5.2.0", - "has": "^1.0.3", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.0.4", "object.entries": "^1.1.4", "object.fromentries": "^2.0.4", + "object.hasown": "^1.0.0", "object.values": "^1.1.4", "prop-types": "^15.7.2", "resolve": "^2.0.0-next.3", @@ -17589,6 +17589,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.hasown": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.0.0.tgz", + "integrity": "sha512-qYMF2CLIjxxLGleeM0jrcB4kiv3loGVAjKQKvH8pSU/i2VcRRvUNmxbD+nEMmrXRfORhuVJuH8OtSYCZoue3zA==", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -34179,19 +34191,19 @@ } }, "eslint-plugin-react": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz", - "integrity": "sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz", + "integrity": "sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==", "requires": { "array-includes": "^3.1.3", "array.prototype.flatmap": "^1.2.4", "doctrine": "^2.1.0", "estraverse": "^5.2.0", - "has": "^1.0.3", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.0.4", "object.entries": "^1.1.4", "object.fromentries": "^2.0.4", + "object.hasown": "^1.0.0", "object.values": "^1.1.4", "prop-types": "^15.7.2", "resolve": "^2.0.0-next.3", @@ -40583,6 +40595,15 @@ "es-abstract": "^1.18.0-next.2" } }, + "object.hasown": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.0.0.tgz", + "integrity": "sha512-qYMF2CLIjxxLGleeM0jrcB4kiv3loGVAjKQKvH8pSU/i2VcRRvUNmxbD+nEMmrXRfORhuVJuH8OtSYCZoue3zA==", + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.1" + } + }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", diff --git a/package.json b/package.json index fa6f68d..155d3cd 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-config-prettier": "^8.3.0", "eslint-plugin-graphql": "^4.0.0", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.25.1", + "eslint-plugin-react": "^7.25.3", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-testing-library": "^4.12.3", "gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.25", diff --git a/src/components/atoms/SEO.jsx b/src/components/atoms/SEO.jsx index 6798a58..42e506f 100644 --- a/src/components/atoms/SEO.jsx +++ b/src/components/atoms/SEO.jsx @@ -4,7 +4,7 @@ import PropTypes from 'prop-types' import { useMeta } from '../../hooks/use-meta' import { useResume } from '../../hooks/use-resume' -const MetaTags = ({ title, description, url, image, meta }) => { +const MetaTags = ({ title, description, url, image }) => { const { basics } = useResume() const twitterHandle = basics.profiles.filter( ({ network }) => network === 'Twitter' @@ -62,12 +62,6 @@ export default function SEO({ project }) { const url = (project && `${basics.website}${project.slug}`) || basics.website return ( - + ) }