
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
抛物线动画
# install
npm i --save e-flyjs
<template>
<div class="fly-demo">
<div class="list">
<div class="list-item" @click="flyRun" v-for="i in 50" :key="i">
项{{i}}s
</div>
</div>
<div id="tar" class="tar">目标</div>
<span id="dot" class="dot"></span>
</div>
</template>
<script>
import Fly from 'e-flyjs'
export default {
name: 'Fly_demo',
methods: {
flyRun(e) {
const $tar = document.querySelector('#tar')
const $dot = document.querySelector('#dot')
let flyInstance = new Fly({
el: e.target, // 触发的元素
targetEl: $tar, // 目标元素
flyEl: $dot, // 飞行的元素,可不传
duration: 600,
stop: function() {
flyInstance = null
},
})
flyInstance.start()
}
}
}
</script>
<style scoped>
.fly-demo {
position: relative;
}
.list {
display: flex;
flex-wrap: wrap;
width: 20vw;
}
.list-item {
width: 60px;
height: 60px;
color: #787878;
text-align: center;
line-height: 60px;
border-radius: 60px;
background: #d7e1ff;
/* transition: all 3s linear; */
will-change: auto;
transition-timing-function: cubic-bezier(0.16, 0.72, 0.90, 0.22);
}
.tar {
position: fixed;
right: 10px;
bottom: 20vh;
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
border: 1px solid #787878;
}
.dot {
position: fixed;
opacity: 0;
width: 20px;
height: 20px;
border-radius: 20px;
background: #f00;
}
</style>
FAQs
fly.js
The npm package e-flyjs receives a total of 2 weekly downloads. As such, e-flyjs popularity was classified as not popular.
We found that e-flyjs 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.