@nuxtjs/sitemap 7.4.4 → 7.4.5
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/package.json +3 -3
- package/dist/client/200.html +0 -1
- package/dist/client/404.html +0 -1
- package/dist/client/__sitemap__/style.xsl +0 -190
- package/dist/client/_nuxt/BRTu1kzH.js +0 -172
- package/dist/client/_nuxt/CVMmb_pX.js +0 -1
- package/dist/client/_nuxt/CVO1_9PV.js +0 -1
- package/dist/client/_nuxt/Cp-IABpG.js +0 -1
- package/dist/client/_nuxt/D0r3Knsf.js +0 -1
- package/dist/client/_nuxt/builds/latest.json +0 -1
- package/dist/client/_nuxt/builds/meta/7faab852-f8a4-43e6-a124-2cd93df90673.json +0 -1
- package/dist/client/_nuxt/entry.D5V0t8Hh.css +0 -1
- package/dist/client/_nuxt/error-404.BXx3NK2Z.css +0 -1
- package/dist/client/_nuxt/error-500.BYrbHUTO.css +0 -1
- package/dist/client/_nuxt/rHMUQZkV.js +0 -1
- package/dist/client/index.html +0 -1
- package/dist/client/sitemap.xml +0 -7
- package/dist/content.d.mts +0 -232
- package/dist/content.d.ts +0 -232
- package/dist/content.mjs +0 -45
- package/dist/module.d.mts +0 -10
- package/dist/module.d.ts +0 -10
- package/dist/module.json +0 -12
- package/dist/module.mjs +0 -1217
- package/dist/runtime/server/composables/asSitemapUrl.d.ts +0 -2
- package/dist/runtime/server/composables/asSitemapUrl.js +0 -3
- package/dist/runtime/server/composables/defineSitemapEventHandler.d.ts +0 -4
- package/dist/runtime/server/composables/defineSitemapEventHandler.js +0 -2
- package/dist/runtime/server/content-compat.d.ts +0 -1
- package/dist/runtime/server/content-compat.js +0 -2
- package/dist/runtime/server/kit.d.ts +0 -3
- package/dist/runtime/server/kit.js +0 -25
- package/dist/runtime/server/plugins/compression.d.ts +0 -2
- package/dist/runtime/server/plugins/compression.js +0 -8
- package/dist/runtime/server/plugins/nuxt-content-v2.d.ts +0 -2
- package/dist/runtime/server/plugins/nuxt-content-v2.js +0 -39
- package/dist/runtime/server/plugins/warm-up.d.ts +0 -2
- package/dist/runtime/server/plugins/warm-up.js +0 -39
- package/dist/runtime/server/robots-polyfill/getPathRobotConfig.d.ts +0 -5
- package/dist/runtime/server/robots-polyfill/getPathRobotConfig.js +0 -3
- package/dist/runtime/server/routes/__sitemap__/debug.d.ts +0 -40
- package/dist/runtime/server/routes/__sitemap__/debug.js +0 -29
- package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v2.d.ts +0 -2
- package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v2.js +0 -6
- package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.d.ts +0 -2
- package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.js +0 -24
- package/dist/runtime/server/routes/sitemap/[sitemap].xml.d.ts +0 -2
- package/dist/runtime/server/routes/sitemap/[sitemap].xml.js +0 -50
- package/dist/runtime/server/routes/sitemap.xml.d.ts +0 -2
- package/dist/runtime/server/routes/sitemap.xml.js +0 -13
- package/dist/runtime/server/routes/sitemap.xsl.d.ts +0 -2
- package/dist/runtime/server/routes/sitemap.xsl.js +0 -255
- package/dist/runtime/server/routes/sitemap_index.xml.d.ts +0 -2
- package/dist/runtime/server/routes/sitemap_index.xml.js +0 -42
- package/dist/runtime/server/sitemap/builder/sitemap-index.d.ts +0 -13
- package/dist/runtime/server/sitemap/builder/sitemap-index.js +0 -197
- package/dist/runtime/server/sitemap/builder/sitemap.d.ts +0 -16
- package/dist/runtime/server/sitemap/builder/sitemap.js +0 -241
- package/dist/runtime/server/sitemap/builder/xml.d.ts +0 -6
- package/dist/runtime/server/sitemap/builder/xml.js +0 -197
- package/dist/runtime/server/sitemap/nitro.d.ts +0 -4
- package/dist/runtime/server/sitemap/nitro.js +0 -144
- package/dist/runtime/server/sitemap/urlset/normalise.d.ts +0 -6
- package/dist/runtime/server/sitemap/urlset/normalise.js +0 -137
- package/dist/runtime/server/sitemap/urlset/sort.d.ts +0 -2
- package/dist/runtime/server/sitemap/urlset/sort.js +0 -13
- package/dist/runtime/server/sitemap/urlset/sources.d.ts +0 -6
- package/dist/runtime/server/sitemap/urlset/sources.js +0 -143
- package/dist/runtime/server/sitemap/utils/chunk.d.ts +0 -10
- package/dist/runtime/server/sitemap/utils/chunk.js +0 -67
- package/dist/runtime/server/tsconfig.json +0 -3
- package/dist/runtime/server/utils.d.ts +0 -5
- package/dist/runtime/server/utils.js +0 -16
- package/dist/runtime/types.d.ts +0 -458
- package/dist/runtime/types.js +0 -0
- package/dist/runtime/utils-pure.d.ts +0 -14
- package/dist/runtime/utils-pure.js +0 -85
- package/dist/shared/sitemap.DR3_6qqU.mjs +0 -212
- package/dist/types.d.mts +0 -5
- package/dist/utils.d.mts +0 -28
- package/dist/utils.d.ts +0 -28
- package/dist/utils.mjs +0 -368
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/sitemap",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.4.
|
|
4
|
+
"version": "7.4.5",
|
|
5
5
|
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"typescript": "^5.9.2",
|
|
86
86
|
"vitest": "^3.2.4",
|
|
87
87
|
"vue-tsc": "^3.0.7",
|
|
88
|
-
"@nuxtjs/sitemap": "7.4.
|
|
88
|
+
"@nuxtjs/sitemap": "7.4.5"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"lint": "eslint .",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"prepare:fixtures": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/i18n && nuxi prepare test/fixtures/i18n-micro",
|
|
99
99
|
"dev:build": "nuxi build playground",
|
|
100
100
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
101
|
-
"release": "pnpm build && bumpp
|
|
101
|
+
"release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\"",
|
|
102
102
|
"test": "vitest run && pnpm run test:attw",
|
|
103
103
|
"test:unit": "vitest --project=unit",
|
|
104
104
|
"test:attw": "attw --pack",
|
package/dist/client/200.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__sitemap__/devtools/_nuxt/BRTu1kzH.js"}}</script><link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.D5V0t8Hh.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BRTu1kzH.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CVO1_9PV.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/D0r3Knsf.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/Cp-IABpG.js"><link rel="prefetch" as="style" crossorigin href="/__sitemap__/devtools/_nuxt/error-404.BXx3NK2Z.css"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CVMmb_pX.js"><link rel="prefetch" as="style" crossorigin href="/__sitemap__/devtools/_nuxt/error-500.BYrbHUTO.css"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/rHMUQZkV.js"><script type="module" src="/__sitemap__/devtools/_nuxt/BRTu1kzH.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{name:-10,env:-15},env:"production",name:"@nuxtjs\u002Fsitemap-client"}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1758073962374,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"7faab852-f8a4-43e6-a124-2cd93df90673",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__sitemap__/devtools/_nuxt/BRTu1kzH.js"}}</script><link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.D5V0t8Hh.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/BRTu1kzH.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CVO1_9PV.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/D0r3Knsf.js"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/Cp-IABpG.js"><link rel="prefetch" as="style" crossorigin href="/__sitemap__/devtools/_nuxt/error-404.BXx3NK2Z.css"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CVMmb_pX.js"><link rel="prefetch" as="style" crossorigin href="/__sitemap__/devtools/_nuxt/error-500.BYrbHUTO.css"><link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/rHMUQZkV.js"><script type="module" src="/__sitemap__/devtools/_nuxt/BRTu1kzH.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{name:-10,env:-15},env:"production",name:"@nuxtjs\u002Fsitemap-client"}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1758073962374,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"7faab852-f8a4-43e6-a124-2cd93df90673",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xsl:stylesheet version="2.0"
|
|
3
|
-
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
4
|
-
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
|
|
5
|
-
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
|
|
6
|
-
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
7
|
-
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
|
|
8
|
-
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
9
|
-
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
|
10
|
-
<xsl:template match="/">
|
|
11
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
12
|
-
<head>
|
|
13
|
-
<title>XML Sitemap</title>
|
|
14
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
15
|
-
<style type="text/css">
|
|
16
|
-
body {
|
|
17
|
-
font-family: Inter, Helvetica, Arial, sans-serif;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
color: #333;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
table {
|
|
23
|
-
border: none;
|
|
24
|
-
border-collapse: collapse;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.bg-yellow-200 {
|
|
28
|
-
background-color: #fef9c3;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.p-5 {
|
|
32
|
-
padding: 1.25rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.rounded {
|
|
36
|
-
border-radius: 4px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.shadow {
|
|
40
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#sitemap tr:nth-child(odd) td {
|
|
44
|
-
background-color: #f8f8f8 !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#sitemap tbody tr:hover td {
|
|
48
|
-
background-color: #fff;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#sitemap tbody tr:hover td, #sitemap tbody tr:hover td a {
|
|
52
|
-
color: #000;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.expl a {
|
|
56
|
-
color: #398465;
|
|
57
|
-
font-weight: 600;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.expl a:visited {
|
|
61
|
-
color: #398465;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
a {
|
|
65
|
-
color: #000;
|
|
66
|
-
text-decoration: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
a:visited {
|
|
70
|
-
color: #777;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
a:hover {
|
|
74
|
-
text-decoration: underline;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
td {
|
|
78
|
-
font-size: 12px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.text-2xl {
|
|
82
|
-
font-size: 2rem;
|
|
83
|
-
font-weight: 600;
|
|
84
|
-
line-height: 1.25;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
th {
|
|
88
|
-
text-align: left;
|
|
89
|
-
padding-right: 30px;
|
|
90
|
-
font-size: 12px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
thead th {
|
|
94
|
-
border-bottom: 1px solid #000;
|
|
95
|
-
}
|
|
96
|
-
.fixed { position: fixed; }
|
|
97
|
-
.right-2 { right: 2rem; }
|
|
98
|
-
.top-2 { top: 2rem; }
|
|
99
|
-
.w-30 { width: 30rem; }
|
|
100
|
-
p { margin: 0; }
|
|
101
|
-
li { padding-bottom: 0.5rem; line-height: 1.5; }
|
|
102
|
-
h1 { margin: 0; }
|
|
103
|
-
.mb-5 { margin-bottom: 1.25rem; }
|
|
104
|
-
.mb-3 { margin-bottom: 0.75rem; }
|
|
105
|
-
</style>
|
|
106
|
-
</head>
|
|
107
|
-
<body>
|
|
108
|
-
<div style="grid-template-columns: 1fr 1fr; display: grid; margin: 3rem;">
|
|
109
|
-
<div>
|
|
110
|
-
<div id="content">
|
|
111
|
-
<h1 class="text-2xl mb-3">XML Sitemap</h1>
|
|
112
|
-
<h2>@nuxtjs/sitemap-client</h2>
|
|
113
|
-
|
|
114
|
-
<xsl:if test="count(sitemap:sitemapindex/sitemap:sitemap) > 0">
|
|
115
|
-
<p class="expl" style="margin-bottom: 1rem;">
|
|
116
|
-
This XML Sitemap Index file contains
|
|
117
|
-
<xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"/> sitemaps.
|
|
118
|
-
</p>
|
|
119
|
-
<table id="sitemap" cellpadding="3">
|
|
120
|
-
<thead>
|
|
121
|
-
<tr>
|
|
122
|
-
<th width="75%">Sitemap</th>
|
|
123
|
-
<th width="25%">Last Modified</th>
|
|
124
|
-
</tr>
|
|
125
|
-
</thead>
|
|
126
|
-
<tbody>
|
|
127
|
-
<xsl:for-each select="sitemap:sitemapindex/sitemap:sitemap">
|
|
128
|
-
<xsl:variable name="sitemapURL">
|
|
129
|
-
<xsl:value-of select="sitemap:loc"/>
|
|
130
|
-
</xsl:variable>
|
|
131
|
-
<tr>
|
|
132
|
-
<td>
|
|
133
|
-
<a href="{$sitemapURL}">
|
|
134
|
-
<xsl:value-of select="sitemap:loc"/>
|
|
135
|
-
</a>
|
|
136
|
-
</td>
|
|
137
|
-
<td>
|
|
138
|
-
<xsl:value-of
|
|
139
|
-
select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)),concat(' ', substring(sitemap:lastmod,20,6)))"/>
|
|
140
|
-
</td>
|
|
141
|
-
</tr>
|
|
142
|
-
</xsl:for-each>
|
|
143
|
-
</tbody>
|
|
144
|
-
</table>
|
|
145
|
-
</xsl:if>
|
|
146
|
-
<xsl:if test="count(sitemap:sitemapindex/sitemap:sitemap) < 1">
|
|
147
|
-
<p class="expl" style="margin-bottom: 1rem;">
|
|
148
|
-
This XML Sitemap contains
|
|
149
|
-
<xsl:value-of select="count(sitemap:urlset/sitemap:url)"/> URLs.
|
|
150
|
-
</p>
|
|
151
|
-
<table id="sitemap" cellpadding="3">
|
|
152
|
-
<thead>
|
|
153
|
-
<tr>
|
|
154
|
-
<th width="50%">URL</th>
|
|
155
|
-
<th width="25%">Images</th>
|
|
156
|
-
<th width="25%">Last Updated</th>
|
|
157
|
-
</tr>
|
|
158
|
-
</thead>
|
|
159
|
-
<tbody>
|
|
160
|
-
<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
|
|
161
|
-
<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
|
|
162
|
-
<xsl:for-each select="sitemap:urlset/sitemap:url">
|
|
163
|
-
<tr>
|
|
164
|
-
<td>
|
|
165
|
-
<xsl:variable name="itemURL">
|
|
166
|
-
<xsl:value-of select="sitemap:loc"/>
|
|
167
|
-
</xsl:variable>
|
|
168
|
-
<a href="{$itemURL}">
|
|
169
|
-
<xsl:value-of select="sitemap:loc"/>
|
|
170
|
-
</a>
|
|
171
|
-
</td>
|
|
172
|
-
<td>
|
|
173
|
-
<xsl:value-of select="count(image:image)"/>
|
|
174
|
-
</td>
|
|
175
|
-
<td>
|
|
176
|
-
<xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)),concat(' ', substring(sitemap:lastmod,20,6)))"/>
|
|
177
|
-
</td>
|
|
178
|
-
</tr>
|
|
179
|
-
</xsl:for-each>
|
|
180
|
-
</tbody>
|
|
181
|
-
</table>
|
|
182
|
-
</xsl:if>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
|
|
186
|
-
</div>
|
|
187
|
-
</body>
|
|
188
|
-
</html>
|
|
189
|
-
</xsl:template>
|
|
190
|
-
</xsl:stylesheet>
|