@adobe/helix-html-pipeline 6.15.0 → 6.15.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,18 @@
1
+ ## [6.15.2](https://github.com/adobe/helix-html-pipeline/compare/v6.15.1...v6.15.2) (2024-10-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency hast-util-select to v6.0.3 ([ef6927d](https://github.com/adobe/helix-html-pipeline/commit/ef6927dc9654200f223cf25b85910d6435e4493b))
7
+
8
+ ## [6.15.1](https://github.com/adobe/helix-html-pipeline/compare/v6.15.0...v6.15.1) (2024-10-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * adding newline at the end of robots.txt ([95ec386](https://github.com/adobe/helix-html-pipeline/commit/95ec386898c4c5b55b435415e3afd7b31c65ea46))
14
+ * adding newline at the end of sitemap.xml ([2e8382d](https://github.com/adobe/helix-html-pipeline/commit/2e8382dcde265277ea98962d33ae26eacc052647))
15
+
1
16
  # [6.15.0](https://github.com/adobe/helix-html-pipeline/compare/v6.14.13...v6.15.0) (2024-10-08)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.15.0",
3
+ "version": "6.15.2",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "@adobe/remark-gridtables": "3.0.6",
50
50
  "github-slugger": "2.0.0",
51
51
  "hast-util-raw": "9.0.4",
52
- "hast-util-select": "6.0.2",
52
+ "hast-util-select": "6.0.3",
53
53
  "hast-util-to-html": "9.0.3",
54
54
  "hast-util-to-string": "3.0.1",
55
55
  "hastscript": "9.0.0",
@@ -86,6 +86,7 @@ function generateRobots(state) {
86
86
  'Allow: /',
87
87
  '',
88
88
  `Sitemap: https://${prodHost}/sitemap.xml`,
89
+ '',
89
90
  ].join('\n');
90
91
  return new PipelineResponse(txt, {
91
92
  status: 200,
@@ -52,6 +52,7 @@ async function generateSitemap(state) {
52
52
  '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">',
53
53
  ...data.map((record) => loc(record)),
54
54
  '</urlset>',
55
+ '',
55
56
  ].join('\n');
56
57
  return new PipelineResponse(xml, {
57
58
  status: 200,