Skip to content

Conversation

@SmilyOrg
Copy link
Owner

@SmilyOrg SmilyOrg commented Jan 2, 2026

This pull request primarily updates dependency versions across the docs, e2e, and ui packages to keep the project up-to-date with the latest features, bug fixes, and security patches. Additionally, it updates the usage of the copy-image-clipboard package in the UI code to match its new API.

Dependency upgrades:

  • Upgraded vitepress in docs/package.json from ^1.3.3 to ^1.6.4.
  • Updated multiple dependencies in ui/package.json, including @fontsource/roboto, @unhead/vue, @vitejs/plugin-vue, @vueuse/core, balm-ui, copy-image-clipboard, date-fns, plyr, qs, vue, vue-multiselect, vue-router, eslint, rollup-plugin-visualizer, vite, and vite-plugin-vue-devtools to newer versions.
  • Upgraded @playwright/test and @types/node in both e2e/package.json and e2e/package-lock.json, along with their transitive dependencies (playwright, playwright-core, etc.). Also updated other dependencies such as body-parser, debug, iconv-lite, and qs. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Code changes for updated dependencies:

  • Updated import and usage of copy-image-clipboard in ui/src/components/RegionMenu.vue to use the new named export copyImageToClipboard instead of the default export copyImg. [1] [2]

- Updated various dependencies in package.json to their latest versions for improved performance and security.
- Refactored the image copy functionality in RegionMenu.vue to use the new import method from 'copy-image-clipboard'.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates frontend dependencies across the docs, e2e, and ui packages to keep the project current with latest features, bug fixes, and security patches. The PR includes both package version updates and necessary code changes to accommodate a breaking API change in the copy-image-clipboard library.

Key changes:

  • Updated copy-image-clipboard from v1.0.1 to v2.1.2 with corresponding API migration in RegionMenu.vue
  • Upgraded major versions of several core dependencies including date-fns (v2→v4), vite (v6→v7), and @vitejs/plugin-vue (v5→v6)
  • Updated Playwright test framework from v1.55.0 to v1.57.0 in e2e package
  • Upgraded VitePress from v1.3.3 to v1.6.4 in docs package

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ui/src/components/RegionMenu.vue Updated import and function call to use new copyImageToClipboard named export instead of default copyImg export
ui/package.json Updated 18 dependency versions including major version bumps for date-fns, vite, and plugin-vue
ui/package-lock.json Lockfile updates reflecting all transitive dependency changes from package.json updates
e2e/package.json Updated Playwright and @types/node to latest versions
e2e/package-lock.json Lockfile updates for e2e dependencies and their transitive dependencies
docs/package.json Updated VitePress from 1.3.3 to 1.6.4
Files not reviewed (1)
  • e2e/package-lock.json: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants