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

sitemap-javascript

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-javascript - npm Package Compare versions

Comparing version 1.1.10 to 1.2.1

12

dist/lib/sitemap-item-stream.js

@@ -128,2 +128,14 @@ "use strict";

}
if (item.image_link) {
this.push((0, sitemap_xml_1.element)(types_1.TagNames.image_link, item.image_link));
}
if (item.availability) {
this.push((0, sitemap_xml_1.element)(types_1.TagNames.availability, item.availability));
}
if (item.id) {
this.push((0, sitemap_xml_1.element)(types_1.TagNames.id, item.id));
}
if (item.brand) {
this.push((0, sitemap_xml_1.element)(types_1.TagNames.brand, item.brand));
}
item.video.forEach((video) => {

@@ -130,0 +142,0 @@ this.push((0, sitemap_xml_1.otag)(types_1.TagNames['video:video']));

@@ -349,2 +349,6 @@ /// <reference types="node" />

versionDescription?: string;
image_link?: string;
availability?: string;
id?: string;
brand?: string;
}

@@ -419,2 +423,6 @@ /**

versionDescription = "versionDescription",
image_link = "image_link",
availability = "availability",
id = "id",
brand = "brand",
'address:loc' = "address:loc",

@@ -421,0 +429,0 @@ 'address:address' = "address:address",

4

dist/lib/types.js

@@ -117,2 +117,6 @@ "use strict";

TagNames["versionDescription"] = "versionDescription";
TagNames["image_link"] = "image_link";
TagNames["availability"] = "availability";
TagNames["id"] = "id";
TagNames["brand"] = "brand";
TagNames["address:loc"] = "address:loc";

@@ -119,0 +123,0 @@ TagNames["address:address"] = "address:address";

2

package.json
{
"name": "sitemap-javascript",
"version": "1.1.10",
"version": "1.2.1",
"description": "Sitemap-generating lib/cli",

@@ -5,0 +5,0 @@ "keywords": [

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