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

multi-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-sitemap - npm Package Compare versions

Comparing version 0.3.1-alpha.2 to 0.3.1-alpha.3

4

dist/__tests__/SitemapWriterXml-test.js

@@ -69,3 +69,3 @@ "use strict";

_a.sent();
return [4 /*yield*/, stream.add([{ url: '/bar', lastModified: new Date(2017, 12, 26) }])];
return [4 /*yield*/, stream.add([{ url: '/bar', lastModified: new Date(2018, 0, 14) }])];
case 3:

@@ -95,3 +95,3 @@ _a.sent();

'\n',
'<url><loc>/bar</loc><lastmod>2018-1-26</lastmod></url>',
'<url><loc>/bar</loc><lastmod>2018-01-14</lastmod></url>',
'\n',

@@ -98,0 +98,0 @@ '</urlset>'

@@ -52,3 +52,9 @@ "use strict";

if (date === void 0) { date = new Date(); }
return date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
var month = (date.getMonth() + 1).toString();
if (month.length < 2)
month = '0' + month;
var day = date.getDate().toString();
if (day.length < 2)
day = '0' + day;
return date.getFullYear() + "-" + month + "-" + day;
}

@@ -55,0 +61,0 @@ var SitemapWriterXml = /** @class */ (function (_super) {

{
"name": "multi-sitemap",
"version": "0.3.1-alpha.2",
"version": "0.3.1-alpha.3",
"description": "Painless creation of large dynamic sitemaps that consist of multiple files.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/amannn/multi-sitemap",

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