@quintype/seo 1.53.0-author-page-schema.1 → 1.53.0

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.53.0](https://github.com/quintype/quintype-node-seo/compare/v1.50.3...v1.53.0) (2026-07-02)
6
+
7
+
8
+ ### Features
9
+
10
+ * support SiteNavigation & WebPage schema ([#575](https://github.com/quintype/quintype-node-seo/issues/575)) ([34ca38b](https://github.com/quintype/quintype-node-seo/commit/34ca38b03bd340462269ab1b27153083c51c17ea))
11
+
5
12
  ### [1.52.2](https://github.com/quintype/quintype-node-seo/compare/v1.52.1...v1.52.2) (2026-06-24)
6
13
 
7
14
  ### [1.52.1](https://github.com/quintype/quintype-node-seo/compare/v1.52.0...v1.52.1) (2026-06-24)
package/dist/index.cjs.js CHANGED
@@ -573,7 +573,8 @@ function generateAuthorPageSchema(publisherConfig, data, url) {
573
573
  const authorImage = lodash.get(data, ["author", "avatar-url"], "");
574
574
  const { knowsAbout, jobTitle } = lodash.get(data, ["author", "metadata"], {});
575
575
  const social = lodash.get(data, ["author", "social"], {});
576
- const normalizedKnowsAbout = (knowsAbout || "").split(",").map(topic => topic.trim()).filter(Boolean);
576
+
577
+ const normalizedKnowsAbout = typeof knowsAbout === "string" ? knowsAbout.split(",").map(topic => topic.trim()).filter(Boolean) : [];
577
578
 
578
579
  const sameAs = Object.values(social).reduce((acc, socialItem) => {
579
580
  const rawUrl = lodash.get(socialItem, ["url"], "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/seo",
3
- "version": "1.53.0-author-page-schema.1",
3
+ "version": "1.53.0",
4
4
  "description": "SEO Modules for Quintype",
5
5
  "main": "dist/index.cjs.js",
6
6
  "repository": "https://github.com/quintype/quintype-node-seo",
@@ -133,10 +133,11 @@ export function generateAuthorPageSchema(publisherConfig, data, url) {
133
133
  const authorImage = get(data, ["author", "avatar-url"], "");
134
134
  const { knowsAbout, jobTitle } = get(data, ["author", "metadata"], {});
135
135
  const social = get(data, ["author", "social"], {});
136
- const normalizedKnowsAbout = (knowsAbout || "")
137
- .split(",")
138
- .map((topic) => topic.trim())
139
- .filter(Boolean);
136
+
137
+ const normalizedKnowsAbout =
138
+ typeof knowsAbout === "string"
139
+ ? knowsAbout.split(",").map((topic) => topic.trim()).filter(Boolean)
140
+ : [];
140
141
 
141
142
  const sameAs = Object.values(social).reduce((acc, socialItem) => {
142
143
  const rawUrl = get(socialItem, ["url"], "");