@nuxtjs/sitemap 5.1.1 → 5.1.2
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/dist/client/200.html +4 -4
- package/dist/client/404.html +4 -4
- package/dist/client/_nuxt/{Icon.CJijHraB.js → Icon.DalmefXJ.js} +1 -1
- package/dist/client/_nuxt/Icon.i22y4bqI.css +1 -0
- package/dist/client/_nuxt/IconCSS.CBq9QLws.js +1 -0
- package/dist/client/_nuxt/IconCSS.CalQSnNG.css +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/cf9a9735-2cba-4764-a6bb-851b2579c356.json +1 -0
- package/dist/client/_nuxt/{entry.CzuJE6I5.js → entry.DyN9CeHe.js} +10 -10
- package/dist/client/_nuxt/{error-404.CknrUDcG.js → error-404.Ch9fDeY2.js} +1 -1
- package/dist/client/_nuxt/{error-500.hiYBJjIV.js → error-500.CdRBj7Fv.js} +1 -1
- package/dist/client/index.html +4 -4
- package/dist/module.json +1 -1
- package/dist/runtime/nitro/sitemap/urlset/i18n.mjs +2 -1
- package/package.json +11 -11
- package/dist/client/_nuxt/Icon.CZ-mU5xu.css +0 -1
- package/dist/client/_nuxt/IconCSS.0L6jGelj.css +0 -1
- package/dist/client/_nuxt/IconCSS.DNkWQg_x.js +0 -1
- package/dist/client/_nuxt/builds/meta/6b1976c1-8a6c-4f10-942a-e279cef74111.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a,u as n,o as r,c as l,a as e,t as s,b as d,w as c,d as p,e as f,p as h,f as m}from"./entry.
|
|
1
|
+
import{_ as a,u as n,o as r,c as l,a as e,t as s,b as d,w as c,d as p,e as f,p as h,f as m}from"./entry.DyN9CeHe.js";const x=t=>(h("data-v-05a2b8a3"),t=t(),m(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=x(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),b={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;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";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,N)=>{const i=f;return r(),l("div",u,[g,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[d(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-05a2b8a3"]]);export{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./entry.
|
|
1
|
+
import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./entry.DyN9CeHe.js";const c=t=>(l("data-v-c967d9a9"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;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";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},_=i(x,[["__scopeId","data-v-c967d9a9"]]);export{_ as default};
|
package/dist/client/index.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__sitemap__/devtools/_nuxt/entry.D9NoP4O5.css">
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/entry.
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/entry.DyN9CeHe.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/onig.BbrMXqi_.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/abap.DXFkqnOI.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/actionscript-3.D6NljDpC.js">
|
|
@@ -225,9 +225,9 @@
|
|
|
225
225
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/vitesse-dark.CHrOy2Zl.js">
|
|
226
226
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/vitesse-light.BXgTKZPQ.js">
|
|
227
227
|
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-404.ORekjfyJ.css">
|
|
228
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/error-404.
|
|
228
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/error-404.Ch9fDeY2.js">
|
|
229
229
|
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.BIuFL0tW.css">
|
|
230
|
-
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/error-500.
|
|
231
|
-
<script type="module" src="/__sitemap__/devtools/_nuxt/entry.
|
|
230
|
+
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/error-500.CdRBj7Fv.js">
|
|
231
|
+
<script type="module" src="/__sitemap__/devtools/_nuxt/entry.DyN9CeHe.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window&&window.localStorage&&window.localStorage.getItem&&window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?d():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:d,addColorScheme:i,removeColorScheme:f};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function f(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function d(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
|
|
232
232
|
</script></head><body><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
233
233
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
|
@@ -63,7 +63,8 @@ export function applyI18nEnhancements(_urls, options) {
|
|
|
63
63
|
if (!e._i18nTransform)
|
|
64
64
|
return e;
|
|
65
65
|
delete e._i18nTransform;
|
|
66
|
-
const
|
|
66
|
+
const parsedURL = parseURL(e.loc);
|
|
67
|
+
const path = withLeadingSlash(parsedURL.pathname + parsedURL.search + parsedURL.hash);
|
|
67
68
|
const match = splitForLocales(path, autoI18n.locales.map((l) => l.code));
|
|
68
69
|
let pathWithoutLocale = path;
|
|
69
70
|
let locale;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/sitemap",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.2",
|
|
5
5
|
"packageManager": "pnpm@8.15.4",
|
|
6
6
|
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
|
|
7
7
|
"author": {
|
|
@@ -40,34 +40,34 @@
|
|
|
40
40
|
"defu": "^6.1.4",
|
|
41
41
|
"floating-vue": "5.2.2",
|
|
42
42
|
"h3-compression": "^0.3.2",
|
|
43
|
-
"nuxt-site-config": "^2.2.
|
|
44
|
-
"nuxt-site-config-kit": "^2.2.
|
|
43
|
+
"nuxt-site-config": "^2.2.11",
|
|
44
|
+
"nuxt-site-config-kit": "^2.2.11",
|
|
45
45
|
"ofetch": "^1.3.3",
|
|
46
46
|
"pathe": "^1.1.2",
|
|
47
47
|
"pkg-types": "^1.0.3",
|
|
48
|
-
"radix3": "^1.1.
|
|
48
|
+
"radix3": "^1.1.1",
|
|
49
49
|
"semver": "^7.6.0",
|
|
50
50
|
"shiki": "1.1.7",
|
|
51
51
|
"sirv": "^2.0.4",
|
|
52
|
-
"site-config-stack": "^2.2.
|
|
52
|
+
"site-config-stack": "^2.2.11",
|
|
53
53
|
"ufo": "^1.4.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@antfu/eslint-config": "^2.
|
|
57
|
-
"@nuxt/content": "^2.12.
|
|
56
|
+
"@antfu/eslint-config": "^2.8.0",
|
|
57
|
+
"@nuxt/content": "^2.12.1",
|
|
58
58
|
"@nuxt/kit": "^3.10.3",
|
|
59
59
|
"@nuxt/module-builder": "^0.5.5",
|
|
60
60
|
"@nuxt/test-utils": "^3.11.0",
|
|
61
|
-
"@nuxt/ui": "^2.14.
|
|
61
|
+
"@nuxt/ui": "^2.14.2",
|
|
62
62
|
"@nuxtjs/eslint-config-typescript": "^12.1.0",
|
|
63
63
|
"@nuxtjs/i18n": "8.1.1",
|
|
64
|
-
"bumpp": "^9.
|
|
64
|
+
"bumpp": "^9.4.0",
|
|
65
65
|
"eslint": "8.57.0",
|
|
66
66
|
"execa": "^8.0.1",
|
|
67
67
|
"nuxt": "^3.10.3",
|
|
68
|
-
"nuxt-icon": "^0.6.
|
|
68
|
+
"nuxt-icon": "^0.6.9",
|
|
69
69
|
"nuxt-simple-robots": "^4.0.0-rc.14",
|
|
70
|
-
"typescript": "^5.
|
|
70
|
+
"typescript": "^5.4.2",
|
|
71
71
|
"vitest": "^1.3.1"
|
|
72
72
|
},
|
|
73
73
|
"build": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.icon[data-v-522e47f0]{display:inline-block;vertical-align:middle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
span[data-v-535f10ad]{background-color:currentColor;display:inline-block;-webkit-mask-image:var(--35de456f);mask-image:var(--35de456f);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as m,A as f,i as I,l as a,o as d,c as x,q as v,_}from"./entry.CzuJE6I5.js";import{r as S}from"./index.DKzsDYrr.js";const g=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({"35de456f":p.value}));const t=I(),o=u,l=a(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[o.name]?t.nuxtIcon.aliases[o.name]:o.name}),c=a(()=>S(l.value)),p=a(()=>{var s,r;const e=(r=(s=t.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:r.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${c.value.prefix}/${c.value.name}.svg')`}),i=a(()=>{var n,s,r;if(!o.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((s=t.nuxtIcon)!=null&&s.size))return;const e=o.size||((r=t.nuxtIcon)==null?void 0:r.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(d(),x("span",{style:v({width:i.value,height:i.value})},null,4))}}),h=_(g,[["__scopeId","data-v-535f10ad"]]);export{h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"6b1976c1-8a6c-4f10-942a-e279cef74111","timestamp":1709555092515,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|