Packages

@clerk/vue

2.5.22 · 17 Nov 2026MIT65.9k / weekRepositoryHomepagenpmAtom feed

Your version

1.8.0

9 May 2025Where it was published

1.17.27 is the newest release of 1.x.

In short

1 new2 internal

Security

1 advisory affects 1.8.0; 1.17.21 fixes them

Release note

Minor Changes

  • Introduce feature or plan based authorization

useAuth()

Plan

```ts
const { has } = useAuth();
has.value({ plan: 'my-plan' });
```

Feature

```ts
const { has } = useAuth();
has.value({ feature: 'my-feature' });
```

Scoped per user or per org

```ts
const { has } = useAuth();

has.value({ feature: 'org:my-feature' });
has.value({ feature: 'user:my-feature' });
has.value({ plan: 'user:my-plan' });
has.value({ plan: 'org:my-plan' });
```

Plan

```html
<Protect plan="my-plan" />
```

Feature

```html
<Protect feature="my-feature" />
```

Scoped per user or per org

```html
<Protect feature="org:my-feature" />
<Protect feature="user:my-feature" />
<Protect plan="org:my-plan" />
<Protect plan="user:my-plan" />
```

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.