Socket
Socket
Sign inDemoInstall

@extractus/feed-extractor

Package Overview
Dependencies
12
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.2.1-rc3 to 6.2.1-rc4

15

dist/cjs/index.d.ts

@@ -36,12 +36,2 @@ // Type definitions

/**
* include full content of feed entry if present
* default: false
*/
includeEntryContent?: boolean;
/**
* include optional elements if any
* default: false
*/
includeOptionalElements?: boolean;
/**
* convert datetime to ISO format

@@ -84,2 +74,7 @@ * default: true

export function extractFromXml(xml: string, options?: ReaderOptions): FeedData;
export function extractFromJson(json: string, options?: ReaderOptions): FeedData;
export function extract(url: string, options?: ReaderOptions, fetchOptions?: FetchOptions): Promise<FeedData>;
export function read(url: string, options?: ReaderOptions, fetchOptions?: FetchOptions): Promise<FeedData>;

@@ -26,3 +26,3 @@ // Type definitions

target?: string;
headers?: string[];
headers?: any;
}

@@ -62,11 +62,13 @@

export interface FetchOptions {
/**
* list of request headers
* default: null
*/
headers?: string[];
/**
* the values to configure proxy
* default: null
*/
// Definitions by: Ryan Graham <https://github.com/ryan-codingintrigue>
method?: "GET" | "POST" | "DELETE" | "PATCH" | "PUT" | "HEAD" | "OPTIONS" | "CONNECT";
headers?: any;
body?: any;
mode?: "cors" | "no-cors" | "same-origin";
credentials?: "omit" | "same-origin" | "include";
cache?: "default" | "no-store" | "reload" | "no-cache" | "force-cache" | "only-if-cached";
redirect?: "follow" | "error" | "manual";
referrer?: string;
referrerPolicy?: "referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "unsafe-url";
integrity?: any;
proxy?: ProxyConfig;

@@ -73,0 +75,0 @@ }

{
"version": "6.2.1rc3",
"version": "6.2.1rc4",
"name": "@extractus/feed-extractor",

@@ -4,0 +4,0 @@ "description": "To read and normalize RSS/ATOM/JSON feed data",

@@ -24,8 +24,2 @@ # feed-extractor

npm i @extractus/feed-extractor
# pnpm
pnpm i @extractus/feed-extractor
# yarn
yarn add @extractus/feed-extractor
```

@@ -32,0 +26,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc