Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"classnames": "^2.2.6",
"decimal.js": "^10.2.0",
"lodash-es": "^4.17.15",
"npm": "^6.11.3",
"nuxt": "^2.9.2",
"npm": "^7.21.0",
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

The upgrade from npm 6.11.3 to 7.21.0 is unnecessary and problematic. Having npm as a production dependency is unusual - npm is typically a tool used to install dependencies, not a dependency itself.

Additionally, npm 7.x introduced breaking changes including:

  • Different handling of peer dependencies (automatically installed)
  • Changes to package-lock.json format
  • Different behavior for npm install

If npm is truly needed as a dependency for this project, consider whether the tar vulnerability can be addressed through updating transitive dependencies without requiring a major version upgrade of npm itself. If npm is not actually used in the application code, it should be removed from dependencies entirely.

Suggested change
"npm": "^7.21.0",

Copilot uses AI. Check for mistakes.
"nuxt": "^3.0.0",
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

The upgrade from Nuxt 2.9.2 to Nuxt 3.0.0 is a major version change with extensive breaking changes that will break the application. The codebase uses Nuxt 2-specific features that are incompatible with Nuxt 3:

  1. The nuxt.config.js uses mode: 'spa' (line 13), which has been removed in Nuxt 3 and replaced with ssr: false
  2. Pages use the asyncData method (pages/artefact/_magic.vue:77, pages/commune/_url.vue:173), which has a different API in Nuxt 3
  3. Lifecycle hooks beforeDestroy are used, which have been renamed to beforeUnmount in Nuxt 3
  4. The transition property syntax has changed in Nuxt 3
  5. Dependencies like nuxt-clipboard2, nuxt-fontawesome, and @nuxtjs/dotenv may not be compatible with Nuxt 3

This upgrade requires a complete migration of the application code, not just a dependency version bump. Consider upgrading to a Nuxt 2.x version that addresses the tar vulnerability instead, such as Nuxt 2.18.1 (the latest 2.x version), which should include updated dependencies without requiring code changes.

Suggested change
"nuxt": "^3.0.0",
"nuxt": "^2.18.1",

Copilot uses AI. Check for mistakes.
"nuxt-clipboard2": "^0.2.1",
"nuxt-fontawesome": "^0.4.0",
"snyk": "^1.103.1",
Expand Down