astro-accelerator-utils 0.3.76 → 0.3.77

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.
@@ -11,7 +11,7 @@ export class Accelerator {
11
11
  shortDateOptions: Intl.DateTimeFormatOptions;
12
12
  siteUrl: string;
13
13
  subfolder: string;
14
- useTrailingUrlSlash: boolean;
14
+ useTrailingUrlSlash: boolean | undefined;
15
15
  captureStatistics: boolean;
16
16
  get authors(): Authors;
17
17
  get cache(): Cache;
@@ -109,7 +109,7 @@ export class Navigation {
109
109
  * @param {string} search
110
110
  * @returns
111
111
  */
112
- popMatchingPage(allPages: MarkdownInstance[], search: string): import("../../types/Astro").MarkdownInstance;
112
+ popMatchingPage(allPages: MarkdownInstance[], search: string): import("../../types/Astro").MarkdownInstance | null;
113
113
  }
114
114
  export type Posts = import("./posts.mjs").Posts;
115
115
  export type Taxonomy = import("./taxonomy.mjs").Taxonomy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-accelerator-utils",
3
- "version": "0.3.76",
3
+ "version": "0.3.77",
4
4
  "description": "Astro utilities for Astro Accelerator.",
5
5
  "main": "index.mjs",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "rehype-stringify": "^10.0.1",
43
43
  "remark-parse": "^11.0.0",
44
44
  "remark-rehype": "^11.1.2",
45
- "typescript": "^5.9.3",
45
+ "typescript": "^6.0.2",
46
46
  "unified": "^11.0.5"
47
47
  }
48
48
  }