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.
@maibornwolff/mwui-vue
Advanced tools
Import the library plugin in the main.js
file:
npm i @maibornwolff/mwui-stencil
npm i @maibornwolff/mwui-vue
import { MwuiComponents } from '@maibornwolff/mwui-vue';
import '@maibornwolff/mwui-stencil/dist/mwui-stencil/mwui-stencil.css';
createApp(App).use(MwuiComponents).mount('#app');
You can then use your components within vue:
<template>
<mw-button test-id="test-id" label="Press here" />
</template>
<script>
import { MwButton } from '@maibornwolff/mwui-vue';
export default {
name: 'HelloWorld',
components: {
MwButton
}
}
Vue will throw a deprecation error if slots
are used. This is due to eslint
misidentifying the slots as outdated Vue 2
syntax.
To disable the error, add the following under eslintConfig
within the package.json
:
"rules": {
"vue/no-deprecated-slot-attribute": "off"
}
FAQs
Vue specific wrapper for mwui
The npm package @maibornwolff/mwui-vue receives a total of 0 weekly downloads. As such, @maibornwolff/mwui-vue popularity was classified as not popular.
We found that @maibornwolff/mwui-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
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.