@gem-sdk/pages 1.26.7 → 1.27.10
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.
|
@@ -9,7 +9,12 @@ async function getFontForUA(url, UA) {
|
|
|
9
9
|
headers: {
|
|
10
10
|
'User-Agent': UA
|
|
11
11
|
}
|
|
12
|
-
}).then((res)=>
|
|
12
|
+
}).then((res)=>{
|
|
13
|
+
if (res.status === 200) {
|
|
14
|
+
return res.text();
|
|
15
|
+
}
|
|
16
|
+
return '';
|
|
17
|
+
});
|
|
13
18
|
}
|
|
14
19
|
const composeFonts = (fonts)=>{
|
|
15
20
|
const uniqFonts = fonts.filter((font, index, arr)=>{
|
|
@@ -7,7 +7,12 @@ async function getFontForUA(url, UA) {
|
|
|
7
7
|
headers: {
|
|
8
8
|
'User-Agent': UA
|
|
9
9
|
}
|
|
10
|
-
}).then((res)=>
|
|
10
|
+
}).then((res)=>{
|
|
11
|
+
if (res.status === 200) {
|
|
12
|
+
return res.text();
|
|
13
|
+
}
|
|
14
|
+
return '';
|
|
15
|
+
});
|
|
11
16
|
}
|
|
12
17
|
const composeFonts = (fonts)=>{
|
|
13
18
|
const uniqFonts = fonts.filter((font, index, arr)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/pages",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"next-seo": "^6.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "1.
|
|
28
|
+
"@gem-sdk/core": "1.27.8",
|
|
29
29
|
"@gem-sdk/plugin-cookie-bar": "1.25.0",
|
|
30
30
|
"@gem-sdk/plugin-quick-view": "1.25.0",
|
|
31
31
|
"@gem-sdk/plugin-sticky-add-to-cart": "1.25.0"
|