Comparing version 1.0.4 to 1.0.5
@@ -27,3 +27,3 @@ "use strict"; | ||
}; | ||
const response = await node_fetch_1.default(API_URL + search, options); | ||
const response = await node_fetch_1.default(new url_1.URL(API_URL + search), options); | ||
const responseBuffer = await response.buffer(); | ||
@@ -48,3 +48,3 @@ const result = JSON.parse(responseBuffer.toString()); | ||
}; | ||
const response = await node_fetch_1.default(REST_API_URL + path, options); | ||
const response = await node_fetch_1.default(new url_1.URL(REST_API_URL + path), options); | ||
const responseBuffer = await response.buffer(); | ||
@@ -51,0 +51,0 @@ const result = JSON.parse(responseBuffer.toString()); |
{ | ||
"name": "wikipedia", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A JavaScript wrapper for the wikipedia apis", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -134,2 +134,41 @@ # 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) | ||
## Contributors | ||
The project would not be the way it is without these rockstars. | ||
<!-- readme: contributors -start --> | ||
<table> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://github.com/dopecodez"> | ||
<img src="https://avatars.githubusercontent.com/u/34269105?v=4" width="100;" alt="dopecodez"/> | ||
<br /> | ||
<sub><b>Govind S</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/bumbummen99"> | ||
<img src="https://avatars.githubusercontent.com/u/4533331?v=4" width="100;" alt="bumbummen99"/> | ||
<br /> | ||
<sub><b>Patrick</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/0xflotus"> | ||
<img src="https://avatars.githubusercontent.com/u/26602940?v=4" width="100;" alt="0xflotus"/> | ||
<br /> | ||
<sub><b>0xflotus</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/zaccolley"> | ||
<img src="https://avatars.githubusercontent.com/u/2591901?v=4" width="100;" alt="zaccolley"/> | ||
<br /> | ||
<sub><b>Zac Colley</b></sub> | ||
</a> | ||
</td></tr> | ||
</table> | ||
<!-- readme: contributors -end --> | ||
[1]: https://github.com/dopecodez/wikipedia/blob/master/CONTRIBUTING.md | ||
@@ -136,0 +175,0 @@ [2]: https://github.com/dopecodez/wikipedia/blob/master/docs/PAGE.md |
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
94517
182