@dylandepass/helix-product-pipeline 1.2.2 → 1.2.3

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
+ ## [1.2.3](https://github.com/adobe-rnd/helix-product-pipeline/compare/v1.2.2...v1.2.3) (2025-06-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * string pricing and noindex ([1e5094a](https://github.com/adobe-rnd/helix-product-pipeline/commit/1e5094a99fd8a6840e39cd7cd189ca81daeb0039))
7
+
1
8
  ## [1.2.2](https://github.com/adobe-rnd/helix-product-pipeline/compare/v1.2.1...v1.2.2) (2025-06-02)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dylandepass/helix-product-pipeline",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Helix Product Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -27,9 +27,9 @@ function formatPrice(price) {
27
27
  if (!price) return '';
28
28
  const { regular, final } = price;
29
29
  if (final < regular) {
30
- return h('p', [`$${final.toFixed(2)} `, '(', h('del', `$${regular.toFixed(2)}`), ')']);
30
+ return h('p', [`$${final} `, '(', h('del', `$${regular}`), ')']);
31
31
  }
32
- return h('p', `$${final.toFixed(2)}`);
32
+ return h('p', `$${final}`);
33
33
  }
34
34
 
35
35
  function formatOptions(variant) {
@@ -95,6 +95,7 @@ export default async function render(state, req, res) {
95
95
  h('meta', { name: 'twitter:title', content: metaTitle }),
96
96
  h('meta', { name: 'twitter:description', content: metaDescription }),
97
97
  h('meta', { name: 'twitter:image', content: images[0]?.url }),
98
+ h('meta', { name: 'robots', content: 'noindex' }),
98
99
  h('meta', { name: 'sku', content: sku }),
99
100
  ];
100
101