@node-red/registry 4.1.2 → 4.1.4
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/externalModules.js +1 -1
- package/package.json +3 -3
package/lib/externalModules.js
CHANGED
|
@@ -122,7 +122,7 @@ function importModule(module) {
|
|
|
122
122
|
throw e;
|
|
123
123
|
}
|
|
124
124
|
const externalModuleDir = getInstallDir();
|
|
125
|
-
const moduleDir = path.join(externalModuleDir,"node_modules",module);
|
|
125
|
+
const moduleDir = path.join(externalModuleDir,"node_modules",parsedModule.module);
|
|
126
126
|
// To handle both CJS and ESM we need to resolve the module to the
|
|
127
127
|
// specific file that is loaded when the module is required/imported
|
|
128
128
|
// As this won't be on the natural module search path, we use createRequire
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/registry",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@node-red/util": "4.1.
|
|
19
|
+
"@node-red/util": "4.1.4",
|
|
20
20
|
"clone": "2.1.2",
|
|
21
21
|
"fs-extra": "11.3.0",
|
|
22
22
|
"semver": "7.7.1",
|
|
23
|
-
"tar": "7.
|
|
23
|
+
"tar": "7.5.6",
|
|
24
24
|
"uglify-js": "3.19.3"
|
|
25
25
|
}
|
|
26
26
|
}
|