
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
A Dead Simple Vue Pagination Component Using Bootstrap Style
support vue 2.0+
https://www.npmjs.com/package/vue-pages

js code
const vuePages = require('vue-pages')
// or ES6
// import vuePages from 'vue-pages'
new Vue({
el: '#app',
data() {
return {
url1: '#',
url2: '?param=pages',
pageName:'p',
total: 27,
counts: 10,
current1: 11,
current2: 5
}
},
methods: {
fn1(d, e){
this.current1 = d
},
fn2(d, e){
e.preventDefault()
this.current2 = d
}
},
components: {
vuePages
}
})
HTML code
<vue-pages :url="url1" :total="total" :counts="counts" :current="current1" :fn="fn1"></vue-pages>
<vue-pages :url="url2" :total="total" :counts="counts" :current="current2" :fn="fn2"></vue-pages>
url: URLpageName: paramter's Namecounts: the count of page numbers that can showtotal: total pagescurrent: the current page numberfn: the click hanlder$ npm install
$ npm run dev
# open 'http://localhost:5000'
FAQs
A Vue Pagination Component Using Bootstrap Style
The npm package vue-pages receives a total of 7 weekly downloads. As such, vue-pages popularity was classified as not popular.
We found that vue-pages 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.