@nuxtjs/sitemap
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -1,1 +0,1 @@ | ||
{"id":"4de03bd7-f548-4d8c-9f3d-0a871f615df9","timestamp":1732467310648} | ||
{"id":"4797452c-6112-46da-ad1e-fed2be5af2d7","timestamp":1735011627500} |
@@ -8,3 +8,3 @@ { | ||
"configKey": "sitemap", | ||
"version": "6.1.5", | ||
"version": "7.0.0", | ||
"builder": { | ||
@@ -11,0 +11,0 @@ "@nuxt/module-builder": "0.8.4", |
import type { NitroUrlResolvers, ResolvedSitemapUrl, SitemapUrl } from '../../../types.js'; | ||
export declare function preNormalizeEntry(_e: SitemapUrl | string, resolvers?: NitroUrlResolvers): ResolvedSitemapUrl; | ||
export declare function isEncoded(url: string): boolean; | ||
export declare function normaliseEntry(_e: ResolvedSitemapUrl, defaults: Omit<SitemapUrl, 'loc'>, resolvers?: NitroUrlResolvers): ResolvedSitemapUrl; | ||
export declare function isValidW3CDate(d: string): boolean; | ||
export declare function normaliseDate(date: string | Date): string; |
@@ -49,3 +49,3 @@ import { | ||
} | ||
} else { | ||
} else if (!isEncoded(e.loc)) { | ||
e.loc = encodeURI(e.loc); | ||
@@ -59,2 +59,9 @@ } | ||
} | ||
export function isEncoded(url) { | ||
try { | ||
return url !== decodeURIComponent(url); | ||
} catch { | ||
return false; | ||
} | ||
} | ||
export function normaliseEntry(_e, defaults, resolvers) { | ||
@@ -61,0 +68,0 @@ const e = defu(_e, defaults); |
{ | ||
"extends": "../../../.nuxt/tsconfig.server.json" | ||
} |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "@nuxtjs/sitemap", | ||
"type": "module", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.", | ||
@@ -38,8 +38,8 @@ "author": { | ||
"dependencies": { | ||
"@nuxt/devtools-kit": "^1.6.1", | ||
"@nuxt/devtools-kit": "^1.6.4", | ||
"@nuxt/kit": "^3.14.1592", | ||
"chalk": "^5.3.0", | ||
"chalk": "^5.4.1", | ||
"defu": "^6.1.4", | ||
"h3-compression": "^0.3.2", | ||
"nuxt-site-config": "^3.0.4", | ||
"nuxt-site-config": "^3.0.6", | ||
"ofetch": "^1.4.1", | ||
@@ -55,16 +55,16 @@ "pathe": "^1.1.2", | ||
"@nuxt/content": "^2.13.4", | ||
"@nuxt/eslint-config": "^0.7.1", | ||
"@nuxt/eslint-config": "^0.7.4", | ||
"@nuxt/module-builder": "0.8.4", | ||
"@nuxt/test-utils": "^3.14.4", | ||
"@nuxt/ui": "^2.19.2", | ||
"@nuxtjs/i18n": "9.1.0", | ||
"@nuxtjs/robots": "5.0.0", | ||
"bumpp": "^9.8.1", | ||
"eslint": "9.15.0", | ||
"eslint-plugin-n": "^17.14.0", | ||
"execa": "^9.5.1", | ||
"@nuxt/test-utils": "^3.15.1", | ||
"@nuxt/ui": "^2.20.0", | ||
"@nuxtjs/i18n": "9.1.1", | ||
"@nuxtjs/robots": "5.1.0", | ||
"bumpp": "^9.9.2", | ||
"eslint": "9.17.0", | ||
"eslint-plugin-n": "^17.15.1", | ||
"execa": "^9.5.2", | ||
"nuxt": "^3.14.1592", | ||
"nuxt-i18n-micro": "^1.33.0", | ||
"nuxt-i18n-micro": "^1.51.0", | ||
"typescript": "5.6.3", | ||
"vitest": "^2.1.5" | ||
"vitest": "^2.1.8" | ||
}, | ||
@@ -71,0 +71,0 @@ "resolutions": { |
@@ -0,0 +0,0 @@ <h1>@nuxtjs/sitemap</h1> |
@@ -0,0 +0,0 @@ declare module '#sitemap-virtual/global-sources.mjs' { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9592062
341
39648
+ Added@nuxt/kit@3.15.3(transitive)
+ Added@nuxt/schema@3.15.3(transitive)
+ Added@rollup/rollup-android-arm-eabi@4.32.0(transitive)
+ Added@rollup/rollup-android-arm64@4.32.0(transitive)
+ Added@rollup/rollup-darwin-arm64@4.32.0(transitive)
+ Added@rollup/rollup-darwin-x64@4.32.0(transitive)
+ Added@rollup/rollup-freebsd-arm64@4.32.0(transitive)
+ Added@rollup/rollup-freebsd-x64@4.32.0(transitive)
+ Added@rollup/rollup-linux-arm-gnueabihf@4.32.0(transitive)
+ Added@rollup/rollup-linux-arm-musleabihf@4.32.0(transitive)
+ Added@rollup/rollup-linux-arm64-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-arm64-musl@4.32.0(transitive)
+ Added@rollup/rollup-linux-loongarch64-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-powerpc64le-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-riscv64-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-s390x-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-x64-gnu@4.32.0(transitive)
+ Added@rollup/rollup-linux-x64-musl@4.32.0(transitive)
+ Added@rollup/rollup-win32-arm64-msvc@4.32.0(transitive)
+ Added@rollup/rollup-win32-ia32-msvc@4.32.0(transitive)
+ Added@rollup/rollup-win32-x64-msvc@4.32.0(transitive)
+ Addedcaniuse-lite@1.0.30001695(transitive)
+ Addedelectron-to-chromium@1.5.88(transitive)
+ Addedexeca@8.0.1(transitive)
+ Addedget-stream@8.0.1(transitive)
+ Addedgiget@1.2.3(transitive)
+ Addedhuman-signals@5.0.0(transitive)
+ Addednypm@0.3.12(transitive)
+ Addedrollup@4.32.0(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedsignal-exit@4.1.0(transitive)
- Removed@nuxt/kit@3.15.4(transitive)
- Removed@nuxt/schema@3.15.4(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.32.1(transitive)
- Removed@rollup/rollup-android-arm64@4.32.1(transitive)
- Removed@rollup/rollup-darwin-arm64@4.32.1(transitive)
- Removed@rollup/rollup-darwin-x64@4.32.1(transitive)
- Removed@rollup/rollup-freebsd-arm64@4.32.1(transitive)
- Removed@rollup/rollup-freebsd-x64@4.32.1(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.32.1(transitive)
- Removed@rollup/rollup-linux-arm-musleabihf@4.32.1(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.32.1(transitive)
- Removed@rollup/rollup-linux-loongarch64-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-powerpc64le-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-riscv64-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-s390x-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.32.1(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.32.1(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.32.1(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.32.1(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.32.1(transitive)
- Removedcaniuse-lite@1.0.30001696(transitive)
- Removedelectron-to-chromium@1.5.89(transitive)
- Removedgiget@1.2.4(transitive)
- Removednypm@0.5.2(transitive)
- Removedrollup@4.32.1(transitive)
- Removedsemver@7.7.0(transitive)
- Removedtinyexec@0.3.2(transitive)
Updated@nuxt/devtools-kit@^1.6.4
Updatedchalk@^5.4.1
Updatednuxt-site-config@^3.0.6