Socket
Socket
Sign inDemoInstall

podcast-xml-parser

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

podcast-xml-parser - npm Package Compare versions

Comparing version 3.0.0-beta.7 to 3.0.0-beta.8

2

lib/transform/transformPodcast.d.ts

@@ -10,3 +10,3 @@ import { Episode, Podcast } from "../types";

*/
export declare function getAttribute(obj: any, path: string, defaultValue?: string): string;
export declare function getAttribute(obj: any, path: string, defaultValue?: string): string | number;
/**

@@ -13,0 +13,0 @@ * Ensures that the input is an array. If the input is not an array, it is wrapped in an array.

@@ -105,2 +105,3 @@ "use strict";

itunesImage: getAttribute(item, "itunes:image.@_href"),
itunesSeason: getAttribute(item, "itunes:season"),
itunesSubtitle: getAttribute(item, "itunes:subtitle"),

@@ -107,0 +108,0 @@ itunesSummary: getAttribute(item, "itunes:summary"),

@@ -12,6 +12,7 @@ export interface Episode {

itunesDuration: number;
itunesEpisode: string;
itunesEpisode: number;
itunesEpisodeType: string;
itunesExplicit: string;
itunesImage: string;
itunesSeason: number;
itunesSubtitle: string;

@@ -18,0 +19,0 @@ itunesSummary: string;

{
"name": "podcast-xml-parser",
"version": "3.0.0-beta.7",
"version": "3.0.0-beta.8",
"description": "🎙 Parse podcast feeds in browsers, React Native, or Node.js environments.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -321,6 +321,7 @@ <!-- HIDE_SECTION_START -->

itunesDuration: number;
itunesEpisode: string;
itunesEpisode: number;
itunesEpisodeType: string;
itunesExplicit: string;
itunesImage: string;
itunesSeason: number;
itunesSubtitle: string;

@@ -327,0 +328,0 @@ itunesSummary: string;

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