fix build error and update packages!

Issue caused by Rollup 4.45.0
https://github.com/rollup/rollup/issues/6012
Solved with temp fix:
https://github.com/mengxi-ream/read-frog/issues/184
This commit is contained in:
Pas 2025-07-12 15:54:27 -06:00
parent 102c228f3c
commit e8c3f1f25f
8 changed files with 860 additions and 1459 deletions

View file

@ -42,16 +42,16 @@
"@react-spring/web": "^9.7.5",
"@scure/bip39": "^1.6.0",
"@sozialhelden/ietf-language-tags": "^5.4.2",
"@types/node-forge": "^1.3.11",
"@types/node-forge": "^1.3.13",
"classnames": "^2.5.1",
"core-js": "^3.42.0",
"core-js": "^3.44.0",
"detect-browser": "^5.3.0",
"dompurify": "^3.2.5",
"flag-icons": "^7.3.2",
"dompurify": "^3.2.6",
"flag-icons": "^7.5.0",
"focus-trap-react": "^10.3.1",
"fscreen": "^1.2.0",
"fuse.js": "^7.1.0",
"hls.js": "^1.6.2",
"hls.js": "^1.6.7",
"i18next": "^23.16.8",
"immer": "^10.1.1",
"iso-639-3": "^3.0.1",
@ -65,23 +65,23 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-ga4": "^2.1.0",
"react-google-recaptcha-v3": "^1.10.1",
"react-google-recaptcha-v3": "^1.11.0",
"react-helmet-async": "^2.0.5",
"react-i18next": "^14.1.3",
"react-lazy-with-preload": "^2.2.1",
"react-router-dom": "^6.30.0",
"react-router-dom": "^6.30.1",
"react-sticky-el": "^2.1.1",
"react-use": "^17.6.0",
"semver": "^7.7.1",
"semver": "^7.7.2",
"slugify": "^1.6.6",
"subsrt-ts": "^2.1.2",
"zustand": "^4.5.6"
"zustand": "^4.5.7"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-typescript": "^7.27.1",
"@rollup/wasm-node": "^4.40.2",
"@rollup/wasm-node": "^4.45.0",
"@types/chromecast-caf-sender": "^1.0.11",
"@types/crypto-js": "^4.2.2",
"@types/dompurify": "^3.2.0",
@ -89,9 +89,9 @@
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.merge": "^4.6.9",
"@types/lodash.throttle": "^4.1.9",
"@types/node": "^20.17.44",
"@types/node": "^20.19.7",
"@types/pako": "^2.0.3",
"@types/react": "^18.3.21",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"@types/react-helmet": "^6.1.11",
"@types/react-lazy-load-image-component": "^1.6.4",
@ -102,25 +102,25 @@
"@types/semver": "^7.7.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.4.1",
"@vitejs/plugin-react": "^4.6.0",
"autoprefixer": "^10.4.21",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"glob": "^10.4.5",
"handlebars": "^4.7.8",
"jsdom": "^23.2.0",
"postcss": "^8.5.3",
"postcss": "^8.5.6",
"postcss-rtl": "^2.0.0",
"postcss-rtlcss": "^4.0.9",
"prettier": "^3.5.3",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.5.14",
"rollup-plugin-visualizer": "^5.14.0",
"tailwind-scrollbar": "^3.1.0",
@ -142,7 +142,7 @@
"postcss@<8.4.31": ">=8.4.31",
"@babel/traverse@<7.23.2": ">=7.23.2",
"crypto-js@<4.2.0": ">=4.2.0",
"rollup": "npm:@rollup/wasm-node"
"rollup": "4.43.0"
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -41,8 +41,7 @@ export const SearchBarInput = forwardRef<HTMLInputElement, SearchBarProps>(
<div ref={containerRef}>
<Flare.Base
className={c({
"hover:flare-enabled group flex flex-col rounded-[28px] transition-colors sm:flex-row sm:items-center relative backdrop-blur-sm":
true,
"hover:flare-enabled group flex flex-col rounded-[28px] transition-colors sm:flex-row sm:items-center relative backdrop-blur-sm": true,
"transition-colors duration-300": true,
"bg-search-background/50": !focused && lightTheme,
"bg-search-background":

View file

@ -33,8 +33,7 @@ export function StatusCircle(props: StatusCircleProps | StatusCircleLoading) {
<div
className={classNames(
{
"p-0.5 border-current border-[3px] rounded-full h-6 w-6 relative transition-colors":
true,
"p-0.5 border-current border-[3px] rounded-full h-6 w-6 relative transition-colors": true,
"text-video-scraping-loading": props.type === "loading",
"text-video-scraping-noresult text-opacity-50":
props.type === "waiting",

View file

@ -14,8 +14,7 @@ export function Card(props: {
<div
className={classNames(
{
"bg-onboarding-card duration-300 border border-onboarding-border rounded-lg p-7":
true,
"bg-onboarding-card duration-300 border border-onboarding-border rounded-lg p-7": true,
"hover:bg-onboarding-cardHover transition-colors cursor-pointer":
!!props.onClick,
},

View file

@ -14,8 +14,7 @@ export function Card(props: {
<div
className={classNames(
{
"bg-onboarding-card duration-300 border border-onboarding-border rounded-lg p-7":
true,
"bg-onboarding-card duration-300 border border-onboarding-border rounded-lg p-7": true,
"hover:bg-onboarding-cardHover transition-colors cursor-pointer":
!!props.onClick,
},

View file

@ -104,8 +104,7 @@ export function ScrapingPart(props: ScrapingProps) {
) : null}
<div
className={classNames({
"absolute transition-[transform,opacity] opacity-0 dir-neutral:left-0":
true,
"absolute transition-[transform,opacity] opacity-0 dir-neutral:left-0": true,
"!opacity-100": renderedOnce,
})}
ref={listRef}

View file

@ -376,8 +376,7 @@ export function SetupPart() {
<div>
<div
className={classNames({
"rounded-full h-12 w-12 flex bg-opacity-15 justify-center items-center":
true,
"rounded-full h-12 w-12 flex bg-opacity-15 justify-center items-center": true,
"text-type-success bg-type-success": globalState === "success",
"text-type-danger bg-type-danger":
globalState === "error" || globalState === "unset",