@ebitex/content-sdk 0.16.79 → 0.18.81

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.
@@ -0,0 +1,65 @@
1
+ import type { SitemapResult } from '../types.js';
2
+ import { type BuildSitemapXmlOptions } from './xml.js';
3
+ /** One document the consumer must serve, at exactly the path given. */
4
+ export interface SitemapDocument {
5
+ /**
6
+ * Site-relative path this document has to be served at.
7
+ *
8
+ * For a shard this is **not advisory**: it is the path the index writes into its own `<loc>`, so
9
+ * serving it anywhere else produces an index full of 404s — which nothing local catches, and which
10
+ * surfaces only as a crawler quietly giving up.
11
+ */
12
+ path: string;
13
+ kind: 'index' | 'urlset';
14
+ xml: string;
15
+ }
16
+ export interface BuildSitemapDocumentsOptions extends BuildSitemapXmlOptions {
17
+ /**
18
+ * Where the index — or, when everything fits in one file, the single document — is served.
19
+ * The URL `robots.txt` should advertise. Defaults to `/sitemap.xml`.
20
+ */
21
+ indexPath?: string;
22
+ /**
23
+ * The path of shard `n`, 1-based. Defaults to `/sitemap-1.xml`, `/sitemap-2.xml`, …
24
+ *
25
+ * May return an absolute URL — used as-is, exactly as `localeUrl` may — for a consumer serving
26
+ * shards from a CDN or another host.
27
+ *
28
+ * **A sitemap may only contain URLs at or below its own location**, so a shard served at
29
+ * `/sitemaps/a.xml` may not list `/about`. The defaults sit at the root and are always safe;
30
+ * changing this can break that rule. It is documented rather than enforced because the rule has a
31
+ * legitimate exemption — a verified-ownership cross-submission, which search engines accept — so
32
+ * validating it would reject working setups in order to catch a mistake this sentence can name.
33
+ */
34
+ shardPath?: (index: number) => string;
35
+ /**
36
+ * Lower the per-shard URL cap. Defaults to the protocol's {@link MAX_SITEMAP_URLS}.
37
+ *
38
+ * Shapes the shards only. The index is always held to the protocol's own limits.
39
+ */
40
+ maxUrls?: number;
41
+ /** Lower the per-shard byte cap. Defaults to the protocol's {@link MAX_SITEMAP_BYTES}. */
42
+ maxBytes?: number;
43
+ }
44
+ /**
45
+ * Renders a site's sitemap as the set of documents it actually needs — one when it fits, an index
46
+ * plus shards when it does not.
47
+ *
48
+ * **Prefer this to `buildSitemapXml` as the default.** Under the caps it returns exactly one
49
+ * document whose `xml` is byte-identical to that function's output, so nothing is given up by
50
+ * reaching for it first; past them it is the difference between a sitemap and an exception. A
51
+ * function only large sites call is a function only large sites discover, and they discover it by
52
+ * failing.
53
+ *
54
+ * **Pure**: data in, documents out. No I/O, no `fetch`, no environment access — so it is equally
55
+ * callable from a request handler and from a static build script, which is what keeps this feature
56
+ * untiered. Serving the documents at their paths is still the consumer's own job; what changed with
57
+ * this function (spec 699) is only that an index, unlike a single sitemap, is not self-contained —
58
+ * it names the URLs its shards are served at, so those paths have to be agreed here.
59
+ *
60
+ * @throws {SitemapTooLargeError} when a single node's own URLs exceed one file, or when the index
61
+ * itself would need to reference more sitemaps than the protocol allows. Neither is reachable at
62
+ * the default caps.
63
+ */
64
+ export declare function buildSitemapDocuments(result: SitemapResult, options: BuildSitemapDocumentsOptions): SitemapDocument[];
65
+ //# sourceMappingURL=documents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/sitemap/documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,aAAa,EAAE,MAAM,aAAa,CAAA;AAC7D,OAAO,EAWL,KAAK,sBAAsB,EAE5B,MAAM,UAAU,CAAA;AAEjB,uEAAuE;AACvE,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IAC1E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAErC;;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ened by spec 699-sitemap-index.
3
3
  *
4
- * One pure function, and nothing else. There is deliberately no route, handler, CLI, or runtime
5
- * here: serving a sitemap is hosting, and hosting is the one thing this package cannot supply.
6
- * See `docs/content-sdk.md`'s Sitemap section for the two worked examples — a request handler and a
7
- * static build script — which are each about five lines on top of this.
4
+ * Pure functions, and nothing else. There is deliberately no route, handler, CLI, or runtime here:
5
+ * serving is hosting, and hosting is the one thing this package cannot supply. See
6
+ * `docs/content-sdk.md` §7f for the two worked examples — a request handler and a static build
7
+ * script — which are each a few lines on top of these.
8
+ *
9
+ * Spec 699 added `buildSitemapDocuments` and reversed exactly one part of that boundary, on a fact
10
+ * rather than a preference: a single sitemap is self-contained, so where it is served is none of
11
+ * this package's business, whereas an **index references its shards by URL** and cannot be rendered
12
+ * correctly without knowing the paths they will be served at. Serving them is still the consumer's.
13
+ *
14
+ * Reach for `buildSitemapDocuments` by default; under the caps its single document is byte-identical
15
+ * to `buildSitemapXml`'s output, and past them it is the difference between a sitemap and a throw.
8
16
  */
9
- export { buildSitemapXml, MAX_SITEMAP_URLS, SitemapTooLargeError, type BuildSitemapXmlOptions } from './xml.js';
17
+ export { buildSitemapXml, MAX_SITEMAP_BYTES, MAX_SITEMAP_INDEX_ENTRIES, MAX_SITEMAP_URLS, SitemapTooLargeError, type BuildSitemapXmlOptions, type SitemapTooLargeReason, } from './xml.js';
18
+ export { buildSitemapDocuments, type BuildSitemapDocumentsOptions, type SitemapDocument, } from './documents.js';
10
19
  export type { SitemapLocalePath, SitemapNode, SitemapResult } from '../types.js';
11
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sitemap/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAC/G,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sitemap/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAA;AACvB,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA"}
@@ -1,10 +1,19 @@
1
1
  /**
2
- * `@ebitex/content-sdk/sitemap` — spec 544-content-sdk-sitemap.
2
+ * `@ebitex/content-sdk/sitemap` — spec 544-content-sdk-sitemap, widened by spec 699-sitemap-index.
3
3
  *
4
- * One pure function, and nothing else. There is deliberately no route, handler, CLI, or runtime
5
- * here: serving a sitemap is hosting, and hosting is the one thing this package cannot supply.
6
- * See `docs/content-sdk.md`'s Sitemap section for the two worked examples — a request handler and a
7
- * static build script — which are each about five lines on top of this.
4
+ * Pure functions, and nothing else. There is deliberately no route, handler, CLI, or runtime here:
5
+ * serving is hosting, and hosting is the one thing this package cannot supply. See
6
+ * `docs/content-sdk.md` §7f for the two worked examples — a request handler and a static build
7
+ * script — which are each a few lines on top of these.
8
+ *
9
+ * Spec 699 added `buildSitemapDocuments` and reversed exactly one part of that boundary, on a fact
10
+ * rather than a preference: a single sitemap is self-contained, so where it is served is none of
11
+ * this package's business, whereas an **index references its shards by URL** and cannot be rendered
12
+ * correctly without knowing the paths they will be served at. Serving them is still the consumer's.
13
+ *
14
+ * Reach for `buildSitemapDocuments` by default; under the caps its single document is byte-identical
15
+ * to `buildSitemapXml`'s output, and past them it is the difference between a sitemap and a throw.
8
16
  */
9
- export { buildSitemapXml, MAX_SITEMAP_URLS, SitemapTooLargeError } from './xml.js';
17
+ export { buildSitemapXml, MAX_SITEMAP_BYTES, MAX_SITEMAP_INDEX_ENTRIES, MAX_SITEMAP_URLS, SitemapTooLargeError, } from './xml.js';
18
+ export { buildSitemapDocuments, } from './documents.js';
10
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sitemap/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAA+B,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sitemap/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,GAGrB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,qBAAqB,GAGtB,MAAM,gBAAgB,CAAA"}
@@ -1,13 +1,37 @@
1
1
  import type { SitemapNode, SitemapResult } from '../types.js';
2
2
  /**
3
- * The sitemap protocol's own cap: 50,000 URLs (and 50 MB) per file. Past it a document is invalid,
3
+ * The sitemap protocol's cap on how many URLs one file may contain. Past it a document is invalid,
4
4
  * not merely large.
5
5
  */
6
6
  export declare const MAX_SITEMAP_URLS = 50000;
7
+ /**
8
+ * The protocol's *other* cap, on the same file: 50 MB, and specifically **uncompressed** — so
9
+ * serving the document gzipped does not buy any room.
10
+ *
11
+ * Both halves have to be checked, and this is the one that goes unchecked, because it is not the
12
+ * number the obvious loop counter is already tracking. It binds first far sooner than it looks:
13
+ * with `localeUrl` supplied every `<url>` carries the *complete* alternate set, so bytes grow with
14
+ * the square of the locale count while URLs grow only linearly. Measured (spec 699): 3,200 pages in
15
+ * ten locales is 51.0 MB at 32,000 URLs — invalid, with 18,000 URLs of the other cap still unused.
16
+ */
17
+ export declare const MAX_SITEMAP_BYTES = 52428800;
18
+ /**
19
+ * A sitemap index may reference at most this many sitemaps, and may not reference another index —
20
+ * the protocol allows exactly one level. Unreachable at the default caps (50,000 shards of 50,000
21
+ * URLs is 2.5 billion URLs) and defined anyway, because an unreachable case with no stated
22
+ * behaviour is how the next person finds out there wasn't one.
23
+ */
24
+ export declare const MAX_SITEMAP_INDEX_ENTRIES = 50000;
25
+ /** Which cap a document breached. `sitemaps` is an index that would reference too many of them. */
26
+ export type SitemapTooLargeReason = 'urls' | 'bytes' | 'sitemaps';
7
27
  /** Thrown rather than emitting a silently invalid or silently truncated document — see `buildSitemapXml`. */
8
28
  export declare class SitemapTooLargeError extends Error {
29
+ readonly reason: SitemapTooLargeReason;
9
30
  readonly urlCount: number;
10
- constructor(urlCount: number);
31
+ readonly byteCount: number;
32
+ /** Only meaningful for `reason: 'sitemaps'`; zero otherwise. */
33
+ readonly sitemapCount: number;
34
+ constructor(reason: SitemapTooLargeReason, urlCount: number, byteCount: number, sitemapCount?: number);
11
35
  }
12
36
  export interface BuildSitemapXmlOptions {
13
37
  /**
@@ -38,8 +62,21 @@ export interface BuildSitemapXmlOptions {
38
62
  * no alternates to declare, whatever its CMS locale configuration says.
39
63
  *
40
64
  * The returned value may be absolute (used as-is) or site-relative (joined to `origin`).
65
+ *
66
+ * `path` is the path *for that locale* — which for a page whose Experience node carries a
67
+ * localized slug is not the default one. The whole `node` is passed as well so a decision that is
68
+ * about the page rather than about one of its addresses (the `undefined` case below is exactly
69
+ * that) can key on something stable across locales: `node.path` or `node.nodeId`.
70
+ *
71
+ * **Return `undefined` to say this page has no version in that locale**, and its alternate is
72
+ * omitted. That decision can only be made here: the CMS deliberately does not signal translation
73
+ * (a `localeSlots` entry means a path *materializes* in that slot, which happens for every node
74
+ * once any node carries a localized slug, and a page is routinely translated while keeping its
75
+ * slug) — so the consumer is the only party that knows, and this is where it says so. Returning
76
+ * `undefined` for the *default* locale is legal and means the page is listed at whichever locale's
77
+ * URL does survive.
41
78
  */
42
- localeUrl?: (path: string, locale: string) => string;
79
+ localeUrl?: (path: string, locale: string, node: SitemapNode) => string | undefined;
43
80
  /**
44
81
  * The locale `x-default` points at. Defaults to the response's own `defaultLocale` — the
45
82
  * organization's root locale. Only meaningful alongside `localeUrl`.
@@ -59,4 +96,58 @@ export interface BuildSitemapXmlOptions {
59
96
  * recoverable; an invalid sitemap discovered months later in Search Console is not.
60
97
  */
61
98
  export declare function buildSitemapXml(result: SitemapResult, options: BuildSitemapXmlOptions): string;
99
+ /**
100
+ * Every selected node's `<url>` blocks, **grouped by node** — one array per node, in document order.
101
+ *
102
+ * Shared with `buildSitemapDocuments`, and grouped rather than flattened because a shard has to be
103
+ * able to keep a node's own alternate set together. `buildSitemapXml` simply flattens it, which is
104
+ * what makes the two functions' single-document output byte-identical by construction rather than
105
+ * by two implementations agreeing with each other.
106
+ *
107
+ * @internal
108
+ */
109
+ export declare function renderSelectedUrls(result: SitemapResult, options: BuildSitemapXmlOptions): RenderedNode[];
110
+ /** The `<urlset>` envelope. One implementation, for the byte-identity reason above. @internal */
111
+ export declare function wrapUrlset(urls: readonly string[], withAlternates: boolean): string;
112
+ /**
113
+ * Both halves of the protocol's limit, checked against the **final serialized string** rather than a
114
+ * running estimate — the two have to agree, and this is the one that actually ships.
115
+ *
116
+ * @internal
117
+ */
118
+ export declare function assertWithinCaps(urlCount: number, xml: string, maxUrls: number, maxBytes: number): void;
119
+ /**
120
+ * UTF-8 byte length. `TextEncoder` rather than `Buffer`, which does not exist in a browser — this
121
+ * module is bundled for one — and the protocol's limit is on bytes rather than on UTF-16 code
122
+ * units, so `String.length` would understate it for any non-ASCII path.
123
+ *
124
+ * @internal
125
+ */
126
+ export declare function byteLengthOf(value: string): number;
127
+ /** One node's rendered `<url>` blocks, kept with the node so a shard can read its `lastmod`. @internal */
128
+ export interface RenderedNode {
129
+ node: SitemapNode;
130
+ urls: string[];
131
+ }
132
+ /**
133
+ * Percent-encodes each path segment per RFC 3986 (the sitemap protocol requires it) and joins to the
134
+ * origin. The site root yields a trailing slash; every other path yields none.
135
+ *
136
+ * A value that is already absolute — which a consumer's `localeUrl` may legitimately return, e.g. for
137
+ * a per-locale subdomain — is passed through untouched.
138
+ */
139
+ export declare function absolute(origin: string, path: string): string;
140
+ /**
141
+ * XML-escaping, which is a separate step from percent-encoding and neither subsumes the other:
142
+ * percent-encoding does not escape `&`, and XML-escaping does not encode a space.
143
+ */
144
+ export declare function escapeXml(value: string): string;
145
+ /**
146
+ * `absolute` under the name the index renderer uses. Exported so a `<loc>` inside `<sitemapindex>`
147
+ * is absolutized and encoded by the *same* code as a `<loc>` inside `<urlset>` — two spellings of
148
+ * one path is exactly how an index comes to reference a shard that is served somewhere else.
149
+ *
150
+ * @internal
151
+ */
152
+ export { absolute as joinToOrigin };
62
153
  //# sourceMappingURL=xml.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../src/sitemap/xml.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE7D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAS,CAAA;AAEtC,6GAA6G;AAC7G,qBAAa,oBAAqB,SAAQ,KAAK;IAK7C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;gBAEb,QAAQ,EAAE,MAAM;CAQ7B;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAE3B,oGAAoG;IACpG,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAA;IAEvC;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAAM,CAAA;IAEpD;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED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,CAAA;IAEnF;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAO9F;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,sBAAsB,GAAG,YAAY,EAAE,CAiCzG;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,cAAc,EAAE,OAAO,GAAG,MAAM,CAUnF;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAUvG;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD;AAOD,0GAA0G;AAC1G,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,WAAW,CAAA;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAgHD;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAgB7D;AAaD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO/C;AAED;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAA"}
@@ -1,20 +1,56 @@
1
1
  /**
2
- * The sitemap protocol's own cap: 50,000 URLs (and 50 MB) per file. Past it a document is invalid,
2
+ * The sitemap protocol's cap on how many URLs one file may contain. Past it a document is invalid,
3
3
  * not merely large.
4
4
  */
5
5
  export const MAX_SITEMAP_URLS = 50_000;
6
+ /**
7
+ * The protocol's *other* cap, on the same file: 50 MB, and specifically **uncompressed** — so
8
+ * serving the document gzipped does not buy any room.
9
+ *
10
+ * Both halves have to be checked, and this is the one that goes unchecked, because it is not the
11
+ * number the obvious loop counter is already tracking. It binds first far sooner than it looks:
12
+ * with `localeUrl` supplied every `<url>` carries the *complete* alternate set, so bytes grow with
13
+ * the square of the locale count while URLs grow only linearly. Measured (spec 699): 3,200 pages in
14
+ * ten locales is 51.0 MB at 32,000 URLs — invalid, with 18,000 URLs of the other cap still unused.
15
+ */
16
+ export const MAX_SITEMAP_BYTES = 52_428_800;
17
+ /**
18
+ * A sitemap index may reference at most this many sitemaps, and may not reference another index —
19
+ * the protocol allows exactly one level. Unreachable at the default caps (50,000 shards of 50,000
20
+ * URLs is 2.5 billion URLs) and defined anyway, because an unreachable case with no stated
21
+ * behaviour is how the next person finds out there wasn't one.
22
+ */
23
+ export const MAX_SITEMAP_INDEX_ENTRIES = 50_000;
6
24
  /** Thrown rather than emitting a silently invalid or silently truncated document — see `buildSitemapXml`. */
7
25
  export class SitemapTooLargeError extends Error {
8
- // Declared and assigned explicitly rather than as a constructor parameter property: this package
26
+ // Declared and assigned explicitly rather than as constructor parameter properties: this package
9
27
  // compiles under `erasableSyntaxOnly`, which rejects the shorthand (TS1294) because emitting it
10
28
  // requires synthesizing an assignment the source never wrote. Caught by `npm run build`, never by
11
29
  // `vitest`, which transpiles without type-checking.
30
+ reason;
12
31
  urlCount;
13
- constructor(urlCount) {
14
- super(`A sitemap may contain at most ${MAX_SITEMAP_URLS} URLs; this one would contain ${urlCount}. ` +
15
- 'Split the site across several sitemaps and reference them from a sitemap index.');
32
+ byteCount;
33
+ /** Only meaningful for `reason: 'sitemaps'`; zero otherwise. */
34
+ sitemapCount;
35
+ constructor(reason, urlCount, byteCount, sitemapCount = 0) {
36
+ const breached = reason === 'urls'
37
+ ? `A sitemap may contain at most ${MAX_SITEMAP_URLS} URLs; this one would contain ${urlCount}.`
38
+ : reason === 'sitemaps'
39
+ ? `A sitemap index may reference at most ${MAX_SITEMAP_INDEX_ENTRIES} sitemaps and may not` +
40
+ ` reference another index; this one would reference ${sitemapCount}.`
41
+ : `A sitemap may be at most ${MAX_SITEMAP_BYTES} bytes uncompressed; this one would be ${byteCount}` +
42
+ ` (across ${urlCount} URLs).`;
43
+ // Names a remedy that exists. Until spec 699 this said "reference them from a sitemap index"
44
+ // and the package shipped no way to build one.
45
+ const remedy = reason === 'sitemaps'
46
+ ? 'Raise maxUrls, or narrow the site with exclude or filter.'
47
+ : 'Use buildSitemapDocuments to split it across several sitemaps behind an index.';
48
+ super(`${breached} ${remedy}`);
16
49
  this.name = 'SitemapTooLargeError';
50
+ this.reason = reason;
17
51
  this.urlCount = urlCount;
52
+ this.byteCount = byteCount;
53
+ this.sitemapCount = sitemapCount;
18
54
  }
19
55
  }
20
56
  /**
@@ -30,26 +66,54 @@ export class SitemapTooLargeError extends Error {
30
66
  * recoverable; an invalid sitemap discovered months later in Search Console is not.
31
67
  */
32
68
  export function buildSitemapXml(result, options) {
69
+ const withAlternates = options.localeUrl !== undefined;
70
+ const urls = renderSelectedUrls(result, options).flatMap((rendered) => rendered.urls);
71
+ const xml = wrapUrlset(urls, withAlternates);
72
+ assertWithinCaps(urls.length, xml, MAX_SITEMAP_URLS, MAX_SITEMAP_BYTES);
73
+ return xml;
74
+ }
75
+ /**
76
+ * Every selected node's `<url>` blocks, **grouped by node** — one array per node, in document order.
77
+ *
78
+ * Shared with `buildSitemapDocuments`, and grouped rather than flattened because a shard has to be
79
+ * able to keep a node's own alternate set together. `buildSitemapXml` simply flattens it, which is
80
+ * what makes the two functions' single-document output byte-identical by construction rather than
81
+ * by two implementations agreeing with each other.
82
+ *
83
+ * @internal
84
+ */
85
+ export function renderSelectedUrls(result, options) {
33
86
  const origin = options.origin.replace(/\/+$/, '');
34
- const nodes = selectNodes(result.nodes, options);
35
87
  const withAlternates = options.localeUrl !== undefined;
36
- const urls = [];
37
- for (const node of nodes) {
88
+ return selectNodes(result.nodes, options).map((node) => {
38
89
  if (!withAlternates) {
39
- urls.push(renderUrl(absolute(origin, node.path), [], undefined, node.lastmod));
40
- continue;
90
+ return { node, urls: [renderUrl(absolute(origin, node.path), [], undefined, node.lastmod)] };
41
91
  }
42
- // Every locale this node is reachable in, the default included, as one list. Each URL then
43
- // carries the *complete* set — see `renderUrl`.
92
+ // Every locale this node is reachable in that the consumer says it has a version for, the
93
+ // default included, as one list. Each URL then carries the *complete* set — see `renderUrl`.
44
94
  const alternates = buildAlternates(origin, node, result.defaultLocale, options);
45
- const xDefaultHref = resolveXDefault(alternates, options.xDefaultLocale);
46
- for (const alternate of alternates) {
47
- urls.push(renderUrl(alternate.href, alternates, xDefaultHref, node.lastmod));
95
+ // Fewer than two, and there is nothing to declare: the sole `xhtml:link` would point at the page
96
+ // itself and the `x-default` beside it at the same URL again. That is the shape a node with no
97
+ // localized paths has always had, and the one `localeUrl` returning `undefined` produces on
98
+ // purpose — answering "this page has no French version" by declaring it an alternate of itself
99
+ // would be a strange thing to emit. The page is still listed; only the links are dropped.
100
+ //
101
+ // Zero is reachable only by returning `undefined` for the default locale as well, and the node
102
+ // still belongs in the sitemap, so it falls back to its own path. A locale decision must never
103
+ // be able to remove a page.
104
+ if (alternates.length < 2) {
105
+ const loc = alternates.length === 1 ? alternates[0].href : absolute(origin, node.path);
106
+ return { node, urls: [renderUrl(loc, [], undefined, node.lastmod)] };
48
107
  }
49
- }
50
- if (urls.length > MAX_SITEMAP_URLS) {
51
- throw new SitemapTooLargeError(urls.length);
52
- }
108
+ const xDefaultHref = resolveXDefault(alternates, options.xDefaultLocale);
109
+ return {
110
+ node,
111
+ urls: alternates.map((alternate) => renderUrl(alternate.href, alternates, xDefaultHref, node.lastmod)),
112
+ };
113
+ });
114
+ }
115
+ /** The `<urlset>` envelope. One implementation, for the byte-identity reason above. @internal */
116
+ export function wrapUrlset(urls, withAlternates) {
53
117
  const namespaces = withAlternates
54
118
  ? '\n xmlns:xhtml="http://www.w3.org/1999/xhtml"'
55
119
  : '';
@@ -59,6 +123,31 @@ ${urls.join('\n')}
59
123
  </urlset>
60
124
  `;
61
125
  }
126
+ /**
127
+ * Both halves of the protocol's limit, checked against the **final serialized string** rather than a
128
+ * running estimate — the two have to agree, and this is the one that actually ships.
129
+ *
130
+ * @internal
131
+ */
132
+ export function assertWithinCaps(urlCount, xml, maxUrls, maxBytes) {
133
+ const byteCount = byteLengthOf(xml);
134
+ if (urlCount > maxUrls) {
135
+ throw new SitemapTooLargeError('urls', urlCount, byteCount);
136
+ }
137
+ if (byteCount > maxBytes) {
138
+ throw new SitemapTooLargeError('bytes', urlCount, byteCount);
139
+ }
140
+ }
141
+ /**
142
+ * UTF-8 byte length. `TextEncoder` rather than `Buffer`, which does not exist in a browser — this
143
+ * module is bundled for one — and the protocol's limit is on bytes rather than on UTF-16 code
144
+ * units, so `String.length` would understate it for any non-ASCII path.
145
+ *
146
+ * @internal
147
+ */
148
+ export function byteLengthOf(value) {
149
+ return new TextEncoder().encode(value).length;
150
+ }
62
151
  function selectNodes(nodes, options) {
63
152
  const exclude = options.exclude ?? [];
64
153
  return nodes.filter((node) => !isExcluded(node.path, exclude) && (options.filter?.(node) ?? true));
@@ -77,15 +166,25 @@ function buildAlternates(origin, node, defaultLocale, options) {
77
166
  const localeUrl = options.localeUrl;
78
167
  const alternates = [];
79
168
  if (defaultLocale !== null) {
80
- alternates.push({ locale: defaultLocale, href: absolute(origin, localeUrl(node.path, defaultLocale)) });
169
+ // `undefined` here means the consumer offers no default-locale version of this page. Unusual,
170
+ // and legal: the node is then listed at whichever locale's URL does survive.
171
+ const href = localeUrl(node.path, defaultLocale, node);
172
+ if (href !== undefined) {
173
+ alternates.push({ locale: defaultLocale, href: absolute(origin, href) });
174
+ }
81
175
  }
82
176
  else {
83
177
  // No root locale to name the default entry with, so it is still a real URL but carries no
84
178
  // hreflang of its own — better than labelling it with a locale the organization never declared.
179
+ // `localeUrl` is not consulted: there is no locale to ask it about.
85
180
  alternates.push({ locale: '', href: absolute(origin, node.path) });
86
181
  }
87
182
  for (const slot of node.localeSlots) {
88
- alternates.push({ locale: slot.locale, href: absolute(origin, localeUrl(slot.path, slot.locale)) });
183
+ const href = localeUrl(slot.path, slot.locale, node);
184
+ if (href === undefined) {
185
+ continue;
186
+ }
187
+ alternates.push({ locale: slot.locale, href: absolute(origin, href) });
89
188
  }
90
189
  return alternates;
91
190
  }
@@ -140,7 +239,7 @@ function renderUrl(loc, alternates, xDefaultHref, lastmod) {
140
239
  * A value that is already absolute — which a consumer's `localeUrl` may legitimately return, e.g. for
141
240
  * a per-locale subdomain — is passed through untouched.
142
241
  */
143
- function absolute(origin, path) {
242
+ export function absolute(origin, path) {
144
243
  if (/^[a-z][a-z0-9+.-]*:\/\//i.test(path)) {
145
244
  return path;
146
245
  }
@@ -166,7 +265,7 @@ function encodeSegment(segment) {
166
265
  * XML-escaping, which is a separate step from percent-encoding and neither subsumes the other:
167
266
  * percent-encoding does not escape `&`, and XML-escaping does not encode a space.
168
267
  */
169
- function escapeXml(value) {
268
+ export function escapeXml(value) {
170
269
  return value
171
270
  .replace(/&/g, '&amp;')
172
271
  .replace(/</g, '&lt;')
@@ -174,4 +273,12 @@ function escapeXml(value) {
174
273
  .replace(/"/g, '&quot;')
175
274
  .replace(/'/g, '&apos;');
176
275
  }
276
+ /**
277
+ * `absolute` under the name the index renderer uses. Exported so a `<loc>` inside `<sitemapindex>`
278
+ * is absolutized and encoded by the *same* code as a `<loc>` inside `<urlset>` — two spellings of
279
+ * one path is exactly how an index comes to reference a shard that is served somewhere else.
280
+ *
281
+ * @internal
282
+ */
283
+ export { absolute as joinToOrigin };
177
284
  //# sourceMappingURL=xml.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml.js","sourceRoot":"","sources":["../../src/sitemap/xml.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAA;AAEtC,6GAA6G;AAC7G,MAAM,OAAO,oBAAqB,SAAQ,KAAK;IAC7C,iGAAiG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C,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACxC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEZ,OAAO,GAAG,MAAM,GAAG,OAAO,EAAE,CAAA;AAC9B,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa,CAAC,OAAe;IACpC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,2BAA2B,EAAE,CAAC,KAAK,EAAE,EAAE,CAChF,kBAAkB,CAAC,KAAK,CAAC,CAC1B,CAAA;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,KAAa;IACrC,OAAO,KAAK;SACT,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;AAC5B,CAAC;AAED;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebitex/content-sdk",
3
- "version": "0.16.79",
3
+ "version": "0.18.81",
4
4
  "description": "Consume published ebitex Content from your own site: a typed Delivery API client and React rendering utilities.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",