## Problem
`pnpm audit` reports a moderate advisory for `nuxt` (patched in
`>=4.6.2`). The lockfile resolves `nuxt` to 4.5.2 for `blocks/vue`.
## Solution
- Ran `pnpm tsx scripts/fix-audit-vulnerability.ts nuxt --json`. It
resolved `nuxt` from 4.5.2 to 4.6.3 without a permanent override
(`pnpm-lock.yaml` only). The other lockfile changes are the transitive
re-resolutions that come with the nuxt upgrade.
- nuxt 4.6 types `useRequestEvent()` through `ServerTypes`, which
`@nuxt/nitro-server` augments inside a Nuxt app. `blocks/vue` is not a
Nuxt app, so the call resolved to the generic `RequestEvent`, and
`@supabase/vue-blocks` failed typecheck where it passes that value to
`createSupabaseServerClient(event: H3Event | undefined)`. The nuxtjs
`is-authenticated` middleware now casts the event to h3's `H3Event`.
Under Nitro that is its runtime type, so the block works the same in
user apps.
- Regenerated `apps/ui-library/public/r/supabase-client-nuxtjs.json`
with `pnpm build:registry`.
## Review instructions
1. `pnpm install --frozen-lockfile` succeeds.
2. `pnpm audit --json` lists no advisory for `nuxt`.
3. `pnpm turbo run typecheck --filter='...[origin/master]'` passes
(17/17 tasks, including `@supabase/vue-blocks`).
4. `pnpm turbo run lint --filter='[origin/master]'` passes.
5. On the UI library preview, the Supabase client for Nuxt.js block
shows the updated `is-authenticated.ts` middleware with the `H3Event`
cast.
Verification: ran all of the commands above, plus Prettier on the
changed files. The first studio typecheck run was killed for running out
of memory (exit 137). Rerun with turbo concurrency 1, it passed.
## Checklist
- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
[FE-4886](https://linear.app/supabase/issue/FE-4886/bump-a-single-vulnerable-dependency)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This PR renames all `SUPABASE_PUBLISHABLE_OR_ANON_KEY` env vars into
`SUPABASE_PUBLISHABLE_KEY` to make the new API keys default. This is in
coordination with the rest of the docs.
I've also cleaned up the `blocks/vue` package from unused files.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Breaking Changes**
* Public environment variable names renamed from PUBLISHABLE_OR_ANON_KEY
→ PUBLISHABLE_KEY across all framework integrations; update your
environment configs.
* **Documentation**
* All framework guides, .env examples and registry docs updated to use
the new variable names.
* **Chores**
* Cleaned up UI registry/templates: some example Vue registry items and
autogenerated registry artifacts were removed or simplified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
* docs: add vue client to ui-library
* docs: add missing vue client to llms.txt
* docs: add nuxt client to ui-library
* docs: wrong env variable names
* docs: fix dependencies
* docs: update client-nuxtjs.json
* Reinstall the deps so that the pnpm-lock.yaml has less changes.
* Add blocks/vue package.
* Remove the vue blocks from ui-library.
* Copy the vue blocks into ui-library.
* Clean up unneeded files.
* Regenerate the pnpm-lock file from master.
* Fix prettier errors.
* docs: update shadcn-vue cli
* docs: reusable server client
* Small things
* docs: improvments after CR
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>