Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A simple (yet chaotic) component to introduce chaos in your Vue app.
Install
npm i vue-chaos
Import & use
<template>
<VueChaos
:chance="5"
error-message="My custom error message"
:run-in-production="false">
<MyOtherComponent />
</VueChaos>
</template>
<script>
import VueChaos from 'vue-chaos';
...
export default {
...
components:{
VueChaos
}
}
</script>
Name | Type | Default value | Description |
---|---|---|---|
chance | Number | 5 | Decides the probability of the wrapper to throw an error; |
error-message | String | 🔥 Chaos emitted by VueChaos 🔥 | custom error message to throw (i.e. to assert snapshots against) |
run-in-production | Boolean | false | a flag to flip if we'd like to cause chaos in production (use at own risk! ☠️) |
"Chaos engineering is the discipline of experimenting on a software system in production in order to build confidence in the system's capability to withstand turbulent and unexpected conditions." (wiki)
Using the concept of ErrorCaptured
in combination with this component can and will improve your apps resilience;
This way you can make sure your app won't behave unexpectedly and will handle everything gracefully, so your customers won't be impacted.
FAQs
A simple yet chaotic component to introduce chaos in your Vue app
The npm package vue-chaos receives a total of 2 weekly downloads. As such, vue-chaos popularity was classified as not popular.
We found that vue-chaos 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.