@gem-sdk/pages 2.0.0-dev.576 → 2.0.0-dev.597

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.
@@ -43,7 +43,7 @@ const handleGenerateFontParams = (variants, fontType = 'google')=>{
43
43
  }
44
44
  // Get regular weights and remove italic variants
45
45
  variants.forEach((variant)=>{
46
- if (variant.includes('italic')) {
46
+ if (variant?.includes('italic')) {
47
47
  return;
48
48
  }
49
49
  const weight = variant === 'regular' ? '400' : variant;
@@ -41,7 +41,7 @@ const handleGenerateFontParams = (variants, fontType = 'google')=>{
41
41
  }
42
42
  // Get regular weights and remove italic variants
43
43
  variants.forEach((variant)=>{
44
- if (variant.includes('italic')) {
44
+ if (variant?.includes('italic')) {
45
45
  return;
46
46
  }
47
47
  const weight = variant === 'regular' ? '400' : variant;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "2.0.0-dev.576",
3
+ "version": "2.0.0-dev.597",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,7 +26,7 @@
26
26
  "next": "14.2.20"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "2.0.0-dev.575",
29
+ "@gem-sdk/core": "2.0.0-dev.596",
30
30
  "@gem-sdk/plugin-cookie-bar": "2.0.0-dev.348",
31
31
  "@gem-sdk/plugin-quick-view": "2.0.0-dev.348",
32
32
  "@gem-sdk/plugin-sticky-add-to-cart": "2.0.0-dev.348"