From daa5b7f385f8e0e87783376ddb78451f49d5a0d1 Mon Sep 17 00:00:00 2001 From: gagdiez Date: Fri, 4 Oct 2024 17:24:27 +0200 Subject: [PATCH] fix: general fixes --- .github/workflows/build-docs.yml | 1 - .github/workflows/translation.yml | 1 + .../2.smart-contracts/anatomy/collections.md | 14 +- website/package.json | 11 +- website/src/theme/Root.js | 7 - website/src/theme/scripts/rudderstack.js | 153 --------------- website/yarn.lock | 181 +++--------------- 7 files changed, 37 insertions(+), 331 deletions(-) delete mode 100644 website/src/theme/scripts/rudderstack.js diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index ac85750b750..b9cae52678f 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -49,7 +49,6 @@ jobs: run: | cd website yarn - yarn crowdin:upload yarn build - name: Commit build diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index 6030a7a3d1f..2f6e1c57238 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -40,6 +40,7 @@ jobs: run: | cd website yarn + yarn crowdin:upload yarn crowdin:download yarn build diff --git a/docs/2.build/2.smart-contracts/anatomy/collections.md b/docs/2.build/2.smart-contracts/anatomy/collections.md index 08c8c6a43d9..a36b2e9c199 100644 --- a/docs/2.build/2.smart-contracts/anatomy/collections.md +++ b/docs/2.build/2.smart-contracts/anatomy/collections.md @@ -15,25 +15,21 @@ You can choose between two types of collections: Understanding how the contract stores and loads both types of collections is crucial to decide which one to use. -
- - Native vs SDK Collections +:::tip Native vs SDK Collections Use native collections for small amounts of data that need to be accessed all together, and SDK collections for large amounts of data that do not need to be accessed all together. -If your collection has up to 100 entries, it's acceptable to use the native collection, as it might be simpler since you don't have to manage prefixes as we do with SDK collections. - -However, if your collection has 1,000 or more entries, it's better to use SDK collection. [This user test](https://github.com/volodymyr-matselyukh/near-benchmarking) shows that running the `contains` method on a native `HashSet i32` consumes 41% more gas compared to SDK `IterableSet i32`. +If your collection has up to 100 entries, it's acceptable to use the native collection. For larger ones, prefer to use SDK collection. For comparison please refer to [this benchmark](https://www.github.com/volodymyr-matselyukh/near-benchmarking). -
+:::
- How the State is Handled + How the State is Handled Each time the contract is executed, the first thing it will do is to read the values and [deserialize](./serialization.md) them into memory, and after the function finishes, it will [serialize](./serialization.md) and write the values back to the database. -That means the contract will load your native collections fully into memory before the contract's method execution. The method you invoke may not even use the loaded collection. This will have impact on GAS you spend for methods in your contract. So, using native collection which will have more than 100 entries as the top level property of your contract is a bad practice. +For native collections, the contract will fully load the collection into memory before all methods execution. The method you invoke may not even use the loaded collection. Know that this will have impact on GAS you spend for methods in your contract.
diff --git a/website/package.json b/website/package.json index f4fb789f704..ec9a2ef068c 100644 --- a/website/package.json +++ b/website/package.json @@ -31,18 +31,13 @@ "wait-on": "^5.2.0" }, "dependencies": { - "@crowdin/cli": "^4.1.1", + "@crowdin/cli": "^4.2.0", "@docusaurus/core": "^3.5.2", "@docusaurus/plugin-ideal-image": "^3.5.2", "@docusaurus/plugin-sitemap": "^3.5.2", "@docusaurus/preset-classic": "^3.5.2", "@docusaurus/theme-mermaid": "^3.5.2", "@feelback/react": "^0.3.4", - "@near-wallet-selector/core": "^8.5.1", - "@near-wallet-selector/here-wallet": "^8.5.1", - "@near-wallet-selector/modal-ui": "^8.5.1", - "@near-wallet-selector/my-near-wallet": "^8.5.1", - "@rudderstack/analytics-js": "^3.0.0-beta.20", "@saucelabs/theme-github-codeblock": "^0.2.3", "axios": "^1.7.4", "bootstrap": "^5.3.2", @@ -62,9 +57,7 @@ "react-dom": "^18.2.0", "react-is": "^18.2.0", "react-monaco-editor": "^0.54.0", - "rxjs": "^7.8.1", "sass": "^1.69.5", - "url": "^0.11.3", - "zustand": "^4.4.4" + "url": "^0.11.3" } } diff --git a/website/src/theme/Root.js b/website/src/theme/Root.js index ebfa971a798..658a5721023 100644 --- a/website/src/theme/Root.js +++ b/website/src/theme/Root.js @@ -1,6 +1,3 @@ -// https://docusaurus.io/docs/swizzling#wrapper-your-site-with-root -import '@near-wallet-selector/modal-ui/styles.css'; - import React, { useEffect } from 'react'; import Gleap from "gleap"; // See https://gleap.io/docs/javascript/ and https://app.gleap.io/projects/62697858a4f6850036ae2e6a/widget import { withRouter } from 'react-router-dom'; @@ -26,13 +23,9 @@ function Root({ children, location }) { useEffect(() => { if (isBrowser) { - const { initRudderAnalytics, recordPageView } = require('./scripts/rudderstack'); Gleap.initialize('K2v3kvAJ5XtPzNYSgk4Ulpe5ptgBkIMv'); - const rudderAnalytics = initRudderAnalytics(); - recordPageView(rudderAnalytics, location.pathname); - // Initialize PostHog posthog.init(customFields.REACT_APP_PUBLIC_POSTHOG_KEY, { api_host: customFields.REACT_APP_PUBLIC_POSTHOG_HOST, diff --git a/website/src/theme/scripts/rudderstack.js b/website/src/theme/scripts/rudderstack.js deleted file mode 100644 index 5bf97ea7fe4..00000000000 --- a/website/src/theme/scripts/rudderstack.js +++ /dev/null @@ -1,153 +0,0 @@ -import { nanoid } from 'nanoid'; -import { createHash } from 'crypto'; -import { get, split, truncate } from 'lodash'; -import { RudderAnalytics } from '@rudderstack/analytics-js'; - -export function initRudderAnalytics() { - const rudderAnalytics = new RudderAnalytics(); - window.rudderanalytics = rudderAnalytics; - rudderAnalytics.load("2bP8Ev07SiL1ABLXhcru4JZQ5Uh", "https://near.dataplane.rudderstack.com", {}); - rudderAnalytics.setAnonymousId(getAnonymousId()); - return rudderAnalytics; -} - -export function recordPageView(rudderAnalytics, pageName) { - if(pageName === '/') return; - if(!rudderAnalytics) return; - - // pageName should be /category/page and never contain ? or # - // but just in case we split on ? and # - const split = pageName.split('?')[0].split('#')[0].split('/'); - const category = split[1]; - const page = split.slice(2).join('/'); - try { - rudderAnalytics.page(category, page, { - hashId: localStorage.getItem('hashId') || '', - url: filterURL(window.location.href), - ref: filterURL(document.referrer), - }); - } catch (e) { } // Silent error -} - -// let rudderAnalytics = null; -// let hashId = ''; -// let pendingEvents = []; - -// export function setAccountIdHash(accountId) { -// const hash = createHash('sha512'); -// hash.update(accountId); -// hashId = hash.digest('hex'); -// localStorage.setItem('hashId', hashId); -// } - -export function getAnonymousId() { - const storageId = localStorage.getItem('anonymousUserId'); - - if (storageId) { - console.log("Existing storageId", storageId); - return storageId; - } - - console.log("Creating new storageId"); - const anonymousUserId = nanoid(); - const anonymousUserIdCreatedAt = new Date().toUTCString(); - localStorage.setItem('anonymousUserId', anonymousUserId); - localStorage.setItem('anonymousUserIdCreatedAt', anonymousUserIdCreatedAt); - - return anonymousUserId; -} - -function isStringAllowed(str) { - const denyList = ['account_id', 'public_key', 'all_keys', 'publicKey', 'apiKey', 'accountId', 'email']; - return !str || !denyList.some((param) => str.indexOf(param) !== -1); -} - -function filterURL(url) { - const [urlTrim, params] = split(url, '?'); - return isStringAllowed(params) ? url : urlTrim; -} - - -// const record = (eventType, e) => { -// const key = get(e.target, 'placeholder', get(e.target, 'innerText', get(e.target, 'href'))); -// recordEventWithProps(eventType, { -// element: truncate(key, { length: 255 }), -// url: e.target ? filterURL(e.target.baseURI) : '', -// xPath: getXPath(e.target), -// componentSrc: getComponentName(e.target), -// }); -// }; - -// export const recordClick = (e) => record('click', e); -// export const recordMouseEnter = (e) => record('mouseover', e); -// export const recordTouchStart = (e) => record('touchstart', e); - -// export function recordWalletConnect(accountId) { -// if (!localStorage.getItem('hashId')) { -// setAccountIdHash(accountId); -// recordEvent('wallet-connected'); -// } -// } - -// export function reset() { -// if (!rudderAnalytics) return; -// try { -// recordEvent('wallet-logout'); -// localStorage.removeItem('hashId'); -// localStorage.removeItem('anonymousUserId'); -// localStorage.removeItem('anonymousUserIdCreatedAt'); -// rudderAnalytics.reset(); -// } catch (e) { -// console.error(e); -// } -// } - -// export function recordEventWithProps(eventLabel, properties) { -// if (!rudderAnalytics) return; -// try { -// rudderAnalytics.track(eventLabel, { -// ...properties, -// hashId: localStorage.getItem('hashId'), -// anonymousUserIdCreatedAt, -// }); -// } catch (e) { -// console.error(e); -// } -// } - -// export function recordEvent(eventLabel) { -// if (!rudderAnalytics) return; -// try { -// rudderAnalytics.track(eventLabel, { -// hashId: localStorage.getItem('hashId'), -// url: window.location.href, -// anonymousUserIdCreatedAt, -// }); -// } catch (e) { -// console.error(e); -// } -// } - -// function getComponentName(element) { -// if (!element) return ''; -// if (element.hasAttribute('data-component')) return element.getAttribute('data-component') || ''; -// return ''; -// } - -// function getXPath(element) { -// if (!element) return ''; -// if (element.id !== '') return 'id("' + element.id + '")'; -// if (element === document.body) return element.tagName; - -// let ix = 0; -// const siblings = element.parentNode?.children; -// if (!siblings) return ''; - -// for (let i = 0; i < siblings.length; i++) { -// const sibling = siblings[i]; -// if (sibling === element) return getXPath(element.parentElement) + '/' + element.tagName + '[' + (ix + 1) + ']'; -// if (sibling.nodeType === 1 && sibling.tagName === element.tagName) ix++; -// } - -// return ''; -// } \ No newline at end of file diff --git a/website/yarn.lock b/website/yarn.lock index d961a28cf1e..7d68c1bd6f0 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -1933,10 +1933,10 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@crowdin/cli@^4.1.1": - version "4.1.1" - resolved "https://registry.yarnpkg.com/@crowdin/cli/-/cli-4.1.1.tgz#1a2067e79a53639920121870ae488a38dd2513ff" - integrity sha512-OC5xJgaXM9eC9UgiAV17HZrCDP1gM1gs2yMdSRFjM6ydu9LddybntMKgWU3ffRHjCjK6wDTrC31jo932Czrs+A== +"@crowdin/cli@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@crowdin/cli/-/cli-4.2.0.tgz#93a5ed79f5e2b05ecb1e0ffeddeadda9b5438d98" + integrity sha512-2RbZhITZJL9fMvHyElrk6EY1heAls127o/UgeE+Yp7EqvvkpeEdNTsiGf02s19yw5OFmFZlnPGIwfI2xLWtJdw== dependencies: command-exists-promise "^2.0.2" node-fetch "2.7.0" @@ -2861,14 +2861,6 @@ dependencies: "@hapi/hoek" "^9.0.0" -"@here-wallet/core@1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@here-wallet/core/-/core-1.5.1.tgz#618db9de547bfaed5229100002357663fcee5d77" - integrity sha512-gCzB27k0QfviyJQUhxqX3kAH3g3mRHb6B5RJdUhX9tTsLlPW6AMV/PJiYBudPCt0EeyeyU4i8kEh223ACHXOjw== - dependencies: - sha1 "^1.1.1" - uuid4 "2.0.3" - "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -3123,52 +3115,6 @@ bn.js "5.2.1" borsh "^0.7.0" -"@near-wallet-selector/core@8.9.1", "@near-wallet-selector/core@^8.5.1": - version "8.9.1" - resolved "https://registry.yarnpkg.com/@near-wallet-selector/core/-/core-8.9.1.tgz#7d4de41ff18cde6530d0153e8335d5e366c07452" - integrity sha512-EY8PmKyNoW/pWsZFZM9V2sluSMn1DPQ8PDj+veiOCbuMP2USJ5j9qxJd1iJy07JbmI/40EuCA6IAZ6SbukzaUQ== - dependencies: - borsh "0.7.0" - events "3.3.0" - js-sha256 "0.9.0" - rxjs "7.8.1" - -"@near-wallet-selector/here-wallet@^8.5.1": - version "8.9.1" - resolved "https://registry.yarnpkg.com/@near-wallet-selector/here-wallet/-/here-wallet-8.9.1.tgz#85c5599d2b25062a2c6127ea6a544b16a57f9dc2" - integrity sha512-jSKb1z7JEPEK4RHHKNWaasMxAc39bD8TOMt2MdcFmxMPxvYuB14RqyrBx18dwZmzR+kZVbrY2AmKzxxec+56KA== - dependencies: - "@here-wallet/core" "1.5.1" - "@near-wallet-selector/core" "8.9.1" - bn.js "5.2.1" - -"@near-wallet-selector/modal-ui@^8.5.1": - version "8.9.1" - resolved "https://registry.yarnpkg.com/@near-wallet-selector/modal-ui/-/modal-ui-8.9.1.tgz#0e2b82dcdf8e9fd5b04037b0824dc02ec8c6dca7" - integrity sha512-JJxtWu+uELVG2YeeLWPT5pJC+62x7coFCbwrQ/oNCP9ZY37YFsifaZDjyY+6/EecogKD8TanzHIpR+q3JTFU6A== - dependencies: - "@near-wallet-selector/core" "8.9.1" - copy-to-clipboard "3.3.3" - qrcode "1.5.3" - react "18.2.0" - react-dom "18.2.0" - -"@near-wallet-selector/my-near-wallet@^8.5.1": - version "8.9.1" - resolved "https://registry.yarnpkg.com/@near-wallet-selector/my-near-wallet/-/my-near-wallet-8.9.1.tgz#fb65bb40444f5a7ee795516ecfc70446ff5e6c9f" - integrity sha512-gxnkCqdnG2j4X+5e0AJH6wwLOHbLmIidlYz+XMHXvuXw7CWHpYjtl1Xzlcm2B06Rv6F0veeEFBYWMYzltbqyqA== - dependencies: - "@near-wallet-selector/core" "8.9.1" - "@near-wallet-selector/wallet-utils" "8.9.1" - -"@near-wallet-selector/wallet-utils@8.9.1": - version "8.9.1" - resolved "https://registry.yarnpkg.com/@near-wallet-selector/wallet-utils/-/wallet-utils-8.9.1.tgz#69087d180a85b7fcd5325970f456946aee4776cb" - integrity sha512-T7KXOLfeFXc+LL3hMvmqBEVB4LhlQD4l8VSNM+AuaZIBAg16gPbT1Q1580oH6kH3SILogvIjIDetLIVtdhGi7w== - dependencies: - "@near-wallet-selector/core" "8.9.1" - bn.js "5.2.1" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -3963,11 +3909,6 @@ uncontrollable "^8.0.1" warning "^4.0.3" -"@rudderstack/analytics-js@^3.0.0-beta.20": - version "3.0.0-beta.20" - resolved "https://registry.yarnpkg.com/@rudderstack/analytics-js/-/analytics-js-3.0.0-beta.20.tgz#d3897ccd4eb5205fbca0b81ddb1b5bbdbf0e2508" - integrity sha512-/G2ed7DMUua3hdY5m5Mxms4m/LHO5Gj0w1R1pcYG60I4BaMnFrlUYx/9x9wmNY38uj2HK6mxYvkpNoKv5NvQvQ== - "@saucelabs/theme-github-codeblock@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@saucelabs/theme-github-codeblock/-/theme-github-codeblock-0.2.3.tgz#706a43292f600532271979941b0155db667c2c21" @@ -4756,7 +4697,7 @@ ajv@^6.12.2, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.11.2, ajv@^8.9.0: +ajv@^8.0.0, ajv@^8.9.0: version "8.12.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== @@ -4766,6 +4707,16 @@ ajv@^8.0.0, ajv@^8.11.2, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" +ajv@^8.11.2: + version "8.17.1" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6" + integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g== + dependencies: + fast-deep-equal "^3.1.3" + fast-uri "^3.0.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + algoliasearch-helper@^3.13.3: version "3.16.1" resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-3.16.1.tgz#421e3554ec86e14e60e7e0bf796aef61cf4a06ec" @@ -5071,9 +5022,9 @@ balanced-match@^1.0.0: integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== base-x@^3.0.2: - version "3.0.9" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" - integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + version "3.0.10" + resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.10.tgz#62de58653f8762b5d6f8d9fe30fa75f7b2585a75" + integrity sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ== dependencies: safe-buffer "^5.0.1" @@ -5167,7 +5118,7 @@ bootstrap@^5.2.1, bootstrap@^5.3.2: resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.2.tgz#97226583f27aae93b2b28ab23f4c114757ff16ae" integrity sha512-D32nmNWiQHo94BKHLmOrdjlL05q1c8oxbtBphQFb9Z5to6eGRDCm0QgeaZ4zFBHzfg2++rqa2JkqCcxDy0sH0g== -borsh@0.7.0, borsh@^0.7.0: +borsh@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.7.0.tgz#6e9560d719d86d90dc589bca60ffc8a6c51fec2a" integrity sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA== @@ -5540,11 +5491,6 @@ character-reference-invalid@^2.0.0: resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" integrity sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw== -"charenc@>= 0.0.1": - version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== - cheerio-select@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4" @@ -5942,13 +5888,6 @@ copy-text-to-clipboard@^3.2.0: resolved "https://registry.yarnpkg.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz#0202b2d9bdae30a49a53f898626dcc3b49ad960b" integrity sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q== -copy-to-clipboard@3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" - integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== - dependencies: - toggle-selection "^1.0.6" - copy-webpack-plugin@^11.0.0: version "11.0.0" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz#96d4dbdb5f73d02dd72d0528d1958721ab72e04a" @@ -6074,11 +6013,6 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -"crypt@>= 0.0.1": - version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== - crypto-browserify@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -6796,11 +6730,6 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" -dijkstrajs@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz#4c8dbdea1f0f6478bff94d9c49c784d623e4fc23" - integrity sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA== - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -6995,11 +6924,6 @@ emoticon@^4.0.1: resolved "https://registry.yarnpkg.com/emoticon/-/emoticon-4.0.1.tgz#2d2bbbf231ce3a5909e185bbb64a9da703a1e749" integrity sha512-dqx7eA9YaqyvYtUhJwT4rC1HIp82j5ybS1/vQ42ur+jBe17dJMwZE4+gvL1XadSFfxaPFFGt3Xsw+Y8akThDlw== -encode-utf8@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/encode-utf8/-/encode-utf8-1.0.3.tgz#f30fdd31da07fb596f281beb2f6b027851994cda" - integrity sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw== - encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -7244,7 +7168,7 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@3.3.0, events@^3.2.0: +events@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -7383,6 +7307,11 @@ fast-json-stable-stringify@^2.0.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== +fast-uri@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.2.tgz#d78b298cf70fd3b752fd951175a3da6a7b48f024" + integrity sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row== + fast-url-parser@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" @@ -8847,7 +8776,7 @@ joi@^17.3.0, joi@^17.9.2: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" -js-sha256@0.9.0, js-sha256@^0.9.0: +js-sha256@^0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966" integrity sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA== @@ -11073,11 +11002,6 @@ pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -pngjs@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" - integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== - postcss-calc@^9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-9.0.1.tgz#a744fd592438a93d6de0f1434c572670361eb6c6" @@ -11566,16 +11490,6 @@ pupa@^3.1.0: dependencies: escape-goat "^4.0.0" -qrcode@1.5.3: - version "1.5.3" - resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" - integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== - dependencies: - dijkstrajs "^1.0.1" - encode-utf8 "^1.0.3" - pngjs "^5.0.0" - yargs "^15.3.1" - qs@6.11.0: version "6.11.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" @@ -11723,7 +11637,7 @@ react-dev-utils@^12.0.1: strip-ansi "^6.0.1" text-table "^0.2.0" -react-dom@18.2.0, react-dom@^18.2.0: +react-dom@^18.2.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -11972,7 +11886,7 @@ react-waypoint@^10.3.0: prop-types "^15.0.0" react-is "^17.0.1 || ^18.0.0" -react@18.2.0, react@^18.2.0: +react@^18.2.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== @@ -12390,13 +12304,6 @@ rw@1: resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4" integrity sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ== -rxjs@7.8.1, rxjs@^7.8.1: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - rxjs@^6.5.2, rxjs@^6.6.3: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" @@ -12677,14 +12584,6 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -sha1@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/sha1/-/sha1-1.1.1.tgz#addaa7a93168f393f19eb2b15091618e2700f848" - integrity sha512-dZBS6OrMjtgVkopB1Gmo4RQCDKiZsqcpAQpkV/aaj+FCrCg8r4I4qMkDPQjBgLIxlmu9k4nUbWq6ohXahOneYA== - dependencies: - charenc ">= 0.0.1" - crypt ">= 0.0.1" - shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -13364,11 +13263,6 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -toggle-selection@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" - integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== - toidentifier@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" @@ -13730,11 +13624,6 @@ use-sidecar@^1.1.2: detect-node-es "^1.1.0" tslib "^2.0.0" -use-sync-external-store@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" - integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== - util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -13755,11 +13644,6 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== -uuid4@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/uuid4/-/uuid4-2.0.3.tgz#241e5dfe1704a79c52e2aa40e7e581a5e7b01ab4" - integrity sha512-CTpAkEVXMNJl2ojgtpLXHgz23dh8z81u6/HEPiQFOvBc/c2pde6TVHmH4uwY0d/GLF3tb7+VDAj4+2eJaQSdZQ== - uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" @@ -14251,7 +14135,7 @@ yargs@^13.3.0: y18n "^4.0.0" yargs-parser "^13.1.2" -yargs@^15.0.2, yargs@^15.3.1: +yargs@^15.0.2: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== @@ -14286,13 +14170,6 @@ yocto-queue@^1.0.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== -zustand@^4.4.4: - version "4.4.7" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c" - integrity sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw== - dependencies: - use-sync-external-store "1.2.0" - zwitch@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7"