Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/util-http

Package Overview
Dependencies
Maintainers
18
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/util-http - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

index.d.ts

14

CHANGELOG.md

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc