@adobe/helix-html-pipeline 6.27.7 → 6.27.9
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 +14 -0
- package/package.json +8 -8
- package/src/PipelineResponse.d.ts +13 -2
- package/src/PipelineStatusError.d.ts +3 -1
- package/src/index.d.ts +1 -0
- package/src/utils/id-slugger.d.ts +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [6.27.9](https://github.com/adobe/helix-html-pipeline/compare/v6.27.8...v6.27.9) (2025-11-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* types ([084c004](https://github.com/adobe/helix-html-pipeline/commit/084c004b670538bedf2aebd3b8e0a8648046c171))
|
|
7
|
+
|
|
8
|
+
## [6.27.8](https://github.com/adobe/helix-html-pipeline/compare/v6.27.7...v6.27.8) (2025-11-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([#969](https://github.com/adobe/helix-html-pipeline/issues/969)) ([ae4803b](https://github.com/adobe/helix-html-pipeline/commit/ae4803ba5ac2c20f936990db182ca83adc1eba35))
|
|
14
|
+
|
|
1
15
|
## [6.27.7](https://github.com/adobe/helix-html-pipeline/compare/v6.27.6...v6.27.7) (2025-10-24)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "6.27.
|
|
3
|
+
"version": "6.27.9",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"unist-util-remove-position": "5.0.0",
|
|
68
68
|
"unist-util-select": "5.1.0",
|
|
69
69
|
"unist-util-visit": "5.0.0",
|
|
70
|
-
"unist-util-visit-parents": "6.0.
|
|
70
|
+
"unist-util-visit-parents": "6.0.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
74
|
-
"@eslint/config-helpers": "0.4.
|
|
73
|
+
"@adobe/eslint-config-helix": "3.0.13",
|
|
74
|
+
"@eslint/config-helpers": "0.4.1",
|
|
75
75
|
"@markedjs/html-differ": "5.0.2",
|
|
76
76
|
"@semantic-release/changelog": "6.0.3",
|
|
77
77
|
"@semantic-release/git": "10.0.1",
|
|
78
|
-
"@semantic-release/npm": "13.
|
|
78
|
+
"@semantic-release/npm": "13.1.1",
|
|
79
79
|
"c8": "10.1.3",
|
|
80
80
|
"eslint": "9.4.0",
|
|
81
81
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"esmock": "2.7.3",
|
|
85
85
|
"husky": "9.1.7",
|
|
86
86
|
"js-yaml": "4.1.0",
|
|
87
|
-
"jsdom": "27.0.
|
|
87
|
+
"jsdom": "27.0.1",
|
|
88
88
|
"junit-report-builder": "5.1.1",
|
|
89
|
-
"lint-staged": "16.2.
|
|
89
|
+
"lint-staged": "16.2.5",
|
|
90
90
|
"mocha": "11.7.4",
|
|
91
91
|
"mocha-multi-reporters": "1.5.1",
|
|
92
92
|
"mocha-suppress-logs": "0.6.0",
|
|
93
|
-
"semantic-release": "25.0.
|
|
93
|
+
"semantic-release": "25.0.1"
|
|
94
94
|
},
|
|
95
95
|
"lint-staged": {
|
|
96
96
|
"*.js": "eslint",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* OF ANY KIND; either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { Root } from 'hast';
|
|
13
13
|
|
|
14
14
|
declare interface PipelineResponseInit {
|
|
15
15
|
status?: number;
|
|
@@ -22,7 +22,7 @@ declare class PipelineResponse {
|
|
|
22
22
|
/**
|
|
23
23
|
* The transformed document (hast) representation
|
|
24
24
|
*/
|
|
25
|
-
document:
|
|
25
|
+
document: Root;
|
|
26
26
|
body: string;
|
|
27
27
|
headers: Map<string, string>;
|
|
28
28
|
error: any;
|
|
@@ -33,5 +33,16 @@ declare class PipelineResponse {
|
|
|
33
33
|
* header will be the one of the `head.html`
|
|
34
34
|
*/
|
|
35
35
|
lastModifiedTime: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* the last modified sources of the response. this is a record of the last-modified times of the
|
|
39
|
+
* various sources making up the response.
|
|
40
|
+
* @example
|
|
41
|
+
* {
|
|
42
|
+
* content: { time: 1714857600, date: 'Wed, 12 Jan 2022 09:33:01 GMT' },
|
|
43
|
+
* metadata: { time: 1714857600, date: 'Wed, 12 Jan 2022 09:33:01 GMT' },
|
|
44
|
+
* }
|
|
45
|
+
*/
|
|
46
|
+
lastModifiedSources: Record<string, { time: number; date: string }>;
|
|
36
47
|
}
|
|
37
48
|
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
declare class PipelineStatusError extends Error {
|
|
12
|
+
export declare class PipelineStatusError extends Error {
|
|
13
|
+
constructor(code: number, message: string);
|
|
14
|
+
message: string;
|
|
13
15
|
code:number;
|
|
14
16
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Adobe. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License; Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing; software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS; WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND; either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export declare class IDSlugger {
|
|
14
|
+
occurrences: Record<string, number>;
|
|
15
|
+
|
|
16
|
+
constructor();
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Generate a unique slug.
|
|
20
|
+
* @param {string} value String of text to slugify
|
|
21
|
+
* @return {string} A unique slug string
|
|
22
|
+
*/
|
|
23
|
+
slug(value: string): string;
|
|
24
|
+
}
|