Comparing version 0.1.4 to 0.1.5
@@ -44,3 +44,3 @@ { | ||
"scripts": {}, | ||
"version": "0.1.4" | ||
"version": "0.1.5" | ||
} |
@@ -102,3 +102,3 @@ 'use strict' | ||
if (entry.image) { | ||
const type = new URL(entry.image).pathname.split('.')[1] | ||
const type = new URL(entry.image).pathname.split('.').slice(-1)[0] | ||
item.enclosure = { _attributes: { url: entry.image, length: 0, type: `image/${type}` } } | ||
@@ -105,0 +105,0 @@ } |
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
14795