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.
@geins/ralph-module-cms
Advanced tools
This module is a helping tool to render your widgets, when you're using the Geins CMS to create custom widgets.
These extra options can be added to the module configuration in nuxt.config.js
file.
Parameter | Default | Example |
---|---|---|
enabled | true | Enable/Disable the module |
The component this module includes is called GeinsCreatedWidgets
and it's only job is to render the component specified in the JSON supplied to the widget.
npm i @geins/ralph-module-cms
Add the module to your storefront by adding the following line to your nuxt.config.json
file:
...
modules: [
...
'@geins/ralph-module-cms'
]
Set the widgetRenderTypesComponents
config object in your nuxt.config.json
file to use the GeinsCreatedWidgets
component from this module to be used, instead of the default for the JSON
widget type.
...
publicRuntimeConfig: {
...
widgetRenderTypesComponents: {
JSON: 'GeinsCreatedWidgets'
},
...
}
...
Use the Create widget function in your Geins Merchant Center. Add your configuration in the following JSON format for this module to work correctly:
{
"component": "MyWidgetComponent",
"configuration": {
// Add your configuration here
}
}
Your custom widget component needs a configuration
prop. This prop will hold the configuration
from your JSON above. For example:
...
export default {
name: 'MyWidgetComponent',
props: {
configuration: {
type: Object,
required: true
}
}
...
}
...
FAQs
Module for Geins CMS to handle custom created widgets
We found that @geins/ralph-module-cms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.