
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Vue 轻量级图片懒加载指令。
使用 npm 安装:
npm i v-lazyload-src --save
import Vue from 'vue'
import vueLazyLoad from 'v-lazyload-src';
Vue.use(lazyLoad, {
loading:'http://localhost:5500/images/loading.gif',
error: 'http://localhost:5500/images/default.jpg',
preload: 1
})
<template>
<img alt="" v-lazy="item.index_pic">
</template>
FAQs
Vue 图片懒加载指令
The npm package v-lazy-pic receives a total of 0 weekly downloads. As such, v-lazy-pic popularity was classified as not popular.
We found that v-lazy-pic 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.