Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@flowfuse/node-red-dashboard-2-migration
Advanced tools
A module that exposes a migration script for converting Dashboard 1.0 flows to Dashboard 2.0
This module provides a script with which you can pass in a Dashboard 1.0 flow, and in return, you will receive a Dashboard 2.0 flow.
Please note that this script does not cover everything, see below for a list of currently supported nodes that can be migrated. The script will be improved over time, and we're open to pull requests to enhance it's functionality.
ui_text
- converted to Dashboard 2.0's ui-text
ui_form
- converted to Dashboard 2.0's ui-form
ui_button
- converted to Dashboard 2.0's ui-button
ui_dropdown
- converted to Dashboard 2.0's ui-dropdown
ui_switch
- converted to Dashboard 2.0's ui-switch
.tooltip
is not supported.decouple
is not supported.animate
is not supportedui_slider
- converted to Dashboard 2.0's ui-slider
ui_text_input
- converted to Dashboard 2.0's ui-text-input
.tooltip
is not supportedui_tab
- converted to Dashboard 2.0's ui-page
ui_group
- converted to Dashboard 2.0's ui-group
ui-base
- Not included in a Dashboard 1.0 flow.json
export, so we create a standard default in it's place.ui-theme
- Not included in a Dashboard 1.0 flow.json
export, so we create a standard default in it's place.ui_numeric
- linkui_date_picker
- linkui_colour_picker
- linkui_gauge
- linkui_chart
- linkui_audio
- linkui_toast
- linkui_control
- linkui_template
- linkTo run this module from the terminal, you can run:
cd path/to/your/node-red-dashboard-2-migration
node migrate path/to/your/flow.json
The script will then print to the terminal a valid flow.json
which you can copy and paste into your Node-RED editor, via Node-RED's import functionality.
To run this module from within a js
environment, you can run:
const d1flow = require('./path/to/your/flow.json')
const MigrateDashboard = require('node-red-dashboard-2-migration')
const d2flow = MigrateDashboard.migrate(d1flow)
FAQs
A module that exposes a migration script for converting Dashboard 1.0 flows to Dashboard 2.0
The npm package @flowfuse/node-red-dashboard-2-migration receives a total of 1 weekly downloads. As such, @flowfuse/node-red-dashboard-2-migration popularity was classified as not popular.
We found that @flowfuse/node-red-dashboard-2-migration demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.