nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
94 stars 20 forks source link

jwt-decode@v4.0.0 breaks the package #72

Closed toniengelhardt closed 8 months ago

toniengelhardt commented 8 months ago

Environment

Nuxt Config

Not relevant.

export default defineNuxtConfig({})

Reproduction

Just upgrade dependencies with pnpm.

The package will install jwt-decode@v4.0.0 as a dependency.

Describe the bug

Release of jwt-decode@v4.0.0 breaks the nuxt-alt/auth installation.

Additional context

Temporary fix:

Add the following to the package.json:

"pnpm": {
    "overrides": {
      "jwt-decode": "3.1.2"
    }
}

Logs

No response