Skip to content

Commit

Permalink
Merge pull request #344 from extractus/7.2.15
Browse files Browse the repository at this point in the history
v7.2.15
  • Loading branch information
ndaidong authored May 6, 2023
2 parents e539578 + c47cc1f commit 7a51b44
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/article-extractor.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/article-extractor.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/cjs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ export interface ParserOptions {

export interface ProxyConfig {
target?: string;
headers?: string[];
headers?: Record<string, string>;
}

export interface FetchOptions {
/**
* list of request headers
* default: null
*/
headers?: string[];
headers?: Record<string, string>;
/**
* the values to configure proxy
* default: null
Expand Down
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ export interface ParserOptions {

export interface ProxyConfig {
target?: string;
headers?: string[];
headers?: Record<string, string>;
}

export interface FetchOptions {
/**
* list of request headers
* default: null
*/
headers?: string[];
headers?: Record<string, string>;
/**
* the values to configure proxy
* default: null
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@mozilla/readability": "^0.4.4",
"bellajs": "^11.1.2",
"cross-fetch": "^3.1.5",
"fastest-levenshtein": "^1.0.16",
"linkedom": "^0.14.26",
"sanitize-html": "2.10.0"
},
Expand Down

0 comments on commit 7a51b44

Please sign in to comment.