nuxt-schema-org 6.1.2 → 6.1.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.
- package/dist/devtools/200.html +1 -1
- package/dist/devtools/404.html +1 -1
- package/dist/devtools/_nuxt/builds/latest.json +1 -1
- package/dist/devtools/_nuxt/builds/meta/b29085bd-1521-40f3-8c81-bdc818184bef.json +1 -0
- package/dist/devtools/debug/index.html +1 -1
- package/dist/devtools/docs/index.html +1 -1
- package/dist/devtools/index.html +1 -1
- package/dist/devtools/nodes/index.html +1 -1
- package/dist/devtools/raw/index.html +1 -1
- package/dist/module.cjs +48 -8
- package/dist/module.json +1 -1
- package/dist/module.mjs +48 -8
- package/dist/runtime/app/plugins/defaults.js +1 -1
- package/dist/runtime/app/plugins/i18n/defaults.js +3 -3
- package/dist/runtime/server/routes/__schema-org__/debug.js +1 -1
- package/dist/runtime/server/utils/config.d.ts +1 -1
- package/package.json +1 -1
- package/dist/devtools/_nuxt/builds/meta/95d63156-724e-4e59-80e5-16d5973219b2.json +0 -1
package/dist/devtools/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
package/dist/devtools/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"b29085bd-1521-40f3-8c81-bdc818184bef","timestamp":1780915484073}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"b29085bd-1521-40f3-8c81-bdc818184bef","timestamp":1780915484073,"prerendered":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489870,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
package/dist/devtools/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT_SITE_CONFIG__={_priority:{env:-15},env:"production"}</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-schema-org/_nuxt/B1DdtD2d.js"}}</script><link rel="stylesheet" href="/__nuxt-schema-org/_nuxt/entry.DprwPCib.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/B1DdtD2d.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CHHO6nw6.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CCjZBs6a.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/D-Oj-loM.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-schema-org/_nuxt/CQr7N5ou.js"><script type="module" src="/__nuxt-schema-org/_nuxt/B1DdtD2d.js" crossorigin></script><script>"use strict";(()=>{const t=window,e=document.documentElement,c=["dark","light"],n=getStorageValue("localStorage","nuxt-color-mode")||"system";let i=n==="system"?u():n;const r=e.getAttribute("data-color-mode-forced");r&&(i=r),l(i),t["__NUXT_COLOR_MODE__"]={preference:n,value:i,getColorScheme:u,addColorScheme:l,removeColorScheme:d};function l(o){const s=""+o+"",a="";e.classList?e.classList.add(s):e.className+=" "+s,a&&e.setAttribute("data-"+a,o)}function d(o){const s=""+o+"",a="";e.classList?e.classList.remove(s):e.className=e.className.replace(new RegExp(s,"g"),""),a&&e.removeAttribute("data-"+a)}function f(o){return t.matchMedia("(prefers-color-scheme"+o+")")}function u(){if(t.matchMedia&&f("").media!=="not all"){for(const o of c)if(f(":"+o).matches)return o}return"light"}})();function getStorageValue(t,e){switch(t){case"localStorage":return window.localStorage.getItem(e);case"sessionStorage":return window.sessionStorage.getItem(e);case"cookie":return getCookie(e);default:return null}}function getCookie(t){const c=("; "+window.document.cookie).split("; "+t+"=");if(c.length===2)return c.pop()?.split(";").shift()}</script></head><body><div id="__nuxt" class="isolate"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-schema-org",buildId:"b29085bd-1521-40f3-8c81-bdc818184bef",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1780915489871,false]</script></body></html>
|
package/dist/module.cjs
CHANGED
|
@@ -6,6 +6,8 @@ const kit$1 = require('nuxt-site-config/kit');
|
|
|
6
6
|
const pkgTypes = require('pkg-types');
|
|
7
7
|
const devtools = require('nuxtseo-shared/devtools');
|
|
8
8
|
const kit$2 = require('nuxtseo-shared/kit');
|
|
9
|
+
const node_path = require('node:path');
|
|
10
|
+
const node_url = require('node:url');
|
|
9
11
|
|
|
10
12
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
11
13
|
function setupDevToolsUI(_options, resolve, nuxt = kit.useNuxt()) {
|
|
@@ -17,14 +19,52 @@ function setupDevToolsUI(_options, resolve, nuxt = kit.useNuxt()) {
|
|
|
17
19
|
}, resolve, nuxt);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
function isPlainObject(value) {
|
|
23
|
+
return !!value && typeof value === "object" && !Array.isArray(value);
|
|
24
|
+
}
|
|
25
|
+
function cloneSerializableIdentityValue(value) {
|
|
26
|
+
if (typeof value === "function")
|
|
24
27
|
return void 0;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
if (Array.isArray(value))
|
|
29
|
+
return value.map(cloneSerializableIdentityValue).filter((value2) => typeof value2 !== "undefined");
|
|
30
|
+
if (!isPlainObject(value))
|
|
31
|
+
return value;
|
|
32
|
+
const result = {};
|
|
33
|
+
for (const [key, child] of Object.entries(value)) {
|
|
34
|
+
if (key === "_resolver")
|
|
35
|
+
continue;
|
|
36
|
+
const cloned = cloneSerializableIdentityValue(child);
|
|
37
|
+
if (typeof cloned !== "undefined")
|
|
38
|
+
result[key] = cloned;
|
|
39
|
+
}
|
|
40
|
+
return result;
|
|
41
|
+
}
|
|
42
|
+
function resolveSerializableIdentityConfig(identity) {
|
|
43
|
+
if (!isPlainObject(identity))
|
|
44
|
+
return identity;
|
|
45
|
+
const identityNode = identity;
|
|
46
|
+
const cloned = cloneSerializableIdentityValue(identityNode);
|
|
47
|
+
const resolverDefaults = isPlainObject(identityNode._resolver?.defaults) ? identityNode._resolver.defaults : {};
|
|
48
|
+
const resolvedType = Array.isArray(resolverDefaults["@type"]) ? resolverDefaults["@type"].at(-1) : resolverDefaults["@type"];
|
|
49
|
+
if (resolvedType && !cloned.type && !cloned["@type"])
|
|
50
|
+
cloned.type = resolvedType;
|
|
51
|
+
return cloned;
|
|
52
|
+
}
|
|
53
|
+
function normalizePackageUrl(rootDir) {
|
|
54
|
+
const url = rootDir.startsWith("file:") ? rootDir : node_url.pathToFileURL(rootDir.endsWith("/") ? rootDir : `${rootDir}/`).href;
|
|
55
|
+
return url.endsWith("/") ? url : `${url}/`;
|
|
56
|
+
}
|
|
57
|
+
async function resolveHostUnheadMajor(rootDir) {
|
|
58
|
+
const rootUrl = normalizePackageUrl(rootDir);
|
|
59
|
+
const searchUrls = [];
|
|
60
|
+
for (const id of ["@nuxt/nitro-server", "nuxt"]) {
|
|
61
|
+
const pkgJson = await pkgTypes.resolvePackageJSON(id, { url: rootUrl }).catch(() => {
|
|
62
|
+
return void 0;
|
|
63
|
+
});
|
|
64
|
+
if (pkgJson)
|
|
65
|
+
searchUrls.push(`${node_path.dirname(pkgJson)}/`);
|
|
66
|
+
}
|
|
67
|
+
searchUrls.push(rootUrl);
|
|
28
68
|
for (const id of ["@unhead/vue", "unhead"]) {
|
|
29
69
|
for (const url of searchUrls) {
|
|
30
70
|
const version = await pkgTypes.readPackageJSON(id, { url }).then((pkg) => pkg.version).catch(() => {
|
|
@@ -108,7 +148,7 @@ const module$1 = kit.defineNuxtModule({
|
|
|
108
148
|
reactive: config.reactive,
|
|
109
149
|
minify: config.minify,
|
|
110
150
|
scriptAttributes: config.scriptAttributes,
|
|
111
|
-
identity: config.identity,
|
|
151
|
+
identity: resolveSerializableIdentityConfig(config.identity),
|
|
112
152
|
version
|
|
113
153
|
};
|
|
114
154
|
if (config.reactive)
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,6 +4,8 @@ import { installNuxtSiteConfig } from 'nuxt-site-config/kit';
|
|
|
4
4
|
import { resolvePackageJSON, readPackageJSON } from 'pkg-types';
|
|
5
5
|
import { setupDevToolsUI as setupDevToolsUI$1 } from 'nuxtseo-shared/devtools';
|
|
6
6
|
import { resolveNuxtContentVersion, extendTypes } from 'nuxtseo-shared/kit';
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { pathToFileURL } from 'node:url';
|
|
7
9
|
|
|
8
10
|
function setupDevToolsUI(_options, resolve, nuxt = useNuxt()) {
|
|
9
11
|
setupDevToolsUI$1({
|
|
@@ -14,14 +16,52 @@ function setupDevToolsUI(_options, resolve, nuxt = useNuxt()) {
|
|
|
14
16
|
}, resolve, nuxt);
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
function isPlainObject(value) {
|
|
20
|
+
return !!value && typeof value === "object" && !Array.isArray(value);
|
|
21
|
+
}
|
|
22
|
+
function cloneSerializableIdentityValue(value) {
|
|
23
|
+
if (typeof value === "function")
|
|
21
24
|
return void 0;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
if (Array.isArray(value))
|
|
26
|
+
return value.map(cloneSerializableIdentityValue).filter((value2) => typeof value2 !== "undefined");
|
|
27
|
+
if (!isPlainObject(value))
|
|
28
|
+
return value;
|
|
29
|
+
const result = {};
|
|
30
|
+
for (const [key, child] of Object.entries(value)) {
|
|
31
|
+
if (key === "_resolver")
|
|
32
|
+
continue;
|
|
33
|
+
const cloned = cloneSerializableIdentityValue(child);
|
|
34
|
+
if (typeof cloned !== "undefined")
|
|
35
|
+
result[key] = cloned;
|
|
36
|
+
}
|
|
37
|
+
return result;
|
|
38
|
+
}
|
|
39
|
+
function resolveSerializableIdentityConfig(identity) {
|
|
40
|
+
if (!isPlainObject(identity))
|
|
41
|
+
return identity;
|
|
42
|
+
const identityNode = identity;
|
|
43
|
+
const cloned = cloneSerializableIdentityValue(identityNode);
|
|
44
|
+
const resolverDefaults = isPlainObject(identityNode._resolver?.defaults) ? identityNode._resolver.defaults : {};
|
|
45
|
+
const resolvedType = Array.isArray(resolverDefaults["@type"]) ? resolverDefaults["@type"].at(-1) : resolverDefaults["@type"];
|
|
46
|
+
if (resolvedType && !cloned.type && !cloned["@type"])
|
|
47
|
+
cloned.type = resolvedType;
|
|
48
|
+
return cloned;
|
|
49
|
+
}
|
|
50
|
+
function normalizePackageUrl(rootDir) {
|
|
51
|
+
const url = rootDir.startsWith("file:") ? rootDir : pathToFileURL(rootDir.endsWith("/") ? rootDir : `${rootDir}/`).href;
|
|
52
|
+
return url.endsWith("/") ? url : `${url}/`;
|
|
53
|
+
}
|
|
54
|
+
async function resolveHostUnheadMajor(rootDir) {
|
|
55
|
+
const rootUrl = normalizePackageUrl(rootDir);
|
|
56
|
+
const searchUrls = [];
|
|
57
|
+
for (const id of ["@nuxt/nitro-server", "nuxt"]) {
|
|
58
|
+
const pkgJson = await resolvePackageJSON(id, { url: rootUrl }).catch(() => {
|
|
59
|
+
return void 0;
|
|
60
|
+
});
|
|
61
|
+
if (pkgJson)
|
|
62
|
+
searchUrls.push(`${dirname(pkgJson)}/`);
|
|
63
|
+
}
|
|
64
|
+
searchUrls.push(rootUrl);
|
|
25
65
|
for (const id of ["@unhead/vue", "unhead"]) {
|
|
26
66
|
for (const url of searchUrls) {
|
|
27
67
|
const version = await readPackageJSON(id, { url }).then((pkg) => pkg.version).catch(() => {
|
|
@@ -105,7 +145,7 @@ const module$1 = defineNuxtModule({
|
|
|
105
145
|
reactive: config.reactive,
|
|
106
146
|
minify: config.minify,
|
|
107
147
|
scriptAttributes: config.scriptAttributes,
|
|
108
|
-
identity: config.identity,
|
|
148
|
+
identity: resolveSerializableIdentityConfig(config.identity),
|
|
109
149
|
version
|
|
110
150
|
};
|
|
111
151
|
if (config.reactive)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useSiteConfig } from "#site-config/app/composables/useSiteConfig";
|
|
2
1
|
import { defineWebPage, defineWebSite } from "@unhead/schema-org/vue";
|
|
3
2
|
import { defineNuxtPlugin, useError } from "nuxt/app";
|
|
4
3
|
import { toValue } from "vue";
|
|
4
|
+
import { useSiteConfig } from "#site-config/app/composables/useSiteConfig";
|
|
5
5
|
import { useSchemaOrg } from "../composables/useSchemaOrg.js";
|
|
6
6
|
import { maybeAddIdentitySchemaOrg } from "../utils/shared.js";
|
|
7
7
|
export default defineNuxtPlugin({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useLocalePath } from "#i18n";
|
|
2
|
-
import { useSiteConfig } from "#site-config/app/composables/useSiteConfig";
|
|
3
|
-
import { createSitePathResolver } from "#site-config/app/composables/utils";
|
|
4
1
|
import { defineWebPage, defineWebSite } from "@unhead/schema-org/vue";
|
|
5
2
|
import { resolveSitePath } from "nuxt-site-config/urls";
|
|
6
3
|
import { defineNuxtPlugin, useError, useRuntimeConfig } from "nuxt/app";
|
|
7
4
|
import { hasProtocol, withHttps } from "ufo";
|
|
8
5
|
import { toValue } from "vue";
|
|
6
|
+
import { useLocalePath } from "#i18n";
|
|
7
|
+
import { useSiteConfig } from "#site-config/app/composables/useSiteConfig";
|
|
8
|
+
import { createSitePathResolver } from "#site-config/app/composables/utils";
|
|
9
9
|
import { useSchemaOrg } from "../../composables/useSchemaOrg.js";
|
|
10
10
|
import { maybeAddIdentitySchemaOrg } from "../../utils/shared.js";
|
|
11
11
|
export default defineNuxtPlugin({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { defineEventHandler } from "h3";
|
|
1
2
|
import { getNitroOrigin } from "#site-config/server/composables/getNitroOrigin";
|
|
2
3
|
import { getSiteConfig } from "#site-config/server/composables/getSiteConfig";
|
|
3
|
-
import { defineEventHandler } from "h3";
|
|
4
4
|
import { useSchemaOrgConfig } from "../../utils/config.js";
|
|
5
5
|
export default defineEventHandler(async (e) => {
|
|
6
6
|
const nitroOrigin = getNitroOrigin(e);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"95d63156-724e-4e59-80e5-16d5973219b2","timestamp":1780895995720,"prerendered":[]}
|