Comparing version 3.1.2 to 3.1.3
@@ -0,1 +1,7 @@ | ||
## 16 April 2019 | ||
### [3.1.3](https://github.com/rqt/rqt/compare/v3.1.2...v3.1.3) | ||
- [deps] Update `aqt` to handle cases when no _Content-Type_ is returned; unfix deps. | ||
## 3 February 2019 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "rqt", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Easy-To-Use Request Library That Supports String, JSON And Buffer Requests, Timeouts, GZip Compression And Session Maintenance.", | ||
@@ -19,3 +19,4 @@ "main": "build", | ||
"build": "yarn-s d b doc", | ||
"example/rqt.js": "node example example/rqt.js" | ||
"example/rqt.js": "node example example/rqt.js", | ||
"e": "alanode" | ||
}, | ||
@@ -49,14 +50,14 @@ "repository": { | ||
"devDependencies": { | ||
"@idio/core": "1.2.0", | ||
"@wrote/read": "1.0.2", | ||
"alamode": "1.7.3", | ||
"documentary": "1.21.1", | ||
"@idio/core": "^1.3.6", | ||
"@wrote/read": "^1.0.4", | ||
"alamode": "^1.9.3", | ||
"documentary": "^1.23.4", | ||
"eslint-config-artdeco": "1.0.1", | ||
"https-context": "1.0.3", | ||
"https-context": "^1.0.3", | ||
"yarn-s": "1.1.0", | ||
"zoroaster": "3.6.6" | ||
"zoroaster": "^3.11.5" | ||
}, | ||
"dependencies": { | ||
"@rqt/aqt": "1.2.3" | ||
"@rqt/aqt": "^1.2.5" | ||
} | ||
} |
@@ -53,14 +53,14 @@ # rqt | ||
`import('http').OutgoingHttpHeaders` __<a name="type-outgoinghttpheaders">`OutgoingHttpHeaders`</a>__ | ||
`import('http').OutgoingHttpHeaders` __<a name="type-httpoutgoinghttpheaders">`http.OutgoingHttpHeaders`</a>__ | ||
__<a name="type-options">`Options`</a>__: Options for requests. | ||
| Name | Type | Description | Default | | ||
| -------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------- | | ||
| data | _*_ | Optional data to send to the server with the request. | - | | ||
| type | _'form'\|'json'_ | How to send data: `json` to serialise JSON data and `form` for url-encoded transmission with `json` mode by default. | `'json'` | | ||
| headers | _[OutgoingHttpHeaders](#type-outgoinghttpheaders)_ | Headers to use for the request. | - | | ||
| compress | _boolean_ | Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. | `true` | | ||
| method | _string_ | What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`. | - | | ||
| timeout | _number_ | Timeout after which the request should cancel. | - | | ||
| Name | Type | Description | Default | | ||
| -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------- | | ||
| data | _*_ | Optional data to send to the server with the request. | - | | ||
| type | _'form' \| 'json'_ | How to send data: `json` to serialise JSON data and `form` for url-encoded transmission with `json` mode by default. | `'json'` | | ||
| headers | _[http.OutgoingHttpHeaders](#type-httpoutgoinghttpheaders)_ | Headers to use for the request. | - | | ||
| compress | _boolean_ | Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. | `true` | | ||
| method | _string_ | What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`. | - | | ||
| timeout | _number_ | Timeout after which the request should cancel. | - | | ||
@@ -213,27 +213,27 @@ <p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/2.svg?sanitize=true"></a></p> | ||
`import('http').OutgoingHttpHeaders` __<a name="type-outgoinghttpheaders">`OutgoingHttpHeaders`</a>__ | ||
`import('http').OutgoingHttpHeaders` __<a name="type-httpoutgoinghttpheaders">`http.OutgoingHttpHeaders`</a>__ | ||
__<a name="type-aqtoptions">`AqtOptions`</a>__: Configuration for requests. | ||
| Name | Type | Description | Default | | ||
| ----------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------- | | ||
| __data*__ | _Object_ | Optional data to send to the server with the request. | - | | ||
| type | _'form'\|'json'_ | How to send data: `json` to serialise JSON data and `form` for url-encoded transmission with `json` mode by default. | `'json'` | | ||
| headers | _[OutgoingHttpHeaders](#type-outgoinghttpheaders)_ | Headers to use for the request. | - | | ||
| compress | _boolean_ | Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. | `true` | | ||
| timeout | _number_ | The timeout after which the request should fail. | - | | ||
| method | _string_ | What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`. | - | | ||
| binary | _boolean_ | Whether to return a buffer instead of a string. | `false` | | ||
| justHeaders | _boolean_ | Whether to stop the request after response headers were received, without waiting for the data. | `false` | | ||
| Name | Type | Description | Default | | ||
| ----------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------- | | ||
| __data*__ | _Object_ | Optional data to send to the server with the request. | - | | ||
| type | _'form' \| 'json'_ | How to send data: `json` to serialise JSON data and `form` for url-encoded transmission with `json` mode by default. | `'json'` | | ||
| headers | _[http.OutgoingHttpHeaders](#type-httpoutgoinghttpheaders)_ | Headers to use for the request. | - | | ||
| compress | _boolean_ | Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. | `true` | | ||
| timeout | _number_ | The timeout after which the request should fail. | - | | ||
| method | _string_ | What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`. | - | | ||
| binary | _boolean_ | Whether to return a buffer instead of a string. | `false` | | ||
| justHeaders | _boolean_ | Whether to stop the request after response headers were received, without waiting for the data. | `false` | | ||
`import('http').IncomingHttpHeaders` __<a name="type-incominghttpheaders">`IncomingHttpHeaders`</a>__ | ||
`import('http').IncomingHttpHeaders` __<a name="type-httpincominghttpheaders">`http.IncomingHttpHeaders`</a>__ | ||
__<a name="type-aqtreturn">`AqtReturn`</a>__ | ||
| Name | Type | Description | | ||
| ------------------ | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| __body*__ | _string\|object\|Buffer_ | The return from the server. In case the `json` content-type was set by the server, the response will be parsed into an object. If `binary` option was used for the request, a `Buffer` will be returned. Otherwise, a string response is returned. | | ||
| __headers*__ | _[IncomingHttpHeaders](#type-incominghttpheaders)_ | Incoming headers returned by the server. | | ||
| __statusCode*__ | _number_ | The status code returned by the server. | | ||
| __statusMessage*__ | _string_ | The status message set by the server. | | ||
| Name | Type | Description | | ||
| ------------------ | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| __body*__ | _string \| Object \| Buffer_ | The return from the server. In case the `json` content-type was set by the server, the response will be parsed into an object. If `binary` option was used for the request, a `Buffer` will be returned. Otherwise, a string response is returned. | | ||
| __headers*__ | _[http.IncomingHttpHeaders](#type-httpincominghttpheaders)_ | Incoming headers returned by the server. | | ||
| __statusCode*__ | _number_ | The status code returned by the server. | | ||
| __statusMessage*__ | _string_ | The status message set by the server. | | ||
@@ -252,6 +252,6 @@ <p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/6.svg?sanitize=true"></a></p> | ||
| Name | Type | Description | | ||
| ------- | -------------------------------------------------- | ------------------------------------------------------ | | ||
| host | _string_ | The prefix to each request, such as `https://rqt.biz`. | | ||
| headers | _[OutgoingHttpHeaders](#type-outgoinghttpheaders)_ | Headers to use for each request. | | ||
| Name | Type | Description | | ||
| ------- | --------------------- | ------------------------------------------------------ | | ||
| host | _string_ | The prefix to each request, such as `https://rqt.biz`. | | ||
| headers | _OutgoingHttpHeaders_ | Headers to use for each request. | | ||
@@ -383,14 +383,10 @@ The methods in the _Session_ class are proxied to the respective methods in the API, but the cookies and session's headers will be set automatically. | ||
</th> | ||
<th>© <a href="https://artd.eco">Art Deco</a> for <a href="https://rqt.biz">Rqt</a> 2019</th> | ||
<th> | ||
© <a href="https://artd.eco">Art Deco</a> for <a href="https://rqt.biz">Rqt</a> | ||
2019 | ||
</th> | ||
<th> | ||
<a href="https://www.technation.sucks" title="Tech Nation Visa"> | ||
<img src="https://raw.githubusercontent.com/artdecoweb/www.technation.sucks/master/anim.gif" alt="Tech Nation Visa" /> | ||
<img src="https://raw.githubusercontent.com/artdecoweb/www.technation.sucks/master/anim.gif" | ||
alt="Tech Nation Visa" /> | ||
</a> | ||
</th> | ||
<th> | ||
<a href="https://www.technation.sucks">Tech Nation Visa Sucks</a> | ||
</th> | ||
<th><a href="https://www.technation.sucks">Tech Nation Visa Sucks</a></th> | ||
</tr> | ||
@@ -397,0 +393,0 @@ </table> |
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
52588
391
+ Added@rqt/aqt@1.4.0(transitive)
- Removed@artdeco/clean-stack@1.0.1(transitive)
- Removed@rqt/aqt@1.2.3(transitive)
- Removedcatchment@3.2.2(transitive)
- Removederotic@2.0.2(transitive)
Updated@rqt/aqt@^1.2.5