@node-red/registry 4.0.4 → 4.0.6

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/installer.js +1 -1
  2. package/package.json +2 -2
package/lib/installer.js CHANGED
@@ -144,7 +144,7 @@ async function installModule(module,version,url) {
144
144
  if (url) {
145
145
  if (pkgurlRe.test(url) || localtgzRe.test(url)) {
146
146
  // Git remote url or Tarball url - check the valid package url
147
- installName = url;
147
+ installName = localtgzRe.test(url) && slashRe.test(url) ? `"${url}"` : url;
148
148
  isRegistryPackage = false;
149
149
  } else {
150
150
  log.warn(log._("server.install.install-failed-url",{name:module,url:url}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/registry",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
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.0.4",
19
+ "@node-red/util": "4.0.6",
20
20
  "clone": "2.1.2",
21
21
  "fs-extra": "11.2.0",
22
22
  "semver": "7.6.3",