Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nuxt-clipboard2
Advanced tools
> A "copy to clipboard" module for Nuxt.js using [vue-clipboard2](https://github.com/Inndy/vue-clipboard2)
A "copy to clipboard" module for Nuxt.js using vue-clipboard2
nuxt-clipboard2
dependency using yarn or npm to your projectnuxt-clipboard2
to modules
section of nuxt.config.js
{
modules: [
'nuxt-clipboard2',
]
}
You can use $copyText in almost any context using app.$copyText
or this.$copyText
(Including store actions).
See vue-clipboard2 official docs for more usage information.
export default {
methods: {
async copySomething(text) {
try {
await this.$copyText(text);
} catch (e) {
console.error(e);
}
},
},
};
Copyright (c) webcore-it
FAQs
> A "copy to clipboard" module for Nuxt.js using [vue-clipboard2](https://github.com/Inndy/vue-clipboard2)
The npm package nuxt-clipboard2 receives a total of 1,848 weekly downloads. As such, nuxt-clipboard2 popularity was classified as popular.
We found that nuxt-clipboard2 demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.