@nuxtjs/sitemap 5.2.1 → 5.2.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 +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79.json +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/00249a90-0255-4aa3-86f3-d53aa59a7354.json +0 -1
package/dist/client/200.html
CHANGED
|
@@ -258,4 +258,4 @@
|
|
|
258
258
|
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.f8GAwExH.css">
|
|
259
259
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CL-qhHZf.js">
|
|
260
260
|
<script type="module" src="/__sitemap__/devtools/_nuxt/BGZ4JUW7.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"serverRendered":1},false]</script>
|
|
261
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"
|
|
261
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -258,4 +258,4 @@
|
|
|
258
258
|
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.f8GAwExH.css">
|
|
259
259
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CL-qhHZf.js">
|
|
260
260
|
<script type="module" src="/__sitemap__/devtools/_nuxt/BGZ4JUW7.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"serverRendered":1},false]</script>
|
|
261
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"
|
|
261
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79","timestamp":1719457649590}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79","timestamp":1719457649590,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -258,4 +258,4 @@
|
|
|
258
258
|
<link rel="prefetch" as="style" href="/__sitemap__/devtools/_nuxt/error-500.f8GAwExH.css">
|
|
259
259
|
<link rel="prefetch" as="script" crossorigin href="/__sitemap__/devtools/_nuxt/CL-qhHZf.js">
|
|
260
260
|
<script type="module" src="/__sitemap__/devtools/_nuxt/BGZ4JUW7.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"serverRendered":1},false]</script>
|
|
261
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"
|
|
261
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__sitemap__/devtools",buildId:"db4ce94a-4eca-43d4-b5fb-da1dfa0d2a79",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -229,7 +229,7 @@ function extractSitemapMetaFromHtml(html, options) {
|
|
|
229
229
|
const mainRegex = /<main[^>]*>([\s\S]*?)<\/main>/;
|
|
230
230
|
const mainMatch = mainRegex.exec(html);
|
|
231
231
|
if (mainMatch?.[1] && mainMatch[1].includes("<img")) {
|
|
232
|
-
const imgRegex = /<img
|
|
232
|
+
const imgRegex = /<img\s+src=["']((?!data:|blob:|file:)[^"']+?)["'][^>]*>/gi;
|
|
233
233
|
let match;
|
|
234
234
|
while ((match = imgRegex.exec(mainMatch[1])) !== null) {
|
|
235
235
|
if (match.index === imgRegex.lastIndex)
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"00249a90-0255-4aa3-86f3-d53aa59a7354","timestamp":1719203707717,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|