gatsby-core-theme 44.8.0 → 44.8.1
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 +11 -0
- package/package.json +1 -1
- package/src/resolver/games.mjs +2 -2
- package/src/resolver/index.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [44.8.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.8.0...v44.8.1) (2025-11-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* relationKeys ([c51b03b](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c51b03b3def0caecb83dd934d5974316801f7352))
|
|
7
|
+
* typo ([3b2d4fa](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/3b2d4fa0f39eb1320e5c0ceead74aa933d5b8d24))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* Merge branch 'en-142/themeoptions-relation-keys' into 'master' ([3291dd9](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/3291dd9ac6e1c7f1b1672dc5002d2ee83e340100))
|
|
11
|
+
|
|
1
12
|
# [44.8.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.7.1...v44.8.0) (2025-11-19)
|
|
2
13
|
|
|
3
14
|
|
package/package.json
CHANGED
package/src/resolver/games.mjs
CHANGED
|
@@ -22,7 +22,7 @@ export function sanitizegameData(game, pages = null, relationKeys) {
|
|
|
22
22
|
return pick(gameClone, [...pickRelationKeys.game, ...(relationKeys || [])]);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export function transformGames(jsonData, relationsData
|
|
25
|
+
export function transformGames(jsonData, relationsData) {
|
|
26
26
|
const games = {};
|
|
27
27
|
|
|
28
28
|
// Iterate over each operator
|
|
@@ -72,7 +72,7 @@ export function transformGames(jsonData, relationsData, relationKeys) {
|
|
|
72
72
|
games[sitesMarketData.id] = sanitizegameData(
|
|
73
73
|
newGamesData,
|
|
74
74
|
null,
|
|
75
|
-
relationKeys
|
|
75
|
+
relationsData?.relationKeys
|
|
76
76
|
);
|
|
77
77
|
});
|
|
78
78
|
});
|
package/src/resolver/index.mjs
CHANGED
|
@@ -272,7 +272,7 @@ export function getReadingTime(sections, content) {
|
|
|
272
272
|
minutes += mins;
|
|
273
273
|
seconds = decimalSeconds;
|
|
274
274
|
}
|
|
275
|
-
minutes > 10 ?
|
|
275
|
+
minutes = minutes > 10 ? 10 : minutes;
|
|
276
276
|
return (
|
|
277
277
|
getRoundMinutes(`${zeroPadding(minutes, 2)}:${zeroPadding(seconds, 2)}`) ||
|
|
278
278
|
null
|