From 65d1f4249162060b7c2d7d1f8f1f2d4138fbed03 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 27 Jul 2022 15:16:38 -0700 Subject: [PATCH 1/3] fix(dependencies): Updating npm dependencies, increasing to react v18 --- package-lock.json | 281 +++++++++++++++++++--------------------------- package.json | 10 +- 2 files changed, 120 insertions(+), 171 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e88ee6..1ff0413 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,25 @@ { "name": "react-bootstrap-web3-spa", - "version": "1.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-bootstrap-web3-spa", - "version": "1.0.0", + "version": "2.0.1", "dependencies": { "axios": "0.27.2", - "bootstrap": "5.1.3", + "bootstrap": "5.2.0", "query-string": "7.1.1", - "react": "17.0.2", - "react-bootstrap": "2.0.0", - "react-dom": "17.0.2", + "react": "18.2.0", + "react-bootstrap": "2.4.0", + "react-dom": "18.2.0", "react-scripts": "5.0.1", "use-query-params": "1.2.3" }, "devDependencies": { "standard": "17.0.0", - "web3.storage": "4.2.0" + "web3.storage": "4.3.0" } }, "node_modules/@ampproject/remapping": { @@ -3127,47 +3127,7 @@ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" } }, - "node_modules/@restart/context": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz", - "integrity": "sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q==", - "peerDependencies": { - "react": ">=16.3.2" - } - }, "node_modules/@restart/hooks": { - "version": "0.3.27", - "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.3.27.tgz", - "integrity": "sha512-s984xV/EapUIfkjlf8wz9weP2O9TNKR96C68FfMEy2bE69+H4cNv3RD4Mf97lW7Htt7PjZrYTjSC8f3SB9VCXw==", - "dependencies": { - "dequal": "^2.0.2" - }, - "peerDependencies": { - "react": ">=16.8.0" - } - }, - "node_modules/@restart/ui": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@restart/ui/-/ui-0.2.6.tgz", - "integrity": "sha512-lcutEWPvsxz0uEyRxuysCbHBfXDFnMKNMNTsnuPmLFjZXgW9fVmhksS6rpFklXHMwxOM9g6hRTBq0gS3QRKgzQ==", - "dependencies": { - "@babel/runtime": "^7.13.16", - "@popperjs/core": "^2.10.1", - "@react-aria/ssr": "^3.0.1", - "@restart/hooks": "^0.4.0", - "@types/warning": "^3.0.0", - "dequal": "^2.0.2", - "dom-helpers": "^5.2.0", - "prop-types": "^15.7.2", - "uncontrollable": "^7.2.1", - "warning": "^4.0.3" - }, - "peerDependencies": { - "react": ">=16.14.0", - "react-dom": ">=16.14.0" - } - }, - "node_modules/@restart/ui/node_modules/@restart/hooks": { "version": "0.4.7", "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.7.tgz", "integrity": "sha512-ZbjlEHcG+FQtpDPHd7i4FzNNvJf2enAwZfJbpM8CW7BhmOAbsHpZe3tsHwfQUrBuyrxWqPYp2x5UMnilWcY22A==", @@ -3178,6 +3138,26 @@ "react": ">=16.8.0" } }, + "node_modules/@restart/ui": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@restart/ui/-/ui-1.3.1.tgz", + "integrity": "sha512-MYvMs2eeZTHu2dBJHOXKx72vxzEZeWbZx2z1QjeXq62iYjpjIyukBC2ZEy8x+sb9Gl0AiOiHkPXrl1wn95aOGQ==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@popperjs/core": "^2.11.5", + "@react-aria/ssr": "^3.2.0", + "@restart/hooks": "^0.4.7", + "@types/warning": "^3.0.0", + "dequal": "^2.0.2", + "dom-helpers": "^5.2.0", + "uncontrollable": "^7.2.1", + "warning": "^4.0.3" + }, + "peerDependencies": { + "react": ">=16.14.0", + "react-dom": ">=16.14.0" + } + }, "node_modules/@rollup/plugin-babel": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", @@ -3648,11 +3628,6 @@ "@types/node": "*" } }, - "node_modules/@types/invariant": { - "version": "2.2.35", - "resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.35.tgz", - "integrity": "sha512-DxX1V9P8zdJPYQat1gHyY0xj3efl8gnMVjiM9iCY6y27lj+PoQWkgjt8jDqmovPqULkKVpKRg8J36iQiA+EtEg==" - }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -5217,15 +5192,21 @@ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" }, "node_modules/bootstrap": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", - "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - }, + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.0.tgz", + "integrity": "sha512-qlnS9GL6YZE6Wnef46GxGv1UpGGzAwO0aPL1yOjzDIJpeApeMvqV24iL+pjr2kU4dduoBA9fINKWKgMToobx9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], "peerDependencies": { - "@popperjs/core": "^2.10.2" + "@popperjs/core": "^2.11.5" } }, "node_modules/brace-expansion": { @@ -6461,9 +6442,9 @@ } }, "node_modules/dequal": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz", - "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", "engines": { "node": ">=6" } @@ -14974,12 +14955,11 @@ } }, "node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" }, "engines": { "node": ">=0.10.0" @@ -15002,31 +14982,32 @@ } }, "node_modules/react-bootstrap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.0.0.tgz", - "integrity": "sha512-6nIIPxv36tvyL9T+7x167qTv9oU+wEwxxNgqcQSsbuMuwvXfg2Frt2mRMX3O/f0HCQmBu5Syy6UdClRS4fGqQA==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.4.0.tgz", + "integrity": "sha512-dn599jNK1Fg5GGjJH+lQQDwELVzigh/MdusKpB/0el+sCjsO5MZDH5gRMmBjRhC+vb7VlCDr6OXffPIDSkNMLw==", "dependencies": { - "@babel/runtime": "^7.14.0", - "@restart/context": "^2.1.4", - "@restart/hooks": "^0.3.26", - "@restart/ui": "^0.2.3", - "@types/invariant": "^2.2.33", - "@types/prop-types": "^15.7.3", - "@types/react": ">=16.14.8", - "@types/react-transition-group": "^4.4.1", - "@types/warning": "^3.0.0", + "@babel/runtime": "^7.17.2", + "@restart/hooks": "^0.4.6", + "@restart/ui": "^1.2.0", + "@types/react-transition-group": "^4.4.4", "classnames": "^2.3.1", "dom-helpers": "^5.2.1", "invariant": "^2.2.4", - "prop-types": "^15.7.2", + "prop-types": "^15.8.1", "prop-types-extra": "^1.1.0", - "react-transition-group": "^4.4.1", + "react-transition-group": "^4.4.2", "uncontrollable": "^7.2.1", "warning": "^4.0.3" }, "peerDependencies": { + "@types/react": ">=16.14.8", "react": ">=16.14.0", "react-dom": ">=16.14.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, "node_modules/react-dev-utils": { @@ -15147,16 +15128,15 @@ } }, "node_modules/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", "dependencies": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "scheduler": "^0.23.0" }, "peerDependencies": { - "react": "17.0.2" + "react": "^18.2.0" } }, "node_modules/react-error-overlay": { @@ -15926,12 +15906,11 @@ } }, "node_modules/scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "node_modules/schema-utils": { @@ -17526,9 +17505,9 @@ } }, "node_modules/web3.storage": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/web3.storage/-/web3.storage-4.2.0.tgz", - "integrity": "sha512-s7yf9nR9TsnKyPdijQMq48q7NV9WNZ8AWyMroa1F0ZOVExUpx9DVIxsLCCZRJEuMZsitnLSbvXK2CexMNyYKKg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/web3.storage/-/web3.storage-4.3.0.tgz", + "integrity": "sha512-9IKn+4dyF7cMXC9etVzW3qmCV/6sL+Za4kcUUn7D3qRt4s1DrKUGJdAe9VvYcpHwbnnYoKNBu06lGO++daDo8w==", "dev": true, "dependencies": { "@ipld/car": "^3.1.4", @@ -20562,45 +20541,28 @@ "@babel/runtime": "^7.6.2" } }, - "@restart/context": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz", - "integrity": "sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q==", - "requires": {} - }, "@restart/hooks": { - "version": "0.3.27", - "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.3.27.tgz", - "integrity": "sha512-s984xV/EapUIfkjlf8wz9weP2O9TNKR96C68FfMEy2bE69+H4cNv3RD4Mf97lW7Htt7PjZrYTjSC8f3SB9VCXw==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.7.tgz", + "integrity": "sha512-ZbjlEHcG+FQtpDPHd7i4FzNNvJf2enAwZfJbpM8CW7BhmOAbsHpZe3tsHwfQUrBuyrxWqPYp2x5UMnilWcY22A==", "requires": { "dequal": "^2.0.2" } }, "@restart/ui": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@restart/ui/-/ui-0.2.6.tgz", - "integrity": "sha512-lcutEWPvsxz0uEyRxuysCbHBfXDFnMKNMNTsnuPmLFjZXgW9fVmhksS6rpFklXHMwxOM9g6hRTBq0gS3QRKgzQ==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@restart/ui/-/ui-1.3.1.tgz", + "integrity": "sha512-MYvMs2eeZTHu2dBJHOXKx72vxzEZeWbZx2z1QjeXq62iYjpjIyukBC2ZEy8x+sb9Gl0AiOiHkPXrl1wn95aOGQ==", "requires": { - "@babel/runtime": "^7.13.16", - "@popperjs/core": "^2.10.1", - "@react-aria/ssr": "^3.0.1", - "@restart/hooks": "^0.4.0", + "@babel/runtime": "^7.18.3", + "@popperjs/core": "^2.11.5", + "@react-aria/ssr": "^3.2.0", + "@restart/hooks": "^0.4.7", "@types/warning": "^3.0.0", "dequal": "^2.0.2", "dom-helpers": "^5.2.0", - "prop-types": "^15.7.2", "uncontrollable": "^7.2.1", "warning": "^4.0.3" - }, - "dependencies": { - "@restart/hooks": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/@restart/hooks/-/hooks-0.4.7.tgz", - "integrity": "sha512-ZbjlEHcG+FQtpDPHd7i4FzNNvJf2enAwZfJbpM8CW7BhmOAbsHpZe3tsHwfQUrBuyrxWqPYp2x5UMnilWcY22A==", - "requires": { - "dequal": "^2.0.2" - } - } } }, "@rollup/plugin-babel": { @@ -20943,11 +20905,6 @@ "@types/node": "*" } }, - "@types/invariant": { - "version": "2.2.35", - "resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.35.tgz", - "integrity": "sha512-DxX1V9P8zdJPYQat1gHyY0xj3efl8gnMVjiM9iCY6y27lj+PoQWkgjt8jDqmovPqULkKVpKRg8J36iQiA+EtEg==" - }, "@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -22169,9 +22126,9 @@ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" }, "bootstrap": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", - "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.0.tgz", + "integrity": "sha512-qlnS9GL6YZE6Wnef46GxGv1UpGGzAwO0aPL1yOjzDIJpeApeMvqV24iL+pjr2kU4dduoBA9fINKWKgMToobx9A==", "requires": {} }, "brace-expansion": { @@ -23053,9 +23010,9 @@ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" }, "dequal": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz", - "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==" }, "destroy": { "version": "1.2.0", @@ -29112,12 +29069,11 @@ } }, "react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "react-app-polyfill": { @@ -29134,25 +29090,20 @@ } }, "react-bootstrap": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.0.0.tgz", - "integrity": "sha512-6nIIPxv36tvyL9T+7x167qTv9oU+wEwxxNgqcQSsbuMuwvXfg2Frt2mRMX3O/f0HCQmBu5Syy6UdClRS4fGqQA==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.4.0.tgz", + "integrity": "sha512-dn599jNK1Fg5GGjJH+lQQDwELVzigh/MdusKpB/0el+sCjsO5MZDH5gRMmBjRhC+vb7VlCDr6OXffPIDSkNMLw==", "requires": { - "@babel/runtime": "^7.14.0", - "@restart/context": "^2.1.4", - "@restart/hooks": "^0.3.26", - "@restart/ui": "^0.2.3", - "@types/invariant": "^2.2.33", - "@types/prop-types": "^15.7.3", - "@types/react": ">=16.14.8", - "@types/react-transition-group": "^4.4.1", - "@types/warning": "^3.0.0", + "@babel/runtime": "^7.17.2", + "@restart/hooks": "^0.4.6", + "@restart/ui": "^1.2.0", + "@types/react-transition-group": "^4.4.4", "classnames": "^2.3.1", "dom-helpers": "^5.2.1", "invariant": "^2.2.4", - "prop-types": "^15.7.2", + "prop-types": "^15.8.1", "prop-types-extra": "^1.1.0", - "react-transition-group": "^4.4.1", + "react-transition-group": "^4.4.2", "uncontrollable": "^7.2.1", "warning": "^4.0.3" } @@ -29244,13 +29195,12 @@ } }, "react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "scheduler": "^0.23.0" } }, "react-error-overlay": { @@ -29811,12 +29761,11 @@ } }, "scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "schema-utils": { @@ -31035,9 +30984,9 @@ "dev": true }, "web3.storage": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/web3.storage/-/web3.storage-4.2.0.tgz", - "integrity": "sha512-s7yf9nR9TsnKyPdijQMq48q7NV9WNZ8AWyMroa1F0ZOVExUpx9DVIxsLCCZRJEuMZsitnLSbvXK2CexMNyYKKg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/web3.storage/-/web3.storage-4.3.0.tgz", + "integrity": "sha512-9IKn+4dyF7cMXC9etVzW3qmCV/6sL+Za4kcUUn7D3qRt4s1DrKUGJdAe9VvYcpHwbnnYoKNBu06lGO++daDo8w==", "dev": true, "requires": { "@ipld/car": "^3.1.4", diff --git a/package.json b/package.json index af35a81..c98f1e7 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "2.0.1", "dependencies": { "axios": "0.27.2", - "bootstrap": "5.1.3", + "bootstrap": "5.2.0", "query-string": "7.1.1", - "react": "17.0.2", - "react-bootstrap": "2.0.0", - "react-dom": "17.0.2", + "react": "18.2.0", + "react-bootstrap": "2.4.0", + "react-dom": "18.2.0", "react-scripts": "5.0.1", "use-query-params": "1.2.3" }, @@ -35,6 +35,6 @@ }, "devDependencies": { "standard": "17.0.0", - "web3.storage": "4.2.0" + "web3.storage": "4.3.0" } } From 0fc95d96308aff6524a395e3d6cb1add31702090 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 27 Jul 2022 15:19:15 -0700 Subject: [PATCH 2/3] Adding note for update to v18 of react --- src/App.js | 2 +- src/components/placeholder2.js | 2 +- src/components/placeholder3.js | 2 +- src/components/servers/index.js | 2 +- src/index.js | 3 +++ 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/App.js b/src/App.js index 026e828..036035c 100644 --- a/src/App.js +++ b/src/App.js @@ -146,7 +146,7 @@ function GetRestUrl (props) { const [restURL] = useQueryParam('restURL', StringParam) // console.log('restURL: ', restURL) - if(restURL) { + if (restURL) { serverUrl = restURL queryParamExists = true } diff --git a/src/components/placeholder2.js b/src/components/placeholder2.js index 1d7cee1..858309d 100644 --- a/src/components/placeholder2.js +++ b/src/components/placeholder2.js @@ -15,7 +15,7 @@ class Placeholder2 extends React.Component { render () { return ( <> -

This is placeholder View #2

+

This is placeholder View #2

) } diff --git a/src/components/placeholder3.js b/src/components/placeholder3.js index 178b544..6a8a308 100644 --- a/src/components/placeholder3.js +++ b/src/components/placeholder3.js @@ -15,7 +15,7 @@ class Placeholder3 extends React.Component { render () { return ( <> -

This is placeholder View #3

+

This is placeholder View #3

) } diff --git a/src/components/servers/index.js b/src/components/servers/index.js index 2d09c9f..d850b2b 100644 --- a/src/components/servers/index.js +++ b/src/components/servers/index.js @@ -59,7 +59,7 @@ class ServerSelect extends React.Component { Having trouble loading? Try selecting a different back-end server. this.selectServer(values)}> - + {items}
diff --git a/src/index.js b/src/index.js index 0adfe5c..4d7fbd5 100644 --- a/src/index.js +++ b/src/index.js @@ -13,3 +13,6 @@ ReactDOM.render( , document.getElementById('root')) + +// Updating to React v18 +// https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis From ccfe2538a32a16b40bb034ac6222d2d05472f40a Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 27 Jul 2022 15:22:34 -0700 Subject: [PATCH 3/3] Updating README --- README.md | 15 +++++++++++++-- img/donation-qr.png | Bin 0 -> 2028 bytes 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 img/donation-qr.png diff --git a/README.md b/README.md index e4bacf0..848e910 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a single page app (SPA) based on [react-bootstrap](https://www.npmjs.com This app can be compiled and uploaded to Filecoin via [web3.storage](https://web3.storage). This means a censorship-resistant front-end app (SPA) can be built, which communicates with a censorship-resistant back-end. -- [Live Demo on Filecoin](https://bafybeidje4nxihqtqnexs5wlwmmzbxyhydwk3pv6kfszzetxelpl4xxykm.ipfs.dweb.link/) +- [Live Demo on Filecoin](https://bafybeieawisnppueyqxeqjnu6d67jogu7xt7cypshx3q3k55yizphg3tia.ipfs.dweb.link/) ## Major Features - [react-bootstrap](https://react-bootstrap.github.io/) is used for general style and layout control. @@ -25,7 +25,18 @@ npm run build ``` ## Support -The [Permissionless Software Foundation](https://psfoundation.cash) is a collection of JavaScript developers and entrepreneurs. Join our [bch-js-toolkit Telegram channel](https://t.me/bch_js_toolkit) to get community-based technical help and meet like-minded individuals. + +Have questions? Need help? Join our community support +[Telegram channel](https://t.me/bch_js_toolkit) + +## Donate + +This open source software is developed and maintained by the [Permissionless Software Foundation](https://psfoundation.cash). If this library provides value to you, please consider making a donation to support the PSF developers: + +
+ +

bitcoincash:qqsrke9lh257tqen99dkyy2emh4uty0vky9y0z0lsr

+
## License [MIT](./LICENSE.md) diff --git a/img/donation-qr.png b/img/donation-qr.png new file mode 100644 index 0000000000000000000000000000000000000000..a0efbbfa12fcfcbbdb8e67be2177f2d244c365a2 GIT binary patch literal 2028 zcmb7Fdr(tX9*%Gg7YF3R6g9YPFWp3U0k!fFotVOfAjTk|gjW$kOiYVeOA(0j_KL_R zY9r7f6vBYKQdU&xDg=Zwfi`WW86Zkii8L(lrJ)EI9tHPYm_BD`XZpvz=Qrp4&hPPk z-#O>c2o9s4`NF+iY-G~8~dE@WWnrgPnaptKCqcLjk$Q_|Nc>_x&!&>tGIm=g8a>Dl~=W?Yn-*j=^! zeON0EM^!wTVrvbfsWqS48H2*To`r^oen`HrDhoZC8h>#oE4RZ7sm$E1d$0XN)b`rb zZi{~{VTR}3@|@*A`}5e|kIgQl?(PG|7{^GP*tfPpa=E_EELfX|%yyuMk6IcTx4x8S z-?AcOadA!49h?VLW~-p6)n6S)(HLvTY04XGNmMzPF$AJ0@~K>92MXgBI+jg?J_doX z90S!{8~-MZqdvks5a_d{1<|TwiXp}7s)siM-5hD2?$GFH4x^Xfw{NRx7s;%t+d&=u zdZ(qjaSGP(n}rvW4$i>sv!O+H0kdCeN;hDl=}YKpYP?FCeUMA!$ZViFSWzqhEM)?g z%7=UzgZ4btngsNhQ=g`ubL4)`dv>31 z_WXRX1AX_i8w~mnvX3@t-`6HjX)pbKRWx$aqc1w_x`nM#l~!Yd`4?^l_+bcFD|AFU z6E9i=8^WaNHL($jWm27){gXQjG<{;S+ufll-UH_e`ZsAaz$d4H#~SPy6@P%jE(N>T zOPlvar$LycToBPKytg>?7eEA{xKsJ1CjMn9!g4f zv%(OnB`$ExEf#&w5my>$K3zJOq$iBK1!SU<3i=m$*??E{FbM|(P%eJ(h@`%X)8DO8 zedku_ueRma5sm;LFaUslHp8Dr6uQ~EyIhQV(ZbF@#ft(fa>ZmL1-KxU^4$P@PSm{C z0tAP9IYMpp{p1tlBFfZXkDehHHQF+wU((D$$mX81V0B?S3up#AH#er4a~*D)Ga|By5LaMmiEdwGlKJx+kiY zN3MDmm$xV%e{W7uU9b4;9a+lPQSGF4#URX((}2rSfdBob?L^+z5Q#o^$f5T2Z}gbq zrANxX+0tTBH0%f}a5jt<2vt(r_1AomiNPz!8$<+`jp zt!6X{Z}QAl6kad z@{Y<_t!71D=y5)ju@xMTG!Lj~p}xWsnz``*t%tnKuF0h@=4#%G-0M`c{PEdZzNaY= zb8lmmYY>rZPS9_`A(&@8b2qgGB4DeNyS=*hy^5=-uggfBk4RG6ip!d>24`LsuwY!J z{x~)HZ7<{MW^e;RH_JkdQ=eoRR_wuz2EXB1XVAX8LAOljvb_;zMyRf_&qQGawI+Lz8^KhU{GG{Ue9?QQC|4t zz;q9yye+fAgGV>wXl~cKOGSC;!82FlDT)jhacMBgfL-8UqDh)w+yo{laKaX#u!Q6N zkH(yiY&;h1&^s=S;y-aeBwyf-p_X`Vn-2mVSQESCw};L~dHmJ2mt%9KOM>d0lw(dW zLUEKlC|93}Lsel6R_>*3H^kFzFzgZ(XcLR({ClWnj|py}$