Skip to content

chore(deps): bump unhead from 2.1.12 to 3.1.0 (via audit fix) in /frontend#109

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/unhead-3.1.0
Open

chore(deps): bump unhead from 2.1.12 to 3.1.0 (via audit fix) in /frontend#109
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/unhead-3.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 15, 2026

Bumps unhead from 2.1.12 to 3.1.0.

Release notes

Sourced from unhead's releases.

v3.1.0

🛠️ Unhead CLI

To assist with migrations and overall DX a CLI has been introduced: @unhead/cli.

npx -y @unhead/cli 

It lets you do the following:

          audit    Lint your codebase for unhead misuse, type-narrowing issues, and SEO/perf foot-guns.                      
        migrate    Apply autofixes for v2-to-v3 migration: rewrite deprecated props and wrap tag literals in defineX helpers.
  validate-html    Run the runtime ValidatePlugin over prerendered HTML files (e.g. dist/, .output/, build/).                
   validate-url    Fetch a rendered URL and run unhead\'s SEO/perf validation rules over its <head>.         

For example, try running audit on your own project for hints on how to improve your SEO.

✔️ Unhead ESLint

Knowing that your useHead() and useSeoMeta() code is right while your coding is important. While type-narrowing solves many broken cases, we introduce an ESLint plugin to help catch anything that the typechecker can't catch.

These rules are shared from the runtime ValidatePlugin

# flat-config ESLint plugin with v2→v3 migration autofixes
npm i -D @unhead/eslint-plugin
```ts [eslint.config.ts]
import { configs } from '@unhead/eslint-plugin'
export default [
configs.recommended,
]

🌊 Streaming SSR non-Vite support

The streaming plugin lived only at unhead/stream/vite previously, leaving non-Vite users with no way to wire the bootstrap. The plugin is now a bundler-agnostic unplugin factory with first-class webpack and Vite entries, and the framework packages compose it behind Unhead({ streaming: true }).

// vite.config.ts
import { Unhead } from '@unhead/vue/vite'
export default { plugins: [vue(), Unhead({ streaming: true })] }
</tr></table>

... (truncated)

Commits
  • 914d05e chore: release v3.1.0
  • 35100fe refactor: extract shared predicates, swap CLI to oxc-walker (#757)
  • 9e30013 feat(cli,eslint-plugin): add @​unhead/cli and @​unhead/eslint-plugin (#755)
  • 5257d27 refactor(bundler): unify per-bundler entries into bundler factory (#754)
  • 3ed063c feat(stream): webpack plugin + bundler-agnostic factory (#751)
  • 40f777b fix(vue): batch streamed head updates via self-deleting inline scripts (#752)
  • ea54e36 chore: release v3.0.5
  • afdf925 chore: remove unused dependencies and exports (#746)
  • af54923 fix(types): export new link rel types from #744 (#745)
  • be43a70 chore: release v3.0.4
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 15, 2026
Bumps [unhead](https://github.com/unjs/unhead/tree/HEAD/packages/unhead) from 2.1.12 to 3.1.0.
- [Release notes](https://github.com/unjs/unhead/releases)
- [Commits](https://github.com/unjs/unhead/commits/v3.1.0/packages/unhead)

---
updated-dependencies:
- dependency-name: unhead
  dependency-version: 3.1.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/frontend/unhead-3.1.0 branch from 921d891 to f6ba0cb Compare May 15, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants