@node-red/editor-api 4.0.9 → 4.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/editor/theme.js +5 -6
- package/package.json +6 -6
package/lib/editor/theme.js
CHANGED
|
@@ -185,13 +185,12 @@ module.exports = {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
if (theme.deployButton) {
|
|
188
|
+
themeSettings.deployButton = {};
|
|
189
|
+
if (theme.deployButton.label) {
|
|
190
|
+
themeSettings.deployButton.label = theme.deployButton.label;
|
|
191
|
+
}
|
|
188
192
|
if (theme.deployButton.type == "simple") {
|
|
189
|
-
themeSettings.deployButton =
|
|
190
|
-
type: "simple"
|
|
191
|
-
}
|
|
192
|
-
if (theme.deployButton.label) {
|
|
193
|
-
themeSettings.deployButton.label = theme.deployButton.label;
|
|
194
|
-
}
|
|
193
|
+
themeSettings.deployButton.type = theme.deployButton.type;
|
|
195
194
|
if (theme.deployButton.icon) {
|
|
196
195
|
url = serveFile(themeApp,"/deploy/",theme.deployButton.icon);
|
|
197
196
|
if (url) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/editor-api",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-beta.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@node-red/util": "4.0.
|
|
20
|
-
"@node-red/editor-client": "4.0.
|
|
21
|
-
"bcryptjs": "
|
|
19
|
+
"@node-red/util": "4.1.0-beta.1",
|
|
20
|
+
"@node-red/editor-client": "4.1.0-beta.1",
|
|
21
|
+
"bcryptjs": "3.0.2",
|
|
22
22
|
"body-parser": "1.20.3",
|
|
23
23
|
"clone": "2.1.2",
|
|
24
24
|
"cors": "2.8.5",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"express": "4.21.2",
|
|
27
27
|
"memorystore": "1.6.7",
|
|
28
28
|
"mime": "3.0.0",
|
|
29
|
-
"multer": "
|
|
29
|
+
"multer": "2.0.1",
|
|
30
30
|
"mustache": "4.2.0",
|
|
31
31
|
"oauth2orize": "1.12.0",
|
|
32
32
|
"passport-http-bearer": "1.0.1",
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"ws": "7.5.10"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@node-rs/bcrypt": "1.10.
|
|
38
|
+
"@node-rs/bcrypt": "1.10.7"
|
|
39
39
|
}
|
|
40
40
|
}
|