@adobe/aem-cli 16.2.0 → 16.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [16.2.2](https://github.com/adobe/helix-cli/compare/v16.2.1...v16.2.2) (2024-01-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([1bd889f](https://github.com/adobe/helix-cli/commit/1bd889f1f534ceeead2ed962ee7a09516ff5dbd0))
7
+
8
+ ## [16.2.1](https://github.com/adobe/helix-cli/compare/v16.2.0...v16.2.1) (2024-01-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **cache:** proper root filename handling for subfolders ([#2305](https://github.com/adobe/helix-cli/issues/2305)) ([e7e2d34](https://github.com/adobe/helix-cli/commit/e7e2d3423b371846f87b23e93cbb25c37197899f))
14
+
1
15
  # [16.2.0](https://github.com/adobe/helix-cli/compare/v16.1.6...v16.2.0) (2024-01-23)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.2.0",
3
+ "version": "16.2.2",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,16 +40,16 @@
40
40
  "dependencies": {
41
41
  "@adobe/fetch": "4.1.1",
42
42
  "@adobe/helix-log": "6.0.1",
43
- "@adobe/helix-shared-config": "10.3.8",
44
- "@adobe/helix-shared-git": "3.0.4",
45
- "@adobe/helix-shared-indexer": "2.0.18",
43
+ "@adobe/helix-shared-config": "10.3.9",
44
+ "@adobe/helix-shared-git": "3.0.5",
45
+ "@adobe/helix-shared-indexer": "2.0.19",
46
46
  "camelcase": "8.0.0",
47
47
  "chalk-template": "1.1.0",
48
48
  "chokidar": "3.5.3",
49
49
  "compression": "1.7.4",
50
50
  "cookie": "0.6.0",
51
51
  "cookie-parser": "1.4.6",
52
- "dotenv": "16.3.2",
52
+ "dotenv": "16.4.1",
53
53
  "express": "4.18.2",
54
54
  "faye-websocket": "0.11.4",
55
55
  "fs-extra": "11.2.0",
@@ -76,13 +76,13 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@adobe/eslint-config-helix": "2.0.5",
79
- "@adobe/helix-shared-dom": "2.0.3",
79
+ "@adobe/helix-shared-dom": "2.0.4",
80
80
  "@adobe/helix-testutils": "0.4.15",
81
81
  "@semantic-release/changelog": "6.0.3",
82
82
  "@semantic-release/git": "10.0.1",
83
83
  "c8": "9.1.0",
84
84
  "eslint": "8.56.0",
85
- "esmock": "2.6.2",
85
+ "esmock": "2.6.3",
86
86
  "husky": "8.0.3",
87
87
  "junit-report-builder": "3.1.0",
88
88
  "lint-staged": "15.2.0",
@@ -139,7 +139,10 @@ window.LiveReloadOptions = {
139
139
  computePathForCache(url, directory) {
140
140
  const u = new URL(url);
141
141
  const { pathname, search } = u;
142
- let fileName = pathname.substring(1) || 'index.html';
142
+ let fileName = pathname.substring(1);
143
+ if (fileName.endsWith('/') || fileName === '') {
144
+ fileName += 'index.html';
145
+ }
143
146
  if (search) {
144
147
  let qs = search.substring(1); // remove leading '?'
145
148
  if (fileName.length + qs.length > 255) {