@node-red/editor-api 3.0.0 → 3.0.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.
@@ -327,9 +327,8 @@ module.exports = {
327
327
  themeContext.header.url = themePlugin.header.url || themeContext.header.url
328
328
  }
329
329
  }
330
- if(theme.codeEditor) {
331
- theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
332
- }
330
+ theme.codeEditor = theme.codeEditor || {}
331
+ theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
333
332
  }
334
333
  activeThemeInitialised = true;
335
334
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/editor-api",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
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": "3.0.0",
20
- "@node-red/editor-client": "3.0.0",
19
+ "@node-red/util": "3.0.1",
20
+ "@node-red/editor-client": "3.0.1",
21
21
  "bcryptjs": "2.4.3",
22
22
  "body-parser": "1.20.0",
23
23
  "clone": "2.1.2",