wikipedia
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -23,3 +23,3 @@ export interface searchOptions { | ||
} | ||
export declare type pageFunctions = 'summary' | 'images' | 'intro' | 'html' | 'content' | 'categories' | 'links' | 'references' | 'coordinates' | 'langLinks' | 'infobox' | 'tables' | 'related'; | ||
export type pageFunctions = 'summary' | 'images' | 'intro' | 'html' | 'content' | 'categories' | 'links' | 'references' | 'coordinates' | 'langLinks' | 'infobox' | 'tables' | 'related'; | ||
export interface eventOptions { | ||
@@ -35,6 +35,6 @@ type?: eventTypes; | ||
} | ||
export declare type eventTypes = 'all' | 'selected' | 'births' | 'deaths' | 'events' | 'holidays'; | ||
export declare type randomFormats = 'title' | 'summary' | 'related' | 'mobile-sections' | 'mobile-sections-lead'; | ||
export declare type format = 'a4' | 'letter' | 'legal'; | ||
export declare type pdfType = 'desktop' | 'mobile'; | ||
export type eventTypes = 'all' | 'selected' | 'births' | 'deaths' | 'events' | 'holidays'; | ||
export type randomFormats = 'title' | 'summary' | 'related' | 'mobile-sections' | 'mobile-sections-lead'; | ||
export type format = 'a4' | 'letter' | 'legal'; | ||
export type pdfType = 'desktop' | 'mobile'; | ||
export interface pdfOptions { | ||
@@ -45,2 +45,2 @@ autoSuggest?: boolean; | ||
} | ||
export declare type citationFormat = 'mediawiki' | 'mediawiki-basefields' | 'zotero' | 'bibtex' | 'wikibase'; | ||
export type citationFormat = 'mediawiki' | 'mediawiki-basefields' | 'zotero' | 'bibtex' | 'wikibase'; |
{ | ||
"name": "wikipedia", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "A JavaScript wrapper for the wikipedia apis", | ||
@@ -25,13 +25,13 @@ "main": "dist", | ||
"devDependencies": { | ||
"@types/infobox-parser": "^3.3.0", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^13.13.5", | ||
"@types/infobox-parser": "^3.3.1", | ||
"@types/jest": "^29.2.4", | ||
"@types/node": "^18.11.17", | ||
"@types/node-fetch": "^2.5.7", | ||
"@typescript-eslint/eslint-plugin": "^4.5.0", | ||
"@typescript-eslint/parser": "^4.5.0", | ||
"eslint": "^7.11.0", | ||
"eslint-plugin-tsdoc": "^0.2.7", | ||
"jest": "^26.6.1", | ||
"ts-jest": "^26.4.3", | ||
"typescript": "^4.4.4" | ||
"@typescript-eslint/eslint-plugin": "^5.47.0", | ||
"@typescript-eslint/parser": "^5.47.0", | ||
"eslint": "^8.30.0", | ||
"eslint-plugin-tsdoc": "^0.2.17", | ||
"jest": "^29.3.1", | ||
"ts-jest": "^29.0.3", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -43,4 +43,4 @@ "files": [ | ||
"dependencies": { | ||
"infobox-parser": "^3.4.1", | ||
"node-fetch": "^2.6.1" | ||
"infobox-parser": "^3.6.2", | ||
"node-fetch": "2.6.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "keywords": [ |
@@ -159,3 +159,3 @@ # WIKIPEDIA [![build](https://github.com/dopecodez/Wikipedia/workflows/build/badge.svg)](https://github.com/dopecodez/Wikipedia/actions) [![Test Coverage](https://api.codeclimate.com/v1/badges/a44c826dbef8c7f5ea45/test_coverage)](https://codeclimate.com/github/dopecodez/Wikipedia/test_coverage) [![Contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dopecodez/Wikipedia/issues) [![npm version](https://badge.fury.io/js/wikipedia.svg)](https://badge.fury.io/js/wikipedia) | ||
<!-- readme: contributors -start --> | ||
<!-- readme: contributors -start --> | ||
<table> | ||
@@ -205,2 +205,10 @@ <tr> | ||
</td></tr> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://github.com/bigmistqke"> | ||
<img src="https://avatars.githubusercontent.com/u/10504064?v=4" width="100;" alt="bigmistqke"/> | ||
<br /> | ||
<sub><b>Bigmistqke</b></sub> | ||
</a> | ||
</td></tr> | ||
</table> | ||
@@ -207,0 +215,0 @@ <!-- readme: contributors -end --> |
111395
224
+ Addednode-fetch@2.6.1(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedinfobox-parser@^3.6.2
Updatednode-fetch@2.6.1