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.
@lucas-labs/vue3-vsl
Advanced tools
🔎 @lucas-labs/vue3-vsl
(virtual-scroll-list) is a Vuejs 3 component plugin. Heavily based on tangbc/vue-virtual-scroll-list. Basically the same but ported to Vuejs 3 + typescript + Composition API.
npm i @lucas-labs/vue3-vsl
pnpm i @lucas-labs/vue3-vsl
yarn add @lucas-labs/vue3-vsl
<template>
<header>hello!</header>
<virtual-scroller :data-key="'id'" :data-sources="users" @tobottom="bottom">
<template #header>
<div class="list-header">...</div>
</template>
<template v-slot="{ item, index }">
<div class="list-item">
<div>#{{ index }}</div>
<div>{{ item.id }} | {{ item.username }}</div>
</div>
</template>
<template #footer>
<div class="list-footer">...</div>
</template>
</virtual-scroller>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { VirtualScroller } from '@lucas-labs/vue3-vsl';
const users = ref<{ id: number | string; username: string }[]>([]);
const fetchUsers = () => {
users.value = ...
};
const bottom = () => {
// we reached the bottom of the list...
// fetch more users maybe?
...
};
fetchUsers();
</script>
// main.ts/main.js
import { createApp } from 'vue'
import App from './App.vue'
// import the plugin
import VirtualScrollerPlugin from '@lucas-labs/vue3-vsl';
const app = createApp(App);
// use the plugin to make it
// available in all your components
app.use(VirtualScrollerPlugin);
app.mount('#app');
FAQs
Vuejs 3 virtual Scroll List Component
The npm package @lucas-labs/vue3-vsl receives a total of 35 weekly downloads. As such, @lucas-labs/vue3-vsl popularity was classified as not popular.
We found that @lucas-labs/vue3-vsl 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.