Commit Graph

28 Commits

Author SHA1 Message Date
Matt R. Wilson
0b3ad10e81 [@types/request] Update cookie implementation. (#22165)
Add `@types/tough-cookie` as a dependency to correctly implement the
structure used by requests.
https://github.com/request/request/blob/master/lib/cookies.js
2018-01-09 11:24:38 -08:00
Matt R. Wilson
888c6e79ab
Fill out initParams of RequestAPI.
This method has the same signature as the verb functions as the args get
passed directly to `initParams` from all the verb functions.
https://github.com/request/request/blob/master/index.js#L58-L5
2017-11-28 08:43:05 -07:00
segayuu
fd1c81d5df cleanup lint error: object-literal-key-quotes 2017-10-30 12:31:52 +09:00
segayuu
fb7564f1c0 cleanup lint error: no-consecutive-blank-lines 2017-10-30 12:22:26 +09:00
segayuu
0e3e3e4c81 cleanup lint error: triple-equals 2017-10-30 12:20:55 +09:00
segayuu
964a5b5515 cleanup lint error: prefer-template 2017-10-30 12:13:40 +09:00
segayuu
63cf38db03 cleanup lint error: no-var-requires 2017-10-30 11:55:47 +09:00
segayuu
9e6d73176f cleanup lint error: one-variable-per-declaration 2017-10-30 11:54:20 +09:00
segayuu
c775fd5830 cleanup lint error: no-void-expression 2017-10-30 11:49:50 +09:00
segayuu
6cffeea864 cleanup lint error: prefer-switch 2017-10-30 11:46:03 +09:00
segayuu
fd9dffdd7c cleanup lint error: semicolon 2017-10-30 11:23:03 +09:00
segayuu
7439f6d08f cleanup lint errors: whitespace, typedef-whitespace, space-within-parens, space-before-function-paren 2017-10-30 11:20:34 +09:00
segayuu
a2e8bfda4e cleanup lint error: ban-comma-operator 2017-10-30 11:16:35 +09:00
segayuu
0339b28f80 cleanup lint error: one-line 2017-10-30 11:13:49 +09:00
segayuu
a3adeb702e Cleanup lint error: only-arrow-functions 2017-10-30 11:09:29 +09:00
segayuu
3c49d1b237 cleanup lint error: no-padding 2017-10-30 11:03:19 +09:00
segayuu
2dde57da14 cleanup lint error: comment-format 2017-10-30 10:57:56 +09:00
segayuu
b00a7ff72a cleanup lint error: trim-file 2017-10-30 10:54:58 +09:00
Oliver Joseph Ash
2be8cb24b6 Correct return type of Node querystring.parse (#20651)
* Correct return type of Node querystring.parse

https://nodejs.org/api/querystring.html#querystring_querystring_parse_str_sep_eq_options

* request-promise-native: require TS 2.2 to fix error from Node typings

* Node querystring.parse: return type: query value as array of strings

* Fix tests for request, request-promise, request-promise-native
2017-10-18 08:51:36 -07:00
segayuu
90649b73fe [Bluebird] cleanup lint errors (#20449)
* Cleanup Lint Error: ban-types

* Cleanup lint error: unified-signatures(exclude Promise.props())

* Cleanup lint error: array-type

* Setting max-line-length not to exceed current length

* Cleanup lint error: one-line

* Cleanup lint error: lintstrict-export-declare-modifiers

* [request] toJSON() return Object => object
2017-10-12 13:41:30 -07:00
Oz Weiss
19de2783df OAuthOptions.body_hash (#20182) 2017-10-04 11:03:19 -07:00
Jon Stevens
8887543504 Add optional tunnel boolean 2017-08-18 17:08:01 +07:00
Martin Zagora
c85c55bfe1 fixing request tests to pass strictNullChecks (#18596) 2017-08-14 13:19:51 -07:00
Vesa Poikajärvi
ece0190b35 [request] Add rejectUnauthorized to options (#18784) 2017-08-14 12:03:16 -07:00
Nathan Shively-Sanders
a8ead39f70 Fix weak type errors in request tests 2017-06-16 10:08:42 -07:00
e020873
8455c29f95 [request] fix DefaultUriUrlRequestApi 2017-06-15 09:48:23 +02:00
Denis Vishniakov
06303669ae Fixed missing request.OAuthOptions.transport_method (#15927) 2017-05-04 18:07:03 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00