From 24ec13d36c15980a3e9ce096601088cc6bbd0ad7 Mon Sep 17 00:00:00 2001 From: Patrick Bennett Date: Sat, 1 Jun 2024 23:33:16 -0400 Subject: [PATCH 1/8] fix(nodemgr): Switch to expecting the use of the ALGO_ALGOD_ADMIN_TOKEN env variable for the node's admin token Also added logging for errors reading .env files --- nodemgr/app.go | 5 ++++- nodemgr/internal/lib/algo/networks.go | 5 +++++ nodemgr/internal/lib/misc/env.go | 21 ++++++++++++++++----- nodemgr/internal/lib/misc/secrets.go | 5 +++++ nodemgr/main.go | 4 ---- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/nodemgr/app.go b/nodemgr/app.go index e2a37c1c..761e787b 100644 --- a/nodemgr/app.go +++ b/nodemgr/app.go @@ -53,6 +53,9 @@ func initApp() *RetiApp { if os.Getenv("DEBUG") == "1" { logLevel.Set(slog.LevelDebug) } + + misc.LoadEnvSettings(logger) + // We initialize our wrapper instance first, so we can call its methods in the 'Before' lambda func // in initialization of cli App instance. // signer will be set in the initClients method. @@ -160,7 +163,7 @@ func (ac *RetiApp) initClients(ctx context.Context, cmd *cli.Command) error { // Now load .env.{network} overrides -ie: .env.sandbox containing generated mnemonics // by bootstrap testing script - misc.LoadEnvForNetwork(network) + misc.LoadEnvForNetwork(ac.logger, network) // Initialize algod client / networks / reti validator app id (testing connectivity as well) cfg := algo.GetNetworkConfig(network) diff --git a/nodemgr/internal/lib/algo/networks.go b/nodemgr/internal/lib/algo/networks.go index 80f3ffff..af7a917f 100644 --- a/nodemgr/internal/lib/algo/networks.go +++ b/nodemgr/internal/lib/algo/networks.go @@ -51,6 +51,11 @@ func GetNetworkConfig(network string) NetworkConfig { if nodeToken != "" { cfg.NodeToken = nodeToken } + // ALGO_ALGOD_ADMIN_TOKEN is what we assume users will use, so it takes precedence for the node token + // (which is required to be an admin token) + if token := misc.GetSecret("ALGO_ALGOD_ADMIN_TOKEN"); token != "" { + cfg.NodeToken = token + } NodeHeaders := misc.GetSecret("ALGO_ALGOD_HEADERS") // parse NodeHeaders from key:value,[key:value...] pairs and put into cfg.NodeHeaders map cfg.NodeHeaders = map[string]string{} diff --git a/nodemgr/internal/lib/misc/env.go b/nodemgr/internal/lib/misc/env.go index 7b74d627..b13259c1 100644 --- a/nodemgr/internal/lib/misc/env.go +++ b/nodemgr/internal/lib/misc/env.go @@ -1,14 +1,25 @@ package misc import ( + "errors" + "log/slog" + "os" + "github.com/joho/godotenv" ) -func LoadEnvSettings() { - godotenv.Load(".env.local") - godotenv.Load() // .env +func LoadEnvSettings(log *slog.Logger) { + loadEnvFile(log, ".env.local") + loadEnvFile(log, ".env") +} + +func LoadEnvForNetwork(log *slog.Logger, network string) { + loadEnvFile(log, ".env."+network) } -func LoadEnvForNetwork(network string) { - godotenv.Load(".env." + network) +func loadEnvFile(log *slog.Logger, filename string) { + err := godotenv.Load(filename) + if !errors.Is(err, os.ErrNotExist) { + Warnf(log, "error loading %s, err: %v", filename, err) + } } diff --git a/nodemgr/internal/lib/misc/secrets.go b/nodemgr/internal/lib/misc/secrets.go index 81d0eb0a..c84d9e6a 100644 --- a/nodemgr/internal/lib/misc/secrets.go +++ b/nodemgr/internal/lib/misc/secrets.go @@ -23,6 +23,11 @@ func SecretKeys() []string { return retStrings } +// GetSecret retrieves the value of a secret identified by the given key. +// If the secret is found in an environment variable, it returns the value. +// Otherwise, it return the value secretsMap if found. +// This abstraction is just an env abstraction at the moment but could easily +// be changed to fetch secrets other ways if necessary. func GetSecret(key string) string { if value := os.Getenv(key); value != "" { return value diff --git a/nodemgr/main.go b/nodemgr/main.go index 9266c5eb..effdabd7 100644 --- a/nodemgr/main.go +++ b/nodemgr/main.go @@ -4,15 +4,11 @@ import ( "context" "log/slog" "os" - - "github.com/TxnLab/reti/internal/lib/misc" ) var App *RetiApp func main() { - misc.LoadEnvSettings() - App = initApp() err := App.cliCmd.Run(context.Background(), os.Args) if err != nil { From a6f9b1456aa2ddb7562604355cef15524b7c36b6 Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Sun, 2 Jun 2024 01:33:34 -0400 Subject: [PATCH 2/8] fix(ui): validate decimal places in add/remove stake modals (#208) --- ui/src/components/AddStakeModal.tsx | 9 +++++++++ ui/src/components/UnstakeModal.tsx | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/ui/src/components/AddStakeModal.tsx b/ui/src/components/AddStakeModal.tsx index 56469f9b..1d0de22f 100644 --- a/ui/src/components/AddStakeModal.tsx +++ b/ui/src/components/AddStakeModal.tsx @@ -151,6 +151,15 @@ export function AddStakeModal({ .refine((val) => !isNaN(Number(val)) && parseFloat(val) > 0, { message: 'Invalid amount', }) + .refine( + (val) => { + const match = val.match(/^\d+(\.\d{1,6})?$/) + return match !== null + }, + { + message: 'Cannot have more than 6 decimal places', + }, + ) .superRefine((val, ctx) => { const algoAmount = parseFloat(val) const amountToStake = AlgoAmount.Algos(algoAmount).microAlgos diff --git a/ui/src/components/UnstakeModal.tsx b/ui/src/components/UnstakeModal.tsx index 927f3df8..83a83dc9 100644 --- a/ui/src/components/UnstakeModal.tsx +++ b/ui/src/components/UnstakeModal.tsx @@ -84,6 +84,15 @@ export function UnstakeModal({ validator, setValidator, stakesByValidator }: Uns .refine((val) => !isNaN(Number(val)) && parseFloat(val) > 0, { message: 'Invalid amount', }) + .refine( + (val) => { + const match = val.match(/^\d+(\.\d{1,6})?$/) + return match !== null + }, + { + message: 'Cannot have more than 6 decimal places', + }, + ) .superRefine((val, ctx) => { const algoAmount = parseFloat(val) const amountToUnstake = AlgoAmount.Algos(algoAmount).microAlgos From 01f1b98e059fe24f7face8f77148e7b79a909e59 Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Sun, 2 Jun 2024 03:44:28 -0400 Subject: [PATCH 3/8] feat(ui): add footer with current protocol/app version (#209) * feat(ui): add footer with current protocol/app version * fix(ui): flexbox parent layout at least 100vh * fix(ui): center loading page spinner --- ui/src/components/Footer.tsx | 70 ++++++++++++++++++++++++++++++++ ui/src/components/Layout.tsx | 7 +++- ui/src/components/Loading.tsx | 10 ++++- ui/src/components/PageHeader.tsx | 2 +- ui/src/components/PageMain.tsx | 2 +- ui/src/routes/index.tsx | 2 +- ui/tsconfig.json | 2 +- ui/tsconfig.node.json | 1 + ui/vite-env.d.ts | 3 ++ ui/vite.config.ts | 4 ++ 10 files changed, 95 insertions(+), 8 deletions(-) create mode 100644 ui/src/components/Footer.tsx create mode 100644 ui/vite-env.d.ts diff --git a/ui/src/components/Footer.tsx b/ui/src/components/Footer.tsx new file mode 100644 index 00000000..133cd84e --- /dev/null +++ b/ui/src/components/Footer.tsx @@ -0,0 +1,70 @@ +import { SVGProps } from 'react' +import { JSX } from 'react/jsx-runtime' + +const navigation = [ + { + name: 'GitHub', + href: 'https://github.com/TxnLab/reti', + icon: (props: JSX.IntrinsicAttributes & SVGProps) => ( + + + + ), + }, + { + name: 'GitBook', + href: 'https://txnlab.gitbook.io/reti-open-pooling', + icon: (props: JSX.IntrinsicAttributes & SVGProps) => ( + + + + ), + }, +] + +export function Footer() { + return ( + + ) +} diff --git a/ui/src/components/Layout.tsx b/ui/src/components/Layout.tsx index c7eacff9..6687d7a2 100644 --- a/ui/src/components/Layout.tsx +++ b/ui/src/components/Layout.tsx @@ -2,6 +2,7 @@ import { Link } from '@tanstack/react-router' import { useWallet } from '@txnlab/use-wallet-react' import { Connect } from '@/components/Connect' import { ConnectedMenu } from '@/components/ConnectedMenu' +import { Footer } from '@/components/Footer' import { GitHub } from '@/components/GitHub' import { Logo } from '@/components/Logo' import { MobileMenu } from '@/components/MobileMenu' @@ -18,7 +19,7 @@ export function Layout({ children }: LayoutProps) { const { activeAddress } = useWallet() return ( -
+
-
{children}
+ {children} + +
) } diff --git a/ui/src/components/Loading.tsx b/ui/src/components/Loading.tsx index 030d3e0f..a6b38049 100644 --- a/ui/src/components/Loading.tsx +++ b/ui/src/components/Loading.tsx @@ -4,9 +4,10 @@ interface LoadingProps { size?: 'sm' | 'md' | 'lg' inline?: boolean className?: string + flex?: boolean } -export function Loading({ size, className = '', inline = false }: LoadingProps) { +export function Loading({ size, className = '', inline = false, flex = false }: LoadingProps) { const getSizeClasses = () => { switch (size) { case 'sm': @@ -52,7 +53,12 @@ export function Loading({ size, className = '', inline = false }: LoadingProps) } return ( -
+
{renderSpinner()}
) diff --git a/ui/src/components/PageHeader.tsx b/ui/src/components/PageHeader.tsx index 6b69cf51..c6601891 100644 --- a/ui/src/components/PageHeader.tsx +++ b/ui/src/components/PageHeader.tsx @@ -10,7 +10,7 @@ export function PageHeader({ title, description, separator = false }: PageHeader if (!title) return null return (
-
+

+
{children}
) diff --git a/ui/src/routes/index.tsx b/ui/src/routes/index.tsx index 928b6cfb..3fd91e57 100644 --- a/ui/src/routes/index.tsx +++ b/ui/src/routes/index.tsx @@ -19,7 +19,7 @@ export const Route = createFileRoute('/')({ queryClient.ensureQueryData(validatorsQueryOptions(queryClient)) }, component: Dashboard, - pendingComponent: () => , + pendingComponent: () => , errorComponent: ({ error }) => { if (error instanceof Error) { return
{error?.message}
diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 284a059d..b765a11b 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -27,7 +27,7 @@ }, "types": ["vitest/globals"] }, - "include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts", "vitest.setup.ts"], + "include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts", "vitest.setup.ts", "vite-env.d.ts"], "references": [ { "path": "./tsconfig.node.json" diff --git a/ui/tsconfig.node.json b/ui/tsconfig.node.json index 0efe3a88..0fcfc7b6 100644 --- a/ui/tsconfig.node.json +++ b/ui/tsconfig.node.json @@ -4,6 +4,7 @@ "module": "ESNext", "moduleResolution": "Node", "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, "types": ["node"] }, "include": ["vite.config.ts", "playwright.config.ts"] diff --git a/ui/vite-env.d.ts b/ui/vite-env.d.ts new file mode 100644 index 00000000..54eaa072 --- /dev/null +++ b/ui/vite-env.d.ts @@ -0,0 +1,3 @@ +/// + +declare const __APP_VERSION__: string diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 3ea30fd0..1109260b 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react' import path from 'path' import { defineConfig } from 'vite' import { nodePolyfills } from 'vite-plugin-node-polyfills' +import { version } from './package.json' export default defineConfig({ plugins: [ @@ -28,6 +29,9 @@ export default defineConfig({ '@': path.resolve(__dirname, './src'), }, }, + define: { + __APP_VERSION__: JSON.stringify(version), + }, test: { name: 'reti-ui', dir: './src', From 5265de790b398cee47069ab01bf25ab8fb0b4580 Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Sun, 2 Jun 2024 14:57:14 -0400 Subject: [PATCH 4/8] feat(ui): check for new version (#210) * wip: test replace plugin and useCheckForUpdates * wip: test custom plugin * feat(ui): check for new version * chore(ui): remove @rollup/plugin-replace --- ui/public/version.json | 3 +++ ui/src/hooks/useCheckForUpdates.ts | 43 ++++++++++++++++++++++++++++++ ui/src/routes/__root.tsx | 19 ++++++++----- ui/vite.config.ts | 22 ++++++++++++++- 4 files changed, 80 insertions(+), 7 deletions(-) create mode 100644 ui/public/version.json create mode 100644 ui/src/hooks/useCheckForUpdates.ts diff --git a/ui/public/version.json b/ui/public/version.json new file mode 100644 index 00000000..6a86adfd --- /dev/null +++ b/ui/public/version.json @@ -0,0 +1,3 @@ +{ + "version": "__APP_VERSION__" +} diff --git a/ui/src/hooks/useCheckForUpdates.ts b/ui/src/hooks/useCheckForUpdates.ts new file mode 100644 index 00000000..a1b5e6bf --- /dev/null +++ b/ui/src/hooks/useCheckForUpdates.ts @@ -0,0 +1,43 @@ +import * as React from 'react' +import { toast } from 'sonner' + +export function useCheckForUpdates() { + React.useEffect(() => { + if (import.meta.env.MODE !== 'production') { + return + } + + const checkForUpdates = async () => { + try { + const response = await fetch('/version.json') + const data = await response.json() + const deployedVersion = data.version + + if (deployedVersion !== __APP_VERSION__) { + toast(`A new version is available! v${deployedVersion}`, { + description: 'Click the Reload button to update the app.', + action: { + label: 'Reload', + onClick: () => window.location.reload(), + }, + id: 'new-version', + duration: Infinity, + }) + } + } catch (error) { + console.error('Failed to check for updates:', error) + } + } + + const delay = Number(import.meta.env.VITE_UPDATE_CHECK_INTERVAL || 1000 * 60) + + if (Number.isNaN(delay)) { + console.error('Invalid update check interval:', import.meta.env.VITE_UPDATE_CHECK_INTERVAL) + return + } + + const interval = setInterval(checkForUpdates, delay) + + return () => clearInterval(interval) + }, []) +} diff --git a/ui/src/routes/__root.tsx b/ui/src/routes/__root.tsx index 62239853..3cbfdf97 100644 --- a/ui/src/routes/__root.tsx +++ b/ui/src/routes/__root.tsx @@ -4,6 +4,7 @@ import { createRootRouteWithContext, Outlet } from '@tanstack/react-router' import { TanStackRouterDevtools } from '@tanstack/router-devtools' import { blockTimeQueryOptions, constraintsQueryOptions, mbrQueryOptions } from '@/api/queries' import { Layout } from '@/components/Layout' +import { useCheckForUpdates } from '@/hooks/useCheckForUpdates' export const Route = createRootRouteWithContext<{ queryClient: QueryClient @@ -23,7 +24,16 @@ export const Route = createRootRouteWithContext<{ queryClient.ensureQueryData(constraintsQueryOptions) queryClient.ensureQueryData(mbrQueryOptions) }, - component: () => ( + component: Root, + notFoundComponent: () => { + return

Not Found (on root route)

+ }, +}) + +function Root() { + useCheckForUpdates() + + return ( <> @@ -35,8 +45,5 @@ export const Route = createRootRouteWithContext<{ )} - ), - notFoundComponent: () => { - return

Not Found (on root route)

- }, -}) + ) +} diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 1109260b..ea99629b 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -1,14 +1,34 @@ /// import { TanStackRouterVite } from '@tanstack/router-vite-plugin' import react from '@vitejs/plugin-react' +import fs from 'fs' import path from 'path' -import { defineConfig } from 'vite' +import { defineConfig, Plugin } from 'vite' import { nodePolyfills } from 'vite-plugin-node-polyfills' import { version } from './package.json' +/** + * This plugin replaces the `__APP_VERSION__` placeholder in the `public/version.json` file + */ +const replaceVersionPlugin = (): Plugin => { + return { + name: 'replace-version-in-json', + apply: 'build', + enforce: 'pre', + generateBundle() { + const filePath = path.resolve(__dirname, 'public/version.json') + const content = fs.readFileSync(filePath, 'utf-8') + const updatedContent = content.replace('__APP_VERSION__', version) + const newFilePath = path.resolve(__dirname, 'dist/version.json') + fs.writeFileSync(newFilePath, updatedContent, 'utf-8') + }, + } +} + export default defineConfig({ plugins: [ react(), + replaceVersionPlugin(), TanStackRouterVite(), nodePolyfills({ include: ['path', 'stream', 'util'], From b42c8544944883d1e86e220de6a33342cca782b0 Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Sun, 2 Jun 2024 20:42:55 -0400 Subject: [PATCH 5/8] chore(ui): remove tooltips from ValidatorTable NFDs --- ui/src/components/ValidatorTable.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/components/ValidatorTable.tsx b/ui/src/components/ValidatorTable.tsx index 06d82032..3105a6e1 100644 --- a/ui/src/components/ValidatorTable.tsx +++ b/ui/src/components/ValidatorTable.tsx @@ -192,7 +192,6 @@ export function ValidatorTable({ ) : ( From f4477cd7077477350989ff132db80eb28f436974 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:49:50 -0400 Subject: [PATCH 6/8] chore(ui): update eslint/prettier to v7.11.0 (#211) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 167 ++---------------------------------------------- ui/package.json | 4 +- 2 files changed, 6 insertions(+), 165 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb2dea07..9379165d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -287,11 +287,11 @@ importers: specifier: 18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: 7.8.0 - version: 7.8.0(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)(typescript@5.4.5) + specifier: 7.11.0 + version: 7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': - specifier: 7.8.0 - version: 7.8.0(eslint@8.57.0)(typescript@5.4.5) + specifier: 7.11.0 + version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-react': specifier: 4.3.0 version: 4.3.0(vite@5.2.11) @@ -3644,10 +3644,6 @@ packages: '@types/istanbul-lib-report': 3.0.3 dev: true - /@types/json-schema@7.0.15: - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - dev: true - /@types/json5@0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: true @@ -3690,10 +3686,6 @@ packages: '@types/prop-types': 15.7.12 csstype: 3.1.3 - /@types/semver@7.5.8: - resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - dev: true - /@types/stack-utils@2.0.3: resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} dev: true @@ -3747,35 +3739,6 @@ packages: - supports-color dev: true - /@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-gFTT+ezJmkwutUPmB0skOj3GZJtlEGnlssems4AjkVweUPGj7jRwwqg0Hhg7++kPGJqKtTYx+R05Ftww372aIg==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/type-utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.8.0 - debug: 4.3.4 - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.1 - natural-compare: 1.4.0 - semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3797,27 +3760,6 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-KgKQly1pv0l4ltcftP59uQZCi4HUYswCLbTqVZEJu7uLX8CTLyswqMLqLN+2QFz4jCptqWVV4SB7vdxcH2+0kQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.8.0 - debug: 4.3.4 - eslint: 8.57.0 - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/scope-manager@7.11.0: resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3826,14 +3768,6 @@ packages: '@typescript-eslint/visitor-keys': 7.11.0 dev: true - /@typescript-eslint/scope-manager@7.8.0: - resolution: {integrity: sha512-viEmZ1LmwsGcnr85gIq+FCYI7nO90DVbE37/ll51hjv9aG+YZMb4WDE2fyWpUR4O/UrhGRpYXK/XajcGTk2B8g==} - engines: {node: ^18.18.0 || >=20.0.0} - dependencies: - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/visitor-keys': 7.8.0 - dev: true - /@typescript-eslint/type-utils@7.11.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3854,36 +3788,11 @@ packages: - supports-color dev: true - /@typescript-eslint/type-utils@7.8.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-H70R3AefQDQpz9mGv13Uhi121FNMh+WEaRqcXTX09YEDky21km4dV1ZXJIp8QjXc4ZaVkXVdohvWDzbnbHDS+A==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - debug: 4.3.4 - eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/types@7.11.0: resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==} engines: {node: ^18.18.0 || >=20.0.0} dev: true - /@typescript-eslint/types@7.8.0: - resolution: {integrity: sha512-wf0peJ+ZGlcH+2ZS23aJbOv+ztjeeP8uQ9GgwMJGVLx/Nj9CJt17GWgWWoSmoRVKAX2X+7fzEnAjxdvK2gqCLw==} - engines: {node: ^18.18.0 || >=20.0.0} - dev: true - /@typescript-eslint/typescript-estree@7.11.0(typescript@5.4.5): resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3906,28 +3815,6 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.8.0(typescript@5.4.5): - resolution: {integrity: sha512-5pfUCOwK5yjPaJQNy44prjCwtr981dO8Qo9J9PwYXZ0MosgAbfEMB008dJ5sNo3+/BN6ytBPuSvXUg9SAqB0dg==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/visitor-keys': 7.8.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.4 - semver: 7.6.2 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/utils@7.11.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3944,25 +3831,6 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.8.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-L0yFqOCflVqXxiZyXrDr80lnahQfSOfc9ELAAZ75sqicqp2i36kEZZGuUymHNFoYOqxRT05up760b4iGsl02nQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) - eslint: 8.57.0 - semver: 7.6.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/visitor-keys@7.11.0: resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -3971,14 +3839,6 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.8.0: - resolution: {integrity: sha512-q4/gibTNBQNA0lGyYQCmWRS5D15n8rXh4QjK3KV+MBPlTYHpfBUT3D3PaPR/HeNiI9W6R7FvlkcGhNyAoP+caA==} - engines: {node: ^18.18.0 || >=20.0.0} - dependencies: - '@typescript-eslint/types': 7.8.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true @@ -7818,13 +7678,6 @@ packages: yallist: 3.1.1 dev: true - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - dev: true - /lucide-react@0.379.0(react@18.3.1): resolution: {integrity: sha512-KcdeVPqmhRldldAAgptb8FjIunM2x2Zy26ZBh1RsEUcdLIvsEmbcw7KpzFYUy5BbpGeWhPu9Z9J5YXfStiXwhg==} peerDependencies: @@ -9231,14 +9084,6 @@ packages: hasBin: true dev: true - /semver@7.6.0: - resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver@7.6.2: resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} engines: {node: '>=10'} @@ -10558,10 +10403,6 @@ packages: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} dev: true - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - dev: true - /yaml@2.4.2: resolution: {integrity: sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==} engines: {node: '>= 14'} diff --git a/ui/package.json b/ui/package.json index a79938de..780db858 100644 --- a/ui/package.json +++ b/ui/package.json @@ -15,8 +15,8 @@ "@types/node": "20.12.12", "@types/react": "18.3.3", "@types/react-dom": "18.3.0", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.11.0", + "@typescript-eslint/parser": "7.11.0", "@vitejs/plugin-react": "4.3.0", "@vitest/coverage-v8": "1.6.0", "algo-msgpack-with-bigint": "2.1.1", From bb281600950eca3f52b82e956a1ef927b0034ba7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:55:03 -0400 Subject: [PATCH 7/8] chore(bootstrap): update dependency @types/node to v20.12.13 (#206) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 143 +++++++++++++++++++++++++++++++------------------ 1 file changed, 91 insertions(+), 52 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9379165d..6d8ad3e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -86,7 +86,7 @@ importers: version: 18.2.4 '@types/node': specifier: ^20.12.2 - version: 20.12.12 + version: 20.12.13 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -279,7 +279,7 @@ importers: version: 6.2.2 '@types/node': specifier: 20.12.12 - version: 20.12.12 + version: 20.12.13 '@types/react': specifier: 18.3.3 version: 18.3.3 @@ -312,7 +312,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-prettier: specifier: 5.1.3 - version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.2.5) + version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.3.0) jsdom: specifier: 24.0.0 version: 24.0.0 @@ -330,16 +330,16 @@ importers: version: 3.4.3(ts-node@10.9.2) ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.12.12)(typescript@5.4.5) + version: 10.9.2(@types/node@20.12.13)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vite: specifier: 5.2.11 - version: 5.2.11(@types/node@20.12.12) + version: 5.2.11(@types/node@20.12.13) vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0) + version: 1.6.0(@types/node@20.12.13)(jsdom@24.0.0) packages: @@ -476,7 +476,7 @@ packages: '@babel/traverse': 7.24.6 '@babel/types': 7.24.6 convert-source-map: 2.0.0 - debug: 4.3.4 + debug: 4.3.5 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -1014,7 +1014,7 @@ packages: '@babel/helper-split-export-declaration': 7.24.6 '@babel/parser': 7.24.6 '@babel/types': 7.24.6 - debug: 4.3.4 + debug: 4.3.5 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -1419,7 +1419,7 @@ packages: '@inquirer/figures': 1.0.1 '@inquirer/type': 1.3.1 '@types/mute-stream': 0.0.4 - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@types/wrap-ansi': 3.0.0 ansi-escapes: 4.3.2 chalk: 4.1.2 @@ -1473,7 +1473,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1494,14 +1494,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.12.11) + jest-config: 29.7.0(@types/node@20.14.0) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1529,7 +1529,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 jest-mock: 29.7.0 dev: true @@ -1556,7 +1556,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.12.11 + '@types/node': 20.14.0 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1589,7 +1589,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.12.11 + '@types/node': 20.14.0 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1677,7 +1677,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.12.11 + '@types/node': 20.14.0 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -3409,7 +3409,7 @@ packages: dom-accessibility-api: 0.6.3 lodash: 4.17.21 redent: 3.0.0 - vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0) + vitest: 1.6.0(@types/node@20.12.13)(jsdom@24.0.0) dev: true /@testing-library/react@15.0.7(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1): @@ -3625,7 +3625,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.12.11 + '@types/node': 20.14.0 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -3651,24 +3651,24 @@ packages: /@types/mute-stream@0.0.4: resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 dev: true - /@types/node@20.12.11: - resolution: {integrity: sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==} + /@types/node@20.12.13: + resolution: {integrity: sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==} dependencies: undici-types: 5.26.5 - dev: true - /@types/node@20.12.12: - resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} + /@types/node@20.14.0: + resolution: {integrity: sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==} dependencies: undici-types: 5.26.5 + dev: true /@types/prompts@2.4.9: resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 kleur: 3.0.3 dev: true @@ -3854,7 +3854,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.24.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.11(@types/node@20.12.13) transitivePeerDependencies: - supports-color dev: true @@ -3877,7 +3877,7 @@ packages: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0) + vitest: 1.6.0(@types/node@20.12.13)(jsdom@24.0.0) transitivePeerDependencies: - supports-color dev: true @@ -5239,7 +5239,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.12.11) + jest-config: 29.7.0(@types/node@20.14.0) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -5448,6 +5448,18 @@ packages: ms: 2.1.2 dev: true + /debug@4.3.5: + resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: true + /decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} @@ -5975,6 +5987,27 @@ packages: synckit: 0.8.8 dev: true + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.3.0): + resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + dependencies: + eslint: 8.57.0 + eslint-config-prettier: 9.1.0(eslint@8.57.0) + prettier: 3.3.0 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.8 + dev: true + /eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -7017,7 +7050,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -7055,7 +7088,7 @@ packages: create-jest: 29.7.0 exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.12.11) + jest-config: 29.7.0(@types/node@20.14.0) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -7066,7 +7099,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.12.11): + /jest-config@29.7.0(@types/node@20.14.0): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -7081,7 +7114,7 @@ packages: '@babel/core': 7.24.5 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 babel-jest: 29.7.0(@babel/core@7.24.5) chalk: 4.1.2 ci-info: 3.9.0 @@ -7141,7 +7174,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -7157,7 +7190,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.12.11 + '@types/node': 20.14.0 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -7208,7 +7241,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 jest-util: 29.7.0 dev: true @@ -7263,7 +7296,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -7294,7 +7327,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 chalk: 4.1.2 cjs-module-lexer: 1.3.1 collect-v8-coverage: 1.0.2 @@ -7346,7 +7379,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.12 + '@types/node': 20.14.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -7371,7 +7404,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.11 + '@types/node': 20.14.0 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -7383,7 +7416,7 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.12.11 + '@types/node': 20.14.0 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -8480,7 +8513,7 @@ packages: dependencies: lilconfig: 3.1.1 postcss: 8.4.38 - ts-node: 10.9.2(@types/node@20.12.12)(typescript@5.4.5) + ts-node: 10.9.2(@types/node@20.12.13)(typescript@5.4.5) yaml: 2.4.2 /postcss-nested@6.0.1(postcss@8.4.38): @@ -8528,6 +8561,12 @@ packages: hasBin: true dev: true + /prettier@3.3.0: + resolution: {integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==} + engines: {node: '>=14'} + hasBin: true + dev: true + /pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -9663,7 +9702,7 @@ packages: code-block-writer: 12.0.0 dev: true - /ts-node@10.9.2(@types/node@20.12.12)(typescript@5.4.5): + /ts-node@10.9.2(@types/node@20.12.13)(typescript@5.4.5): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -9682,7 +9721,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.12.12 + '@types/node': 20.12.13 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -10077,7 +10116,7 @@ packages: d3-timer: 3.0.1 dev: false - /vite-node@1.6.0(@types/node@20.12.12): + /vite-node@1.6.0(@types/node@20.12.13): resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10086,7 +10125,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.11(@types/node@20.12.13) transitivePeerDependencies: - '@types/node' - less @@ -10105,12 +10144,12 @@ packages: dependencies: '@rollup/plugin-inject': 5.0.5 node-stdlib-browser: 1.2.0 - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.11(@types/node@20.12.13) transitivePeerDependencies: - rollup dev: false - /vite@5.2.11(@types/node@20.12.12): + /vite@5.2.11(@types/node@20.12.13): resolution: {integrity: sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10138,14 +10177,14 @@ packages: terser: optional: true dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.17.2 optionalDependencies: fsevents: 2.3.3 - /vitest@1.6.0(@types/node@20.12.12)(jsdom@24.0.0): + /vitest@1.6.0(@types/node@20.12.13)(jsdom@24.0.0): resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10170,7 +10209,7 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 '@vitest/snapshot': 1.6.0 @@ -10189,8 +10228,8 @@ packages: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.11(@types/node@20.12.12) - vite-node: 1.6.0(@types/node@20.12.12) + vite: 5.2.11(@types/node@20.12.13) + vite-node: 1.6.0(@types/node@20.12.13) why-is-node-running: 2.2.2 transitivePeerDependencies: - less From 577d84d25ad84f7ac8aa49d0bd050e025e3024cc Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Mon, 3 Jun 2024 14:01:08 -0400 Subject: [PATCH 8/8] chore: release v0.9.3 --- contracts/bootstrap/package.json | 2 +- contracts/package.json | 2 +- ui/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/bootstrap/package.json b/contracts/bootstrap/package.json index e3516886..5d2a1448 100644 --- a/contracts/bootstrap/package.json +++ b/contracts/bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "bootstrap", - "version": "0.9.2", + "version": "0.9.3", "description": "", "main": "index.ts", "scripts": { diff --git a/contracts/package.json b/contracts/package.json index c559a8d1..731ff5dd 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,6 +1,6 @@ { "name": "reti-contracts", - "version": "0.9.2", + "version": "0.9.3", "license": "MIT", "scripts": { "generate-client": "algokit generate client contracts/artifacts/ --language typescript --output contracts/clients/{contract_name}Client.ts && ./update_contract_artifacts.sh``", diff --git a/ui/package.json b/ui/package.json index 780db858..818e8c4d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "reti-ui", - "version": "0.9.2", + "version": "0.9.3", "private": true, "type": "module", "engines": {