
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@meforma/vue-wait-for
Advanced tools
A loader manager for vuejs 3 with reactive method
# yarn
yarn add @meforma/vue-wait-for
# npm
npm install @meforma/vue-wait-for
// In you main.js
// ... considering that your app creation is here
import wait from "@meforma/vue-wait-for";
createApp(App).use(wait).mount("#app");
<template>
<div class="c-dogs">
<div v-if="$wait.is('waiting-dogs-time')">Waiting Dogs Time...</div>
<div v-else>Dogs are ready!!</div>
</div>
</template>
<script>
export default {
name: "dogs",
mounted() {
this.$wait.start("waiting-dogs-time");
let timeoute = setTimeout(() => {
console.log(
"time in milliseconds:",
this.$wait.end("waiting-dogs-time"),
);
clearTimeout(timeoute);
timeoute = null;
}, 5000);
},
};
</script>
Starts the wait for some word (string). You can't start the same wait more than one time, before execute end.
this.$wait.start("something");
Kills the wait for some word (string), and returns the duration time of the wait in milliseconds.
this.$wait.end("something");
Checks if exists a wait for some word (string).
this.$wait.is("something");
Checks if exists any wait.
this.$wait.any();
Kills all waits, and returns a object with the duration time of all waits in milliseconds.
this.$wait.clear();
MIT License
FAQs
A loader manager for vuejs 3 with reactive method
The npm package @meforma/vue-wait-for receives a total of 44 weekly downloads. As such, @meforma/vue-wait-for popularity was classified as not popular.
We found that @meforma/vue-wait-for 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.