@u-blox/custom-feed
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "@u-blox/custom-feed", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Feed is a RSS, Atom and JSON feed generator for Node.js, making content syndication simple and intuitive!", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/afar-ublox/custom-feed", |
@@ -5,6 +5,4 @@ import { Feed } from "../feed"; | ||
sampleFeed.addItem({ | ||
title: "Hello World", | ||
id: "https://example.com/hello-world?id=this&that=true", | ||
url: "https://example.com/hello-world?link=sanitized&value=2", | ||
@@ -14,3 +12,2 @@ links: [ | ||
title: "My Link", | ||
id: "https://example.com/hello-world?link=sanitized&value=2", | ||
url: "https://example.com/hello-world?link=sanitized&value=2", | ||
@@ -17,0 +14,0 @@ }, |
@@ -33,3 +33,4 @@ import * as convert from "xml-js"; | ||
title: { _attributes: { type: "html" }, _cdata: item.title }, | ||
link: [{ _attributes: { href: sanitize(item.url) } }] | ||
url: [{ _attributes: { href: sanitize(item.url) } }], | ||
links: item.links | ||
}; | ||
@@ -36,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53
42378
326
1