@capacitor-community/http
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -95,3 +95,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
// remove "expires=" so you can pass with or without the prefix | ||
expires = `; expires=${options.expires.replace('expires=', '')}`; | ||
expires = `; expires=${options.expires.replace(/expires=/gi, '')}`; | ||
} | ||
@@ -156,3 +156,3 @@ else if (options.ageDays) { | ||
if (!ret.ok) { | ||
return Promise.reject("Download file error: response not ok"); | ||
return Promise.reject('Download file error: response not ok'); | ||
} | ||
@@ -159,0 +159,0 @@ const blob = yield ret.blob(); |
{ | ||
"name": "@capacitor-community/http", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "A native HTTP plugin for CORS-free requests and file transfers", | ||
@@ -13,4 +13,3 @@ "main": "dist/esm/index.js", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"", | ||
"prepublishOnly": "npm run build", | ||
"npm-publish": "np" | ||
"prepublishOnly": "npm run build" | ||
}, | ||
@@ -20,8 +19,9 @@ "author": "Max Lynch <max@ionic.io>", | ||
"dependencies": { | ||
"@capacitor/core": "latest" | ||
"@capacitor/core": "2.4.7" | ||
}, | ||
"devDependencies": { | ||
"@capacitor/android": "latest", | ||
"@capacitor/ios": "latest", | ||
"@ionic/prettier-config": "^1.0.0", | ||
"@capacitor/android": "2.4.7", | ||
"@capacitor/ios": "2.4.7", | ||
"@ionic/prettier-config": "^1.0.1", | ||
"all-contributors-cli": "^6.20.0", | ||
"body-parser": "^1.19.0", | ||
@@ -34,7 +34,6 @@ "compression": "^1.7.4", | ||
"multer": "^1.4.2", | ||
"np": "^6.2.3", | ||
"prettier": "^2.0.5", | ||
"prettier-plugin-java": "^0.8.0", | ||
"pretty-quick": "^2.0.1", | ||
"rimraf": "^3.0.0", | ||
"prettier": "^2.3.0", | ||
"prettier-plugin-java": "^1.1.1", | ||
"pretty-quick": "^3.1.0", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^3.2.4" | ||
@@ -41,0 +40,0 @@ }, |
@@ -9,3 +9,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<p align="center"> | ||
<img src="https://img.shields.io/maintenance/yes/2020?style=flat-square" /> | ||
<img src="https://img.shields.io/maintenance/yes/2021?style=flat-square" /> | ||
<a href="https://github.com/capacitor-community/http/actions?query=workflow%3A%22Test+and+Build+Plugin%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/http/Test%20and%20Build%20Plugin?style=flat-square" /></a> | ||
@@ -17,6 +17,8 @@ <a href="https://www.npmjs.com/package/@capacitor-community/http"><img src="https://img.shields.io/npm/l/@capacitor-community/http?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-4-orange?style=flat-square" /></a> | ||
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-6-orange?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
</p> | ||
# This branch is for Capacitor 2.x. For Capacitor 3.x, see `https://github.com/capacitor-community/http/tree/master` | ||
## Maintainers | ||
@@ -27,2 +29,3 @@ | ||
| Max Lynch | [mlynch](https://github.com/mlynch) | [@maxlynch](https://twitter.com/maxlynch) | | ||
| Thomas Vidas | [thomasvidas](https://github.com/thomasvidas) | [@thomasvidas](https://twitter.com/thomasvidas) | | ||
@@ -186,14 +189,16 @@ ## Installation | ||
<tr> | ||
<td align="center"><a href="https://github.com/danielsogl"><img src="https://avatars2.githubusercontent.com/u/15234844?v=4" width="100px;" alt=""/><br /><sub><b>Daniel Sogl</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=danielsogl" title="Documentation">📖</a></td> | ||
<td align="center"><a href="http://priyankpatel.io"><img src="https://avatars3.githubusercontent.com/u/5585797?v=4" width="100px;" alt=""/><br /><sub><b>Priyank Patel</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=priyankpat" title="Code">💻</a></td> | ||
<td align="center"><a href="http://ionicframework.com/"><img src="https://avatars3.githubusercontent.com/u/11214?v=4" width="100px;" alt=""/><br /><sub><b>Max Lynch</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=mlynch" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/andysousa"><img src="https://avatars0.githubusercontent.com/u/42151009?v=4" width="100px;" alt=""/><br /><sub><b>Andy Sousa</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=andysousa" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/pixelbucket-dev"><img src="https://avatars3.githubusercontent.com/u/12937991?v=4" width="100px;" alt=""/><br /><sub><b>Falk Schieber</b></sub></a><br /><a href="https://github.com/capacitor-community/http/pulls?q=is%3Apr+reviewed-by%3Apixelbucket-dev" title="Reviewed Pull Requests">👀</a></td> | ||
<td align="center"><a href="https://github.com/danielsogl"><img src="https://avatars2.githubusercontent.com/u/15234844?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Sogl</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=danielsogl" title="Documentation">📖</a></td> | ||
<td align="center"><a href="http://priyankpatel.io"><img src="https://avatars3.githubusercontent.com/u/5585797?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Priyank Patel</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=priyankpat" title="Code">💻</a></td> | ||
<td align="center"><a href="http://ionicframework.com/"><img src="https://avatars3.githubusercontent.com/u/11214?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Max Lynch</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=mlynch" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/pixelbucket-dev"><img src="https://avatars3.githubusercontent.com/u/12937991?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Falk Schieber</b></sub></a><br /><a href="https://github.com/capacitor-community/http/pulls?q=is%3Apr+reviewed-by%3Apixelbucket-dev" title="Reviewed Pull Requests">👀</a></td> | ||
<td align="center"><a href="https://github.com/andysousa"><img src="https://avatars0.githubusercontent.com/u/42151009?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andy Sousa</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=andysousa" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/thomasvidas"><img src="https://avatars.githubusercontent.com/u/8182078?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thomas Vidas</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=thomasvidas" title="Code">💻</a> <a href="#maintenance-thomasvidas" title="Maintenance">🚧</a></td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-enable --> | ||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1146803
201
+ Added@capacitor/core@2.4.7(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@capacitor/core@6.0.0(transitive)
- Removedtslib@2.6.2(transitive)
Updated@capacitor/core@2.4.7