@peertube/feed
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -184,3 +184,3 @@ "use strict"; | ||
scheme: "http://search.yahoo.com/mrss/category_schema", | ||
label: c.label | ||
label: (0, utils_1.sanitize)(c.label) | ||
} | ||
@@ -203,3 +203,3 @@ }); }); | ||
_attributes: { | ||
url: entry.embed.url | ||
url: (0, utils_1.sanitize)(entry.embed.url) | ||
} | ||
@@ -222,5 +222,5 @@ }; | ||
_attributes: { | ||
href: sub.href, | ||
type: sub.type, | ||
lang: sub.lang | ||
href: (0, utils_1.sanitize)(sub.href), | ||
type: (0, utils_1.sanitize)(sub.type), | ||
lang: (0, utils_1.sanitize)(sub.lang) | ||
} | ||
@@ -234,3 +234,3 @@ }; | ||
_attributes: { | ||
url: entry.player.url | ||
url: (0, utils_1.sanitize)(entry.player.url) | ||
} | ||
@@ -246,3 +246,3 @@ }; | ||
type: "application/x-bittorrent", | ||
href: t.url, | ||
href: (0, utils_1.sanitize)(t.url), | ||
isDefault: (Array.isArray(entry.videos) === false || ((_a = entry.videos) === null || _a === void 0 ? void 0 : _a.length) === 0) && i === 0 | ||
@@ -258,7 +258,7 @@ ? "true" | ||
_attributes: { | ||
type: v.type, | ||
medium: v.medium, | ||
type: (0, utils_1.sanitize)(v.type), | ||
medium: (0, utils_1.sanitize)(v.medium), | ||
height: v.height, | ||
fileSize: v.fileSize, | ||
url: v.url, | ||
url: (0, utils_1.sanitize)(v.url), | ||
framerate: v.framerate, | ||
@@ -280,3 +280,3 @@ duration: v.duration, | ||
_attributes: { | ||
url: t.url, | ||
url: (0, utils_1.sanitize)(t.url), | ||
height: t.height, | ||
@@ -283,0 +283,0 @@ width: t.width |
{ | ||
"name": "@peertube/feed", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Feed - PeerTube fork", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Chocobozzz/feed", |
@@ -258,3 +258,3 @@ import * as convert from 'xml-js' | ||
scheme: "http://search.yahoo.com/mrss/category_schema", | ||
label: c.label | ||
label: sanitize(c.label) | ||
} | ||
@@ -281,3 +281,3 @@ })) | ||
_attributes: { | ||
url: entry.embed.url | ||
url: sanitize(entry.embed.url) | ||
} | ||
@@ -303,5 +303,5 @@ } | ||
_attributes: { | ||
href: sub.href, | ||
type: sub.type, | ||
lang: sub.lang | ||
href: sanitize(sub.href), | ||
type: sanitize(sub.type), | ||
lang: sanitize(sub.lang) | ||
} | ||
@@ -317,3 +317,3 @@ } | ||
_attributes: { | ||
url: entry.player.url | ||
url: sanitize(entry.player.url) | ||
} | ||
@@ -330,3 +330,3 @@ } | ||
type: "application/x-bittorrent", | ||
href: t.url, | ||
href: sanitize(t.url), | ||
@@ -344,7 +344,7 @@ // Prefer defaulting obn videos | ||
_attributes: { | ||
type: v.type, | ||
medium: v.medium, | ||
type: sanitize(v.type), | ||
medium: sanitize(v.medium), | ||
height: v.height, | ||
fileSize: v.fileSize, | ||
url: v.url, | ||
url: sanitize(v.url), | ||
framerate: v.framerate, | ||
@@ -370,3 +370,3 @@ duration: v.duration, | ||
_attributes: { | ||
url: t.url, | ||
url: sanitize(t.url), | ||
height: t.height, | ||
@@ -373,0 +373,0 @@ width: t.width |
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
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
98385