Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/boussadjra/vue-spring-calendar
It's a Vue based component which provides the functionality of a full-calendar that shows daily events.
npm install vue-spring-calendar --save
For React.js developer please check this
repository
App.vue :
<template>
<div id="app">
<SpringCalendar year="2020" color="#41b883" :events="events" locale="en"/>
</div>
</template>
<script>
import SpringCalendar from "vue-spring-calendar";
export default {
name: "App",
data: () => ({
events:[
{
title:'Event 1',
startDate:'2020-04-09 08:00',
endDate:'2020-04-09 12:00',
},
{
title:'Event 2',
startDate:'2020-04-09 09:00',
endDate:'2020-04-09 12:00',
},
{
title:'Event 3',
startDate:'2020-04-09 12:00',
endDate:'2020-04-09 16:00',
},
]
}),
components: {
SpringCalendar
}
};
</script>
main.js
import Vue from 'vue'
import App from './App.vue'
//import the new composition api in order to make it work in Vue@2.x
import VueComp from '@vue/composition-api'
Vue.config.productionTip = false
//use the vue-composition-api plugin
Vue.use(VueComp)
new Vue({
render: h => h(App),
}).$mount('#app')
FAQs
Unknown package
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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.