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.
made-vue-range-selector
Advanced tools
A Vue 3 range selector component, a double slider that allows the user to select a value range between a minimum and maximum value.
To customise the range selector, you'll want to import the scss styling:
import "made-vue-range-selector/styles.scss";
In your main file, you can import the component:
import { createApp } from "vue";
import App from "./App.vue";
import RangeSelector from "made-vue-range-selector";
const app = createApp(App);
...
app.use(RangeSelector);
...
app.mount("#app");
You can then reference the range selector component in your app:
<template>
<div>
<m-range-selector
v-model="rangeValue"
:min="rangeMin"
:max="rangeMax"
:step="rangeStep"
:showValues="rangeShowValues"
:formatValue="formatRangeValue"
/>
</div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
name: "MyPage",
data() {
return {
rangeValue: [0, 100],
rangeMin: 0,
rangeMax: 100,
rangeStep: 1,
rangeShowValues: true,
formatRangeValue: (v: number) => {
return `${v}%`;
},
};
},
watch: {
rangeValue(value) {
console.log(value);
},
},
});
</script>
FAQs
Unknown package
The npm package made-vue-range-selector receives a total of 23 weekly downloads. As such, made-vue-range-selector popularity was classified as not popular.
We found that made-vue-range-selector 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.