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
5
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 2.3.1 to 2.3.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.3.2](https://github.com/nuxt-community/sitemap-module/compare/v2.3.1...v2.3.2) (2020-06-15)
### Bug Fixes
* i18n rel-alternate-hreflang with router.base ([9a31b31](https://github.com/nuxt-community/sitemap-module/commit/9a31b31b37a281353497161f3edb55e4a6bbe588)), closes [#138](https://github.com/nuxt-community/sitemap-module/issues/138)
### [2.3.1](https://github.com/nuxt-community/sitemap-module/compare/v2.3.0...v2.3.1) (2020-06-04)

@@ -7,0 +14,0 @@

2

lib/builder.js

@@ -81,3 +81,3 @@ const { hostname } = require('os')

lang: locale.iso,
url: route.url,
url: join('.', route.url),
})

@@ -84,0 +84,0 @@ } else {

{
"name": "@nuxtjs/sitemap",
"version": "2.3.1",
"version": "2.3.2",
"description": "Automatically generate or serve dynamic sitemap.xml for Nuxt.js projects",

@@ -54,3 +54,3 @@ "keywords": [

"async-cache": "^1.1.0",
"consola": "^2.12.2",
"consola": "^2.13.0",
"etag": "^1.8.1",

@@ -57,0 +57,0 @@ "fresh": "^0.5.2",

@@ -139,3 +139,3 @@ # Sitemap Module

All static routes (eg. `/pages/about.vue`) are automatically add to the sitemap, but you can exclude each of them with the [`exclude`](#exclude-optional---string-array) property.
For dynamic routes (eg. `/pages/_id.vue`), you have to declare them with the [`routes`](#routes-optional---array--function) property. This option can be an array or a function.
For dynamic routes (eg. `/pages/_id.vue`), you have to declare them with the [`routes`](#routes-optional---array--function) property. This option can be an array or a function. In addition, the routes defined in `generate.routes` will be automatically used for the sitemap.

@@ -255,3 +255,4 @@ ```js

Defines how frequently sitemap **routes** should be updated (value in milliseconds).
Defines how frequently sitemap **routes** should be updated (value in milliseconds).
Setting a negative value will disable the cache.

@@ -258,0 +259,0 @@ Please note that after each invalidation, `routes` will be evaluated again (see [routes declaration](#routes-declaration) section).

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