Socket
Socket
Sign inDemoInstall

rqt

Package Overview
Dependencies
4
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.1.2

10

build/lib/index.js

@@ -11,3 +11,3 @@ let aqt = require('@rqt/aqt'); if (aqt && aqt.__esModule) aqt = aqt.default;

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -30,3 +30,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -49,3 +49,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -72,3 +72,3 @@ */

* @param {boolean} [config.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [config.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [config.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [config.timeout] Timeout after which the request should cancel.

@@ -92,3 +92,3 @@ */

* @prop {boolean} [compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {number} [timeout] Timeout after which the request should cancel.

@@ -95,0 +95,0 @@ */

@@ -31,3 +31,3 @@ let aqt = require('@rqt/aqt'); if (aqt && aqt.__esModule) aqt = aqt.default;

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -49,3 +49,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -70,3 +70,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -95,3 +95,3 @@ */

* @param {number} [options.timeout] The timeout after which the request should fail.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {boolean} [options.binary=false] Whether to return a buffer instead of a string. Default `false`.

@@ -189,3 +189,3 @@ * @param {boolean} [options.justHeaders=false] Whether to stop the request after response headers were received, without waiting for the data. Default `false`.

* @prop {boolean} [compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {number} [timeout] Timeout after which the request should cancel.

@@ -211,3 +211,3 @@ */

* @prop {number} [timeout] The timeout after which the request should fail.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {boolean} [binary=false] Whether to return a buffer instead of a string. Default `false`.

@@ -214,0 +214,0 @@ * @prop {boolean} [justHeaders=false] Whether to stop the request after response headers were received, without waiting for the data. Default `false`.

## 3 February 2019
### 3.1.2
- [fix] Update `@rqt/aqt` to set the method even with an empty body.
### 3.1.1

@@ -4,0 +8,0 @@

{
"name": "rqt",
"version": "3.1.1",
"version": "3.1.2",
"description": "Easy-To-Use Request Library That Supports String, JSON And Buffer Requests, Timeouts, GZip Compression And Session Maintenance.",

@@ -58,4 +58,4 @@ "main": "build",

"dependencies": {
"@rqt/aqt": "1.2.2"
"@rqt/aqt": "1.2.3"
}
}

@@ -63,3 +63,3 @@ # rqt

| 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 to send data. | `POST` |
| 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. | - |

@@ -224,3 +224,3 @@

| timeout | _number_ | The timeout after which the request should fail. | - |
| method | _string_ | What HTTP method to use to send data. | `POST` |
| 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` |

@@ -227,0 +227,0 @@ | justHeaders | _boolean_ | Whether to stop the request after response headers were received, without waiting for the data. | `false` |

@@ -11,3 +11,3 @@ import aqt from '@rqt/aqt'

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -30,3 +30,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -49,3 +49,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -72,3 +72,3 @@ */

* @param {boolean} [config.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [config.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [config.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [config.timeout] Timeout after which the request should cancel.

@@ -92,4 +92,4 @@ */

* @prop {boolean} [compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {number} [timeout] Timeout after which the request should cancel.
*/

@@ -31,3 +31,3 @@ import aqt from '@rqt/aqt'

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -49,3 +49,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -70,3 +70,3 @@ */

* @param {boolean} [options.compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {number} [options.timeout] Timeout after which the request should cancel.

@@ -95,3 +95,3 @@ */

* @param {number} [options.timeout] The timeout after which the request should fail.
* @param {string} [options.method="POST"] What HTTP method to use to send data. Default `POST`.
* @param {string} [options.method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @param {boolean} [options.binary=false] Whether to return a buffer instead of a string. Default `false`.

@@ -189,3 +189,3 @@ * @param {boolean} [options.justHeaders=false] Whether to stop the request after response headers were received, without waiting for the data. Default `false`.

* @prop {boolean} [compress=true] Add the `Accept-Encoding: gzip, deflate` header to indicate to the server that it can send a compressed response. Default `true`.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {number} [timeout] Timeout after which the request should cancel.

@@ -211,5 +211,5 @@ */

* @prop {number} [timeout] The timeout after which the request should fail.
* @prop {string} [method="POST"] What HTTP method to use to send data. Default `POST`.
* @prop {string} [method] What HTTP method to use in making of the request. When no method is given and `data` is present, defaults to `POST`.
* @prop {boolean} [binary=false] Whether to return a buffer instead of a string. Default `false`.
* @prop {boolean} [justHeaders=false] Whether to stop the request after response headers were received, without waiting for the data. Default `false`.
*/
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc