@node-red/registry 4.1.13 → 4.1.14

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.
Files changed (2) hide show
  1. package/lib/loader.js +2 -1
  2. package/package.json +2 -2
package/lib/loader.js CHANGED
@@ -230,8 +230,9 @@ async function loadNodeTemplate(node) {
230
230
  }
231
231
 
232
232
  async function loadNodeLocales(node) {
233
- if (node.module === 'node-red') {
233
+ if (node.module === 'node-red' || (!node.file && !node.template)) {
234
234
  // do not look up locales directory for core nodes
235
+ // or themes which have no file or template
235
236
  node.namespace = node.module;
236
237
  return node
237
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/registry",
3
- "version": "4.1.13",
3
+ "version": "4.1.14",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@node-red/util": "4.1.13",
19
+ "@node-red/util": "4.1.14",
20
20
  "clone": "2.1.2",
21
21
  "fs-extra": "11.4.0",
22
22
  "npm": "^10.9.9",