@node-red/editor-api 4.1.6 → 4.1.7

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.
@@ -198,6 +198,10 @@ async function loadThemePlugin () {
198
198
  }
199
199
  })
200
200
  }
201
+ if (Array.isArray(themePlugin.palette?.categories)) {
202
+ themeSettings.palette = themeSettings.palette || {};
203
+ themeSettings.palette.categories = themePlugin.palette.categories;
204
+ }
201
205
 
202
206
  // These settings are not exposed under `editorTheme`, so we don't have a merge strategy for them
203
207
  // If they're defined in the theme plugin, they replace any settings.js values.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/editor-api",
3
- "version": "4.1.6",
3
+ "version": "4.1.7",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -16,8 +16,8 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@node-red/util": "4.1.6",
20
- "@node-red/editor-client": "4.1.6",
19
+ "@node-red/util": "4.1.7",
20
+ "@node-red/editor-client": "4.1.7",
21
21
  "bcryptjs": "3.0.3",
22
22
  "body-parser": "1.20.4",
23
23
  "clone": "2.1.2",
@@ -26,7 +26,7 @@
26
26
  "express": "4.22.1",
27
27
  "memorystore": "1.6.7",
28
28
  "mime": "3.0.0",
29
- "multer": "2.0.2",
29
+ "multer": "2.1.1",
30
30
  "mustache": "4.2.0",
31
31
  "oauth2orize": "1.12.0",
32
32
  "passport-http-bearer": "1.0.1",