
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.
duo-image-zoomer
Advanced tools
一个简洁的图片放大镜
$ npm i duo-image-zoomer --save # install duo-image-zoomer
import duoImageZoomer from 'duo-image-zoomer'
Vue.use(duoImageZoomer)
<template>
<div>
<duo-image-zoomer
:mode="mode"
:scale="scale"
:width="width"
:height="height"
:imageList="imageList"
:thumbnailSize="thumbnailSize"
/>
</div>
</template>
<script>
export default {
data() {
return {
scale: 6, // 缩放倍数
width: 300, // 图片宽度
height: 300, // 图片高度
mode: "outer", // 模式:总共2种模式:inner/outer
thumbnailSize: 40, // 缩略图尺寸
imageList: [ // 图片资源
"http://tenfei05.cfp.cn/creative/vcg/veer/612/veer-316521159.jpg",
"http://static.veer.com/veer/static/resources/FourPack/2021-05-25/4403b939d6274a869e67acaa2fa35684.jpg",
"https://shigongbao.oss-cn-chengdu.aliyuncs.com/pictures/2020-09-08/1599535221238-tQfrTrrwOLSdhtiVBY.jpg",
"https://shigongbao.oss-cn-chengdu.aliyuncs.com/pictures/2020-09-08/1599535213868-GDJJZizFVtepBxlXpq.jpg",
"https://goss.cfp.cn/static/home/h2_5.png",
"http://tenfei01.cfp.cn/creative/vcg/veer/612/veer-303762225.jpg",
"http://d300.paixin.com/thumbs/1739009/19194001/staff_1024.jpg",
"https://goss.cfp.cn/static/home/h2_6.png",
"http://d300.paixin.com/thumbs/1067920/20205975/staff_1024.jpg",
],
};
},
};
</script>
FAQs
a image zoomer
The npm package duo-image-zoomer receives a total of 4 weekly downloads. As such, duo-image-zoomer popularity was classified as not popular.
We found that duo-image-zoomer 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.