
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vue3-yandex-smartcaptcha
Advanced tools

NPM:
$ npm install vue3-yandex-smartcaptcha
Yarn:
$ yarn add vue3-yandex-smartcaptcha
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import YSmartCaptcha from 'vue3-yandex-smartcaptcha'
const app = createApp(App)
app.use(YSmartCaptcha, {
siteKey: "Ключ клиента",
lang: "Язык ('ru' | 'en' | 'be' | 'kk' | 'tt' | 'uk' | 'uz' | 'tr')"
})
app.mount('#app')
Создай файл /plugins/ysmartcaptcha.js
import YSmartCaptcha from "vue3-yandex-smartcaptcha";
export default defineNuxtPlugin(nuxtApp => {
nuxtApp.vueApp.use(YSmartCaptcha, {
siteKey: "Ключ клиента",
lang: "Язык ('ru' | 'en' | 'be' | 'kk' | 'tt' | 'uk' | 'uz' | 'tr')"
})
})
Зарегистрируй плагин в nuxt.config.ts
export default defineNuxtConfig({
plugins: [
{src: '~/plugins/ysmartcaptcha.js', mode: 'client'},
]
})
<script setup>
import { ref } from 'vue';
const token = ref(); // сюда присвоится значение токена после прохождения проверки
</script>
<template>
<form>
<ClientOnly> <!-- Для Nuxt -->
<YSmartCaptcha v-model="token" />
</ClientOnly>
<button :disabled="!token">Submit</button>
</form>
{{ token }}
</template>
FAQs

The npm package vue3-yandex-smartcaptcha receives a total of 77 weekly downloads. As such, vue3-yandex-smartcaptcha popularity was classified as not popular.
We found that vue3-yandex-smartcaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.