From 2022e42a2922ae8a2d7386be1030a1236173454a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 22 Aug 2024 04:02:03 +0000 Subject: [PATCH] fix: upgrade react-github-btn from 1.2.0 to 1.4.0 Snyk has created this PR to upgrade react-github-btn from 1.2.0 to 1.4.0. See this package in npm: react-github-btn See this project in Snyk: https://app.snyk.io/org/hamzahsn/project/a629ae97-cc31-4ddc-bbbe-8a66a4dd0d0b?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 45 ++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2569eaf..14e2f5c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "superchat-frontend-challenge", "version": "1.0.0", "license": "ISC", "dependencies": { @@ -12,7 +13,7 @@ "react-colorful": "^4.4.4", "react-dom": "^17.0.1", "react-fa-icon-picker": "^1.0.3", - "react-github-btn": "^1.2.0", + "react-github-btn": "^1.4.0", "react-hook-form": "^6.15.1", "react-router-dom": "^5.2.0" }, @@ -1900,7 +1901,6 @@ "jest-resolve": "^26.6.2", "jest-util": "^26.6.2", "jest-worker": "^26.6.2", - "node-notifier": "^8.0.0", "slash": "^3.0.0", "source-map": "^0.6.0", "string-length": "^4.0.1", @@ -4430,8 +4430,6 @@ "dev": true, "dependencies": { "async": "~2.6.0", - "brotli": "^1.3.1", - "iltorb": "^2.0.1", "webpack-sources": "^1.0.2" }, "optionalDependencies": { @@ -4774,7 +4772,6 @@ "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", - "fsevents": "~2.3.1", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -7195,8 +7192,7 @@ "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" + "optionator": "^0.8.1" }, "bin": { "escodegen": "bin/escodegen.js", @@ -8697,9 +8693,10 @@ } }, "node_modules/github-buttons": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.14.2.tgz", - "integrity": "sha512-DMakrcFRdojVAndkKYVDTHF3Ym09OoWia//IQ7B/MVxC+iQ2DenYfD7IR69ZZ9awM8PNS/9wthr4IyDhkFJ4mg==" + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.29.0.tgz", + "integrity": "sha512-ZXVqIXNmER7ArdJO8y8dy/vko9XC05Pci+8Gtx0DbcdsUSiJ5NG2oT/mrEHHl+PzR0YYlj+tQgYn6Hg9S8tT0A==", + "license": "BSD-2-Clause" }, "node_modules/github-from-package": { "version": "0.0.0", @@ -11025,7 +11022,6 @@ "@types/node": "*", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", - "fsevents": "^2.1.2", "graceful-fs": "^4.2.4", "jest-regex-util": "^26.0.0", "jest-serializer": "^26.6.2", @@ -19282,11 +19278,15 @@ "integrity": "sha512-2mSc+VEpGPblzAxyeR+vZhJKgYg0Og0nnRi7pmRXFYYxSfnOnW8A5wwQb4n4cE2nIOzqKOAzLCaEX6aBmNEv8A==" }, "node_modules/react-github-btn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/react-github-btn/-/react-github-btn-1.2.0.tgz", - "integrity": "sha512-/b2TGTeek5Ky+KtuP5BxOaXgb1FGhbwgZNI6rkwkGk7+xtCtsNMkdchOcCnC3qU1JGTWPKzYZWpPBIouVhXAoQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/react-github-btn/-/react-github-btn-1.4.0.tgz", + "integrity": "sha512-lV4FYClAfjWnBfv0iNlJUGhamDgIq6TayD0kPZED6VzHWdpcHmPfsYOZ/CFwLfPv4Zp+F4m8QKTj0oy2HjiGXg==", + "license": "BSD-2-Clause", "dependencies": { - "github-buttons": "^2.8.0" + "github-buttons": "^2.22.0" + }, + "peerDependencies": { + "react": ">=16.3.0" } }, "node_modules/react-hook-form": { @@ -24465,7 +24465,6 @@ "anymatch": "^2.0.0", "async-each": "^1.0.1", "braces": "^2.3.2", - "fsevents": "^1.2.7", "glob-parent": "^3.1.0", "inherits": "^2.0.3", "is-binary-path": "^1.0.0", @@ -32256,9 +32255,9 @@ } }, "github-buttons": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.14.2.tgz", - "integrity": "sha512-DMakrcFRdojVAndkKYVDTHF3Ym09OoWia//IQ7B/MVxC+iQ2DenYfD7IR69ZZ9awM8PNS/9wthr4IyDhkFJ4mg==" + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.29.0.tgz", + "integrity": "sha512-ZXVqIXNmER7ArdJO8y8dy/vko9XC05Pci+8Gtx0DbcdsUSiJ5NG2oT/mrEHHl+PzR0YYlj+tQgYn6Hg9S8tT0A==" }, "github-from-package": { "version": "0.0.0", @@ -40232,11 +40231,11 @@ } }, "react-github-btn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/react-github-btn/-/react-github-btn-1.2.0.tgz", - "integrity": "sha512-/b2TGTeek5Ky+KtuP5BxOaXgb1FGhbwgZNI6rkwkGk7+xtCtsNMkdchOcCnC3qU1JGTWPKzYZWpPBIouVhXAoQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/react-github-btn/-/react-github-btn-1.4.0.tgz", + "integrity": "sha512-lV4FYClAfjWnBfv0iNlJUGhamDgIq6TayD0kPZED6VzHWdpcHmPfsYOZ/CFwLfPv4Zp+F4m8QKTj0oy2HjiGXg==", "requires": { - "github-buttons": "^2.8.0" + "github-buttons": "^2.22.0" } }, "react-hook-form": { diff --git a/package.json b/package.json index 3e2c60f..409a222 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "react-colorful": "^4.4.4", "react-dom": "^17.0.1", "react-fa-icon-picker": "^1.0.3", - "react-github-btn": "^1.2.0", + "react-github-btn": "^1.4.0", "react-hook-form": "^6.15.1", "react-router-dom": "^5.2.0" },