
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
vcrontab-3
Advanced tools

vue 的 cron 组件,支持解析/反解析 cron 表达式,生成最近五次的符合条件时间,依赖 vue2 和 element-ui
npm install vcrontab
//全局引入
import vcrontab from "vcrontab";
Vue.use(vcrontab); //使用方式:<vcrontab></vcrontab>
//单独引入
import vcrontab from "vcrontab";
export default {
components: { vcrontab },
};
<template>
<div id="app">
<div class="box">
<el-input v-model="input" placeholder class="inp"></el-input>
<el-button type="primary" @click="showDialog">生成 cron</el-button>
</div>
<el-dialog title="生成 cron" :visible.sync="showCron">
<vcrontab @hide="showCron=false" @fill="crontabFill" :expression="expression"></vcrontab>
</el-dialog>
</div>
</template>
<script>
import vcrontab from 'vcrontab'
export default {
components: { vcrontab },
data() {
return {
input: "",
expression: "",
showCron: false
};
},
methods: {
crontabFill(value) {
//确定后回传的值
this.input = value;
},
showDialog() {
this.expression = this.input;//传入的 cron 表达式,可以反解析到 UI 上
this.showCron = true;
}
}
};
</script>
expression 传入的 cron 表达式,可以反解析到 UI 上
hideComponent
需要隐藏的组件数组,依次为['second','min','hour','day','month','week','year']
fill 点击确定时,把选择好的值返回。
hide 关闭组件时的回调
FAQs
vue 的 cron 组件,支持解析/反解析 cron 表达式,生成最近五次的符合条件时间
We found that vcrontab-3 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.