
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@davestewart/nuxt-scrollbar
Advanced tools
Nuxt wrapper for Vue 3 Perfect Scrollbar
This is Nuxt 3 wrapper of Vue 3 Perfect Scrollbar (which in turn wraps Perfect Scrollbar).
It's a fairly simple plugin, but takes the hassle out of setting up server and client content, attaching event handlers, and importing styles.
Both vue3-perfect-scrollbar and perfect-scrollbar seem to have gone a bit stale, so I figured it was easier to wrap the library for Nuxt 3 in a namespaced package rather hang around for one-day, some-day PRs.
Note that there is also a nuxt-perfect-scrollbar package on NPM, but it's four years old, has no downloads and lacks source code ☠️.
To view the demo live on StackBlitz:
To run the demo locally:
npm run dev
Installation:
npm install --save @davestewart/nuxt-scrollbar
Configuration:
export default defineNuxtConfig({
modules: [
'@davestewart/nuxt-scrollbar'
],
})
Basic example using scrollbar with optional attributes:
<template>
<NuxtScrollbar tag="aside" @ps-scroll-y="onScroll">
<!-- your content -->
</NuxtScrollbar>
</template>
<script setup>
function onScroll (event) {
console.log(event)
}
</script>
Note:
Vue 3 Perfect Scrollbar options:
Perfect Scrollbar options and events:
To develop the module:
# develop the module using the demo
npm run dev
# build and release (make sure to update version and changelog first)
npm run release
v1.0.0
Docs cleanup
FAQs
Nuxt wrapper for Vue 3 Perfect Scrollbar
The npm package @davestewart/nuxt-scrollbar receives a total of 453 weekly downloads. As such, @davestewart/nuxt-scrollbar popularity was classified as not popular.
We found that @davestewart/nuxt-scrollbar 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.