@cloudflare/util-http
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="1.2.1"></a> | ||
## [1.2.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.2.0...@cloudflare/util-http@1.2.1) (2018-11-19) | ||
**Note:** Version bump only for package @cloudflare/util-http | ||
<a name="1.2.0"></a> | ||
@@ -18,3 +26,3 @@ # [1.2.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.1.1...@cloudflare/util-http@1.2.0) (2018-10-30) | ||
<a name="1.1.1"></a> | ||
<a name="1.1.1"></a> | ||
## [1.1.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.1.0...@cloudflare/util-http@1.1.1) (2018-10-29) | ||
@@ -27,3 +35,3 @@ | ||
<a name="1.1.0"></a> | ||
<a name="1.1.0"></a> | ||
# [1.1.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.0.18...@cloudflare/util-http@1.1.0) (2018-10-25) | ||
@@ -39,3 +47,3 @@ | ||
<a name="1.0.18"></a> | ||
<a name="1.0.18"></a> | ||
## [1.0.18](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.0.17...@cloudflare/util-http@1.0.18) (2018-10-12) | ||
@@ -42,0 +50,0 @@ |
@@ -261,6 +261,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
} | ||
/** | ||
* Perform a GET request. | ||
*/ | ||
export function get() { | ||
@@ -267,0 +267,0 @@ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
@@ -280,7 +280,6 @@ "use strict"; | ||
} | ||
/** | ||
* Perform a GET request. | ||
*/ | ||
function get() { | ||
@@ -287,0 +286,0 @@ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
{ | ||
"name": "@cloudflare/util-http", | ||
"description": "Cloudflare HTTP Util", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "es/index.js", |
@@ -241,8 +241,8 @@ import 'isomorphic-fetch'; | ||
type HttpMethodParmas = [string, THttpUtilOptions | TCallback, TCallback]; | ||
/** | ||
* Perform a GET request. | ||
*/ | ||
export function get( | ||
...args: [string, THttpUtilOptions | TCallback, TCallback] | ||
): Promise<IWrappedResponse> { | ||
export function get(...args: HttpMethodParmas): Promise<IWrappedResponse> { | ||
return request('GET', ...args); | ||
@@ -249,0 +249,0 @@ } |
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
41342
10
880