New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/sitemap

Package Overview
Dependencies
Maintainers
8
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/sitemap - npm Package Compare versions

Comparing version 5.1.5 to 5.2.0

dist/client/_nuxt/4id9yZy9.js

2

dist/client/_nuxt/builds/latest.json

@@ -1,1 +0,1 @@

{"id":"9c660240-bc8b-4a63-883d-04cd5c521393","timestamp":1714999410100}
{"id":"eed887b5-8cf6-4ae2-9094-c95111b61a41","timestamp":1716364556401}

@@ -198,3 +198,2 @@ import * as _nuxt_schema from '@nuxt/schema';

});
type ResolvedSitemapUrl = Omit<SitemapUrl, 'url'> & Required<Pick<SitemapUrl, 'loc'>>;
interface SitemapDefinition {

@@ -247,10 +246,2 @@ /**

}
interface SitemapRenderCtx {
sitemapName: string;
urls: ResolvedSitemapUrl[];
}
interface SitemapOutputHookCtx {
sitemapName: string;
sitemap: string;
}
type Changefreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';

@@ -349,8 +340,2 @@ interface SitemapUrl {

interface ModuleHooks {
/**
* @deprecated use `sitemap:resolved` or `sitemap:output`
*/
'sitemap:prerender': (ctx: SitemapRenderCtx) => Promise<void> | void;
'sitemap:resolved': (ctx: SitemapRenderCtx) => Promise<void> | void;
'sitemap:output': (ctx: SitemapOutputHookCtx) => Promise<void> | void;
}

@@ -357,0 +342,0 @@ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;

@@ -8,3 +8,3 @@ {

"configKey": "sitemap",
"version": "5.1.4"
"version": "5.1.5"
}

@@ -0,5 +1,6 @@

import { type H3Event } from 'h3';
import type { ModuleRuntimeConfig, SitemapSourceBase, SitemapSourceResolved } from '../../../types';
export declare function fetchDataSource(input: SitemapSourceBase | SitemapSourceResolved): Promise<SitemapSourceResolved>;
export declare function fetchDataSource(input: SitemapSourceBase | SitemapSourceResolved, event?: H3Event): Promise<SitemapSourceResolved>;
export declare function globalSitemapSources(): Promise<(SitemapSourceBase | SitemapSourceResolved)[]>;
export declare function childSitemapSources(definition: ModuleRuntimeConfig['sitemaps'][string]): Promise<(SitemapSourceBase | SitemapSourceResolved)[]>;
export declare function resolveSitemapSources(sources: (SitemapSourceBase | SitemapSourceResolved)[]): Promise<SitemapSourceResolved[]>;
export declare function resolveSitemapSources(sources: (SitemapSourceBase | SitemapSourceResolved)[], event?: H3Event): Promise<SitemapSourceResolved[]>;

@@ -259,2 +259,5 @@ import type { FetchOptions } from 'ofetch';

}
export interface SitemapIndexRenderCtx {
sitemaps: SitemapIndexEntry[];
}
export interface SitemapRenderCtx {

@@ -261,0 +264,0 @@ sitemapName: string;

{
"name": "@nuxtjs/sitemap",
"type": "module",
"version": "5.1.5",
"version": "5.2.0",
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",

@@ -34,4 +34,4 @@ "author": {

"dependencies": {
"@nuxt/devtools-kit": "^1.2.0",
"@nuxt/devtools-ui-kit": "^1.2.0",
"@nuxt/devtools-kit": "^1.3.1",
"@nuxt/devtools-ui-kit": "^1.3.1",
"@nuxt/kit": "^3.11.2",

@@ -47,6 +47,6 @@ "@vueuse/core": "^10.9.0",

"pathe": "^1.1.2",
"pkg-types": "^1.1.0",
"pkg-types": "^1.1.1",
"radix3": "^1.1.2",
"semver": "^7.6.0",
"shiki": "1.3.0",
"semver": "^7.6.2",
"shiki": "1.6.0",
"sirv": "^2.0.4",

@@ -57,13 +57,13 @@ "site-config-stack": "^2.2.12",

"devDependencies": {
"@antfu/eslint-config": "^2.16.1",
"@antfu/eslint-config": "^2.18.1",
"@nuxt/content": "^2.12.1",
"@nuxt/kit": "^3.11.2",
"@nuxt/module-builder": "0.5.5",
"@nuxt/test-utils": "^3.12.1",
"@nuxt/ui": "^2.15.2",
"@nuxt/test-utils": "^3.13.1",
"@nuxt/ui": "^2.16.0",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/i18n": "8.3.0",
"@nuxtjs/i18n": "8.3.1",
"bumpp": "^9.4.1",
"eslint": "9.1.1",
"execa": "^8.0.1",
"eslint": "9.3.0",
"execa": "^9.1.0",
"nuxt": "^3.11.2",

@@ -70,0 +70,0 @@ "nuxt-icon": "^0.6.10",

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc