diff --git a/packages/api/babel.config.js b/packages/api/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/api/babel.config.js +++ b/packages/api/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/api/package.json b/packages/api/package.json index f7c97ae9b0..c5266ce4c5 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -139,44 +139,44 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", "axios": "^1.5.0", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", + "typescript": "5.0.4", "zod": "^3.22.1" }, "peerDependencies": { diff --git a/packages/claim/babel.config.js b/packages/claim/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/claim/babel.config.js +++ b/packages/claim/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/claim/package.json b/packages/claim/package.json index a40cededad..aa9ede3d18 100644 --- a/packages/claim/package.json +++ b/packages/claim/package.json @@ -145,44 +145,46 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/common": "^1.5.4", "@yoroi/portfolio": "1.0.3", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/common": "1.5.4", diff --git a/packages/common/babel.config.js b/packages/common/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/common/babel.config.js +++ b/packages/common/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/common/package.json b/packages/common/package.json index b17061b56e..06ed3fcb02 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -137,48 +137,48 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", "axios": "^1.5.0", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.3", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-native-mmkv": "^2.11.0", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", "rxjs": "^7.8.1", + "typescript": "5.0.4", "zod": "^3.22.1" }, "peerDependencies": { diff --git a/packages/common/src/translators/reactjs/hooks/useMutationWithInvalidations.test.tsx b/packages/common/src/translators/reactjs/hooks/useMutationWithInvalidations.test.tsx index 8d119fb7cf..142b7f25d3 100644 --- a/packages/common/src/translators/reactjs/hooks/useMutationWithInvalidations.test.tsx +++ b/packages/common/src/translators/reactjs/hooks/useMutationWithInvalidations.test.tsx @@ -1,7 +1,8 @@ import {useMutationWithInvalidations} from './useMutationWithInvalidations' import {QueryClient, QueryClientProvider} from 'react-query' import React, {PropsWithChildren} from 'react' -import {act, renderHook, waitFor} from '@testing-library/react-native' +import {waitFor} from '@testing-library/react-native' +import {renderHook} from '@testing-library/react-hooks' const mutationFn = () => Promise.resolve(true) @@ -18,9 +19,7 @@ describe('useMutationWithInvalidations', () => { {wrapper}, ) - await act(async () => { - result.current.mutate(undefined) - }) + result.current.mutate(undefined) await waitFor(() => result.current.isSuccess) diff --git a/packages/dapp-connector/babel.config.js b/packages/dapp-connector/babel.config.js index cf1f9fbbc1..3e0218e68f 100644 --- a/packages/dapp-connector/babel.config.js +++ b/packages/dapp-connector/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], } diff --git a/packages/dapp-connector/package.json b/packages/dapp-connector/package.json index bb2c19d8bd..8414fd5b39 100644 --- a/packages/dapp-connector/package.json +++ b/packages/dapp-connector/package.json @@ -146,45 +146,46 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@emurgo/cross-csl-nodejs": "5.1.0-beta.1", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.20.4", "react-native-mmkv": "^2.11.0", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "bignumber.js": "^9.0.1" diff --git a/packages/exchange/babel.config.js b/packages/exchange/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/exchange/babel.config.js +++ b/packages/exchange/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/exchange/package.json b/packages/exchange/package.json index 3fe56c7fc0..696723a9de 100644 --- a/packages/exchange/package.json +++ b/packages/exchange/package.json @@ -132,42 +132,44 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", "axios": "^1.5.0", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", + "typescript": "5.0.4", "zod": "^3.22.4" }, "peerDependencies": { diff --git a/packages/explorers/babel.config.js b/packages/explorers/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/explorers/babel.config.js +++ b/packages/explorers/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/explorers/package.json b/packages/explorers/package.json index e552c1f802..7721a56a22 100644 --- a/packages/explorers/package.json +++ b/packages/explorers/package.json @@ -139,41 +139,43 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-native-mmkv": "^2.11.0", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", - "rxjs": "^7.8.1" + "rxjs": "^7.8.1", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/common": "1.5.4", diff --git a/packages/identicon/babel.config.js b/packages/identicon/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/identicon/babel.config.js +++ b/packages/identicon/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/identicon/package.json b/packages/identicon/package.json index cdc1644665..b5a867c614 100644 --- a/packages/identicon/package.json +++ b/packages/identicon/package.json @@ -145,48 +145,48 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", "@types/mersenne-twister": "^1.1.7", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@types/tinycolor2": "^1.4.6", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "immer": "^10.0.2" }, "optionalDependencies": { - "@react-native-async-storage/async-storage": "^1.19.3", - "react": "< 19.0.0" + "react": "18.2.0" }, "packageManager": "yarn@1.22.21", "engines": { diff --git a/packages/links/babel.config.js b/packages/links/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/links/babel.config.js +++ b/packages/links/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/links/package.json b/packages/links/package.json index 28baf93b01..68f454e989 100644 --- a/packages/links/package.json +++ b/packages/links/package.json @@ -140,40 +140,42 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", + "typescript": "5.0.4", "zod": "^3.22.2" }, "peerDependencies": { @@ -182,7 +184,7 @@ "zod": "^3.22.2" }, "optionalDependencies": { - "react": "< 19.0.0" + "react": "18.2.0" }, "packageManager": "yarn@1.22.21", "engines": { diff --git a/packages/notifications/babel.config.js b/packages/notifications/babel.config.js index cf1f9fbbc1..3e0218e68f 100644 --- a/packages/notifications/babel.config.js +++ b/packages/notifications/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], } diff --git a/packages/notifications/jest.setup.js b/packages/notifications/jest.setup.js index 649e715b87..fa4cd455dd 100644 --- a/packages/notifications/jest.setup.js +++ b/packages/notifications/jest.setup.js @@ -2,6 +2,4 @@ jest.mock('@react-native-async-storage/async-storage', () => require('@react-native-async-storage/async-storage/jest/async-storage-mock'), ) -jest.mock('react-native-randombytes', () => require('crypto').randomBytes) - jest.setTimeout(30000) diff --git a/packages/notifications/package.json b/packages/notifications/package.json index f7e00b9bbb..b1f92ec668 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -133,47 +133,47 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/blake2b": "^2.1.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/common": "1.5.4", "@yoroi/types": "1.5.8", "axios": "^1.5.0", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/common": "1.5.4", diff --git a/packages/portfolio/babel.config.js b/packages/portfolio/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/portfolio/babel.config.js +++ b/packages/portfolio/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/portfolio/package.json b/packages/portfolio/package.json index 8acc60fea8..9675e37d90 100644 --- a/packages/portfolio/package.json +++ b/packages/portfolio/package.json @@ -139,42 +139,44 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-native-mmkv": "^2.11.0", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", - "rxjs": "^7.8.1" + "rxjs": "^7.8.1", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/api": "1.5.2", diff --git a/packages/portfolio/src/adapters/mmkv-storage/token-storage-maker.test.ts b/packages/portfolio/src/adapters/mmkv-storage/token-storage-maker.test.ts index 76b7039262..4ebdd918a6 100644 --- a/packages/portfolio/src/adapters/mmkv-storage/token-storage-maker.test.ts +++ b/packages/portfolio/src/adapters/mmkv-storage/token-storage-maker.test.ts @@ -41,7 +41,7 @@ describe('portfolioTokenStorageMaker', () => { cacheRecordMaker({expires: 0, hash: ''}, nftCryptoKitty), ], [primaryETH.id, cacheRecordMaker({expires: 0, hash: ''}, primaryETH)], - ] as const + ] token.infos.save(entries) @@ -67,7 +67,7 @@ describe('portfolioTokenStorageMaker', () => { cacheRecordMaker({expires: 0, hash: ''}, nftCryptoKitty), ], [primaryETH.id, cacheRecordMaker({expires: 0, hash: ''}, primaryETH)], - ] as const + ] token.infos.save(entries) diff --git a/packages/resolver/babel.config.js b/packages/resolver/babel.config.js index cf1f9fbbc1..3e0218e68f 100644 --- a/packages/resolver/babel.config.js +++ b/packages/resolver/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], } diff --git a/packages/resolver/package.json b/packages/resolver/package.json index a37ba7323c..b2e6371460 100644 --- a/packages/resolver/package.json +++ b/packages/resolver/package.json @@ -147,41 +147,43 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/types": "1.5.8", "axios": "^1.5.0", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "metro-react-native-babel-preset": "0.73.9", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", + "react-test-renderer": "18.2.0", "release-it": "^15.0.0", + "typescript": "5.0.4", "zod": "^3.22.2" }, "peerDependencies": { diff --git a/packages/resolver/src/adapters/api.ts b/packages/resolver/src/adapters/api.ts index 9ab1eff6f7..bee350f0f2 100644 --- a/packages/resolver/src/adapters/api.ts +++ b/packages/resolver/src/adapters/api.ts @@ -63,7 +63,7 @@ export const resolverApiMaker = ( [Resolver.NameServer.Handle, getHandleCryptoAddress], [Resolver.NameServer.Unstoppable, getUnstoppableCryptoAddress], [Resolver.NameServer.Cns, getCnsCryptoAddress], - ] as const + ] // facade to the different name servers const getCardanoAddresses = async ( diff --git a/packages/setup-wallet/babel.config.js b/packages/setup-wallet/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/setup-wallet/babel.config.js +++ b/packages/setup-wallet/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/staking/babel.config.js b/packages/staking/babel.config.js index cf1f9fbbc1..3e0218e68f 100644 --- a/packages/staking/babel.config.js +++ b/packages/staking/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], } diff --git a/packages/staking/jest.setup.js b/packages/staking/jest.setup.js index 649e715b87..fa4cd455dd 100644 --- a/packages/staking/jest.setup.js +++ b/packages/staking/jest.setup.js @@ -2,6 +2,4 @@ jest.mock('@react-native-async-storage/async-storage', () => require('@react-native-async-storage/async-storage/jest/async-storage-mock'), ) -jest.mock('react-native-randombytes', () => require('crypto').randomBytes) - jest.setTimeout(30000) diff --git a/packages/staking/package.json b/packages/staking/package.json index c82dad15f2..ede16b11c7 100644 --- a/packages/staking/package.json +++ b/packages/staking/package.json @@ -130,7 +130,7 @@ ] }, "dependencies": { - "@emurgo/cip14-js": "^3.0.1", + "@emurgo/cip4-js": "1.0.7", "bech32": "^2.0.0", "bip39": "^3.1.0" }, @@ -138,47 +138,47 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/blake2b": "^2.1.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/common": "1.5.4", "@yoroi/types": "1.5.8", "axios": "^1.5.0", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/common": "1.5.4", diff --git a/packages/swap/babel.config.js b/packages/swap/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/swap/babel.config.js +++ b/packages/swap/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/swap/package.json b/packages/swap/package.json index 219ac7032f..428fdbc5ca 100644 --- a/packages/swap/package.json +++ b/packages/swap/package.json @@ -141,46 +141,48 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", - "@react-native/babel-preset": "0.74.86", - "@react-native/eslint-config": "0.74.86", - "@react-native/metro-config": "0.74.86", - "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", "@commitlint/config-conventional": "^17.0.2", "@emurgo/yoroi-lib": "^1.2.1", "@react-native-async-storage/async-storage": "^1.19.3", "@react-native-community/eslint-config": "^3.0.2", + "@react-native/babel-preset": "0.74.86", + "@react-native/eslint-config": "0.74.86", + "@react-native/metro-config": "0.74.86", + "@react-native/typescript-config": "0.74.86", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/api": "^1.5.2", "@yoroi/common": "^1.5.4", "@yoroi/portfolio": "1.0.3", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@emurgo/yoroi-lib": "^1.2.1", diff --git a/packages/swap/src/translators/reactjs/provider/SwapProvider.test.tsx b/packages/swap/src/translators/reactjs/provider/SwapProvider.test.tsx index 5799a2e87a..b99f134cc3 100644 --- a/packages/swap/src/translators/reactjs/provider/SwapProvider.test.tsx +++ b/packages/swap/src/translators/reactjs/provider/SwapProvider.test.tsx @@ -2,6 +2,7 @@ import * as React from 'react' import {QueryClient, QueryClientProvider} from 'react-query' import {renderHook, act} from '@testing-library/react-hooks' import {AppApi} from '@yoroi/api' +import {Portfolio} from '@yoroi/types' import {SwapProvider} from './SwapProvider' import {mockSwapManager, swapManagerMocks} from '../../../manager.mocks' @@ -9,7 +10,6 @@ import {SwapState, defaultSwapState} from '../state/state' import {queryClientFixture} from '../../../fixtures/query-client' import {useSwap} from '../hooks/useSwap' import {mocks} from '../../../helpers/mocks' -import {Portfolio} from '@yoroi/types' import {tokenInfoMocks} from '../../../tokenInfo.mocks' describe('SwapProvider', () => { diff --git a/packages/theme/babel.config.js b/packages/theme/babel.config.js index 5ae49c32bf..3e0218e68f 100644 --- a/packages/theme/babel.config.js +++ b/packages/theme/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ["module:metro-react-native-babel-preset"], -}; + presets: ['module:@react-native/babel-preset'], +} diff --git a/packages/theme/package.json b/packages/theme/package.json index 7417a4644c..4a2c159c53 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -132,49 +132,52 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-async-storage/async-storage": "^1.19.3", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-async-storage/async-storage": "^1.19.3", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@tsconfig/react-native": "^3.0.3", "@types/blake2b": "^2.1.3", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/common": "^1.5.4", "@yoroi/types": "1.5.8", "axios-mock-adapter": "^1.21.5", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", + "react-native-linear-gradient": "2.5.6", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/common": "^1.5.4" }, "optionalDependencies": { - "react": "< 19.0.0" + "react": "18.2.0" }, "packageManager": "yarn@1.22.21", "engines": { diff --git a/packages/theme/src/ThemeProvider.test.tsx b/packages/theme/src/ThemeProvider.test.tsx index 50ea87c699..e19e5c2f3c 100644 --- a/packages/theme/src/ThemeProvider.test.tsx +++ b/packages/theme/src/ThemeProvider.test.tsx @@ -1,10 +1,10 @@ -import React from 'react' +import * as React from 'react' import {render, fireEvent} from '@testing-library/react-native' import {Button, Text} from 'react-native' +import {ErrorBoundary} from '@yoroi/common' import {ThemeProvider, useTheme, useThemeColor} from './ThemeProvider' import {SupportedThemes, ThemeStorage} from './types' -import {ErrorBoundary} from '@yoroi/common' describe('ThemeProvider', () => { let storedValue: SupportedThemes | undefined diff --git a/packages/theme/src/ThemeProvider.tsx b/packages/theme/src/ThemeProvider.tsx index e671886bb0..b649b77012 100644 --- a/packages/theme/src/ThemeProvider.tsx +++ b/packages/theme/src/ThemeProvider.tsx @@ -1,5 +1,5 @@ -import React from 'react' -import {ColorSchemeName, useColorScheme as _useColorScheme} from 'react-native' +import * as React from 'react' +import {useColorScheme} from 'react-native' import {ThemedPalette, SupportedThemes, Theme, ThemeStorage} from './types' import {defaultLightTheme} from './themes/default-light' @@ -86,7 +86,3 @@ const themes: Record, Theme> = { const missingProvider = () => { throw new Error('ThemeProvider is missing') } - -const useColorScheme = (): NonNullable => { - return _useColorScheme() as NonNullable -} diff --git a/packages/theme/tsconfig.json b/packages/theme/tsconfig.json index 00e7fa1882..a074f3ce47 100644 --- a/packages/theme/tsconfig.json +++ b/packages/theme/tsconfig.json @@ -1,25 +1,25 @@ { - "compilerOptions": { - "declaration": true, - "baseUrl": "./src", - "allowUnreachableCode": false, - "allowUnusedLabels": false, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react", - "lib": ["esnext"], - "module": "esnext", - "moduleResolution": "node", - "noFallthroughCasesInSwitch": true, - "noImplicitReturns": true, - "noImplicitUseStrict": false, - "noStrictGenericChecks": false, - "noUncheckedIndexedAccess": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "strict": true, - "target": "esnext" - } - } \ No newline at end of file + "compilerOptions": { + "declaration": true, + "baseUrl": "./src", + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react", + "lib": ["esnext"], + "module": "esnext", + "moduleResolution": "node", + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noImplicitUseStrict": false, + "noStrictGenericChecks": false, + "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "strict": true, + "target": "esnext" + } +} diff --git a/packages/transfer/babel.config.js b/packages/transfer/babel.config.js index f842b77fcf..f7b3da3b33 100644 --- a/packages/transfer/babel.config.js +++ b/packages/transfer/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: ['module:@react-native/babel-preset'], }; diff --git a/packages/transfer/package.json b/packages/transfer/package.json index 6b2472efa7..2ae0e7129d 100644 --- a/packages/transfer/package.json +++ b/packages/transfer/package.json @@ -132,41 +132,43 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", + "@commitlint/config-conventional": "^17.0.2", + "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.74.86", "@react-native/eslint-config": "0.74.86", "@react-native/metro-config": "0.74.86", "@react-native/typescript-config": "0.74.86", - "@types/react": "^18.2.6", - "@types/react-test-renderer": "^18.0.0", - "babel-jest": "^29.6.3", - "eslint": "^8.19.0", - "jest": "^29.6.3", - "prettier": "2.8.8", - "react-test-renderer": "18.2.0", - "typescript": "5.0.4", - "@commitlint/config-conventional": "^17.0.2", - "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@tanstack/react-query": "4.36.1", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@testing-library/react-native": "^12.3.0", + "@testing-library/react-native": "^12.7.2", "@types/jest": "^29.5.12", + "@types/react": "^18.2.6", + "@types/react-test-renderer": "^18.0.0", "@yoroi/portfolio": "1.0.3", "@yoroi/types": "1.5.8", + "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "immer": "^10.0.2", + "jest": "^29.6.3", "pod-install": "^0.1.0", + "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.4", "react-native-builder-bob": "^0.23.2", "react-query": "^3.39.3", - "release-it": "^15.0.0" + "react-test-renderer": "18.2.0", + "release-it": "^15.0.0", + "typescript": "5.0.4" }, "peerDependencies": { "@yoroi/portfolio": "1.0.3", diff --git a/packages/types/package.json b/packages/types/package.json index af76b07054..0665a510c6 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -97,10 +97,9 @@ ], "devDependencies": { "@commitlint/config-conventional": "^17.0.2", + "@emurgo/yoroi-lib": "^1.2.1", "@release-it/conventional-changelog": "^5.0.0", - "@testing-library/react-hooks": "^8.0.1", "@types/jest": "^29.5.12", - "@emurgo/yoroi-lib": "^1.2.1", "axios": "^1.5.0", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", diff --git a/packages/types/src/portfolio/api.ts b/packages/types/src/portfolio/api.ts index 66deba286a..f113aea089 100644 --- a/packages/types/src/portfolio/api.ts +++ b/packages/types/src/portfolio/api.ts @@ -45,5 +45,5 @@ export type PortfolioApi = Readonly<{ id: PortfolioTokenId, period: PortfolioTokenHistoryPeriod, ): Promise>> - tokenImageInvalidate(ids: ReadonlyArray): Promise + tokenImageInvalidate(ids: ReadonlyArray): Promise }> diff --git a/yarn.lock b/yarn.lock index ed6ac7f149..bacbf7e2b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,7 +15,7 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.24.7": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== @@ -1199,6 +1199,18 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@cardano-foundation/ledgerjs-hw-app-cardano@^5.0.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@cardano-foundation/ledgerjs-hw-app-cardano/-/ledgerjs-hw-app-cardano-5.1.0.tgz#69b94f7c5055bdb19aa719ff277fa5f683d11067" + integrity sha512-ucuz/XbS/0ZD0Bal/GI/kiTm9jDIl8J+A7ypEqcAcBDGicFsyWmtPotOTwuDovTsiM8+eA/5OGTFX0oRqzxstQ== + dependencies: + "@ledgerhq/hw-transport" "^5.12.0" + "@types/ledgerhq__hw-transport" "^4.21.3" + base-x "^3.0.5" + bech32 "^1.1.4" + blake2 "^4.0.2" + int64-buffer "^1.0.1" + "@cardano-foundation/ledgerjs-hw-app-cardano@^7.1.3": version "7.1.4" resolved "https://registry.yarnpkg.com/@cardano-foundation/ledgerjs-hw-app-cardano/-/ledgerjs-hw-app-cardano-7.1.4.tgz#e3e484edf950a871d3d3c87750077565162eee9f" @@ -1377,6 +1389,11 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" +"@emurgo/cardano-serialization-lib-nodejs@12.1.0-beta.1": + version "12.1.0-beta.1" + resolved "https://registry.yarnpkg.com/@emurgo/cardano-serialization-lib-nodejs/-/cardano-serialization-lib-nodejs-12.1.0-beta.1.tgz#26fab89866bd7e3c2d52e7f7be29cf051abb77ad" + integrity sha512-7O5t8iab8cM6UIu51CRIpIOj8CzYRpbY7o2ddY8ozMu10mfSqE4vIT8BaN7q5fEk56BsVmkZckA4nwjtPZ1Vxg== + "@emurgo/cip14-js@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@emurgo/cip14-js/-/cip14-js-3.0.1.tgz#68bcf6db1e4891d347e19f1e643df9be5ebc92dc" @@ -1385,11 +1402,42 @@ bech32 "2.0.0" blake2b "2.1.3" +"@emurgo/cip4-js@1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@emurgo/cip4-js/-/cip4-js-1.0.7.tgz#a6e1fbbfb485d23a9562a2364b09c6a97f069551" + integrity sha512-ovhXMm1xyiq4EQf6LTbZ8I+ZmGTNYPBJ/JP5dOnnEAZEgSmXcpoDTOvp9Fp5SktzyI7nSrsmoDK9Cjq961Qo3Q== + dependencies: + blake2b "2.1.3" + buffer-crc32 "0.2.13" + fnv-plus "1.3.1" + +"@emurgo/cross-csl-core@5.1.0-beta.1": + version "5.1.0-beta.1" + resolved "https://registry.yarnpkg.com/@emurgo/cross-csl-core/-/cross-csl-core-5.1.0-beta.1.tgz#b905acc50912e7a5cacd5fe537cb474e9b61d54c" + integrity sha512-Qn1haxl7Wrw7k9drLDkTjGfRx80k4SSgytWUfFa/pbyaJmusfM6no0oLwcb/D8Y09i9+GEo3AGzQz+L4d18OFA== + dependencies: + "@cardano-foundation/ledgerjs-hw-app-cardano" "^5.0.0" + "@types/mocha" "^9.1.1" + axios "^0.24.0" + bech32 "^2.0.0" + bignumber.js "^9.0.1" + blake2b "^2.1.4" + hash-wasm "^4.9.0" + mocha "^10.0.0" + "@emurgo/cross-csl-core@5.1.1": version "5.1.1" resolved "https://registry.yarnpkg.com/@emurgo/cross-csl-core/-/cross-csl-core-5.1.1.tgz#9b3dcb31dc0b0906e960583d9da213971602650d" integrity sha512-UYzf7kR/jY01gAyTkhz2OwirdrVCh/e5I2O/P8MxzdFvtLU88XLY8T6KWgroJ4cQ3XoFCKtSJDFOxcN01nteRg== +"@emurgo/cross-csl-nodejs@5.1.0-beta.1": + version "5.1.0-beta.1" + resolved "https://registry.yarnpkg.com/@emurgo/cross-csl-nodejs/-/cross-csl-nodejs-5.1.0-beta.1.tgz#c7dc88c63cba5a76005fdf045464f9402783e729" + integrity sha512-i9+y4cewtjzqueEV57xOKPwBp7riOEE8PeK+8ruee0V4glbehcct5ImruB1kadoxV1v1Z3tFrqfLzoarecHHSQ== + dependencies: + "@emurgo/cardano-serialization-lib-nodejs" "12.1.0-beta.1" + "@emurgo/cross-csl-core" "5.1.0-beta.1" + "@emurgo/yoroi-lib@^1.2.1": version "1.2.2" resolved "https://registry.yarnpkg.com/@emurgo/yoroi-lib/-/yoroi-lib-1.2.2.tgz#44e0dd497bd2f86275f0634091b7fe0882a79eba" @@ -1971,6 +2019,16 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@ledgerhq/devices@^5.51.1": + version "5.51.1" + resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-5.51.1.tgz#d741a4a5d8f17c2f9d282fd27147e6fe1999edb7" + integrity sha512-4w+P0VkbjzEXC7kv8T1GJ/9AVaP9I6uasMZ/JcdwZBS3qwvKo5A5z9uGhP5c7TvItzcmPb44b5Mw2kT+WjUuAA== + dependencies: + "@ledgerhq/errors" "^5.50.0" + "@ledgerhq/logs" "^5.50.0" + rxjs "6" + semver "^7.3.5" + "@ledgerhq/devices@^8.4.3": version "8.4.3" resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-8.4.3.tgz#4c296df4dd4af6f1085d728609b6931a640baf86" @@ -1981,11 +2039,25 @@ rxjs "^7.8.1" semver "^7.3.5" +"@ledgerhq/errors@^5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-5.50.0.tgz#e3a6834cb8c19346efca214c1af84ed28e69dad9" + integrity sha512-gu6aJ/BHuRlpU7kgVpy2vcYk6atjB4iauP2ymF7Gk0ez0Y/6VSMVSJvubeEQN+IV60+OBK0JgeIZG7OiHaw8ow== + "@ledgerhq/errors@^6.19.0": version "6.19.0" resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.19.0.tgz#ed4f01df3dabfcdeb0b073159d66cb5f2d086243" integrity sha512-c3Jid7euMSnpHFp8H7iPtsmKDjwbTjlG46YKdw+RpCclsqtBx1uQDlYmcbP1Yv9201kVlUFUhhP4H623k8xzlQ== +"@ledgerhq/hw-transport@^5.12.0": + version "5.51.1" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578" + integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw== + dependencies: + "@ledgerhq/devices" "^5.51.1" + "@ledgerhq/errors" "^5.50.0" + events "^3.3.0" + "@ledgerhq/hw-transport@^6.31.2": version "6.31.3" resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.31.3.tgz#ceecea278ee200dbb8d7e2ce5e47e09a287c1611" @@ -1996,6 +2068,11 @@ "@ledgerhq/logs" "^6.12.0" events "^3.3.0" +"@ledgerhq/logs@^5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-5.50.0.tgz#29c6419e8379d496ab6d0426eadf3c4d100cd186" + integrity sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA== + "@ledgerhq/logs@^6.12.0": version "6.12.0" resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-6.12.0.tgz#ad903528bf3687a44da435d7b2479d724d374f5d" @@ -2920,21 +2997,7 @@ "@tanstack/query-core" "4.36.1" use-sync-external-store "^1.2.0" -"@testing-library/dom@^9.0.0": - version "9.3.4" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-9.3.4.tgz#50696ec28376926fec0a1bf87d9dbac5e27f60ce" - integrity sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/runtime" "^7.12.5" - "@types/aria-query" "^5.0.1" - aria-query "5.1.3" - chalk "^4.1.0" - dom-accessibility-api "^0.5.9" - lz-string "^1.5.0" - pretty-format "^27.0.2" - -"@testing-library/jest-dom@^6.0.0": +"@testing-library/jest-dom@^6.5.0": version "6.5.0" resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz#50484da3f80fb222a853479f618a9ce5c47bfe54" integrity sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA== @@ -2955,7 +3018,7 @@ "@babel/runtime" "^7.12.5" react-error-boundary "^3.1.0" -"@testing-library/react-native@^12.3.0": +"@testing-library/react-native@^12.3.0", "@testing-library/react-native@^12.7.2": version "12.7.2" resolved "https://registry.yarnpkg.com/@testing-library/react-native/-/react-native-12.7.2.tgz#d9dc62979264902c22ac9154eee0dc10914d1518" integrity sha512-fSUIruOUFcuwssC8+m9H+9ib7P/+JrtIszHS4eZ6O9e4FjpjS3m24UnkJXTRl+FCbknz8oxH5Tw+thzy0qsIMg== @@ -2964,14 +3027,12 @@ pretty-format "^29.7.0" redent "^3.0.0" -"@testing-library/react@^14.0.0": - version "14.3.1" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-14.3.1.tgz#29513fc3770d6fb75245c4e1245c470e4ffdd830" - integrity sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ== +"@testing-library/react@^16.0.1": + version "16.0.1" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-16.0.1.tgz#29c0ee878d672703f5e7579f239005e4e0faa875" + integrity sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg== dependencies: "@babel/runtime" "^7.12.5" - "@testing-library/dom" "^9.0.0" - "@types/react-dom" "^18.0.0" "@tootallnate/once@2": version "2.0.0" @@ -3016,11 +3077,6 @@ "@tufjs/canonical-json" "1.0.0" minimatch "^9.0.0" -"@types/aria-query@^5.0.1": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" - integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== - "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -3103,6 +3159,13 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== +"@types/ledgerhq__hw-transport@^4.21.3": + version "4.21.8" + resolved "https://registry.yarnpkg.com/@types/ledgerhq__hw-transport/-/ledgerhq__hw-transport-4.21.8.tgz#973fedb76ade14307fe85db336373a5a5da54f79" + integrity sha512-uO2AJYZUVCwgyqgyy2/KW+JsQaO0hcwDdubRaHgF2ehO0ngGAY41PbE8qnPnmUw1uerMXONvL68QFioA7Y6C5g== + dependencies: + "@types/node" "*" + "@types/mersenne-twister@^1.1.7": version "1.1.7" resolved "https://registry.yarnpkg.com/@types/mersenne-twister/-/mersenne-twister-1.1.7.tgz#c6b8380b6e7f9c1ccc146baf3408613be5b2e32b" @@ -3118,6 +3181,11 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== +"@types/mocha@^9.1.1": + version "9.1.1" + resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-9.1.1.tgz#e7c4f1001eefa4b8afbd1eee27a237fee3bf29c4" + integrity sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw== + "@types/node-forge@^1.3.0": version "1.3.11" resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.11.tgz#0972ea538ddb0f4d9c2fa0ec5db5724773a604da" @@ -3164,13 +3232,6 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.13.tgz#2af91918ee12d9d32914feb13f5326658461b451" integrity sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA== -"@types/react-dom@^18.0.0": - version "18.3.0" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.0.tgz#0cbc818755d87066ab6ca74fbedb2547d74a82b0" - integrity sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg== - dependencies: - "@types/react" "*" - "@types/react-test-renderer@^18.0.0", "@types/react-test-renderer@^18.0.7": version "18.3.0" resolved "https://registry.yarnpkg.com/@types/react-test-renderer/-/react-test-renderer-18.3.0.tgz#839502eae70058a4ae161f63385a8e7929cef4c0" @@ -3561,7 +3622,7 @@ ansi-align@^3.0.1: dependencies: string-width "^4.1.0" -ansi-colors@^4.1.1: +ansi-colors@^4.1.1, ansi-colors@^4.1.3: version "4.1.3" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== @@ -3664,19 +3725,12 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -aria-query@5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.1.3.tgz#19db27cd101152773631396f7a95a3b58c22c35e" - integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== - dependencies: - deep-equal "^2.0.5" - aria-query@^5.0.0: version "5.3.2" resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw== -array-buffer-byte-length@^1.0.0, array-buffer-byte-length@^1.0.1: +array-buffer-byte-length@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== @@ -3860,6 +3914,13 @@ axios-mock-adapter@^1.21.5: fast-deep-equal "^3.1.3" is-buffer "^2.0.5" +axios@^0.24.0: + version "0.24.0" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.24.0.tgz#804e6fa1e4b9c5288501dd9dff56a7a0940d20d6" + integrity sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA== + dependencies: + follow-redirects "^1.14.4" + axios@^1.0.0, axios@^1.5.0, axios@^1.7.5: version "1.7.7" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" @@ -3869,6 +3930,11 @@ axios@^1.0.0, axios@^1.5.0, axios@^1.7.5: form-data "^4.0.0" proxy-from-env "^1.1.0" +b4a@^1.0.1: + version "1.6.6" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.6.tgz#a4cc349a3851987c3c4ac2d7785c18744f6da9ba" + integrity sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg== + babel-core@^7.0.0-bridge.0: version "7.0.0-bridge.0" resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" @@ -4076,6 +4142,13 @@ bl@^5.0.0: inherits "^2.0.4" readable-stream "^3.4.0" +blake2@^4.0.2: + version "4.1.1" + resolved "https://registry.yarnpkg.com/blake2/-/blake2-4.1.1.tgz#0c23524776ebbf76b3ffecb6fa73422a33f20526" + integrity sha512-HUmkY0MUDUVgejJVNrpNKAva8C4IWD/Rd862sdexoSibu86b6iu0gO0/RjovO2lM5+w6JqjIEmkuAgGhfHlnJw== + dependencies: + nan "^2.15.0" + blake2b-wasm@^1.1.0: version "1.1.7" resolved "https://registry.yarnpkg.com/blake2b-wasm/-/blake2b-wasm-1.1.7.tgz#e4d075da10068e5d4c3ec1fb9accc4d186c55d81" @@ -4083,6 +4156,14 @@ blake2b-wasm@^1.1.0: dependencies: nanoassert "^1.0.0" +blake2b-wasm@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/blake2b-wasm/-/blake2b-wasm-2.4.0.tgz#9115649111edbbd87eb24ce7c04b427e4e2be5be" + integrity sha512-S1kwmW2ZhZFFFOghcx73+ZajEfKBqhP82JMssxtLVMxlaPea1p9uoLiUZ5WYyHn0KddwbLc+0vh4wR0KBNoT5w== + dependencies: + b4a "^1.0.1" + nanoassert "^2.0.0" + blake2b@2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/blake2b/-/blake2b-2.1.3.tgz#f5388be424768e7c6327025dad0c3c6d83351bca" @@ -4091,6 +4172,14 @@ blake2b@2.1.3: blake2b-wasm "^1.1.0" nanoassert "^1.0.0" +blake2b@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/blake2b/-/blake2b-2.1.4.tgz#817d278526ddb4cd673bfb1af16d1ad61e393ba3" + integrity sha512-AyBuuJNI64gIvwx13qiICz6H6hpmjvYS5DGkG6jbXMOT8Z3WUJ3V1X0FlhIoT1b/5JtHE3ki+xjtMvu1nn+t9A== + dependencies: + blake2b-wasm "^2.4.0" + nanoassert "^2.0.0" + bluebird@^3.5.4: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" @@ -4158,6 +4247,11 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== +browser-stdout@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" + integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== + browserslist@^4.20.4, browserslist@^4.23.1, browserslist@^4.23.3: version "4.23.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" @@ -4182,6 +4276,11 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" +buffer-crc32@0.2.13: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== + buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" @@ -4487,7 +4586,7 @@ chokidar-cli@^3.0.0: lodash.throttle "^4.1.1" yargs "^13.3.0" -chokidar@^3.5.2: +chokidar@^3.5.2, chokidar@^3.5.3: version "3.6.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== @@ -5258,7 +5357,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.5: version "4.3.7" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== @@ -5305,30 +5404,6 @@ dedent@^1.0.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== -deep-equal@^2.0.5: - version "2.2.3" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.3.tgz#af89dafb23a396c7da3e862abc0be27cf51d56e1" - integrity sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA== - dependencies: - array-buffer-byte-length "^1.0.0" - call-bind "^1.0.5" - es-get-iterator "^1.1.3" - get-intrinsic "^1.2.2" - is-arguments "^1.1.1" - is-array-buffer "^3.0.2" - is-date-object "^1.0.5" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - isarray "^2.0.5" - object-is "^1.1.5" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.5.1" - side-channel "^1.0.4" - which-boxed-primitive "^1.0.2" - which-collection "^1.0.1" - which-typed-array "^1.1.13" - deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -5587,6 +5662,11 @@ diff@^4.0.1: resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== +diff@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" + integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -5608,11 +5688,6 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-accessibility-api@^0.5.9: - version "0.5.16" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" - integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== - dom-accessibility-api@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" @@ -5876,7 +5951,7 @@ es-errors@^1.2.1, es-errors@^1.3.0: resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== -es-get-iterator@^1.0.2, es-get-iterator@^1.1.3: +es-get-iterator@^1.0.2: version "1.1.3" resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6" integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== @@ -6549,7 +6624,12 @@ flowgen@^1.21.0: typescript "~4.4.4" typescript-compiler "^1.4.1-2" -follow-redirects@^1.15.6: +fnv-plus@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/fnv-plus/-/fnv-plus-1.3.1.tgz#c34cb4572565434acb08ba257e4044ce2b006d67" + integrity sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw== + +follow-redirects@^1.14.4, follow-redirects@^1.15.6: version "1.15.9" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== @@ -6700,7 +6780,7 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: +get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== @@ -6905,7 +6985,7 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1, glob@^8.0.3: +glob@^8.0.1, glob@^8.0.3, glob@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== @@ -7099,6 +7179,11 @@ has-yarn@^3.0.0: resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-3.0.0.tgz#c3c21e559730d1d3b57e28af1f30d06fac38147d" integrity sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA== +hash-wasm@^4.9.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/hash-wasm/-/hash-wasm-4.11.0.tgz#7d1479b114c82e48498fdb1d2462a687d00386d5" + integrity sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ== + hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" @@ -7106,6 +7191,11 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" +he@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + hermes-estree@0.19.1: version "0.19.1" resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.19.1.tgz#d5924f5fac2bf0532547ae9f506d6db8f3c96392" @@ -7497,7 +7587,7 @@ is-arguments@^1.1.1: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-array-buffer@^3.0.2, is-array-buffer@^3.0.4: +is-array-buffer@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== @@ -9337,11 +9427,6 @@ lru-cache@^7.14.1, lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== -lz-string@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" - integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== - macos-release@^3.1.0: version "3.3.0" resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-3.3.0.tgz#92cb67bc66d67c3fde4a9e14f5f909afa418b072" @@ -9823,7 +9908,7 @@ minimatch@3.0.5: dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1: +minimatch@^5.0.1, minimatch@^5.1.6: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== @@ -9958,6 +10043,32 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +mocha@^10.0.0: + version "10.7.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.7.3.tgz#ae32003cabbd52b59aece17846056a68eb4b0752" + integrity sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A== + dependencies: + ansi-colors "^4.1.3" + browser-stdout "^1.3.1" + chokidar "^3.5.3" + debug "^4.3.5" + diff "^5.2.0" + escape-string-regexp "^4.0.0" + find-up "^5.0.0" + glob "^8.1.0" + he "^1.2.0" + js-yaml "^4.1.0" + log-symbols "^4.1.0" + minimatch "^5.1.6" + ms "^2.1.3" + serialize-javascript "^6.0.2" + strip-json-comments "^3.1.1" + supports-color "^8.1.1" + workerpool "^6.5.1" + yargs "^16.2.0" + yargs-parser "^20.2.9" + yargs-unparser "^2.0.0" + modify-values@^1.0.0, modify-values@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -10021,7 +10132,7 @@ mv@~2: ncp "~2.0.0" rimraf "~2.4.0" -nan@^2.14.0: +nan@^2.14.0, nan@^2.15.0: version "2.20.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3" integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw== @@ -10038,6 +10149,11 @@ nanoassert@^1.0.0: resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-1.1.0.tgz#4f3152e09540fde28c76f44b19bbcd1d5a42478d" integrity sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ== +nanoassert@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09" + integrity sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA== + natural-compare-lite@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" @@ -10427,14 +10543,6 @@ object-inspect@^1.13.1: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== -object-is@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.6.tgz#1a6a53aed2dd8f7e6775ff870bea58545956ab07" - integrity sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -10995,15 +11103,6 @@ pretty-format@^26.5.2, pretty-format@^26.6.2: ansi-styles "^4.0.0" react-is "^17.0.1" -pretty-format@^27.0.2: - version "27.5.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" - integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== - dependencies: - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^17.0.1" - pretty-format@^28.1.3: version "28.1.3" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" @@ -11194,6 +11293,13 @@ quick-lru@^5.1.1: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + range-parser@~1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" @@ -11291,6 +11397,11 @@ react-native-builder-bob@^0.23.2: which "^2.0.2" yargs "^17.5.1" +react-native-linear-gradient@2.5.6: + version "2.5.6" + resolved "https://registry.yarnpkg.com/react-native-linear-gradient/-/react-native-linear-gradient-2.5.6.tgz#96215cbc5ec7a01247a20890888aa75b834d44a0" + integrity sha512-HDwEaXcQIuXXCV70O+bK1rizFong3wj+5Q/jSyifKFLg0VWF95xh8XQgfzXwtq0NggL9vNjPKXa016KuFu+VFg== + react-native-mmkv@^2.11.0: version "2.12.2" resolved "https://registry.yarnpkg.com/react-native-mmkv/-/react-native-mmkv-2.12.2.tgz#4bba0f5f04e2cf222494cce3a9794ba6a4894dee" @@ -11382,13 +11493,6 @@ react@18.2.0: dependencies: loose-envify "^1.1.0" -"react@< 19.0.0": - version "18.3.1" - resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" - integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== - dependencies: - loose-envify "^1.1.0" - read-cmd-shim@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb" @@ -11602,7 +11706,7 @@ regexp-tree@~0.1.1: resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.27.tgz#2198f0ef54518ffa743fe74d983b56ffd631b6cd" integrity sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA== -regexp.prototype.flags@^1.5.1, regexp.prototype.flags@^1.5.2: +regexp.prototype.flags@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz#138f644a3350f981a858c44f6bb1a61ff59be334" integrity sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw== @@ -11857,6 +11961,13 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" +rxjs@6: + version "6.6.7" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + rxjs@^7.5.5, rxjs@^7.8.1: version "7.8.1" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" @@ -11879,7 +11990,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@^5.0.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -12027,6 +12138,13 @@ serialize-error@^8.0.1: dependencies: type-fest "^0.20.2" +serialize-javascript@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== + dependencies: + randombytes "^2.1.0" + serve-static@^1.13.1: version "1.16.2" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" @@ -12874,7 +12992,7 @@ tsconfig-paths@^4.1.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.8.1: +tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -13371,7 +13489,7 @@ which-builtin-type@^1.1.3: which-collection "^1.0.2" which-typed-array "^1.1.15" -which-collection@^1.0.1, which-collection@^1.0.2: +which-collection@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.2.tgz#627ef76243920a107e7ce8e96191debe4b16c2a0" integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== @@ -13386,7 +13504,7 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.15: +which-typed-array@^1.1.14, which-typed-array@^1.1.15: version "1.1.15" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== @@ -13454,6 +13572,11 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== +workerpool@^6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" + integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== + "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"