From 93179c8c3704e8f9473971753dbb533d0db72275 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 13 Oct 2020 17:05:57 +0200 Subject: [PATCH] =?UTF-8?q?metadataStore=20=E2=86=92=20metadataCache,=20pa?= =?UTF-8?q?ckage=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- app.config.js | 2 +- package-lock.json | 586 +++++++++--------- package.json | 26 +- src/components/organisms/AssetList.tsx | 4 +- .../pages/History/PublishedList.tsx | 2 +- src/components/pages/Home.tsx | 16 +- src/components/templates/AssetDetails.tsx | 10 +- src/components/templates/Search/index.tsx | 6 +- src/components/templates/Search/utils.ts | 10 +- src/helpers/NetworkMonitor.tsx | 8 +- src/helpers/wrapRootElement.tsx | 6 +- tests/unit/__mocks__/@oceanprotocol/lib.ts | 6 +- 13 files changed, 353 insertions(+), 331 deletions(-) diff --git a/.env.example b/.env.example index 522ddf76c..9c9a62cb3 100644 --- a/.env.example +++ b/.env.example @@ -2,5 +2,5 @@ GATSBY_NETWORK="rinkeby" #GATSBY_INFURA_PROJECT_ID="xxx" -#GATSBY_METADATA_STORE_URI="xxx" +#GATSBY_METADATA_CACHE_URI="xxx" #GATSBY_MARKET_FEE_ADDRESS="0xxx" diff --git a/app.config.js b/app.config.js index e100acf23..f2340a49f 100644 --- a/app.config.js +++ b/app.config.js @@ -1,7 +1,7 @@ module.exports = { network: process.env.GATSBY_NETWORK || 'rinkeby', infuraProjectId: process.env.GATSBY_INFURA_PROJECT_ID || 'xxx', - metadataStoreUri: process.env.GATSBY_METADATA_STORE_URI, + metadataCacheUri: process.env.GATSBY_METADATA_CACHE_URI, // The ETH address the marketplace fee will be sent to. marketFeeAddress: process.env.GATSBY_MARKET_FEE_ADDRESS || diff --git a/package-lock.json b/package-lock.json index b91e34a14..5b0177a1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1982,13 +1982,13 @@ } }, "@jest/core": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.5.2.tgz", - "integrity": "sha512-LLTo1LQMg7eJjG/+P1NYqFof2B25EV1EqzD5FonklihG4UJKiK2JBIvWonunws6W7e+DhNLoFD+g05tCY03eyA==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.5.3.tgz", + "integrity": "sha512-CiU0UKFF1V7KzYTVEtFbFmGLdb2g4aTtY0WlyUfLgj/RtoTnJFhh50xKKr7OYkdmBUlGFSa2mD1TU3UZ6OLd4g==", "dev": true, "requires": { "@jest/console": "^26.5.2", - "@jest/reporters": "^26.5.2", + "@jest/reporters": "^26.5.3", "@jest/test-result": "^26.5.2", "@jest/transform": "^26.5.2", "@jest/types": "^26.5.2", @@ -1998,17 +1998,17 @@ "exit": "^0.1.2", "graceful-fs": "^4.2.4", "jest-changed-files": "^26.5.2", - "jest-config": "^26.5.2", + "jest-config": "^26.5.3", "jest-haste-map": "^26.5.2", "jest-message-util": "^26.5.2", "jest-regex-util": "^26.0.0", "jest-resolve": "^26.5.2", - "jest-resolve-dependencies": "^26.5.2", - "jest-runner": "^26.5.2", - "jest-runtime": "^26.5.2", - "jest-snapshot": "^26.5.2", + "jest-resolve-dependencies": "^26.5.3", + "jest-runner": "^26.5.3", + "jest-runtime": "^26.5.3", + "jest-snapshot": "^26.5.3", "jest-util": "^26.5.2", - "jest-validate": "^26.5.2", + "jest-validate": "^26.5.3", "jest-watcher": "^26.5.2", "micromatch": "^4.0.2", "p-each-series": "^2.1.0", @@ -2128,9 +2128,9 @@ "dev": true }, "expect": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", - "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.3.tgz", + "integrity": "sha512-kkpOhGRWGOr+TEFUnYAjfGvv35bfP+OlPtqPIJpOCR9DVtv8QV+p8zG0Edqafh80fsjeE+7RBcVUq1xApnYglw==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -2249,9 +2249,9 @@ } }, "jest-snapshot": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.2.tgz", - "integrity": "sha512-MkXIDvEefzDubI/WaDVSRH4xnkuirP/Pz8LhAIDXcVQTmcEfwxywj5LGwBmhz+kAAIldA7XM4l96vbpzltSjqg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.3.tgz", + "integrity": "sha512-ZgAk0Wm0JJ75WS4lGaeRfa0zIgpL0KD595+XmtwlIEMe8j4FaYHyZhP1LNOO+8fXq7HJ3hll54+sFV9X4+CGVw==", "dev": true, "requires": { "@babel/types": "^7.0.0", @@ -2259,7 +2259,7 @@ "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.0.0", "chalk": "^4.0.0", - "expect": "^26.5.2", + "expect": "^26.5.3", "graceful-fs": "^4.2.4", "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", @@ -2613,14 +2613,14 @@ } }, "@jest/globals": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.5.2.tgz", - "integrity": "sha512-9PmnFsAUJxpPt1s/stq02acS1YHliVBDNfAWMe1bwdRr1iTCfhbNt3ERQXrO/ZfZSweftoA26Q/2yhSVSWQ3sw==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.5.3.tgz", + "integrity": "sha512-7QztI0JC2CuB+Wx1VdnOUNeIGm8+PIaqngYsZXQCkH2QV0GFqzAYc9BZfU0nuqA6cbYrWh5wkuMzyii3P7deug==", "dev": true, "requires": { "@jest/environment": "^26.5.2", "@jest/types": "^26.5.2", - "expect": "^26.5.2" + "expect": "^26.5.3" }, "dependencies": { "@jest/types": { @@ -2692,9 +2692,9 @@ "dev": true }, "expect": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", - "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.3.tgz", + "integrity": "sha512-kkpOhGRWGOr+TEFUnYAjfGvv35bfP+OlPtqPIJpOCR9DVtv8QV+p8zG0Edqafh80fsjeE+7RBcVUq1xApnYglw==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -2781,9 +2781,9 @@ } }, "@jest/reporters": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.5.2.tgz", - "integrity": "sha512-zvq6Wvy6MmJq/0QY0YfOPb49CXKSf42wkJbrBPkeypVa8I+XDxijvFuywo6TJBX/ILPrdrlE/FW9vJZh6Rf9vA==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.5.3.tgz", + "integrity": "sha512-X+vR0CpfMQzYcYmMFKNY9n4jklcb14Kffffp7+H/MqitWnb0440bW2L76NGWKAa+bnXhNoZr+lCVtdtPmfJVOQ==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", @@ -2810,7 +2810,7 @@ "source-map": "^0.6.0", "string-length": "^4.0.1", "terminal-link": "^2.0.0", - "v8-to-istanbul": "^5.0.1" + "v8-to-istanbul": "^6.0.1" }, "dependencies": { "@jest/transform": { @@ -3190,16 +3190,16 @@ } }, "@jest/test-sequencer": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.5.2.tgz", - "integrity": "sha512-XmGEh7hh07H2B8mHLFCIgr7gA5Y6Hw1ZATIsbz2fOhpnQ5AnQtZk0gmP0Q5/+mVB2xygO64tVFQxOajzoptkNA==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.5.3.tgz", + "integrity": "sha512-Wqzb7aQ13L3T47xHdpUqYMOpiqz6Dx2QDDghp5AV/eUDXR7JieY+E1s233TQlNyl+PqtqgjVokmyjzX/HA51BA==", "dev": true, "requires": { "@jest/test-result": "^26.5.2", "graceful-fs": "^4.2.4", "jest-haste-map": "^26.5.2", - "jest-runner": "^26.5.2", - "jest-runtime": "^26.5.2" + "jest-runner": "^26.5.3", + "jest-runtime": "^26.5.3" }, "dependencies": { "@jest/types": { @@ -4024,17 +4024,17 @@ "integrity": "sha512-j4PEZSVtKSqxDYMVh/hd5vk088Bg6a6QkrUMTXN9Q6OIFAMfHM235f1AxaakNrEyK0FKMD908KuJEdfFLRn9Hw==" }, "@oceanprotocol/contracts": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.3.tgz", - "integrity": "sha512-gJ8qQACJgxOPIrPE0OFQ09iYXBAisOGg56EmelQlsMUgp0yY0DKgBntDP83S/Ho1yBjGygqfxCjQrPH63hh/PA==" + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.5.tgz", + "integrity": "sha512-Omwlh3KxPm2JOuLd6DW4teAQhGaIv0fRTopCvctey0XGsf3DcbJpwS0A0YfgLQnvCyyVMKsiq90YCqpJ3SO/cw==" }, "@oceanprotocol/lib": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.5.6.tgz", - "integrity": "sha512-S8OU/FYjDJCKkx098GDT9LfxmTTe/gA8zv5fVMy7lRG1k5WFDsHHMplqZkU9mUGXg1aDDtt7KbctwxNdt7ZGFg==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.6.0.tgz", + "integrity": "sha512-5Kv6oVV7nneeVoT79fAQh93Ksb4Zg0TjjbVutMIYDt9kB8/Iwc/5NYU88unaz4XHX5zBl5rqnwfWoZMRDaI7hA==", "requires": { "@ethereum-navigator/navigator": "^0.5.0", - "@oceanprotocol/contracts": "^0.5.3", + "@oceanprotocol/contracts": "^0.5.5", "decimal.js": "^10.2.0", "fs": "0.0.1-security", "lzma": "^2.3.2", @@ -4046,11 +4046,11 @@ } }, "@oceanprotocol/react": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@oceanprotocol/react/-/react-0.1.4.tgz", - "integrity": "sha512-vNOVwu/uon3Qr/v97+sS9TXd7bvgFk2AtWp8zxiqt9ebCxHnQ0kJ+6e5PyOSo0l5HwErMICEuQevY9qKYaI/yA==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@oceanprotocol/react/-/react-0.2.0.tgz", + "integrity": "sha512-6pMwRVVFGbz81g3IZz0nDlF0B9AKGnsyXACA+l5x3LeB7nP+Epg8AYcIKoWhyq/eVf+R3d6isEVo+YakqZuVAw==", "requires": { - "@oceanprotocol/lib": "^0.5.6", + "@oceanprotocol/lib": "^0.6.0", "axios": "^0.20.0", "decimal.js": "^10.2.1", "web3": "^1.3.0", @@ -4160,9 +4160,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -4191,9 +4191,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -4250,9 +4250,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -4268,9 +4268,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -4322,9 +4322,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -4337,9 +4337,9 @@ }, "dependencies": { "tslib": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.2.tgz", - "integrity": "sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", + "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, @@ -7042,9 +7042,9 @@ } }, "@toruslabs/torus-embed": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.8.5.tgz", - "integrity": "sha512-NaA5F1xIunoazcDf5eeLapjCe14S2EFAcEk+t3oAzHHax290r661xQUJFW0s9xxSKUu7KaCHfPMn7ZALXE3tCA==", + "version": "1.8.6", + "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.8.6.tgz", + "integrity": "sha512-7u23gH783weAqAJMTBS9unDsBhL/n6KKkRbTVNCRF9lAqMNznxj+yYWGaVxJkmL5x6gl3P5jbLgji8/KoV0I1w==", "requires": { "@chaitanyapotti/random-id": "^1.0.3", "@toruslabs/fetch-node-details": "^2.3.0", @@ -7541,9 +7541,9 @@ } }, "@types/react": { - "version": "16.9.51", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.51.tgz", - "integrity": "sha512-lQa12IyO+DMlnSZ3+AGHRUiUcpK47aakMMoBG8f7HGxJT8Yfe+WE128HIXaHOHVPReAW0oDS3KAI0JI2DDe1PQ==", + "version": "16.9.52", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.52.tgz", + "integrity": "sha512-EHRjmnxiNivwhGdMh9sz1Yw9AUxTSZFxKqdBWAAzyZx3sufWwx6ogqHYh/WB1m/I4ZpjkoZLExF5QTy2ekVi/Q==", "requires": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -7813,13 +7813,13 @@ "integrity": "sha512-wmk0xQI6Yy7Fs/il4EpOcflG4uonUpYGqvZARESLc2oy4u69fkatFLbJOeW4Q6awO15P4rduAe6xkwHevpXcUQ==" }, "@typescript-eslint/eslint-plugin": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.4.0.tgz", - "integrity": "sha512-RVt5wU9H/2H+N/ZrCasTXdGbUTkbf7Hfi9eLiA8vPQkzUJ/bLDCC3CsoZioPrNcnoyN8r0gT153dC++A4hKBQQ==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.4.1.tgz", + "integrity": "sha512-O+8Utz8pb4OmcA+Nfi5THQnQpHSD2sDUNw9AxNHpuYOo326HZTtG8gsfT+EAYuVrFNaLyNb2QnUNkmTRDskuRA==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "4.4.0", - "@typescript-eslint/scope-manager": "4.4.0", + "@typescript-eslint/experimental-utils": "4.4.1", + "@typescript-eslint/scope-manager": "4.4.1", "debug": "^4.1.1", "functional-red-black-tree": "^1.0.1", "regexpp": "^3.0.0", @@ -7851,28 +7851,28 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.4.0.tgz", - "integrity": "sha512-01+OtK/oWeSJTjQcyzDztfLF1YjvKpLFo+JZmurK/qjSRcyObpIecJ4rckDoRCSh5Etw+jKfdSzVEHevh9gJ1w==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.4.1.tgz", + "integrity": "sha512-Nt4EVlb1mqExW9cWhpV6pd1a3DkUbX9DeyYsdoeziKOpIJ04S2KMVDO+SEidsXRH/XHDpbzXykKcMTLdTXH6cQ==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/scope-manager": "4.4.0", - "@typescript-eslint/types": "4.4.0", - "@typescript-eslint/typescript-estree": "4.4.0", + "@typescript-eslint/scope-manager": "4.4.1", + "@typescript-eslint/types": "4.4.1", + "@typescript-eslint/typescript-estree": "4.4.1", "eslint-scope": "^5.0.0", "eslint-utils": "^2.0.0" } }, "@typescript-eslint/parser": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.4.0.tgz", - "integrity": "sha512-yc14iEItCxoGb7W4Nx30FlTyGpU9r+j+n1LUK/exlq2eJeFxczrz/xFRZUk2f6yzWfK+pr1DOTyQnmDkcC4TnA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.4.1.tgz", + "integrity": "sha512-S0fuX5lDku28Au9REYUsV+hdJpW/rNW0gWlc4SXzF/kdrRaAVX9YCxKpziH7djeWT/HFAjLZcnY7NJD8xTeUEg==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "4.4.0", - "@typescript-eslint/types": "4.4.0", - "@typescript-eslint/typescript-estree": "4.4.0", + "@typescript-eslint/scope-manager": "4.4.1", + "@typescript-eslint/types": "4.4.1", + "@typescript-eslint/typescript-estree": "4.4.1", "debug": "^4.1.1" }, "dependencies": { @@ -7894,29 +7894,29 @@ } }, "@typescript-eslint/scope-manager": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.4.0.tgz", - "integrity": "sha512-r2FIeeU1lmW4K3CxgOAt8djI5c6Q/5ULAgdVo9AF3hPMpu0B14WznBAtxrmB/qFVbVIB6fSx2a+EVXuhSVMEyA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.4.1.tgz", + "integrity": "sha512-2oD/ZqD4Gj41UdFeWZxegH3cVEEH/Z6Bhr/XvwTtGv66737XkR4C9IqEkebCuqArqBJQSj4AgNHHiN1okzD/wQ==", "dev": true, "requires": { - "@typescript-eslint/types": "4.4.0", - "@typescript-eslint/visitor-keys": "4.4.0" + "@typescript-eslint/types": "4.4.1", + "@typescript-eslint/visitor-keys": "4.4.1" } }, "@typescript-eslint/types": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.4.0.tgz", - "integrity": "sha512-nU0VUpzanFw3jjX+50OTQy6MehVvf8pkqFcURPAE06xFNFenMj1GPEI6IESvp7UOHAnq+n/brMirZdR+7rCrlA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.4.1.tgz", + "integrity": "sha512-KNDfH2bCyax5db+KKIZT4rfA8rEk5N0EJ8P0T5AJjo5xrV26UAzaiqoJCxeaibqc0c/IvZxp7v2g3difn2Pn3w==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.4.0.tgz", - "integrity": "sha512-Fh85feshKXwki4nZ1uhCJHmqKJqCMba+8ZicQIhNi5d5jSQFteWiGeF96DTjO8br7fn+prTP+t3Cz/a/3yOKqw==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.4.1.tgz", + "integrity": "sha512-wP/V7ScKzgSdtcY1a0pZYBoCxrCstLrgRQ2O9MmCUZDtmgxCO/TCqOTGRVwpP4/2hVfqMz/Vw1ZYrG8cVxvN3g==", "dev": true, "requires": { - "@typescript-eslint/types": "4.4.0", - "@typescript-eslint/visitor-keys": "4.4.0", + "@typescript-eslint/types": "4.4.1", + "@typescript-eslint/visitor-keys": "4.4.1", "debug": "^4.1.1", "globby": "^11.0.1", "is-glob": "^4.0.1", @@ -7949,12 +7949,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.4.0.tgz", - "integrity": "sha512-oBWeroUZCVsHLiWRdcTXJB7s1nB3taFY8WGvS23tiAlT6jXVvsdAV4rs581bgdEjOhn43q6ro7NkOiLKu6kFqA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.4.1.tgz", + "integrity": "sha512-H2JMWhLaJNeaylSnMSQFEhT/S/FsJbebQALmoJxMPMxLtlVAMy2uJP/Z543n9IizhjRayLSqoInehCeNW9rWcw==", "dev": true, "requires": { - "@typescript-eslint/types": "4.4.0", + "@typescript-eslint/types": "4.4.1", "eslint-visitor-keys": "^2.0.0" }, "dependencies": { @@ -7992,69 +7992,69 @@ } }, "@walletconnect/client": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.3.0.tgz", - "integrity": "sha512-GFPVVBZ8MS2ndp0xkE02xB1R6Pw0bTnmX1bpTYxLo/ZLskQUFvIBRCmeiaBIXSxNhFtYL0iLavC7OZlI4Mx9vQ==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.3.1.tgz", + "integrity": "sha512-G3bgGaALxffiZB6HaCAX6BvIRFYSOClvdcCN3fKfczEYYkOHrrgeEksY7oX5GXXZdNNn4s/zt+5yWnySuA+3Zg==", "requires": { - "@walletconnect/core": "^1.3.0", - "@walletconnect/iso-crypto": "^1.3.0", - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0" + "@walletconnect/core": "^1.3.1", + "@walletconnect/iso-crypto": "^1.3.1", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1" } }, "@walletconnect/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.3.0.tgz", - "integrity": "sha512-ceJSmEXqL92+kOysbjZKrbBmyY5qLPt2CykJaqczZ8sn+7ULW33mJvO/R7cmplKqdiBWCbUlW0sFjPcPsaQN6A==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.3.1.tgz", + "integrity": "sha512-v0RAW4RqcMBNRkX2e6VcOVpBl5dX0oT7w3vWMiHUHwuMMnuoRXoXi1oEiib0K8VyqYuXSaeuEaaHUhYUEcvvtQ==", "requires": { - "@walletconnect/socket-transport": "^1.3.0", - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0" + "@walletconnect/socket-transport": "^1.3.1", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1" } }, "@walletconnect/http-connection": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.3.0.tgz", - "integrity": "sha512-aMS2sDcPDTP2zhTrufP4AhJ5ogcN9c7xqPh0wYq0TplBqSsPff6tjkP7YpkEQitPEwN1DItW9MzJcJxiqs1KHg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.3.1.tgz", + "integrity": "sha512-Hyis8FAgtnkhF1k0oKDhe+rgDq/rPFHry/jdQckvQLZZAEwoNZLJ5s0jjWK2Yl9YP3EZybXat3H63VboieZiUA==", "requires": { - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1", "xhr2-cookies": "1.1.0" } }, "@walletconnect/iso-crypto": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.3.0.tgz", - "integrity": "sha512-fks9UzH48/Ym+lfy3TiAea8KZ4wreejv+4F1sC1EpCHnvW1SZIs6fFRanqbSZQPlrzL7EYRmbUp/vlDFRcndpw==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.3.1.tgz", + "integrity": "sha512-u5YGYsaSQuRBSxX1623220Bc3KZDgqkIwXCt7PV8UyzhuSFp+SQGj6Cux5SoVlaUChr0iWMzkibLrKSof3yStA==", "requires": { - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1", "eccrypto-js": "5.2.0" } }, "@walletconnect/mobile-registry": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.3.0.tgz", - "integrity": "sha512-VOvr2YqGuFMH6TcI1CmeyQukPi0F8BbBZP1sXQKO1BkeP+YYdU7rhBlLLOrnJSRbv9whimJUoeUAzwjJVuxB/Q==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.3.1.tgz", + "integrity": "sha512-wOGSqf1xCoMRvsLZ7IEYBwCnojtCbsSd+dc6dJCVWkFcRptjmnInIrP7bg7YIllUCSusWhKjPCYyRsyffNYCyQ==" }, "@walletconnect/qrcode-modal": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.3.0.tgz", - "integrity": "sha512-z0PQ70/8sQYNF8LDGkiCOAND0uTalM29VIrSm3ow91fG6alCQkJWer5Vvw5iu8gdL5r59bVlgUk7uUWDHQhe8A==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.3.1.tgz", + "integrity": "sha512-PHwRNgnRtATtBuuxX8nsRGbSrsevB4gMHd4armJFbGM/XmIcJe89L5X0KVapb5Z8HP8qdbJ6/sMqKBPVEezkgQ==", "requires": { - "@walletconnect/mobile-registry": "^1.3.0", - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0", + "@walletconnect/mobile-registry": "^1.3.1", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1", "preact": "10.4.1", "qrcode": "1.4.4" } }, "@walletconnect/socket-transport": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.3.0.tgz", - "integrity": "sha512-GOe2bvZI/1aS6CfO+8HEuffKrf/ZQQRrj1zoEWFT/VqZGd+nogHMXrmjTyuYUaszPDuwjNYlVksBngfLIgE+dQ==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.3.1.tgz", + "integrity": "sha512-JV/ZJbFGmPJaHcT5GpiuoOxdB5xlkY7SW6J0GDqIBxI92mlOoQ5ea6xY5ullI5WUXZJUIvXcgUHf/KpPG9VN/w==", "requires": { - "@walletconnect/types": "^1.3.0", + "@walletconnect/types": "^1.3.1", "ws": "7.3.0" }, "dependencies": { @@ -8066,16 +8066,16 @@ } }, "@walletconnect/types": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.3.0.tgz", - "integrity": "sha512-66rKH5thOgqVNkdXo/cbbVDAVNSrc92hu32Lf3e2b80RqKoih6GJGW7SGX7UNh+I1G/aFtboSdIVDXSCMt5ehQ==" + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.3.1.tgz", + "integrity": "sha512-lf8hAFT7OIEgyc0FkLZPPjF4bMql+Svg4SNKj1a1oMTCdA+NPlqMUwOqcIJeIolULZbpFl3DkX3omSy8RNIbkg==" }, "@walletconnect/utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.3.0.tgz", - "integrity": "sha512-ugQWYUviOVxsmBWi8797tfjr4C3bMYm3pfF6mceo+gVA4gUmHNikoqIkCrAqEH/xI1LZGiupABafY+qGLK/74g==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.3.1.tgz", + "integrity": "sha512-r1pfAeXc6WCNbHf5zgVPenM8au+bQOYot6tdwpSDZAfdP0KtwmZ9Uro2uP8ykRWovTj2gGgKE+GMh9yVVTraaQ==", "requires": { - "@walletconnect/types": "^1.3.0", + "@walletconnect/types": "^1.3.1", "detect-browser": "5.1.0", "enc-utils": "2.1.0", "js-sha3": "0.8.0", @@ -8094,15 +8094,15 @@ } }, "@walletconnect/web3-provider": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.3.0.tgz", - "integrity": "sha512-OV/YJTJzEjvPdnCEpZRtKNbYHyEDAeNyX8CH8Er4RVr/puZ24MncD7iIGyBg8sXvH1aete1yn6a4qT40dgMq4w==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.3.1.tgz", + "integrity": "sha512-sOLtEbNLFrD8DgbvE0P/vRrmdPbF6Zufhn3gAo6/lxDQGH0ajHGmkl04sq/qcwMHKK0zHjYKRSFEG2VqNIThHg==", "requires": { - "@walletconnect/client": "^1.3.0", - "@walletconnect/http-connection": "^1.3.0", - "@walletconnect/qrcode-modal": "^1.3.0", - "@walletconnect/types": "^1.3.0", - "@walletconnect/utils": "^1.3.0", + "@walletconnect/client": "^1.3.1", + "@walletconnect/http-connection": "^1.3.1", + "@walletconnect/qrcode-modal": "^1.3.1", + "@walletconnect/types": "^1.3.1", + "@walletconnect/utils": "^1.3.1", "web3-provider-engine": "15.0.12" } }, @@ -9826,9 +9826,9 @@ } }, "babel-preset-gatsby": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/babel-preset-gatsby/-/babel-preset-gatsby-0.5.13.tgz", - "integrity": "sha512-k7hbFWQAmmgIIAUOwL/uhZl4Xn07RJpn1GM4p5jjASe9OjFw9ksHaRggtAIpDOuz8LwjzfdMsBjEUujv20qyfA==", + "version": "0.5.14", + "resolved": "https://registry.npmjs.org/babel-preset-gatsby/-/babel-preset-gatsby-0.5.14.tgz", + "integrity": "sha512-9OikT1goJ1SQUPThG3AiRhQDMNiv3KtIXwVe7D+8WNXqIeCgAMWfR29UQNT2rorUiPbpw+PqDjLjh0ZDDRJ8qw==", "requires": { "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", @@ -14532,9 +14532,9 @@ } }, "eslint": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.10.0.tgz", - "integrity": "sha512-BDVffmqWl7JJXqCjAK6lWtcQThZB/aP1HXSH1JKwGwv0LQEdvpR7qzNrUT487RM39B5goWuboFad5ovMBmD8yA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.11.0.tgz", + "integrity": "sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -14547,7 +14547,7 @@ "enquirer": "^2.3.5", "eslint-scope": "^5.1.1", "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^1.3.0", + "eslint-visitor-keys": "^2.0.0", "espree": "^7.3.0", "esquery": "^1.2.0", "esutils": "^2.0.2", @@ -14583,12 +14583,11 @@ "dev": true }, "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -14637,6 +14636,12 @@ "ms": "2.1.2" } }, + "eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "dev": true + }, "espree": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.0.tgz", @@ -14646,6 +14651,14 @@ "acorn": "^7.4.0", "acorn-jsx": "^5.2.0", "eslint-visitor-keys": "^1.3.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } } }, "glob-parent": { @@ -14768,12 +14781,6 @@ "prelude-ls": "^1.2.1" } }, - "v8-compile-cache": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", - "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", - "dev": true - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -15152,9 +15159,18 @@ }, "dependencies": { "emoji-regex": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.0.0.tgz", - "integrity": "sha512-6p1NII1Vm62wni/VR/cUMauVQoxmLVb9csqQlvLz+hO2gk8U2UYDfXHQSUYIBKmZwAKz867IDqG7B+u0mj+M6w==" + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.1.1.tgz", + "integrity": "sha512-AaWyDiNO9rbtMIcGl7tdxMcNu8SOLaDLxmQEFT5JhgKufOJzPPkYmgN2QwqTgw4doWMZZQttC6sUWVQjb+1VdA==" + }, + "jsx-ast-utils": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz", + "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==", + "requires": { + "array-includes": "^3.1.1", + "object.assign": "^4.1.0" + } } } }, @@ -15205,15 +15221,15 @@ "dev": true }, "eslint-plugin-react": { - "version": "7.21.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.3.tgz", - "integrity": "sha512-OI4GwTCqyIb4ipaOEGLWdaOHCXZZydStAsBEPB2e1ZfNM37bojpgO1BoOQbFb0eLVz3QLDx7b+6kYcrxCuJfhw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.4.tgz", + "integrity": "sha512-uHeQ8A0hg0ltNDXFu3qSfFqTNPXm1XithH6/SY318UX76CMj7Q599qWpgmMhVQyvhq36pm7qvoN3pb6/3jsTFg==", "requires": { "array-includes": "^3.1.1", "array.prototype.flatmap": "^1.2.3", "doctrine": "^2.1.0", "has": "^1.0.3", - "jsx-ast-utils": "^2.4.1", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", "object.entries": "^1.1.2", "object.fromentries": "^2.0.2", "object.values": "^1.1.1", @@ -15763,9 +15779,9 @@ } }, "event-source-polyfill": { - "version": "1.0.20", - "resolved": "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-1.0.20.tgz", - "integrity": "sha512-+uOWalBp4xnbtSwKsRfqkVMnx1jPHNjC0PISYBjGJqV8N3YVxnkdm5ZqzO0RCRQvrQy0TFC32+nFcEcA+dZ+gA==" + "version": "1.0.21", + "resolved": "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-1.0.21.tgz", + "integrity": "sha512-Mz8LO8hPgg2X6VcSXmq7gvgFU3kUnTZb4zU3tTYDx8cJHRXP15tjdpGUiP2IUUwOqAGZ1TEfe+KagjMXfFgwLA==" }, "eventemitter3": { "version": "4.0.4", @@ -17083,9 +17099,9 @@ "dev": true }, "gatsby": { - "version": "2.24.73", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-2.24.73.tgz", - "integrity": "sha512-05OVEIl6lf+jcumKyZetc+Wh7UQsDbhH++Rk+PlUjzwg21BBKZFNwIv3Dz+ctCo6JSqrJXI+BmNpNsNYOuview==", + "version": "2.24.76", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-2.24.76.tgz", + "integrity": "sha512-nwr1RY30Wf0ci2RRbsnl71mC3QxZ6E4FGuimo0GWxCWnW0U23VNi1Q2yWJF5LXfwS19R0tKVngECnT2b2XQslg==", "requires": { "@babel/code-frame": "^7.10.4", "@babel/core": "^7.11.6", @@ -17112,7 +17128,7 @@ "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-lodash": "3.3.4", "babel-plugin-remove-graphql-queries": "^2.9.20", - "babel-preset-gatsby": "^0.5.13", + "babel-preset-gatsby": "^0.5.14", "better-opn": "^2.0.0", "better-queue": "^3.8.10", "bluebird": "^3.7.2", @@ -17160,7 +17176,7 @@ "gatsby-link": "^2.4.15", "gatsby-plugin-page-creator": "^2.3.32", "gatsby-plugin-typescript": "^2.4.21", - "gatsby-plugin-utils": "^0.2.27", + "gatsby-plugin-utils": "^0.2.30", "gatsby-react-router-scroll": "^3.0.14", "gatsby-telemetry": "^1.3.38", "glob": "^7.1.6", @@ -17616,9 +17632,9 @@ } }, "hosted-git-info": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.5.tgz", - "integrity": "sha512-i4dpK6xj9BIpVOTboXIlKG9+8HMKggcrMX7WA24xZtKwX0TPelq/rbaS5rCKeNX8sJXZJGdSxpnEGtta+wismQ==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.6.tgz", + "integrity": "sha512-VRvqVD5T6t9HdmNDWTwbi8H/EC722MemAhOSP5QvYAXpDAY0Nhu2I/i+bXsktu4sU5LVHSh/wmXtVU8bDtjedQ==", "requires": { "lru-cache": "^6.0.0" } @@ -17798,6 +17814,11 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" }, + "v8-compile-cache": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz", + "integrity": "sha512-ejdrifsIydN1XDH7EuR2hn8ZrkRKUYF7tUcBjBy/lhrCvs2K+zRlbW9UHc0IQ9RsYFZJFqJrieoIHfkCa0DBRA==" + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -18023,9 +18044,9 @@ } }, "gatsby-plugin-sharp": { - "version": "2.6.40", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.40.tgz", - "integrity": "sha512-8HJMUFCwn70LS2eKttvQiakL+5PXhwthsaWEQnzsoj7C9fTg4gRi3ZtlQfII4kBq1pnhwFo5tQ30PtxtvVu5WA==", + "version": "2.6.42", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.42.tgz", + "integrity": "sha512-uqra+GDLEfE5Kv8Th1lkQKS6FIRwPzwipoWJBogfPLTnl0L3t+ogdEhN8p5d7G6SYoaukuGrix162mbQXqASBA==", "requires": { "@babel/runtime": "^7.11.2", "async": "^3.2.0", @@ -18225,9 +18246,9 @@ } }, "gatsby-plugin-utils": { - "version": "0.2.27", - "resolved": "https://registry.npmjs.org/gatsby-plugin-utils/-/gatsby-plugin-utils-0.2.27.tgz", - "integrity": "sha512-DqYNn9ufyNRapIi68kmPYKQgiwOQiY465ZzmCZMqjL2C0iHRzOhY219COFD2p8bZ/zghj7Cf6LKB2FVehgVJ1g==", + "version": "0.2.30", + "resolved": "https://registry.npmjs.org/gatsby-plugin-utils/-/gatsby-plugin-utils-0.2.30.tgz", + "integrity": "sha512-mLFj1nkCf+3rgfMvDaU0o9lTM8EYZeIxeUibBvpUgH1dHTrXNKhE/1tiz/Ep8xTlJ2fwhrv8n4d7Ux4UWtD8xQ==", "requires": { "joi": "^17.2.1" } @@ -21565,14 +21586,14 @@ } }, "jest": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest/-/jest-26.5.2.tgz", - "integrity": "sha512-4HFabJVwsgDwul/7rhXJ3yFAF/aUkVIXiJWmgFxb+WMdZG39fVvOwYAs8/3r4AlFPc4m/n5sTMtuMbOL3kNtrQ==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.5.3.tgz", + "integrity": "sha512-uJi3FuVSLmkZrWvaDyaVTZGLL8WcfynbRnFXyAHuEtYiSZ+ijDDIMOw1ytmftK+y/+OdAtsG9QrtbF7WIBmOyA==", "dev": true, "requires": { - "@jest/core": "^26.5.2", + "@jest/core": "^26.5.3", "import-local": "^3.0.2", - "jest-cli": "^26.5.2" + "jest-cli": "^26.5.3" }, "dependencies": { "@jest/types": { @@ -21687,12 +21708,12 @@ "dev": true }, "jest-cli": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.5.2.tgz", - "integrity": "sha512-usm48COuUvRp8YEG5OWOaxbSM0my7eHn3QeBWxiGUuFhvkGVBvl1fic4UjC02EAEQtDv8KrNQUXdQTV6ZZBsoA==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.5.3.tgz", + "integrity": "sha512-HkbSvtugpSXBf2660v9FrNVUgxvPkssN8CRGj9gPM8PLhnaa6zziFiCEKQAkQS4uRzseww45o0TR+l6KeRYV9A==", "dev": true, "requires": { - "@jest/core": "^26.5.2", + "@jest/core": "^26.5.3", "@jest/test-result": "^26.5.2", "@jest/types": "^26.5.2", "chalk": "^4.0.0", @@ -21700,9 +21721,9 @@ "graceful-fs": "^4.2.4", "import-local": "^3.0.2", "is-ci": "^2.0.0", - "jest-config": "^26.5.2", + "jest-config": "^26.5.3", "jest-util": "^26.5.2", - "jest-validate": "^26.5.2", + "jest-validate": "^26.5.3", "prompts": "^2.0.1", "yargs": "^15.4.1" } @@ -21910,13 +21931,13 @@ } }, "jest-config": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.5.2.tgz", - "integrity": "sha512-dqJOnSegNdE5yDiuGHsjTM5gec7Z4AcAMHiW+YscbOYJAlb3LEtDSobXCq0or9EmGQI5SFmKy4T7P1FxetJOfg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.5.3.tgz", + "integrity": "sha512-NVhZiIuN0GQM6b6as4CI5FSCyXKxdrx5ACMCcv/7Pf+TeCajJhJc+6dwgdAVPyerUFB9pRBIz3bE7clSrRge/w==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^26.5.2", + "@jest/test-sequencer": "^26.5.3", "@jest/types": "^26.5.2", "babel-jest": "^26.5.2", "chalk": "^4.0.0", @@ -21926,11 +21947,11 @@ "jest-environment-jsdom": "^26.5.2", "jest-environment-node": "^26.5.2", "jest-get-type": "^26.3.0", - "jest-jasmine2": "^26.5.2", + "jest-jasmine2": "^26.5.3", "jest-regex-util": "^26.0.0", "jest-resolve": "^26.5.2", "jest-util": "^26.5.2", - "jest-validate": "^26.5.2", + "jest-validate": "^26.5.3", "micromatch": "^4.0.2", "pretty-format": "^26.5.2" }, @@ -22657,9 +22678,9 @@ } }, "jest-jasmine2": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.5.2.tgz", - "integrity": "sha512-2J+GYcgLVPTkpmvHEj0/IDTIAuyblGNGlyGe4fLfDT2aktEPBYvoxUwFiOmDDxxzuuEAD2uxcYXr0+1Yw4tjFA==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.5.3.tgz", + "integrity": "sha512-nFlZOpnGlNc7y/+UkkeHnvbOM+rLz4wB1AimgI9QhtnqSZte0wYjbAm8hf7TCwXlXgDwZxAXo6z0a2Wzn9FoOg==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", @@ -22670,13 +22691,13 @@ "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^26.5.2", + "expect": "^26.5.3", "is-generator-fn": "^2.0.0", "jest-each": "^26.5.2", "jest-matcher-utils": "^26.5.2", "jest-message-util": "^26.5.2", - "jest-runtime": "^26.5.2", - "jest-snapshot": "^26.5.2", + "jest-runtime": "^26.5.3", + "jest-snapshot": "^26.5.3", "jest-util": "^26.5.2", "pretty-format": "^26.5.2", "throat": "^5.0.0" @@ -22761,9 +22782,9 @@ "dev": true }, "expect": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", - "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.3.tgz", + "integrity": "sha512-kkpOhGRWGOr+TEFUnYAjfGvv35bfP+OlPtqPIJpOCR9DVtv8QV+p8zG0Edqafh80fsjeE+7RBcVUq1xApnYglw==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -22882,9 +22903,9 @@ } }, "jest-snapshot": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.2.tgz", - "integrity": "sha512-MkXIDvEefzDubI/WaDVSRH4xnkuirP/Pz8LhAIDXcVQTmcEfwxywj5LGwBmhz+kAAIldA7XM4l96vbpzltSjqg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.3.tgz", + "integrity": "sha512-ZgAk0Wm0JJ75WS4lGaeRfa0zIgpL0KD595+XmtwlIEMe8j4FaYHyZhP1LNOO+8fXq7HJ3hll54+sFV9X4+CGVw==", "dev": true, "requires": { "@babel/types": "^7.0.0", @@ -22892,7 +22913,7 @@ "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.0.0", "chalk": "^4.0.0", - "expect": "^26.5.2", + "expect": "^26.5.3", "graceful-fs": "^4.2.4", "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", @@ -23522,14 +23543,14 @@ } }, "jest-resolve-dependencies": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.5.2.tgz", - "integrity": "sha512-LLkc8LuRtxqOx0AtX/Npa2C4I23WcIrwUgNtHYXg4owYF/ZDQShcwBAHjYZIFR06+HpQcZ43+kCTMlQ3aDCYTg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.5.3.tgz", + "integrity": "sha512-+KMDeke/BFK+mIQ2IYSyBz010h7zQaVt4Xie6cLqUGChorx66vVeQVv4ErNoMwInnyYHi1Ud73tDS01UbXbfLQ==", "dev": true, "requires": { "@jest/types": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-snapshot": "^26.5.2" + "jest-snapshot": "^26.5.3" }, "dependencies": { "@jest/types": { @@ -23611,9 +23632,9 @@ "dev": true }, "expect": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", - "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.3.tgz", + "integrity": "sha512-kkpOhGRWGOr+TEFUnYAjfGvv35bfP+OlPtqPIJpOCR9DVtv8QV+p8zG0Edqafh80fsjeE+7RBcVUq1xApnYglw==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -23732,9 +23753,9 @@ } }, "jest-snapshot": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.2.tgz", - "integrity": "sha512-MkXIDvEefzDubI/WaDVSRH4xnkuirP/Pz8LhAIDXcVQTmcEfwxywj5LGwBmhz+kAAIldA7XM4l96vbpzltSjqg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.3.tgz", + "integrity": "sha512-ZgAk0Wm0JJ75WS4lGaeRfa0zIgpL0KD595+XmtwlIEMe8j4FaYHyZhP1LNOO+8fXq7HJ3hll54+sFV9X4+CGVw==", "dev": true, "requires": { "@babel/types": "^7.0.0", @@ -23742,7 +23763,7 @@ "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.0.0", "chalk": "^4.0.0", - "expect": "^26.5.2", + "expect": "^26.5.3", "graceful-fs": "^4.2.4", "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", @@ -23865,9 +23886,9 @@ } }, "jest-runner": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.5.2.tgz", - "integrity": "sha512-GKhYxtSX5+tXZsd2QwfkDqPIj5C2HqOdXLRc2x2qYqWE26OJh17xo58/fN/mLhRkO4y6o60ZVloan7Kk5YA6hg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.5.3.tgz", + "integrity": "sha512-qproP0Pq7IIule+263W57k2+8kWCszVJTC9TJWGUz0xJBr+gNiniGXlG8rotd0XxwonD5UiJloYoSO5vbUr5FQ==", "dev": true, "requires": { "@jest/console": "^26.5.2", @@ -23879,13 +23900,13 @@ "emittery": "^0.7.1", "exit": "^0.1.2", "graceful-fs": "^4.2.4", - "jest-config": "^26.5.2", + "jest-config": "^26.5.3", "jest-docblock": "^26.0.0", "jest-haste-map": "^26.5.2", "jest-leak-detector": "^26.5.2", "jest-message-util": "^26.5.2", "jest-resolve": "^26.5.2", - "jest-runtime": "^26.5.2", + "jest-runtime": "^26.5.3", "jest-util": "^26.5.2", "jest-worker": "^26.5.0", "source-map-support": "^0.5.6", @@ -24127,15 +24148,15 @@ } }, "jest-runtime": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.5.2.tgz", - "integrity": "sha512-zArr4DatX/Sn0wswX/AnAuJgmwgAR5rNtrUz36HR8BfMuysHYNq5sDbYHuLC4ICyRdy5ae/KQ+sczxyS9G6Qvw==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.5.3.tgz", + "integrity": "sha512-IDjalmn2s/Tc4GvUwhPHZ0iaXCdMRq5p6taW9P8RpU+FpG01O3+H8z+p3rDCQ9mbyyyviDgxy/LHPLzrIOKBkQ==", "dev": true, "requires": { "@jest/console": "^26.5.2", "@jest/environment": "^26.5.2", "@jest/fake-timers": "^26.5.2", - "@jest/globals": "^26.5.2", + "@jest/globals": "^26.5.3", "@jest/source-map": "^26.5.0", "@jest/test-result": "^26.5.2", "@jest/transform": "^26.5.2", @@ -24146,15 +24167,15 @@ "exit": "^0.1.2", "glob": "^7.1.3", "graceful-fs": "^4.2.4", - "jest-config": "^26.5.2", + "jest-config": "^26.5.3", "jest-haste-map": "^26.5.2", "jest-message-util": "^26.5.2", "jest-mock": "^26.5.2", "jest-regex-util": "^26.0.0", "jest-resolve": "^26.5.2", - "jest-snapshot": "^26.5.2", + "jest-snapshot": "^26.5.3", "jest-util": "^26.5.2", - "jest-validate": "^26.5.2", + "jest-validate": "^26.5.3", "slash": "^3.0.0", "strip-bom": "^4.0.0", "yargs": "^15.4.1" @@ -24279,9 +24300,9 @@ "dev": true }, "expect": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", - "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.3.tgz", + "integrity": "sha512-kkpOhGRWGOr+TEFUnYAjfGvv35bfP+OlPtqPIJpOCR9DVtv8QV+p8zG0Edqafh80fsjeE+7RBcVUq1xApnYglw==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -24406,9 +24427,9 @@ } }, "jest-snapshot": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.2.tgz", - "integrity": "sha512-MkXIDvEefzDubI/WaDVSRH4xnkuirP/Pz8LhAIDXcVQTmcEfwxywj5LGwBmhz+kAAIldA7XM4l96vbpzltSjqg==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.3.tgz", + "integrity": "sha512-ZgAk0Wm0JJ75WS4lGaeRfa0zIgpL0KD595+XmtwlIEMe8j4FaYHyZhP1LNOO+8fXq7HJ3hll54+sFV9X4+CGVw==", "dev": true, "requires": { "@babel/types": "^7.0.0", @@ -24416,7 +24437,7 @@ "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.0.0", "chalk": "^4.0.0", - "expect": "^26.5.2", + "expect": "^26.5.3", "graceful-fs": "^4.2.4", "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", @@ -24862,9 +24883,9 @@ } }, "jest-validate": { - "version": "26.5.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.5.2.tgz", - "integrity": "sha512-FmJks0zY36mp6Af/5sqO6CTL9bNMU45yKCJk3hrz8d2aIqQIlN1pr9HPIwZE8blLaewOla134nt5+xAmWsx3SQ==", + "version": "26.5.3", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.5.3.tgz", + "integrity": "sha512-LX07qKeAtY+lsU0o3IvfDdN5KH9OulEGOMN1sFo6PnEf5/qjS1LZIwNk9blcBeW94pQUI9dLN9FlDYDWI5tyaA==", "dev": true, "requires": { "@jest/types": "^26.5.2", @@ -24913,9 +24934,9 @@ } }, "camelcase": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz", - "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.1.0.tgz", + "integrity": "sha512-WCMml9ivU60+8rEJgELlFp1gxFcEGxwYleE3bziHEDeqsqAWGHdimB7beBFGjLzVNgPGyDsfgXLQEYMpmIFnVQ==", "dev": true }, "chalk": { @@ -25412,12 +25433,12 @@ } }, "jsx-ast-utils": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz", - "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.0.0.tgz", + "integrity": "sha512-sPuicm6EPKYI/UnWpOatvg4pI50qaBo4dSOMGUPutmJ26ttedFKXr0It0XXPk4HKnQ/1X0st4eSS2w2jhFk9Ow==", "requires": { "array-includes": "^3.1.1", - "object.assign": "^4.1.0" + "object.assign": "^4.1.1" } }, "junk": { @@ -27603,9 +27624,9 @@ "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" }, "object-path": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.4.tgz", - "integrity": "sha1-NwrnUvvzfePqcKhhwju6iRVpGUk=" + "version": "0.11.5", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.5.tgz", + "integrity": "sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==" }, "object-visit": { "version": "1.0.1", @@ -29809,9 +29830,9 @@ } }, "react-datepicker": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-3.2.2.tgz", - "integrity": "sha512-/3D6hfhXcCNCbO8LICuQeoNDItWFyitGo+aLcsi0tAyJLtCInamYRwPIXhsEF+N6/qWim1yNyr71mqjj4YEBmg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-3.3.0.tgz", + "integrity": "sha512-QnIlBxDSWEGBi2X5P1BqWzvfnPFRKhtrsgAcujUVwyWeID/VatFaAOEjEjfD1bXR9FuSYVLlLR3j/vbG19hWOA==", "requires": { "classnames": "^2.2.6", "date-fns": "^2.0.1", @@ -35677,14 +35698,15 @@ "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==" }, "v8-compile-cache": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz", - "integrity": "sha512-ejdrifsIydN1XDH7EuR2hn8ZrkRKUYF7tUcBjBy/lhrCvs2K+zRlbW9UHc0IQ9RsYFZJFqJrieoIHfkCa0DBRA==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", + "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", + "dev": true }, "v8-to-istanbul": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-5.0.1.tgz", - "integrity": "sha512-mbDNjuDajqYe3TXFk5qxcQy8L1msXNE37WTlLoqqpBfRsimbNcrlhQlDPntmECEcUvdC+AQ8CyMMf6EUx1r74Q==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-6.0.1.tgz", + "integrity": "sha512-PzM1WlqquhBvsV+Gco6WSFeg1AGdD53ccMRkFeyHRE/KRZaVacPOmQYP3EeVgDBtKD2BJ8kgynBQ5OtKiHCH+w==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.1", @@ -35886,9 +35908,9 @@ }, "dependencies": { "@types/node": { - "version": "12.12.62", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.62.tgz", - "integrity": "sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==" + "version": "12.12.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.67.tgz", + "integrity": "sha512-R48tgL2izApf+9rYNH+3RBMbRpPeW3N8f0I9HMhggeq4UXwBDqumJ14SDs4ctTMhG11pIOduZ4z3QWGOiMc9Vg==" } } }, @@ -36086,9 +36108,9 @@ }, "dependencies": { "@types/node": { - "version": "12.12.62", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.62.tgz", - "integrity": "sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==" + "version": "12.12.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.67.tgz", + "integrity": "sha512-R48tgL2izApf+9rYNH+3RBMbRpPeW3N8f0I9HMhggeq4UXwBDqumJ14SDs4ctTMhG11pIOduZ4z3QWGOiMc9Vg==" } } }, diff --git a/package.json b/package.json index 975e288be..1277c52d7 100644 --- a/package.json +++ b/package.json @@ -22,15 +22,15 @@ "@coingecko/cryptoformat": "^0.4.2", "@loadable/component": "5.13.1", "@oceanprotocol/art": "^3.0.0", - "@oceanprotocol/lib": "^0.5.6", - "@oceanprotocol/react": "^0.1.4", + "@oceanprotocol/lib": "^0.6.0", + "@oceanprotocol/react": "^0.2.0", "@oceanprotocol/typographies": "^0.1.0", "@sindresorhus/slugify": "^1.0.0", "@tippyjs/react": "^4.2.0", - "@toruslabs/torus-embed": "^1.8.5", + "@toruslabs/torus-embed": "^1.8.6", "@types/classnames": "^2.2.10", "@vercel/node": "^1.8.4", - "@walletconnect/web3-provider": "^1.3.0", + "@walletconnect/web3-provider": "^1.3.1", "axios": "^0.20.0", "classnames": "^2.2.6", "date-fns": "^2.16.1", @@ -40,12 +40,12 @@ "ethereum-blockies": "github:MyEtherWallet/blockies", "filesize": "^6.1.0", "formik": "^2.2.0", - "gatsby": "^2.24.73", + "gatsby": "^2.24.76", "gatsby-image": "^2.4.21", "gatsby-plugin-manifest": "^2.4.34", "gatsby-plugin-react-helmet": "^3.3.14", "gatsby-plugin-remove-trailing-slashes": "^2.3.13", - "gatsby-plugin-sharp": "^2.6.40", + "gatsby-plugin-sharp": "^2.6.42", "gatsby-plugin-svgr": "^2.0.2", "gatsby-plugin-webpack-size": "^1.0.0", "gatsby-source-filesystem": "^2.3.34", @@ -60,7 +60,7 @@ "query-string": "^6.13.5", "react": "^16.13.1", "react-data-table-component": "^6.11.5", - "react-datepicker": "^3.2.2", + "react-datepicker": "^3.3.0", "react-dom": "^16.13.1", "react-dotdotdot": "^1.3.1", "react-dropzone": "^11.2.0", @@ -91,7 +91,7 @@ "@types/lodash.debounce": "^4.0.3", "@types/lodash.omit": "^4.5.6", "@types/node": "^14.11.8", - "@types/react": "^16.9.51", + "@types/react": "^16.9.52", "@types/react-datepicker": "^3.1.1", "@types/react-helmet": "^6.1.0", "@types/react-paginate": "^6.2.1", @@ -99,18 +99,18 @@ "@types/remove-markdown": "^0.1.1", "@types/shortid": "0.0.29", "@types/yup": "^0.29.8", - "@typescript-eslint/eslint-plugin": "^4.4.0", - "@typescript-eslint/parser": "^4.4.0", + "@typescript-eslint/eslint-plugin": "^4.4.1", + "@typescript-eslint/parser": "^4.4.1", "babel-loader": "^8.1.0", "babel-preset-react-app": "^9.1.2", - "eslint": "^7.10.0", + "eslint": "^7.11.0", "eslint-config-oceanprotocol": "^1.5.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-react": "^7.21.3", + "eslint-plugin-react": "^7.21.4", "eslint-plugin-react-hooks": "^4.1.2", "identity-obj-proxy": "^3.0.0", - "jest": "^26.5.2", + "jest": "^26.5.3", "prettier": "^2.1.2", "serve": "^11.3.2", "source-map-explorer": "^2.5.0", diff --git a/src/components/organisms/AssetList.tsx b/src/components/organisms/AssetList.tsx index 0bd2b6a50..ae58e148a 100644 --- a/src/components/organisms/AssetList.tsx +++ b/src/components/organisms/AssetList.tsx @@ -1,6 +1,6 @@ import AssetTeaser from '../molecules/AssetTeaser' import React from 'react' -import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatastore/MetadataStore' +import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache' import { useLocation, useNavigate } from '@reach/router' import Pagination from '../molecules/Pagination' import { updateQueryStringParameter } from '../../utils' @@ -57,7 +57,7 @@ const AssetList: React.FC = ({ queryResult }) => { }) ) : (
- No results found in {config.metadataStoreUri} + No results found in {config.metadataCacheUri}
)} diff --git a/src/components/pages/History/PublishedList.tsx b/src/components/pages/History/PublishedList.tsx index 2e8fcf019..6116bdb60 100644 --- a/src/components/pages/History/PublishedList.tsx +++ b/src/components/pages/History/PublishedList.tsx @@ -1,5 +1,5 @@ import { Logger } from '@oceanprotocol/lib' -import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatastore/MetadataStore' +import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache' import { useOcean } from '@oceanprotocol/react' import React, { ReactElement, useEffect, useState } from 'react' import Loader from '../../atoms/Loader' diff --git a/src/components/pages/Home.tsx b/src/components/pages/Home.tsx index 5312de912..9672f2cb5 100644 --- a/src/components/pages/Home.tsx +++ b/src/components/pages/Home.tsx @@ -1,12 +1,12 @@ import React, { ReactElement, useEffect, useState } from 'react' import SearchBar from '../molecules/SearchBar' import styles from './Home.module.css' -import { MetadataStore, Logger } from '@oceanprotocol/lib' +import { MetadataCache, Logger } from '@oceanprotocol/lib' import AssetList from '../organisms/AssetList' import { QueryResult, SearchQuery -} from '@oceanprotocol/lib/dist/node/metadatastore/MetadataStore' +} from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache' import Container from '../atoms/Container' import Loader from '../atoms/Loader' import { useOcean } from '@oceanprotocol/react' @@ -25,10 +25,10 @@ const queryLatest = { sort: { created: -1 } } -async function getAssets(query: SearchQuery, metadataStoreUri: string) { +async function getAssets(query: SearchQuery, metadataCacheUri: string) { try { - const metadataStore = new MetadataStore(metadataStoreUri, Logger) - const result = await metadataStore.queryMetadata(query) + const metadataCache = new MetadataCache(metadataCacheUri, Logger) + const result = await metadataCache.queryMetadata(query) return result } catch (error) { @@ -46,19 +46,19 @@ export default function HomePage(): ReactElement { async function init() { const queryResultHighest = await getAssets( queryHighest, - config.metadataStoreUri + config.metadataCacheUri ) setQueryResultHighest(queryResultHighest) const queryResultLatest = await getAssets( queryLatest, - config.metadataStoreUri + config.metadataCacheUri ) setQueryResultLatest(queryResultLatest) setLoading(false) } init() - }, [config.metadataStoreUri]) + }, [config.metadataCacheUri]) return ( <> diff --git a/src/components/templates/AssetDetails.tsx b/src/components/templates/AssetDetails.tsx index a2568f265..a2a385ce6 100644 --- a/src/components/templates/AssetDetails.tsx +++ b/src/components/templates/AssetDetails.tsx @@ -3,7 +3,7 @@ import { Router } from '@reach/router' import AssetContent from '../../components/organisms/AssetContent' import Layout from '../../components/Layout' import { MetadataMarket } from '../../@types/MetaData' -import { MetadataStore, Logger, DDO } from '@oceanprotocol/lib' +import { MetadataCache, Logger, DDO } from '@oceanprotocol/lib' import Alert from '../../components/atoms/Alert' import Loader from '../../components/atoms/Loader' import { useOcean } from '@oceanprotocol/react' @@ -24,12 +24,12 @@ export default function PageTemplateAssetDetails({ useEffect(() => { async function init() { try { - const metadataStore = new MetadataStore(config.metadataStoreUri, Logger) - const ddo = await metadataStore.retrieveDDO(did) + const metadataCache = new MetadataCache(config.metadataCacheUri, Logger) + const ddo = await metadataCache.retrieveDDO(did) if (!ddo) { setTitle('Could not retrieve asset') - setError('The DDO was not found in MetadataStore.') + setError('The DDO was not found in MetadataCache.') return } @@ -44,7 +44,7 @@ export default function PageTemplateAssetDetails({ } } init() - }, [did, config.metadataStoreUri]) + }, [did, config.metadataCacheUri]) return did && metadata ? ( diff --git a/src/components/templates/Search/index.tsx b/src/components/templates/Search/index.tsx index 54f49dc55..ae7748357 100644 --- a/src/components/templates/Search/index.tsx +++ b/src/components/templates/Search/index.tsx @@ -1,5 +1,5 @@ import React, { ReactElement, useState, useEffect } from 'react' -import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatastore/MetadataStore' +import { QueryResult } from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache' import SearchBar from '../../molecules/SearchBar' import AssetList from '../../organisms/AssetList' import styles from './index.module.css' @@ -28,12 +28,12 @@ export default function SearchPage({ useEffect(() => { async function initSearch() { setLoading(true) - const queryResult = await getResults(parsed, config.metadataStoreUri) + const queryResult = await getResults(parsed, config.metadataCacheUri) setQueryResult(queryResult) setLoading(false) } initSearch() - }, [text, tag, page, config.metadataStoreUri]) + }, [text, tag, page, config.metadataCacheUri]) return (
diff --git a/src/components/templates/Search/utils.ts b/src/components/templates/Search/utils.ts index 28633b587..6f076be2b 100644 --- a/src/components/templates/Search/utils.ts +++ b/src/components/templates/Search/utils.ts @@ -1,8 +1,8 @@ import { SearchQuery, QueryResult -} from '@oceanprotocol/lib/dist/node/metadatastore/MetadataStore' -import { MetadataStore, Logger } from '@oceanprotocol/lib' +} from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache' +import { MetadataCache, Logger } from '@oceanprotocol/lib' export function getSearchQuery( page?: string | string[], @@ -30,12 +30,12 @@ export function getSearchQuery( export async function getResults( params: { text?: string; tag?: string; page?: string; offset?: string }, - metadataStoreUri: string + metadataCacheUri: string ): Promise { const { text, tag, page, offset } = params - const metadataStore = new MetadataStore(metadataStoreUri, Logger) - const queryResult = await metadataStore.queryMetadata( + const metadataCache = new MetadataCache(metadataCacheUri, Logger) + const queryResult = await metadataCache.queryMetadata( getSearchQuery(page, offset, text, tag) ) diff --git a/src/helpers/NetworkMonitor.tsx b/src/helpers/NetworkMonitor.tsx index 9e9935999..8eb2ed173 100644 --- a/src/helpers/NetworkMonitor.tsx +++ b/src/helpers/NetworkMonitor.tsx @@ -5,7 +5,7 @@ import appConfig from '../../app.config' import { Logger } from '@oceanprotocol/lib' export function NetworkMonitor(): ReactElement { - const { metadataStoreUri } = appConfig + const { metadataCacheUri } = appConfig const { connect, web3Provider } = useOcean() useEffect(() => { @@ -16,8 +16,8 @@ export function NetworkMonitor(): ReactElement { const newConfig = { ...initialConfig, - // add metadataStoreUri only when defined - ...(metadataStoreUri && { metadataStoreUri }) + // add metadataCacheUri only when defined + ...(metadataCacheUri && { metadataCacheUri }) } try { @@ -32,7 +32,7 @@ export function NetworkMonitor(): ReactElement { return () => { web3Provider.removeListener('chainChanged', handleNetworkChanged) } - }, [web3Provider, connect, metadataStoreUri]) + }, [web3Provider, connect, metadataCacheUri]) return <> } diff --git a/src/helpers/wrapRootElement.tsx b/src/helpers/wrapRootElement.tsx index 857b1f96d..f8fcfcaba 100644 --- a/src/helpers/wrapRootElement.tsx +++ b/src/helpers/wrapRootElement.tsx @@ -24,13 +24,13 @@ export default function wrapRootElement({ }: { element: ReactElement }): ReactElement { - const { metadataStoreUri, network } = appConfig + const { metadataCacheUri, network } = appConfig const oceanInitialConfig = getOceanConfig(network) const initialConfig = { ...oceanInitialConfig, - // add metadataStoreUri only when defined - ...(metadataStoreUri && { metadataStoreUri }) + // add metadataCacheUri only when defined + ...(metadataCacheUri && { metadataCacheUri }) } return ( diff --git a/tests/unit/__mocks__/@oceanprotocol/lib.ts b/tests/unit/__mocks__/@oceanprotocol/lib.ts index f939f5acb..580c60a1b 100644 --- a/tests/unit/__mocks__/@oceanprotocol/lib.ts +++ b/tests/unit/__mocks__/@oceanprotocol/lib.ts @@ -1,6 +1,6 @@ import ddo from '../../__fixtures__/ddo' -const metadataStore = { +const metadataCache = { queryMetadata: () => { return { results: [] as any[], @@ -11,13 +11,13 @@ const metadataStore = { } const libMock = { - MetadataStore: () => metadataStore, + MetadataStore: () => metadataCache, DDO: () => ddo, ocean: { accounts: { list: () => ['xxx', 'xxx'] }, - metadataStore, + metadataCache, // compute: { // status: (account: string) => { // return [job]