hologit 0.41.5 → 0.41.7

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/Source.js +2 -2
  2. package/package.json +6 -6
package/lib/Source.js CHANGED
@@ -96,8 +96,8 @@ class Source extends Configurable {
96
96
  const data = {};
97
97
 
98
98
  if (url) {
99
- const { resource: host, pathname: path } = parseUrl(url);
100
- data.host = host.toLowerCase();
99
+ const { resource: host, pathname: path } = parseUrl(url[0] == '/' ? `file://${url}` : url);
100
+ data.host = host.toLowerCase() || null;
101
101
  data.path = path.toLowerCase().replace(/\/?\.git$/, '');
102
102
  } else {
103
103
  data.path = '.';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hologit",
3
- "version": "0.41.5",
3
+ "version": "0.41.7",
4
4
  "description": "Hologit automates the projection of layered composite file trees based on flat, declarative plans",
5
5
  "repository": "https://github.com/EmergencePlatform/hologit",
6
6
  "main": "lib/index.js",
@@ -10,15 +10,15 @@
10
10
  "dependencies": {
11
11
  "@iarna/toml": "^2.2.5",
12
12
  "async-exit-hook": "^2.0.1",
13
- "axios": "^0.27.2",
13
+ "axios": "^1.3.3",
14
14
  "chokidar": "^3.5.3",
15
15
  "debounce": "^1.2.1",
16
- "dockerode": "^3.3.1",
16
+ "dockerode": "^3.3.5",
17
17
  "fb-watchman": "^2.0.1",
18
18
  "git-client": "^1.8.3",
19
- "hab-client": "^1.1.1",
19
+ "hab-client": "^1.1.3",
20
20
  "handlebars": "^4.7.6",
21
- "minimatch": "^5.1.0",
21
+ "minimatch": "^7.4.2",
22
22
  "mz": "^2.4.0",
23
23
  "mz-modules": "^2.1.0",
24
24
  "object-squish": "^1.1.0",
@@ -49,7 +49,7 @@
49
49
  ],
50
50
  "devDependencies": {
51
51
  "@types/jest": "^29.1.2",
52
- "jest": "^29.2.0"
52
+ "jest": "^29.5.0"
53
53
  },
54
54
  "jest": {
55
55
  "testEnvironment": "node"