@nuxtjs/sitemap 7.3.1 → 7.4.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.
Files changed (47) hide show
  1. package/dist/client/200.html +7 -8
  2. package/dist/client/404.html +7 -8
  3. package/dist/client/_nuxt/ChEizYIG.js +172 -0
  4. package/dist/client/_nuxt/{CT3BV8Rj.js → SQMF8ibg.js} +1 -1
  5. package/dist/client/_nuxt/builds/latest.json +1 -1
  6. package/dist/client/_nuxt/builds/meta/096c9e6a-a9a8-483d-bd1d-fed5634b0d08.json +1 -0
  7. package/dist/client/_nuxt/{5vafBU9X.js → cqJZcoo0.js} +1 -1
  8. package/dist/client/_nuxt/error-404.DljSaiyF.css +1 -0
  9. package/dist/client/_nuxt/error-500.DbX9fggi.css +1 -0
  10. package/dist/client/index.html +7 -8
  11. package/dist/module.d.ts +1 -1
  12. package/dist/module.json +1 -1
  13. package/dist/module.mjs +32 -138
  14. package/dist/runtime/server/content-compat.d.ts +1 -0
  15. package/dist/runtime/server/content-compat.js +2 -0
  16. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.d.ts +1 -1
  17. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.js +4 -2
  18. package/dist/runtime/server/routes/sitemap.xsl.js +37 -13
  19. package/dist/runtime/server/routes/sitemap_index.xml.js +6 -2
  20. package/dist/runtime/server/sitemap/builder/sitemap-index.d.ts +11 -2
  21. package/dist/runtime/server/sitemap/builder/sitemap-index.js +23 -5
  22. package/dist/runtime/server/sitemap/builder/sitemap.d.ts +7 -1
  23. package/dist/runtime/server/sitemap/builder/sitemap.js +10 -5
  24. package/dist/runtime/server/sitemap/builder/xml.d.ts +4 -1
  25. package/dist/runtime/server/sitemap/builder/xml.js +13 -4
  26. package/dist/runtime/server/sitemap/nitro.js +7 -3
  27. package/dist/runtime/server/sitemap/urlset/normalise.js +4 -3
  28. package/dist/runtime/server/sitemap/urlset/sources.js +65 -19
  29. package/dist/runtime/server/utils.d.ts +1 -0
  30. package/dist/runtime/server/utils.js +3 -0
  31. package/dist/runtime/types.d.ts +2 -0
  32. package/dist/shared/sitemap.DR3_6qqU.mjs +212 -0
  33. package/dist/utils.d.mts +28 -0
  34. package/dist/utils.d.ts +28 -0
  35. package/dist/utils.mjs +368 -0
  36. package/package.json +24 -15
  37. package/dist/client/_nuxt/BIHI7g3E.js +0 -1
  38. package/dist/client/_nuxt/Bn78IMkz.js +0 -172
  39. package/dist/client/_nuxt/builds/meta/5ecca6e1-2b8a-4fc5-a128-35cbc27bf6d7.json +0 -1
  40. package/dist/client/_nuxt/error-404.D_zhMyJm.css +0 -1
  41. package/dist/client/_nuxt/error-500.rdOYVbxo.css +0 -1
  42. package/dist/content.cjs +0 -48
  43. package/dist/content.d.cts +0 -232
  44. package/dist/module.cjs +0 -1324
  45. package/dist/module.d.cts +0 -10
  46. package/dist/runtime/server/sitemap/utils/extractSitemapXML.d.ts +0 -2
  47. package/dist/runtime/server/sitemap/utils/extractSitemapXML.js +0 -75
@@ -1 +0,0 @@
1
- {"id":"5ecca6e1-2b8a-4fc5-a128-35cbc27bf6d7","timestamp":1748914829702,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -1 +0,0 @@
1
- .spotlight[data-v-b1b4d4e5]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-b1b4d4e5]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-b1b4d4e5]{background-color:#ffffff4d}.gradient-border[data-v-b1b4d4e5]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-b1b4d4e5]{background-color:#1414144d}.gradient-border[data-v-b1b4d4e5]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-b1b4d4e5]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-b1b4d4e5]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-b1b4d4e5]{position:fixed}.left-0[data-v-b1b4d4e5]{left:0}.right-0[data-v-b1b4d4e5]{right:0}.z-10[data-v-b1b4d4e5]{z-index:10}.z-20[data-v-b1b4d4e5]{z-index:20}.grid[data-v-b1b4d4e5]{display:grid}.mb-16[data-v-b1b4d4e5]{margin-bottom:4rem}.mb-8[data-v-b1b4d4e5]{margin-bottom:2rem}.max-w-520px[data-v-b1b4d4e5]{max-width:520px}.min-h-screen[data-v-b1b4d4e5]{min-height:100vh}.w-full[data-v-b1b4d4e5]{width:100%}.flex[data-v-b1b4d4e5]{display:flex}.cursor-pointer[data-v-b1b4d4e5]{cursor:pointer}.place-content-center[data-v-b1b4d4e5]{place-content:center}.items-center[data-v-b1b4d4e5]{align-items:center}.justify-center[data-v-b1b4d4e5]{justify-content:center}.overflow-hidden[data-v-b1b4d4e5]{overflow:hidden}.bg-white[data-v-b1b4d4e5]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-b1b4d4e5]{padding-left:1rem;padding-right:1rem}.px-8[data-v-b1b4d4e5]{padding-left:2rem;padding-right:2rem}.py-2[data-v-b1b4d4e5]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-b1b4d4e5]{text-align:center}.text-8xl[data-v-b1b4d4e5]{font-size:6rem;line-height:1}.text-xl[data-v-b1b4d4e5]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-b1b4d4e5]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-b1b4d4e5]{font-weight:300}.font-medium[data-v-b1b4d4e5]{font-weight:500}.leading-tight[data-v-b1b4d4e5]{line-height:1.25}.font-sans[data-v-b1b4d4e5]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-b1b4d4e5]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-b1b4d4e5]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-b1b4d4e5]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-b1b4d4e5]{padding-left:0;padding-right:0}.sm\:px-6[data-v-b1b4d4e5]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-b1b4d4e5]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-b1b4d4e5]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-b1b4d4e5]{font-size:1.25rem;line-height:1.75rem}}
@@ -1 +0,0 @@
1
- .spotlight[data-v-5337cb44]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-5337cb44]{position:fixed}.-bottom-1\/2[data-v-5337cb44]{bottom:-50%}.left-0[data-v-5337cb44]{left:0}.right-0[data-v-5337cb44]{right:0}.grid[data-v-5337cb44]{display:grid}.mb-16[data-v-5337cb44]{margin-bottom:4rem}.mb-8[data-v-5337cb44]{margin-bottom:2rem}.h-1\/2[data-v-5337cb44]{height:50%}.max-w-520px[data-v-5337cb44]{max-width:520px}.min-h-screen[data-v-5337cb44]{min-height:100vh}.place-content-center[data-v-5337cb44]{place-content:center}.overflow-hidden[data-v-5337cb44]{overflow:hidden}.bg-white[data-v-5337cb44]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-5337cb44]{padding-left:2rem;padding-right:2rem}.text-center[data-v-5337cb44]{text-align:center}.text-8xl[data-v-5337cb44]{font-size:6rem;line-height:1}.text-xl[data-v-5337cb44]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-5337cb44]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-5337cb44]{font-weight:300}.font-medium[data-v-5337cb44]{font-weight:500}.leading-tight[data-v-5337cb44]{line-height:1.25}.font-sans[data-v-5337cb44]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-5337cb44]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-5337cb44]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-5337cb44]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-5337cb44]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-5337cb44]{font-size:2.25rem;line-height:2.5rem}}
package/dist/content.cjs DELETED
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- const content = require('@nuxt/content');
4
-
5
- const schema = content.z.object({
6
- sitemap: content.z.object({
7
- loc: content.z.string().optional(),
8
- lastmod: content.z.date().optional(),
9
- changefreq: content.z.union([content.z.literal("always"), content.z.literal("hourly"), content.z.literal("daily"), content.z.literal("weekly"), content.z.literal("monthly"), content.z.literal("yearly"), content.z.literal("never")]).optional(),
10
- priority: content.z.number().optional(),
11
- images: content.z.array(content.z.object({
12
- loc: content.z.string(),
13
- caption: content.z.string().optional(),
14
- geo_location: content.z.string().optional(),
15
- title: content.z.string().optional(),
16
- license: content.z.string().optional()
17
- })).optional(),
18
- videos: content.z.array(content.z.object({
19
- content_loc: content.z.string(),
20
- player_loc: content.z.string().optional(),
21
- duration: content.z.string().optional(),
22
- expiration_date: content.z.date().optional(),
23
- rating: content.z.number().optional(),
24
- view_count: content.z.number().optional(),
25
- publication_date: content.z.date().optional(),
26
- family_friendly: content.z.boolean().optional(),
27
- tag: content.z.string().optional(),
28
- category: content.z.string().optional(),
29
- restriction: content.z.object({
30
- relationship: content.z.literal("allow").optional(),
31
- value: content.z.string().optional()
32
- }).optional(),
33
- gallery_loc: content.z.string().optional(),
34
- price: content.z.string().optional(),
35
- requires_subscription: content.z.boolean().optional(),
36
- uploader: content.z.string().optional()
37
- })).optional()
38
- }).optional()
39
- });
40
- function asSitemapCollection(collection) {
41
- if (collection.type === "page") {
42
- collection.schema = collection.schema ? schema.extend(collection.schema.shape) : schema;
43
- }
44
- return collection;
45
- }
46
-
47
- exports.asSitemapCollection = asSitemapCollection;
48
- exports.schema = schema;
@@ -1,232 +0,0 @@
1
- import * as zod from 'zod';
2
- import { TypeOf, ZodRawShape } from 'zod';
3
- import { Collection } from '@nuxt/content';
4
-
5
- declare const schema: zod.ZodObject<{
6
- sitemap: zod.ZodOptional<zod.ZodObject<{
7
- loc: zod.ZodOptional<zod.ZodString>;
8
- lastmod: zod.ZodOptional<zod.ZodDate>;
9
- changefreq: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"always">, zod.ZodLiteral<"hourly">, zod.ZodLiteral<"daily">, zod.ZodLiteral<"weekly">, zod.ZodLiteral<"monthly">, zod.ZodLiteral<"yearly">, zod.ZodLiteral<"never">]>>;
10
- priority: zod.ZodOptional<zod.ZodNumber>;
11
- images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
12
- loc: zod.ZodString;
13
- caption: zod.ZodOptional<zod.ZodString>;
14
- geo_location: zod.ZodOptional<zod.ZodString>;
15
- title: zod.ZodOptional<zod.ZodString>;
16
- license: zod.ZodOptional<zod.ZodString>;
17
- }, "strip", zod.ZodTypeAny, {
18
- loc: string;
19
- caption?: string | undefined;
20
- geo_location?: string | undefined;
21
- title?: string | undefined;
22
- license?: string | undefined;
23
- }, {
24
- loc: string;
25
- caption?: string | undefined;
26
- geo_location?: string | undefined;
27
- title?: string | undefined;
28
- license?: string | undefined;
29
- }>, "many">>;
30
- videos: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
31
- content_loc: zod.ZodString;
32
- player_loc: zod.ZodOptional<zod.ZodString>;
33
- duration: zod.ZodOptional<zod.ZodString>;
34
- expiration_date: zod.ZodOptional<zod.ZodDate>;
35
- rating: zod.ZodOptional<zod.ZodNumber>;
36
- view_count: zod.ZodOptional<zod.ZodNumber>;
37
- publication_date: zod.ZodOptional<zod.ZodDate>;
38
- family_friendly: zod.ZodOptional<zod.ZodBoolean>;
39
- tag: zod.ZodOptional<zod.ZodString>;
40
- category: zod.ZodOptional<zod.ZodString>;
41
- restriction: zod.ZodOptional<zod.ZodObject<{
42
- relationship: zod.ZodOptional<zod.ZodLiteral<"allow">>;
43
- value: zod.ZodOptional<zod.ZodString>;
44
- }, "strip", zod.ZodTypeAny, {
45
- value?: string | undefined;
46
- relationship?: "allow" | undefined;
47
- }, {
48
- value?: string | undefined;
49
- relationship?: "allow" | undefined;
50
- }>>;
51
- gallery_loc: zod.ZodOptional<zod.ZodString>;
52
- price: zod.ZodOptional<zod.ZodString>;
53
- requires_subscription: zod.ZodOptional<zod.ZodBoolean>;
54
- uploader: zod.ZodOptional<zod.ZodString>;
55
- }, "strip", zod.ZodTypeAny, {
56
- content_loc: string;
57
- player_loc?: string | undefined;
58
- duration?: string | undefined;
59
- expiration_date?: Date | undefined;
60
- rating?: number | undefined;
61
- view_count?: number | undefined;
62
- publication_date?: Date | undefined;
63
- family_friendly?: boolean | undefined;
64
- tag?: string | undefined;
65
- category?: string | undefined;
66
- restriction?: {
67
- value?: string | undefined;
68
- relationship?: "allow" | undefined;
69
- } | undefined;
70
- gallery_loc?: string | undefined;
71
- price?: string | undefined;
72
- requires_subscription?: boolean | undefined;
73
- uploader?: string | undefined;
74
- }, {
75
- content_loc: string;
76
- player_loc?: string | undefined;
77
- duration?: string | undefined;
78
- expiration_date?: Date | undefined;
79
- rating?: number | undefined;
80
- view_count?: number | undefined;
81
- publication_date?: Date | undefined;
82
- family_friendly?: boolean | undefined;
83
- tag?: string | undefined;
84
- category?: string | undefined;
85
- restriction?: {
86
- value?: string | undefined;
87
- relationship?: "allow" | undefined;
88
- } | undefined;
89
- gallery_loc?: string | undefined;
90
- price?: string | undefined;
91
- requires_subscription?: boolean | undefined;
92
- uploader?: string | undefined;
93
- }>, "many">>;
94
- }, "strip", zod.ZodTypeAny, {
95
- loc?: string | undefined;
96
- lastmod?: Date | undefined;
97
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
98
- priority?: number | undefined;
99
- images?: {
100
- loc: string;
101
- caption?: string | undefined;
102
- geo_location?: string | undefined;
103
- title?: string | undefined;
104
- license?: string | undefined;
105
- }[] | undefined;
106
- videos?: {
107
- content_loc: string;
108
- player_loc?: string | undefined;
109
- duration?: string | undefined;
110
- expiration_date?: Date | undefined;
111
- rating?: number | undefined;
112
- view_count?: number | undefined;
113
- publication_date?: Date | undefined;
114
- family_friendly?: boolean | undefined;
115
- tag?: string | undefined;
116
- category?: string | undefined;
117
- restriction?: {
118
- value?: string | undefined;
119
- relationship?: "allow" | undefined;
120
- } | undefined;
121
- gallery_loc?: string | undefined;
122
- price?: string | undefined;
123
- requires_subscription?: boolean | undefined;
124
- uploader?: string | undefined;
125
- }[] | undefined;
126
- }, {
127
- loc?: string | undefined;
128
- lastmod?: Date | undefined;
129
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
130
- priority?: number | undefined;
131
- images?: {
132
- loc: string;
133
- caption?: string | undefined;
134
- geo_location?: string | undefined;
135
- title?: string | undefined;
136
- license?: string | undefined;
137
- }[] | undefined;
138
- videos?: {
139
- content_loc: string;
140
- player_loc?: string | undefined;
141
- duration?: string | undefined;
142
- expiration_date?: Date | undefined;
143
- rating?: number | undefined;
144
- view_count?: number | undefined;
145
- publication_date?: Date | undefined;
146
- family_friendly?: boolean | undefined;
147
- tag?: string | undefined;
148
- category?: string | undefined;
149
- restriction?: {
150
- value?: string | undefined;
151
- relationship?: "allow" | undefined;
152
- } | undefined;
153
- gallery_loc?: string | undefined;
154
- price?: string | undefined;
155
- requires_subscription?: boolean | undefined;
156
- uploader?: string | undefined;
157
- }[] | undefined;
158
- }>>;
159
- }, "strip", zod.ZodTypeAny, {
160
- sitemap?: {
161
- loc?: string | undefined;
162
- lastmod?: Date | undefined;
163
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
164
- priority?: number | undefined;
165
- images?: {
166
- loc: string;
167
- caption?: string | undefined;
168
- geo_location?: string | undefined;
169
- title?: string | undefined;
170
- license?: string | undefined;
171
- }[] | undefined;
172
- videos?: {
173
- content_loc: string;
174
- player_loc?: string | undefined;
175
- duration?: string | undefined;
176
- expiration_date?: Date | undefined;
177
- rating?: number | undefined;
178
- view_count?: number | undefined;
179
- publication_date?: Date | undefined;
180
- family_friendly?: boolean | undefined;
181
- tag?: string | undefined;
182
- category?: string | undefined;
183
- restriction?: {
184
- value?: string | undefined;
185
- relationship?: "allow" | undefined;
186
- } | undefined;
187
- gallery_loc?: string | undefined;
188
- price?: string | undefined;
189
- requires_subscription?: boolean | undefined;
190
- uploader?: string | undefined;
191
- }[] | undefined;
192
- } | undefined;
193
- }, {
194
- sitemap?: {
195
- loc?: string | undefined;
196
- lastmod?: Date | undefined;
197
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
198
- priority?: number | undefined;
199
- images?: {
200
- loc: string;
201
- caption?: string | undefined;
202
- geo_location?: string | undefined;
203
- title?: string | undefined;
204
- license?: string | undefined;
205
- }[] | undefined;
206
- videos?: {
207
- content_loc: string;
208
- player_loc?: string | undefined;
209
- duration?: string | undefined;
210
- expiration_date?: Date | undefined;
211
- rating?: number | undefined;
212
- view_count?: number | undefined;
213
- publication_date?: Date | undefined;
214
- family_friendly?: boolean | undefined;
215
- tag?: string | undefined;
216
- category?: string | undefined;
217
- restriction?: {
218
- value?: string | undefined;
219
- relationship?: "allow" | undefined;
220
- } | undefined;
221
- gallery_loc?: string | undefined;
222
- price?: string | undefined;
223
- requires_subscription?: boolean | undefined;
224
- uploader?: string | undefined;
225
- }[] | undefined;
226
- } | undefined;
227
- }>;
228
- type SitemapSchema = TypeOf<typeof schema>;
229
- declare function asSitemapCollection<T extends ZodRawShape>(collection: Collection<T>): Collection<T>;
230
-
231
- export { asSitemapCollection, schema };
232
- export type { SitemapSchema };