
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@chenfengyuan/create-vue-component
Advanced tools
Convert anything to a Vue component.
dist/
├── create-vue-component.js (UMD)
├── create-vue-component.min.js (UMD, compressed)
├── create-vue-component.common.js (CommonJS, default)
└── create-vue-component.esm.js (ES Module)
npm install @chenfengyuan/create-vue-component
createVueComponent(content, options)
content
*
options
(optional)
Object
tag
String
'span'
data
*
content
is a render function.(return value)
Object
render
property value.template
property value.import createVueComponent from '@chenfengyuan/create-vue-component';
createVueComponent({
template: '<p>Hello, World!</p>',
});
// will render as: <p>Hello, World!</p>
createVueComponent('<strong>Hello, World!</strong>');
// will render as: <span><strong>Hello, World!</strong></span>
createVueComponent('Hello, World!');
// will render as: <span>Hello, World!</span>
createVueComponent('Hello, World!', {
tag: 'p',
});
// will render as: <p>Hello, World!</p>
createVueComponent(true);
// will render as: <span>true</span>
createVueComponent(1);
// will render as: <span>1</span>
createVueComponent(['Hello', 'World']);
// will render as: <span>Hello,World</span>
createVueComponent(function content(createElement, data, context) {
return createElement('p', `Hello, ${data.name}!`);
}, {
data: {
name: 'World',
},
});
// will render as: <p>Hello, World!</p>
createVueComponent({});
// will render as: <span>[object Object]</span>
createVueComponent();
// will render as: <span>undefined</span>
FAQs
Convert anything to a Vue component.
The npm package @chenfengyuan/create-vue-component receives a total of 420 weekly downloads. As such, @chenfengyuan/create-vue-component popularity was classified as not popular.
We found that @chenfengyuan/create-vue-component 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 malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.