
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
v-r-transition-plugin
Advanced tools
<template>
<router-view v-slot='{ Component, route }'>
<transition :name="route.meta.transition" :duration="350">
<component :is='Component' />
</transition>
</router-view>
</template>
<script>
import routeAnimation from 'v-r-transition-plugin'
const app = createApp(App)
app.use(router)
app.use(routeAnimation)
</script>
事件 | transitionName |
---|---|
router.push | 'push' |
router.go返回 | 'pop' |
$.present | 'present' |
$.dismiss | 'dismiss' |
- $.dismiss()使用后路由将直接回退到调用$.present()的地址
- $.present()后,谨慎使用router.go(num < -1)
.push-enter-active,
.push-leave-active,
.pop-enter-active,
.pop-leave-active,
.present-enter-active,
.present-leave-active,
.dismiss-enter-active,
.dismiss-leave-active {
transition: transform 0.35s, opacity 0.35s;
position: fixed;
top: 0;
left: 0;
right: 0;
}
.push-enter-active {
transform: translateX(100vw);
}
.push-enter-to {
transform: translateX(0);
}
.push-leave-to {
transform: translateX(-35vw);
}
.pop-enter-active {
transform: translateX(-100vw);
}
.pop-enter-to {
transform: translateX(0);
}
.pop-leave-to {
transform: translateX(35vw);
}
.present-enter-active {
transform: translateY(100vh);
}
.present-enter-to {
transform: translateY(0);
}
.dismiss-enter-active {
opacity: 0;
}
.dismiss-enter-to {
opacity: 1;
}
.dismiss-leave-active {
transform: translateY(0);
}
.dismiss-leave-to {
transform: translateY(100vh);
}
FAQs
### yarn add v-r-transition-plugin
The npm package v-r-transition-plugin receives a total of 4 weekly downloads. As such, v-r-transition-plugin popularity was classified as not popular.
We found that v-r-transition-plugin 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.