diff --git a/package.json b/package.json index bde6f7d..e72072d 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "react-error-boundary": "^3.1.4", "typescript": "^4.9.3", "uuid": "^9.0.0", - "zustand": "^4.3.3" + "zustand": "^5.0.3" }, "devDependencies": { "@babel/core": "^7.22.5", diff --git a/src/components/RemoteComponent.tsx b/src/components/RemoteComponent.tsx index db11524..0fdc14e 100644 --- a/src/components/RemoteComponent.tsx +++ b/src/components/RemoteComponent.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import IframeResizer from "iframe-resizer-react"; import React, { ComponentType, FC, useEffect, useState } from "react"; import { ErrorBoundary, FallbackProps } from "react-error-boundary"; @@ -62,7 +63,7 @@ export const RemoteComponent: FC = ({ } }, []); - const onLoad = (e: any) => { + const onLoad = () => { // Populate Iframe widgets with any events they may have missed before loading const iframe = document.getElementById(widget.id) as HTMLIFrameElement; diff --git a/src/store.ts b/src/store.ts index d8db920..7ea8633 100644 --- a/src/store.ts +++ b/src/store.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import { v4 as uuidv4 } from "uuid"; import { createStore } from "zustand/vanilla"; import "iframe-resizer/js/iframeResizer.contentWindow"; diff --git a/yarn.lock b/yarn.lock index 6ace7bf..da66961 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4712,9 +4712,7 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zustand@^4.3.3: - version "4.3.6" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.6.tgz#ce7804eb75361af0461a2d0536b65461ec5de86f" - integrity sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw== - dependencies: - use-sync-external-store "1.2.0" +zustand@^5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-5.0.3.tgz#b323435b73d06b2512e93c77239634374b0e407f" + integrity sha512-14fwWQtU3pH4dE0dOpdMiWjddcH+QzKIgk1cl8epwSE7yag43k/AD/m4L6+K7DytAOr9gGBe3/EXj9g7cdostg==