@node-red/registry 5.0.0 → 5.0.2
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/loader.js +2 -1
- package/package.json +6 -6
package/lib/loader.js
CHANGED
|
@@ -231,8 +231,9 @@ async function loadNodeTemplate(node) {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
async function loadNodeLocales(node) {
|
|
234
|
-
if (node.module === 'node-red') {
|
|
234
|
+
if (node.module === 'node-red' || (!node.file && !node.template)) {
|
|
235
235
|
// do not look up locales directory for core nodes
|
|
236
|
+
// or themes which have no file or template
|
|
236
237
|
node.namespace = node.module;
|
|
237
238
|
return node
|
|
238
239
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/registry",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@node-red/util": "5.0.
|
|
19
|
+
"@node-red/util": "5.0.2",
|
|
20
20
|
"clone": "2.1.2",
|
|
21
|
-
"fs-extra": "11.
|
|
22
|
-
"npm": "11.
|
|
23
|
-
"semver": "7.
|
|
24
|
-
"tar": "7.5.
|
|
21
|
+
"fs-extra": "11.4.0",
|
|
22
|
+
"npm": "11.19.0",
|
|
23
|
+
"semver": "7.8.5",
|
|
24
|
+
"tar": "7.5.22",
|
|
25
25
|
"uglify-js": "3.19.3",
|
|
26
26
|
"validate-npm-package-name": "7.0.2"
|
|
27
27
|
}
|