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

sitemapy

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemapy - npm Package Compare versions

Comparing version 1.4.0 to 2.4.0

2

package.json
{
"name": "sitemapy",
"version": "1.4.0",
"version": "2.4.0",
"description": "Simple utility to generate sitemaps in xml, with zero dependencies",

@@ -5,0 +5,0 @@ "main": "dist/sitemapy.js",

@@ -24,3 +24,3 @@ # Sitemapy

changefreq: "daily",
lastmod: 10-04-22
lastmod: "10-04-22"
}

@@ -47,3 +47,3 @@ ]

changefreq: "daily",
lastmod: 10-04-22
lastmod: "10-04-22"
}

@@ -77,2 +77,24 @@ ]

```
```
## Breaking changes on sitemapy versions >=2.4.0
In versions prior to 2.4.0, urls would already have the starting slash prefixed.
Now that is left for the user to define themselves, it makes more sense.
Prior to 2.4.0
```js
const url = "about";
```
Would result in "https://example.com/about"
After and including version 2.4.0
```js
const url = "/about";
```
Would result in "https://example.com/about"
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