
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
A simple wrapper for Chart.js.
Works for Vue 2 & 3.
npm i @seregpie/vue-chart
import VueChart from '@seregpie/vue-chart';
<!-- if using Vue 2 -->
<script src="https://unpkg.com/vue@2"></script>
<script src="https://unpkg.com/@vue/composition-api"></script>
<!-- if using Vue 3 -->
<script src="https://unpkg.com/vue@3"></script>
<script src="https://unpkg.com/vue-demi"></script>
<script src="https://unpkg.com/chart.js@3"></script>
<script src="https://unpkg.com/@seregpie/vue-chart"></script>
The module is globally available as VueChart.
Register the component globally.
import {createApp} from 'vue';
import VueChart from '@seregpie/vue-chart';
let app = createApp({/*...*/});
app.component(VueChart.name, VueChart);
app.mount('body');
or
Register the component locally.
import VueChart from '@seregpie/vue-chart';
export default {
components: {
VueChart,
},
// ...
};
<vue-chart
:data="chartData"
:options="{scales: {y: {beginAtZero: true}}}"
style="width: 800px; height: 600px;"
type="bar"
/>
| name | type | description |
|---|---|---|
data | Object | The data of the chart. |
options | Object | The configuration options of the chart of the current type. |
type | String | The type of the chart. Changing the value will recreate the chart. |
updateMode | String | The mode for the update process. |
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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.