
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.
vue-pull-refresh
Advanced tools
A pull down refresh component implements by vuejs 2.0 for mobile.
PS: Please use browsers that support Promise
npm install vue-pull-refresh --save
var VuePullRefresh = require('vue-pull-refresh');
new Vue({
components: {
'vue-pull-refresh': VuePullRefresh
},
data: function () {
return {};
},
methods: {
onRefresh: function() {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve();
}, 1000);
});
}
},
template: '<vue-pull-refresh :on-refresh="onRefresh"></vue-pull-refresh>'
});
import VuePullRefresh from 'vue-pull-refresh';
new Vue({
components: {
'vue-pull-refresh': VuePullRefresh
},
data: function () {
return {};
},
methods: {
onRefresh: function() {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve();
}, 1000);
});
}
},
template: '<vue-pull-refresh :on-refresh="onRefresh"></vue-pull-refresh>'
});
| Property | Description |
|---|---|
| onRefresh | refresh event;Should return a promise. |
| config | { errorLabel: label shows when error startLabel: label shows when pull down start readyLabel: label shows when ready to refresh loadingLabel: label shows when loading pullDownHeight: the height toggle pull down refresh action } |
First, install dependencies
npm install
Second, setup development environment
npm run dev
FAQs
a pull down refresh component implements by vuejs
We found that vue-pull-refresh 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.