@canmi/me 2026.1005.2 → 2026.1005.3
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.
|
@@ -95,8 +95,8 @@ export type SitemapEntry = {
|
|
|
95
95
|
/** A sitemap of `entries`, styled for a browser by `SITEMAP_STYLESHEET`. */
|
|
96
96
|
export declare function sitemapXml(entries: readonly SitemapEntry[]): string;
|
|
97
97
|
/**
|
|
98
|
-
* The security.txt `origin` answers with at `now`: RFC 9116's two required fields -- the
|
|
99
|
-
*
|
|
98
|
+
* The security.txt `origin` answers with at `now`: RFC 9116's two required fields -- the security
|
|
99
|
+
* box and an expiry -- where the file lives, and the host's note. The expiry is a day boundary, so every answer on one day is the
|
|
100
100
|
* same text and caches as one.
|
|
101
101
|
*/
|
|
102
102
|
export declare function securityTxt(origin: string, now: Date, note: AgentNote): string;
|
package/dist/robots/src/index.js
CHANGED
|
@@ -173,8 +173,8 @@ ${items}
|
|
|
173
173
|
/** RFC 9116 asks for an expiry under a year away; stated per request, so it never lapses. */
|
|
174
174
|
const VALID_DAYS = 180;
|
|
175
175
|
/**
|
|
176
|
-
* The security.txt `origin` answers with at `now`: RFC 9116's two required fields -- the
|
|
177
|
-
*
|
|
176
|
+
* The security.txt `origin` answers with at `now`: RFC 9116's two required fields -- the security
|
|
177
|
+
* box and an expiry -- where the file lives, and the host's note. The expiry is a day boundary, so every answer on one day is the
|
|
178
178
|
* same text and caches as one.
|
|
179
179
|
*/
|
|
180
180
|
function securityTxt(origin, now, note) {
|