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

vite-ssg-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-ssg-sitemap - npm Package Compare versions

Comparing version 0.4.3 to 0.5.0

15

dist/index.d.ts

@@ -50,2 +50,8 @@ interface RobotOption {

/**
* String with base path.
* Example: '/mysubpath'
* @default ''
*/
basePath: string;
/**
* Output directory

@@ -77,3 +83,3 @@ * @default 'dist'

/**
* Converts XML into a human readable format
* Converts XML into a human-readable format
* @default false

@@ -83,2 +89,7 @@ */

/**
* Enables robots.txt file generation
* @default true
*/
generateRobotsTxt: boolean;
/**
* Robots policy

@@ -89,3 +100,3 @@ * @default [{ userAgent: '*', allow: '/' }]

}
declare type UserOptions = Partial<Options>;
type UserOptions = Partial<Options>;

@@ -92,0 +103,0 @@ declare function generateSitemap(options?: UserOptions): void;

21

package.json
{
"name": "vite-ssg-sitemap",
"version": "0.4.3",
"packageManager": "pnpm@7.12.1",
"version": "0.5.0",
"packageManager": "pnpm@8.3.1",
"description": "sitemap generator working with vite-ssg",

@@ -22,11 +22,12 @@ "license": "MIT",

"devDependencies": {
"@antfu/eslint-config": "0.27.0",
"@types/node": "18.7.18",
"eslint": "8.23.1",
"pkgroll": "1.4.0",
"sitemap-ts": "1.1.0",
"typescript": "4.8.3",
"vite": "3.1.3",
"vue-tsc": "0.40.13"
"@antfu/eslint-config": "0.38.5",
"@types/node": "18.16.3",
"eslint": "8.39.0",
"pkgroll": "1.9.0",
"pnpm": "8.3.1",
"sitemap-ts": "1.3.0",
"typescript": "5.0.4",
"vite": "4.3.3",
"vue-tsc": "1.6.1"
}
}

@@ -135,2 +135,9 @@ # vite-ssg-sitemap

### generateRobotsTxt
- **Type:** `boolean`
- **Default:** `true`
Enables robots.txt file generation
### robots

@@ -137,0 +144,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