@flowfuse/node-red-dashboard
Advanced tools
Comparing version 0.7.2 to 0.7.3-0b9dde7-202311141031.0
@@ -544,3 +544,2 @@ // const Emitter = require('events').EventEmitter | ||
if (theme) { | ||
// eslint-disable-next-line no-unused-vars | ||
const { _wireCount, _inputCallback, _inputCallbacks, _closeCallbacks, wires, type, ...t } = theme | ||
@@ -555,3 +554,2 @@ node.ui.themes.set(page.theme, t) | ||
if (page && !node.ui.pages.has(page?.id)) { | ||
// eslint-disable-next-line no-unused-vars | ||
const { _user, type, ...p } = page | ||
@@ -563,3 +561,2 @@ node.ui.pages.set(page.id, p) | ||
if (group && !node.ui.groups.has(group?.id)) { | ||
// eslint-disable-next-line no-unused-vars | ||
const { _user, type, ...g } = group | ||
@@ -566,0 +563,0 @@ node.ui.groups.set(group.id, g) |
@@ -10,3 +10,2 @@ module.exports = function (RED) { | ||
// eslint-disable-next-line no-unused-vars | ||
const { id, name, type, _users, ...rest } = config | ||
@@ -13,0 +12,0 @@ node.colors = { ...rest.colors } |
114
package.json
{ | ||
"name": "@flowfuse/node-red-dashboard", | ||
"version": "0.7.3-0b9dde7-202311141031.0", | ||
"description": "A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts) within Node-RED.", | ||
"keywords": [ | ||
"node-red" | ||
], | ||
"homepage": "https://dashboard.flowfuse.com", | ||
"version": "0.7.2", | ||
"description": "A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts) within Node-RED.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/FlowFuse/node-red-dashboard.git" | ||
}, | ||
"license": "Apache-2.0", | ||
"author": { | ||
@@ -10,6 +18,2 @@ "name": "Joe Pavitt", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/FlowFuse/node-red-dashboard.git" | ||
}, | ||
"files": [ | ||
@@ -20,37 +24,18 @@ "dist/*", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"build:dev": "vue-cli-service build --mode development", | ||
"build": "vite build", | ||
"build:dev": "NODE_ENV=development npm run build", | ||
"dev": "vite", | ||
"docs:build": "vitepress build docs", | ||
"docs:dev": "vitepress dev docs", | ||
"docs:build": "vitepress build docs", | ||
"lint": "eslint -c .eslintrc.json \"nodes/**/*.js\" \"nodes/**/*.html\" \"ui/src/**/*.js\" \"ui/src/**/*.vue\" \"test/**/*.js\"", | ||
"lint": "npm run lint:js && npm run lint:package", | ||
"lint:fix": "npm run lint:js:fix && npm run lint:package:fix", | ||
"lint:js": "eslint --ext .js,.vue,.cjs,.mjs .", | ||
"lint:js:fix": "yarn lint:js --fix", | ||
"lint:package": "sort-package-json --check 'package.json'", | ||
"lint:package:fix": "sort-package-json 'package.json'", | ||
"preview": "vite build && vite preview", | ||
"serve": "npm run dev", | ||
"test": "mocha \"test/**/*.spec.js\"", | ||
"test:debug": "mocha --inspect=9226 \"test/**/*.spec.js\"" | ||
}, | ||
"license": "Apache-2.0", | ||
"keywords": [ | ||
"node-red" | ||
], | ||
"node-red": { | ||
"version": ">=3.0.0", | ||
"nodes": { | ||
"ui-base": "nodes/config/ui_base.js", | ||
"ui-page": "nodes/config/ui_page.js", | ||
"ui-group": "nodes/config/ui_group.js", | ||
"ui-theme": "nodes/config/ui_theme.js", | ||
"ui-form": "nodes/widgets/ui_form.js", | ||
"ui-text-input": "nodes/widgets/ui_text_input.js", | ||
"ui-button": "nodes/widgets/ui_button.js", | ||
"ui-dropdown": "nodes/widgets/ui_dropdown.js", | ||
"ui-radio-group": "nodes/widgets/ui_radio_group.js", | ||
"ui-slider": "nodes/widgets/ui_slider.js", | ||
"ui-switch": "nodes/widgets/ui_switch.js", | ||
"ui-text": "nodes/widgets/ui_text.js", | ||
"ui-table": "nodes/widgets/ui_table.js", | ||
"ui-chart": "nodes/widgets/ui_chart.js", | ||
"ui-notification": "nodes/widgets/ui_notification.js", | ||
"ui-markdown": "nodes/widgets/ui_markdown.js", | ||
"ui-template": "nodes/widgets/ui_template.js" | ||
} | ||
}, | ||
"dependencies": { | ||
@@ -64,21 +49,16 @@ "chartjs-adapter-luxon": "^1.3.1", | ||
"devDependencies": { | ||
"@babel/core": "^7.22.20", | ||
"@babel/eslint-parser": "^7.22.15", | ||
"@babel/plugin-transform-private-methods": "^7.22.5", | ||
"@mdi/font": "~6.9.96", | ||
"@unhead/vue": "^1.7.4", | ||
"@vue/cli-plugin-babel": "~5.0.8", | ||
"@vue/cli-plugin-eslint": "~5.0.8", | ||
"@vue/cli-service": "~5.0.8", | ||
"@vitejs/plugin-vue": "^4.4.1", | ||
"chart.js": "^4.4.0", | ||
"dompurify": "^3.0.5", | ||
"eslint": "^8.49.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-n": "^16.1.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-n": "^16.3.1", | ||
"eslint-plugin-no-only-tests": "^3.1.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-vue": "^8.7.1", | ||
"eslint-plugin-vuetify": "^2.0.5", | ||
"eslint-plugin-vue": "^9.18.1", | ||
"eslint-plugin-vuetify": "^2.1.0", | ||
"glob": "^10.3.4", | ||
@@ -98,2 +78,4 @@ "highlight.js": "^11.8.0", | ||
"socket.io-client": "^4.7.2", | ||
"sort-package-json": "^2.6.0", | ||
"vite": "^4.5.0", | ||
"vitepress": "^1.0.0-beta.7", | ||
@@ -104,16 +86,32 @@ "vue-router": "^4.2.4", | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
}, | ||
"node-red": { | ||
"version": ">=3.0.0", | ||
"nodes": { | ||
"ui-base": "nodes/config/ui_base.js", | ||
"ui-page": "nodes/config/ui_page.js", | ||
"ui-group": "nodes/config/ui_group.js", | ||
"ui-theme": "nodes/config/ui_theme.js", | ||
"ui-form": "nodes/widgets/ui_form.js", | ||
"ui-text-input": "nodes/widgets/ui_text_input.js", | ||
"ui-button": "nodes/widgets/ui_button.js", | ||
"ui-dropdown": "nodes/widgets/ui_dropdown.js", | ||
"ui-radio-group": "nodes/widgets/ui_radio_group.js", | ||
"ui-slider": "nodes/widgets/ui_slider.js", | ||
"ui-switch": "nodes/widgets/ui_switch.js", | ||
"ui-text": "nodes/widgets/ui_text.js", | ||
"ui-table": "nodes/widgets/ui_table.js", | ||
"ui-chart": "nodes/widgets/ui_chart.js", | ||
"ui-notification": "nodes/widgets/ui_notification.js", | ||
"ui-markdown": "nodes/widgets/ui_markdown.js", | ||
"ui-template": "nodes/widgets/ui_template.js" | ||
} | ||
}, | ||
"overrides": { | ||
"node-red-node-test-helper": { | ||
"semver": "^7.5.4" | ||
"semver": "^7.5.4" | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not dead", | ||
"not ie 11" | ||
], | ||
"engines": { | ||
"node": ">=14" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34
277527
56
1456