diff --git a/README.md b/README.md index 7d28fe771..18bd56600 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ RomM (ROM Manager) allows you to scan, enrich, browse and play your game collect - Metadata available for [400+ platforms][docs-supported-platforms] - Play games directly from the browser using [EmulatorJS][docs-emulatorjs] and [RuffleRS][docs-rufflers] - Share your library with friends with limited access and permissions -- Official apps for [Playnite][playnite-app] and [muOS][muos-app] +- Official apps for [Playnite][playnite-app], [Android][argosy-launcher] and [CFWs][grout] - Supports multi-disk games, DLCs, mods, hacks, patches, and manuals - Parse and filter by [tags][docs-tag-support] in filenames - View, upload, update, and delete games from any modern web browser @@ -53,28 +53,32 @@ Here are a few projects maintained by members of our community. Please note that ### Mobile -- [romm-mobile][romm-mobile]: Android (and soon iOS) app by @mattsays -- [romm-ios-app][romm-ios-app]: Native iOS app by @ilyas-hallak -- [romm-android][romm-android]: Android app by @samwelnella -- [Argosy][argosy-launcher]: Native client for installing and launching games by @tmgast +- 🔷 [Argosy][argosy-launcher]: Native client for installing and launching games by [@tmgast](https://github.com/tmgast) +- [romm-ios-app][romm-ios-app]: Native iOS app by [@ilyas-hallak](https://github.com/ilyas-hallak) +- [romm-mobile][romm-mobile]: Android (and soon iOS) app by [@mattsays](https://github.com/mattsays) +- [romm-android][romm-android]: Android app by [@samwelnella](https://github.com/samwelnella) ### Desktop -- [RommBrowser][romm-browser]: Electron client by @smurflabs -- [RetroArch Sync][romm-retroarch-sync]: Sync RetroArch library with RomM by @Covin90 -- [RomMate][rommate]: Desktop app for browsing your collection by @brenoprata10 -- [romm-client][romm-client]: Desktop client by @chaun14 +- 🔷 [Playnite plugin][playnite-app]: Library plugin for Playnite by [@gantoine](https://github.com/gantoine) +- [RommBrowser][romm-browser]: Electron client by [@smurflabs](https://github.com/smurflabs) +- [RetroArch Sync][romm-retroarch-sync]: Sync RetroArch library with RomM by [@Covin90](https://github.com/Covin90) +- [RomMate][rommate]: Desktop app for browsing your collection by [@brenoprata10](https://github.com/brenoprata10) +- [romm-client][romm-client]: Desktop client by [@chaun14](https://github.com/chaun14) ### Handhelds -- [Grout][grout]: Download client for muOS and NextUI by @UncleJunVIP -- [DeckRommSync][deck-romm-sync]: SteamOS downloader and syncer by @PeriBluGaming -- [SwitchRomM][switch-romm]: Homebrew NRO for Switch by @Shalasere +- 🔷 [Grout][grout]: Download client for muOS and NextUI by [@BrandonKowalski](https://github.com/BrandonKowalski) +- [DeckRommSync][deck-romm-sync]: SteamOS downloader and syncer by [@PeriBluGaming](https://github.com/PeriBluGaming) +- [SwitchRomM][switch-romm]: Homebrew NRO for Switch by [@Shalasere](https://github.com/Shalasere) ### Other -- [romm-comm][romm-comm-discord-bot]: Discord bot by @idio-sync -- [GGRequestz][ggrequestz]: Game discovery and request tool by @XTREEMMAK +- [romm-comm][romm-comm-discord-bot]: Discord bot by [@idio-sync](https://github.com/idio-sync) +- [GGRequestz][ggrequestz]: Game discovery and request tool by [@XTREEMMAK](https://github.com/XTREEMMAK) +- [Syncthing sync][syncthing-sync]: Small tool to push a Syncthing library to RomM by [@amn-96](https://github.com/amn-96) + +[🔷] Official first-party app Join us on Discord, where you can ask questions, submit ideas, get help, showcase your collection, and discuss RomM with other users. @@ -156,12 +160,12 @@ Here are a few projects that we think you might like: [romm-browser]: https://github.com/smurflabs/RommBrowser/ [romm-mobile]: https://github.com/mattsays/romm-mobile [playnite-app]: https://github.com/rommapp/playnite-plugin -[muos-app]: https://github.com/rommapp/muos-app [ggrequestz]: https://github.com/XTREEMMAK/ggrequestz +[syncthing-sync]: https://github.com/amn-96/romm_syncthing_sync [romm-client]: https://github.com/chaun14/romm-client [romm-retroarch-sync]: https://github.com/Covin90/romm-retroarch-sync [rommate]: https://github.com/brenoprata10/rommate [romm-android]: https://github.com/samwelnella/romm-android [grout]: https://github.com/rommapp/grout [romm-ios-app]: https://github.com/ilyas-hallak/romm-ios-app -[argosy-launcher]: https://github.com/nendotools/argosy-launcher +[argosy-launcher]: https://github.com/rommapp/argosy-launcher diff --git a/backend/endpoints/configs.py b/backend/endpoints/configs.py index 2a37dec21..65482f5f8 100644 --- a/backend/endpoints/configs.py +++ b/backend/endpoints/configs.py @@ -26,7 +26,7 @@ class ExclusionPayload(BaseModel): @router.get("") -def get_config() -> ConfigResponse: +def get_config(request: Request) -> ConfigResponse: """Get config endpoint Returns: @@ -51,7 +51,10 @@ def get_config() -> ConfigResponse: EJS_DISABLE_AUTO_UNLOAD=cfg.EJS_DISABLE_AUTO_UNLOAD, EJS_DISABLE_BATCH_BOOTUP=cfg.EJS_DISABLE_BATCH_BOOTUP, EJS_NETPLAY_ENABLED=cfg.EJS_NETPLAY_ENABLED, - EJS_NETPLAY_ICE_SERVERS=cfg.EJS_NETPLAY_ICE_SERVERS, + # Contains credentials, so only send when authenticated + EJS_NETPLAY_ICE_SERVERS=( + cfg.EJS_NETPLAY_ICE_SERVERS if request.user.is_authenticated else [] + ), EJS_CONTROLS=cfg.EJS_CONTROLS, EJS_SETTINGS=cfg.EJS_SETTINGS, SCAN_METADATA_PRIORITY=cfg.SCAN_METADATA_PRIORITY, diff --git a/backend/endpoints/saves.py b/backend/endpoints/saves.py index a481e471a..08ff1892a 100644 --- a/backend/endpoints/saves.py +++ b/backend/endpoints/saves.py @@ -266,7 +266,7 @@ async def add_save( rom_id=rom.id, ) db_screenshot = db_screenshot_handler.get_screenshot( - filename=screenshotFile.filename, + file_name=screenshotFile.filename, rom_id=rom.id, user_id=request.user.id, ) @@ -488,7 +488,7 @@ async def update_save( rom_id=db_save.rom.id, ) db_screenshot = db_screenshot_handler.get_screenshot( - filename=screenshotFile.filename, + file_name=screenshotFile.filename, rom_id=db_save.rom.id, user_id=request.user.id, ) diff --git a/backend/endpoints/screenshots.py b/backend/endpoints/screenshots.py index b60a78d7a..58cb27bd6 100644 --- a/backend/endpoints/screenshots.py +++ b/backend/endpoints/screenshots.py @@ -66,7 +66,7 @@ async def add_screenshot( rom_id=rom.id, ) db_screenshot = db_screenshot_handler.get_screenshot( - filename=screenshotFile.filename, + file_name=screenshotFile.filename, rom_id=rom.id, user_id=current_user.id, ) diff --git a/backend/endpoints/states.py b/backend/endpoints/states.py index 5afcaff8b..aed55c671 100644 --- a/backend/endpoints/states.py +++ b/backend/endpoints/states.py @@ -112,7 +112,7 @@ async def add_state( rom_id=rom.id, ) db_screenshot = db_screenshot_handler.get_screenshot( - filename=screenshotFile.filename, + file_name=screenshotFile.filename, rom_id=rom.id, user_id=request.user.id, ) @@ -226,7 +226,7 @@ async def update_state( rom_id=db_state.rom.id, ) db_screenshot = db_screenshot_handler.get_screenshot( - filename=screenshotFile.filename, + file_name=screenshotFile.filename, rom_id=db_state.rom.id, user_id=request.user.id, ) diff --git a/backend/handler/database/screenshots_handler.py b/backend/handler/database/screenshots_handler.py index aa7713890..355c50aaa 100644 --- a/backend/handler/database/screenshots_handler.py +++ b/backend/handler/database/screenshots_handler.py @@ -1,7 +1,8 @@ from collections.abc import Sequence from functools import partial -from sqlalchemy import delete, select, update +import pydash +from sqlalchemy import case, delete, or_, select, update from sqlalchemy.orm import Session from sqlalchemy.sql import Delete, Select, Update @@ -16,27 +17,30 @@ class DBScreenshotsHandler(DBBaseHandler): self, query: QueryT, *, + rom_id: int, + user_id: int, filenames: Sequence[str] = (), - filenames_no_ext: Sequence[str] = (), - rom_ids: Sequence[int] = (), - user_ids: Sequence[int] = (), exclude_filenames: Sequence[str] = (), - exclude_filenames_no_ext: Sequence[str] = (), ) -> QueryT: + query = query.filter( + Screenshot.rom_id == rom_id, + Screenshot.user_id == user_id, + ) + if filenames: - query = query.filter(Screenshot.file_name.in_(filenames)) - if filenames_no_ext: - query = query.filter(Screenshot.file_name_no_ext.in_(filenames_no_ext)) - if rom_ids: - query = query.filter(Screenshot.rom_id.in_(rom_ids)) - if user_ids: - query = query.filter(Screenshot.user_id.in_(user_ids)) - if exclude_filenames: - query = query.filter(Screenshot.file_name.not_in(exclude_filenames)) - if exclude_filenames_no_ext: query = query.filter( - Screenshot.file_name_no_ext.not_in(exclude_filenames_no_ext) + or_( + Screenshot.file_name.in_(filenames), + Screenshot.file_name_no_ext.in_(filenames), + ) ) + + if exclude_filenames: + query = query.filter( + Screenshot.file_name.not_in(exclude_filenames), + Screenshot.file_name_no_ext.not_in(exclude_filenames), + ) + return query @begin_session @@ -51,18 +55,22 @@ class DBScreenshotsHandler(DBBaseHandler): def get_screenshot( self, *, - filename: str | None = None, - filename_no_ext: str | None = None, - rom_id: int | None = None, - user_id: int | None = None, + rom_id: int, + user_id: int, + file_name: str, + file_name_no_ext: str | None = None, session: Session = None, # type: ignore ) -> Screenshot | None: query = self.filter( select(Screenshot), - filenames=[filename] if filename is not None else (), - filenames_no_ext=[filename_no_ext] if filename_no_ext is not None else (), - rom_ids=[rom_id] if rom_id is not None else (), - user_ids=[user_id] if user_id is not None else (), + rom_id=rom_id, + user_id=user_id, + filenames=pydash.compact([file_name, file_name_no_ext]), + ) + # Prefer exact stem matches first + query = query.order_by( + case((Screenshot.file_name_no_ext == file_name, 0), else_=1), + Screenshot.id.desc(), ) return session.scalars(query.limit(1)).first() @@ -111,8 +119,8 @@ class DBScreenshotsHandler(DBBaseHandler): ) -> Sequence[Screenshot]: query_fn = partial( self.filter, - rom_ids=[rom_id], - user_ids=[user_id], + rom_id=rom_id, + user_id=user_id, exclude_filenames=screenshots_to_keep, ) diff --git a/backend/handler/filesystem/base_handler.py b/backend/handler/filesystem/base_handler.py index 9be74d0a7..a0c2650b5 100644 --- a/backend/handler/filesystem/base_handler.py +++ b/backend/handler/filesystem/base_handler.py @@ -83,10 +83,10 @@ REGIONS = ( ("W", "World"), ) -REGIONS_BY_SHORTCODE = {region[0].lower(): region[1] for region in REGIONS} +REGIONS_BY_SHORTCODE = {region[0]: region[1] for region in REGIONS} REGIONS_NAME_KEYS = frozenset(region[1].lower() for region in REGIONS) -LANGUAGES_BY_SHORTCODE = {lang[0].lower(): lang[1] for lang in LANGUAGES} +LANGUAGES_BY_SHORTCODE = {lang[0]: lang[1] for lang in LANGUAGES} LANGUAGES_NAME_KEYS = frozenset(lang[1].lower() for lang in LANGUAGES) diff --git a/backend/handler/filesystem/roms_handler.py b/backend/handler/filesystem/roms_handler.py index 5c6401f59..dceb9eb9b 100644 --- a/backend/handler/filesystem/roms_handler.py +++ b/backend/handler/filesystem/roms_handler.py @@ -334,46 +334,46 @@ class FSRomsHandler(FSHandler): regions, languages, other_tags = [], [], [] version = revision = "" - for raw in tags: - tag = raw.lower() + for raw_tag in tags: + lower_tag = raw_tag.lower() # Region by code - if tag in REGIONS_BY_SHORTCODE.keys(): - regions.append(REGIONS_BY_SHORTCODE[tag]) + if raw_tag in REGIONS_BY_SHORTCODE.keys(): + regions.append(REGIONS_BY_SHORTCODE[raw_tag]) continue - if tag in REGIONS_NAME_KEYS: - regions.append(raw) + if lower_tag in REGIONS_NAME_KEYS: + regions.append(raw_tag) continue # Language by code - if tag in LANGUAGES_BY_SHORTCODE.keys(): - languages.append(LANGUAGES_BY_SHORTCODE[tag]) + if raw_tag in LANGUAGES_BY_SHORTCODE.keys(): + languages.append(LANGUAGES_BY_SHORTCODE[raw_tag]) continue - if tag in LANGUAGES_NAME_KEYS: - languages.append(raw) + if lower_tag in LANGUAGES_NAME_KEYS: + languages.append(raw_tag) continue # Version - version_match = VERSION_TAG_REGEX.match(raw) + version_match = VERSION_TAG_REGEX.match(raw_tag) if version_match: version = version_match[1] continue # Region prefix - region_match = REGION_TAG_REGEX.match(raw) + region_match = REGION_TAG_REGEX.match(raw_tag) if region_match: key = region_match[1].lower() regions.append(REGIONS_BY_SHORTCODE.get(key, region_match[1])) continue # Revision prefix - revision_match = REVISION_TAG_REGEX.match(raw) + revision_match = REVISION_TAG_REGEX.match(raw_tag) if revision_match: revision = revision_match[1] continue # Anything else - other_tags.append(raw) + other_tags.append(raw_tag) return ParsedTags( version=version, diff --git a/backend/models/assets.py b/backend/models/assets.py index 4311c069b..f26eb18fb 100644 --- a/backend/models/assets.py +++ b/backend/models/assets.py @@ -50,6 +50,14 @@ class RomAsset(BaseAsset): user_id: Mapped[int] = mapped_column(ForeignKey("users.id", ondelete="CASCADE")) +class Screenshot(RomAsset): + __tablename__ = "screenshots" + __table_args__ = {"extend_existing": True} + + rom: Mapped[Rom] = relationship(lazy="joined", back_populates="screenshots") + user: Mapped[User] = relationship(lazy="joined", back_populates="screenshots") + + class Save(RomAsset): __tablename__ = "saves" __table_args__ = {"extend_existing": True} @@ -71,8 +79,10 @@ class Save(RomAsset): from handler.database import db_screenshot_handler return db_screenshot_handler.get_screenshot( - filename_no_ext=self.file_name_no_ext, rom_id=self.rom_id, + user_id=self.user_id, + file_name=self.file_name, # Match state filename against screenshot filename stem + file_name_no_ext=self.file_name_no_ext, ) @@ -90,14 +100,8 @@ class State(RomAsset): from handler.database import db_screenshot_handler return db_screenshot_handler.get_screenshot( - filename_no_ext=self.file_name_no_ext, rom_id=self.rom_id, + user_id=self.user_id, + file_name=self.file_name, # Match state filename against screenshot filename stem + file_name_no_ext=self.file_name_no_ext, ) - - -class Screenshot(RomAsset): - __tablename__ = "screenshots" - __table_args__ = {"extend_existing": True} - - rom: Mapped[Rom] = relationship(lazy="joined", back_populates="screenshots") - user: Mapped[User] = relationship(lazy="joined", back_populates="screenshots") diff --git a/backend/tests/endpoints/test_assets.py b/backend/tests/endpoints/test_assets.py index efe1c527b..db7c02e1a 100644 --- a/backend/tests/endpoints/test_assets.py +++ b/backend/tests/endpoints/test_assets.py @@ -3,6 +3,12 @@ from fastapi import status from fastapi.testclient import TestClient from main import app +from handler.database import db_save_handler, db_screenshot_handler, db_state_handler +from models.assets import Save, Screenshot, State +from models.platform import Platform +from models.rom import Rom +from models.user import User + @pytest.fixture def client(): @@ -32,3 +38,200 @@ def test_delete_states(client, access_token, state): body = response.json() assert len(body) == 1 + + +def test_get_states_prefers_exact_matching_screenshot_filename( + client: TestClient, + access_token: str, + rom: Rom, + platform: Platform, + admin_user: User, +): + state_1 = db_state_handler.add_state( + State( + rom_id=rom.id, + user_id=admin_user.id, + file_name="test_game.state1", + file_name_no_tags="test_game", + file_name_no_ext="test_game", + file_extension="state1", + emulator="retroarch", + file_path=f"{platform.slug}/states/retroarch", + file_size_bytes=1, + ) + ) + state_2 = db_state_handler.add_state( + State( + rom_id=rom.id, + user_id=admin_user.id, + file_name="test_game.state2", + file_name_no_tags="test_game", + file_name_no_ext="test_game", + file_extension="state2", + emulator="retroarch", + file_path=f"{platform.slug}/states/retroarch", + file_size_bytes=1, + ) + ) + + # Ambiguous fallback screenshot stem (`test_game`) that used to be picked for both. + screenshots_data = [ + { + "file_name": "test_game.state.auto.png", + "file_name_no_tags": "test_game", + "file_name_no_ext": "test_game", + }, + { + "file_name": "test_game.state1.png", + "file_name_no_tags": "test_game.state1", + "file_name_no_ext": "test_game.state1", + }, + { + "file_name": "test_game.state2.png", + "file_name_no_tags": "test_game.state2", + "file_name_no_ext": "test_game.state2", + }, + ] + + for data in screenshots_data: + db_screenshot_handler.add_screenshot( + Screenshot( + rom_id=rom.id, + user_id=admin_user.id, + file_extension="png", + file_path=f"{platform.slug}/screenshots", + file_size_bytes=1, + **data, + ) + ) + + response = client.get( + "/api/states", + headers={"Authorization": f"Bearer {access_token}"}, + params={"rom_id": rom.id}, + ) + assert response.status_code == status.HTTP_200_OK + + states_by_id = {item["id"]: item for item in response.json()} + assert states_by_id[state_1.id]["screenshot"]["file_name"] == "test_game.state1.png" + assert states_by_id[state_2.id]["screenshot"]["file_name"] == "test_game.state2.png" + + +def test_get_states_screenshot_match_is_scoped_by_user( + client: TestClient, + access_token: str, + rom: Rom, + platform: Platform, + admin_user: User, + editor_user: User, +): + state = db_state_handler.add_state( + State( + rom_id=rom.id, + user_id=admin_user.id, + file_name="test_game.state1", + file_name_no_tags="test_game", + file_name_no_ext="test_game", + file_extension="state1", + emulator="retroarch", + file_path=f"{platform.slug}/states/retroarch", + file_size_bytes=1, + ) + ) + + for user in [editor_user, admin_user]: + db_screenshot_handler.add_screenshot( + Screenshot( + rom_id=rom.id, + user_id=user.id, + file_name="test_game.state1.png", + file_name_no_tags="test_game.state1", + file_name_no_ext="test_game.state1", + file_extension="png", + file_path=f"{platform.slug}/screenshots", + file_size_bytes=1, + ) + ) + + response = client.get( + f"/api/states/{state.id}", + headers={"Authorization": f"Bearer {access_token}"}, + ) + assert response.status_code == status.HTTP_200_OK + assert response.json()["screenshot"]["user_id"] == admin_user.id + + +def test_get_saves_prefers_exact_matching_screenshot_filename( + client: TestClient, + access_token: str, + rom: Rom, + platform: Platform, + admin_user: User, +): + save_1 = db_save_handler.add_save( + Save( + rom_id=rom.id, + user_id=admin_user.id, + file_name="test_game.state1", + file_name_no_tags="test_game", + file_name_no_ext="test_game", + file_extension="state1", + emulator="retroarch", + file_path=f"{platform.slug}/saves/retroarch", + file_size_bytes=1, + ) + ) + save_2 = db_save_handler.add_save( + Save( + rom_id=rom.id, + user_id=admin_user.id, + file_name="test_game.state2", + file_name_no_tags="test_game", + file_name_no_ext="test_game", + file_extension="state2", + emulator="retroarch", + file_path=f"{platform.slug}/saves/retroarch", + file_size_bytes=1, + ) + ) + + screenshots_data = [ + { + "file_name": "test_game.state.auto.png", + "file_name_no_tags": "test_game", + "file_name_no_ext": "test_game", + }, + { + "file_name": "test_game.state1.png", + "file_name_no_tags": "test_game.state1", + "file_name_no_ext": "test_game.state1", + }, + { + "file_name": "test_game.state2.png", + "file_name_no_tags": "test_game.state2", + "file_name_no_ext": "test_game.state2", + }, + ] + + for data in screenshots_data: + db_screenshot_handler.add_screenshot( + Screenshot( + rom_id=rom.id, + user_id=admin_user.id, + file_extension="png", + file_path=f"{platform.slug}/screenshots", + file_size_bytes=1, + **data, + ) + ) + + response = client.get( + "/api/saves", + headers={"Authorization": f"Bearer {access_token}"}, + params={"rom_id": rom.id}, + ) + assert response.status_code == status.HTTP_200_OK + + saves_by_id = {item["id"]: item for item in response.json()} + assert saves_by_id[save_1.id]["screenshot"]["file_name"] == "test_game.state1.png" + assert saves_by_id[save_2.id]["screenshot"]["file_name"] == "test_game.state2.png" diff --git a/docker/Dockerfile b/docker/Dockerfile index 1678ca376..e7481454e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,7 +19,7 @@ ARG PYTHON_VERSION=3.13 ARG PYTHON_ALPINE_SHA256=bb1f2fdb1065c85468775c9d680dcd344f6442a2d1181ef7916b60a623f11d40 ARG NODE_VERSION=24.13 ARG NODE_ALPINE_SHA256=4f696fbf39f383c1e486030ba6b289a5d9af541642fc78ab197e584a113b9c03 -ARG NGINX_VERSION=1.29.2 +ARG NGINX_VERSION=1.29.5 ARG NGINX_SHA256=1d13701a5f9f3fb01aaa88cef2344d65b6b5bf6b7d9fa4cf0dca557a8d7702ba ARG UV_VERSION=0.8.24 ARG UV_SHA256=779f3d612539b4696a1b228724cd79b6e8b8604075a9ac7d15378bccf4053373 diff --git a/docker/nginx/templates/default.conf.template b/docker/nginx/templates/default.conf.template index b7031a721..80b58e785 100644 --- a/docker/nginx/templates/default.conf.template +++ b/docker/nginx/templates/default.conf.template @@ -56,6 +56,7 @@ server { proxy_pass http://wsgi_server; proxy_request_buffering off; proxy_buffering off; + proxy_read_timeout 300s; } location ~ ^/(ws|netplay) { proxy_pass http://wsgi_server; diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 37d4c90a5..c3f49660a 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -2906,9 +2906,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.41.1.tgz", - "integrity": "sha512-NELNvyEWZ6R9QMkiytB4/L4zSEaBC03KIXEghptLGLZWJ6VPrL63ooZQCOnlx36aQPGhzuOMwDerC1Eb2VmrLw==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz", + "integrity": "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg==", "cpu": [ "arm" ], @@ -2919,9 +2919,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.41.1.tgz", - "integrity": "sha512-DXdQe1BJ6TK47ukAoZLehRHhfKnKg9BjnQYUu9gzhI8Mwa1d2fzxA1aw2JixHVl403bwp1+/o/NhhHtxWJBgEA==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz", + "integrity": "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q==", "cpu": [ "arm64" ], @@ -2932,9 +2932,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.41.1.tgz", - "integrity": "sha512-5afxvwszzdulsU2w8JKWwY8/sJOLPzf0e1bFuvcW5h9zsEg+RQAojdW0ux2zyYAz7R8HvvzKCjLNJhVq965U7w==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz", + "integrity": "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg==", "cpu": [ "arm64" ], @@ -2945,9 +2945,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.41.1.tgz", - "integrity": "sha512-egpJACny8QOdHNNMZKf8xY0Is6gIMz+tuqXlusxquWu3F833DcMwmGM7WlvCO9sB3OsPjdC4U0wHw5FabzCGZg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz", + "integrity": "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w==", "cpu": [ "x64" ], @@ -2958,9 +2958,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.41.1.tgz", - "integrity": "sha512-DBVMZH5vbjgRk3r0OzgjS38z+atlupJ7xfKIDJdZZL6sM6wjfDNo64aowcLPKIx7LMQi8vybB56uh1Ftck/Atg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz", + "integrity": "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA==", "cpu": [ "arm64" ], @@ -2971,9 +2971,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.41.1.tgz", - "integrity": "sha512-3FkydeohozEskBxNWEIbPfOE0aqQgB6ttTkJ159uWOFn42VLyfAiyD9UK5mhu+ItWzft60DycIN1Xdgiy8o/SA==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz", + "integrity": "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg==", "cpu": [ "x64" ], @@ -2984,9 +2984,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.41.1.tgz", - "integrity": "sha512-wC53ZNDgt0pqx5xCAgNunkTzFE8GTgdZ9EwYGVcg+jEjJdZGtq9xPjDnFgfFozQI/Xm1mh+D9YlYtl+ueswNEg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz", + "integrity": "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==", "cpu": [ "arm" ], @@ -2997,9 +2997,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.41.1.tgz", - "integrity": "sha512-jwKCca1gbZkZLhLRtsrka5N8sFAaxrGz/7wRJ8Wwvq3jug7toO21vWlViihG85ei7uJTpzbXZRcORotE+xyrLA==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz", + "integrity": "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==", "cpu": [ "arm" ], @@ -3010,9 +3010,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.41.1.tgz", - "integrity": "sha512-g0UBcNknsmmNQ8V2d/zD2P7WWfJKU0F1nu0k5pW4rvdb+BIqMm8ToluW/eeRmxCared5dD76lS04uL4UaNgpNA==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz", + "integrity": "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==", "cpu": [ "arm64" ], @@ -3023,9 +3023,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.41.1.tgz", - "integrity": "sha512-XZpeGB5TKEZWzIrj7sXr+BEaSgo/ma/kCgrZgL0oo5qdB1JlTzIYQKel/RmhT6vMAvOdM2teYlAaOGJpJ9lahg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz", + "integrity": "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==", "cpu": [ "arm64" ], @@ -3035,10 +3035,10 @@ "linux" ] }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.41.1.tgz", - "integrity": "sha512-bkCfDJ4qzWfFRCNt5RVV4DOw6KEgFTUZi2r2RuYhGWC8WhCA8lCAJhDeAmrM/fdiAH54m0mA0Vk2FGRPyzI+tw==", + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz", + "integrity": "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==", "cpu": [ "loong64" ], @@ -3048,10 +3048,36 @@ "linux" ] }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.41.1.tgz", - "integrity": "sha512-3mr3Xm+gvMX+/8EKogIZSIEF0WUu0HL9di+YWlJpO8CQBnoLAEL/roTCxuLncEdgcfJcvA4UMOf+2dnjl4Ut1A==", + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz", + "integrity": "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz", + "integrity": "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz", + "integrity": "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==", "cpu": [ "ppc64" ], @@ -3062,9 +3088,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.41.1.tgz", - "integrity": "sha512-3rwCIh6MQ1LGrvKJitQjZFuQnT2wxfU+ivhNBzmxXTXPllewOF7JR1s2vMX/tWtUYFgphygxjqMl76q4aMotGw==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz", + "integrity": "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==", "cpu": [ "riscv64" ], @@ -3075,9 +3101,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.41.1.tgz", - "integrity": "sha512-LdIUOb3gvfmpkgFZuccNa2uYiqtgZAz3PTzjuM5bH3nvuy9ty6RGc/Q0+HDFrHrizJGVpjnTZ1yS5TNNjFlklw==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz", + "integrity": "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==", "cpu": [ "riscv64" ], @@ -3088,9 +3114,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.41.1.tgz", - "integrity": "sha512-oIE6M8WC9ma6xYqjvPhzZYk6NbobIURvP/lEbh7FWplcMO6gn7MM2yHKA1eC/GvYwzNKK/1LYgqzdkZ8YFxR8g==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz", + "integrity": "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==", "cpu": [ "s390x" ], @@ -3101,9 +3127,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.41.1.tgz", - "integrity": "sha512-cWBOvayNvA+SyeQMp79BHPK8ws6sHSsYnK5zDcsC3Hsxr1dgTABKjMnMslPq1DvZIp6uO7kIWhiGwaTdR4Og9A==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz", + "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==", "cpu": [ "x64" ], @@ -3114,9 +3140,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.41.1.tgz", - "integrity": "sha512-y5CbN44M+pUCdGDlZFzGGBSKCA4A/J2ZH4edTYSSxFg7ce1Xt3GtydbVKWLlzL+INfFIZAEg1ZV6hh9+QQf9YQ==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz", + "integrity": "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==", "cpu": [ "x64" ], @@ -3126,10 +3152,36 @@ "linux" ] }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz", + "integrity": "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz", + "integrity": "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.41.1.tgz", - "integrity": "sha512-lZkCxIrjlJlMt1dLO/FbpZbzt6J/A8p4DnqzSa4PWqPEUUUnzXLeki/iyPLfV0BmHItlYgHUqJe+3KiyydmiNQ==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz", + "integrity": "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A==", "cpu": [ "arm64" ], @@ -3140,9 +3192,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.41.1.tgz", - "integrity": "sha512-+psFT9+pIh2iuGsxFYYa/LhS5MFKmuivRsx9iPJWNSGbh2XVEjk90fmpUEjCnILPEPJnikAU6SFDiEUyOv90Pg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz", + "integrity": "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA==", "cpu": [ "ia32" ], @@ -3152,10 +3204,23 @@ "win32" ] }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz", + "integrity": "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.41.1.tgz", - "integrity": "sha512-Wq2zpapRYLfi4aKxf2Xff0tN+7slj2d4R87WEzqw7ZLsVvO5zwYCIuEGSZYiK41+GlwUo1HiR+GdkLEJnCKTCw==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz", + "integrity": "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA==", "cpu": [ "x64" ], @@ -3539,9 +3604,9 @@ } }, "node_modules/@types/estree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", - "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "devOptional": true, "license": "MIT" }, @@ -3825,13 +3890,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -4066,13 +4131,13 @@ } }, "node_modules/@vue/language-core/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -5630,10 +5695,11 @@ } }, "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.9.tgz", + "integrity": "sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -7151,10 +7217,11 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -7837,13 +7904,13 @@ "license": "MIT" }, "node_modules/rollup": { - "version": "4.41.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.41.1.tgz", - "integrity": "sha512-cPmwD3FnFv8rKMBc1MxWCwVQFxwf1JEmSX3iQXrRVVG15zerAIXRjMFVWnd5Q5QvgKF7Aj+5ykXFhUl+QGnyOw==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz", + "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==", "devOptional": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.7" + "@types/estree": "1.0.8" }, "bin": { "rollup": "dist/bin/rollup" @@ -7853,26 +7920,31 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.41.1", - "@rollup/rollup-android-arm64": "4.41.1", - "@rollup/rollup-darwin-arm64": "4.41.1", - "@rollup/rollup-darwin-x64": "4.41.1", - "@rollup/rollup-freebsd-arm64": "4.41.1", - "@rollup/rollup-freebsd-x64": "4.41.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.41.1", - "@rollup/rollup-linux-arm-musleabihf": "4.41.1", - "@rollup/rollup-linux-arm64-gnu": "4.41.1", - "@rollup/rollup-linux-arm64-musl": "4.41.1", - "@rollup/rollup-linux-loongarch64-gnu": "4.41.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.41.1", - "@rollup/rollup-linux-riscv64-gnu": "4.41.1", - "@rollup/rollup-linux-riscv64-musl": "4.41.1", - "@rollup/rollup-linux-s390x-gnu": "4.41.1", - "@rollup/rollup-linux-x64-gnu": "4.41.1", - "@rollup/rollup-linux-x64-musl": "4.41.1", - "@rollup/rollup-win32-arm64-msvc": "4.41.1", - "@rollup/rollup-win32-ia32-msvc": "4.41.1", - "@rollup/rollup-win32-x64-msvc": "4.41.1", + "@rollup/rollup-android-arm-eabi": "4.59.0", + "@rollup/rollup-android-arm64": "4.59.0", + "@rollup/rollup-darwin-arm64": "4.59.0", + "@rollup/rollup-darwin-x64": "4.59.0", + "@rollup/rollup-freebsd-arm64": "4.59.0", + "@rollup/rollup-freebsd-x64": "4.59.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.59.0", + "@rollup/rollup-linux-arm-musleabihf": "4.59.0", + "@rollup/rollup-linux-arm64-gnu": "4.59.0", + "@rollup/rollup-linux-arm64-musl": "4.59.0", + "@rollup/rollup-linux-loong64-gnu": "4.59.0", + "@rollup/rollup-linux-loong64-musl": "4.59.0", + "@rollup/rollup-linux-ppc64-gnu": "4.59.0", + "@rollup/rollup-linux-ppc64-musl": "4.59.0", + "@rollup/rollup-linux-riscv64-gnu": "4.59.0", + "@rollup/rollup-linux-riscv64-musl": "4.59.0", + "@rollup/rollup-linux-s390x-gnu": "4.59.0", + "@rollup/rollup-linux-x64-gnu": "4.59.0", + "@rollup/rollup-linux-x64-musl": "4.59.0", + "@rollup/rollup-openbsd-x64": "4.59.0", + "@rollup/rollup-openharmony-arm64": "4.59.0", + "@rollup/rollup-win32-arm64-msvc": "4.59.0", + "@rollup/rollup-win32-ia32-msvc": "4.59.0", + "@rollup/rollup-win32-x64-gnu": "4.59.0", + "@rollup/rollup-win32-x64-msvc": "4.59.0", "fsevents": "~2.3.2" } }, @@ -8439,9 +8511,9 @@ } }, "node_modules/tar": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.7.tgz", - "integrity": "sha512-fov56fJiRuThVFXD6o6/Q354S7pnWMJIVlDBYijsTNx6jKSE4pvrDTs6lUnmGvNyfJwFQQwWy3owKz1ucIhveQ==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.10.tgz", + "integrity": "sha512-8mOPs1//5q/rlkNSPcCegA6hiHJYDmSLEI8aMH/CdSQJNWztHC9WHNam5zdQlfpTwB9Xp7IBEsHfV5LKMJGVAw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -9578,10 +9650,11 @@ } }, "node_modules/workbox-build/node_modules/rollup": { - "version": "2.79.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.2.tgz", - "integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==", + "version": "2.80.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.80.0.tgz", + "integrity": "sha512-cIFJOD1DESzpjOBl763Kp1AH7UE/0fcdHe6rZXUdQ9c50uvgigvW97u3IcSeBwOkgqL/PXPBktBCh0KEu5L8XQ==", "dev": true, + "license": "MIT", "bin": { "rollup": "dist/bin/rollup" }, diff --git a/frontend/src/components/common/Game/AssetCard.vue b/frontend/src/components/common/Game/AssetCard.vue index 058721804..ba3db9eb5 100644 --- a/frontend/src/components/common/Game/AssetCard.vue +++ b/frontend/src/components/common/Game/AssetCard.vue @@ -84,12 +84,7 @@ function handleDelete(event: Event) { @click="handleClick" > - - + { romId.value = response.data.id; }) .catch((error) => { - console.error("Error fetching ROM by metadata provider:", error); + console.warn("Error fetching ROM by metadata provider:", error); // Keep romId.value as null to fall back to IGDB link }); }); diff --git a/frontend/src/utils/index.ts b/frontend/src/utils/index.ts index 657de0be2..e769ccd77 100644 --- a/frontend/src/utils/index.ts +++ b/frontend/src/utils/index.ts @@ -483,10 +483,10 @@ const _EJS_CORES_MAP: Record = { "new-style-nes": ["fceumm"], n64: ["mupen64plus_next", "parallel_n64"], "ique-player": ["mupen64plus_next"], - nds: ["melonds", "desmume2015"], - "nintendo-ds-lite": ["melonds", "desmume2015"], - "nintendo-dsi": ["melonds", "desmume2015"], - "nintendo-dsi-xl": ["melonds", "desmume2015"], + nds: ["melonds", "desmume", "desmume2015"], + "nintendo-ds-lite": ["melonds", "desmume", "desmume2015"], + "nintendo-dsi": ["melonds", "desmume", "desmume2015"], + "nintendo-dsi-xl": ["melonds", "desmume", "desmume2015"], gb: ["gambatte", "mgba"], "game-boy-pocket": ["gambatte", "mgba"], "game-boy-light": ["gambatte", "mgba"], diff --git a/frontend/src/views/Player/EmulatorJS/Base.vue b/frontend/src/views/Player/EmulatorJS/Base.vue index 9e7f4c86d..c1830cd98 100644 --- a/frontend/src/views/Player/EmulatorJS/Base.vue +++ b/frontend/src/views/Player/EmulatorJS/Base.vue @@ -1,5 +1,5 @@