Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-pages-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-pages-sitemap - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

dist/index.js.map

2

dist/index.d.ts

@@ -61,3 +61,3 @@ /**

}
declare type UserOptions = Partial<Options>;
type UserOptions = Partial<Options>;
interface ResolvedOptions extends Options {

@@ -64,0 +64,0 @@ }

{
"name": "vite-plugin-pages-sitemap",
"version": "1.4.0",
"version": "1.4.1",
"description": "vite-plugin-pages based sitemap generator",

@@ -13,3 +13,3 @@ "license": "MIT",

"scripts": {
"build": "tsup src/index.ts --dts --format cjs,esm",
"build": "tsup",
"dev": "npm run build -- --watch",

@@ -23,14 +23,14 @@ "example:dev": "npm -C example run dev",

"devDependencies": {
"@antfu/eslint-config": "0.27.0",
"@antfu/utils": "0.5.2",
"@types/node": "18.7.23",
"@vitest/coverage-c8": "0.23.4",
"eslint": "8.24.0",
"@antfu/eslint-config": "0.34.0",
"@antfu/utils": "0.7.2",
"@types/node": "18.11.15",
"@vitest/coverage-c8": "0.25.8",
"eslint": "8.29.0",
"sitemap": "7.1.1",
"tsup": "6.2.3",
"typescript": "4.8.4",
"vite": "3.1.4",
"vitest": "0.23.4",
"tsup": "6.5.0",
"typescript": "4.9.4",
"vite": "3.2.5",
"vitest": "0.25.8",
"xml-formatter": "2.6.1"
}
}

@@ -49,3 +49,3 @@ # vite-plugin-pages-sitemap

Pages({
onRoutesGenerated: async(routes) => {
onRoutesGenerated: async (routes) => {
const users = await api.get('/users')

@@ -76,2 +76,9 @@ const dynamicRoutes = users.map(user => `/users/${user.name}`)

### exclude
- **Type:** `string[]`
- **Default:** `[]`
Excluded routes for sitemap.
### filename

@@ -78,0 +85,0 @@

Sorry, the diff of this file is too big to display

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