@adobe/aem-cli 16.2.0 → 16.2.1
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 +7 -0
- package/package.json +5 -5
- package/src/server/utils.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [16.2.1](https://github.com/adobe/helix-cli/compare/v16.2.0...v16.2.1) (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **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))
|
|
7
|
+
|
|
1
8
|
# [16.2.0](https://github.com/adobe/helix-cli/compare/v16.1.6...v16.2.0) (2024-01-23)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aem-cli",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.1",
|
|
4
4
|
"description": "AEM CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -40,9 +40,9 @@
|
|
|
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.
|
|
44
|
-
"@adobe/helix-shared-git": "3.0.
|
|
45
|
-
"@adobe/helix-shared-indexer": "2.0.
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@adobe/eslint-config-helix": "2.0.5",
|
|
79
|
-
"@adobe/helix-shared-dom": "2.0.
|
|
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",
|
package/src/server/utils.js
CHANGED
|
@@ -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)
|
|
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) {
|