@adobe/helix-html-pipeline 6.16.0 → 6.17.0

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,10 @@
1
+ # [6.17.0](https://github.com/adobe/helix-html-pipeline/compare/v6.16.0...v6.17.0) (2024-11-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * revert foldermapped last-modified ([#755](https://github.com/adobe/helix-html-pipeline/issues/755)) ([a4d2582](https://github.com/adobe/helix-html-pipeline/commit/a4d25820375e2a5e0f8b19f0eb6b03951d68d507))
7
+
1
8
  # [6.16.0](https://github.com/adobe/helix-html-pipeline/compare/v6.15.11...v6.16.0) (2024-11-18)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.16.0",
3
+ "version": "6.17.0",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -12,7 +12,6 @@
12
12
 
13
13
  import { PipelineStatusError } from '../PipelineStatusError.js';
14
14
  import { Modifiers } from '../utils/modifiers.js';
15
- import { extractLastModified, recordLastModified } from '../utils/last-modified.js';
16
15
 
17
16
  /**
18
17
  * Loads metadata for a mapped path and puts it into `state.mappedMetadata`. If path is not
@@ -24,6 +23,7 @@ import { extractLastModified, recordLastModified } from '../utils/last-modified.
24
23
  * @param {PipelineResponse} res
25
24
  * @returns {Promise<void>}
26
25
  */
26
+ // eslint-disable-next-line no-unused-vars
27
27
  export default async function fetchMappedMetadata(state, res) {
28
28
  state.mappedMetadata = Modifiers.EMPTY;
29
29
  if (!state.mapped) {
@@ -53,7 +53,7 @@ export default async function fetchMappedMetadata(state, res) {
53
53
  state.mappedMetadata = Modifiers.fromModifierSheet(
54
54
  data,
55
55
  );
56
- recordLastModified(state, res, 'metadata', extractLastModified(ret.headers));
56
+ // note, that the folder mapped metadata does not influence the last-modified calculation.
57
57
  return;
58
58
  }
59
59
  if (ret.status !== 404) {