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

http-call

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-call - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

32

lib/http.js

@@ -7,2 +7,9 @@ 'use strict';

exports.HTTPError = undefined;
exports.get = get;
exports.post = post;
exports.put = put;
exports.patch = patch;
exports.hdelete = hdelete;
exports.stream = stream;
exports.request = request;

@@ -300,2 +307,25 @@ var _util = require('util');

}
exports.HTTPError = HTTPError;
exports.HTTPError = HTTPError; // commonjs helpers
function get(url, options = {}) {
return HTTP.get(url, options);
}
function post(url, options = {}) {
return HTTP.post(url, options);
}
function put(url, options = {}) {
return HTTP.put(url, options);
}
function patch(url, options = {}) {
return HTTP.patch(url, options);
}
function hdelete(url, options = {}) {
return HTTP.delete(url, options);
}
function stream(url, options = {}) {
return HTTP.stream(url, options);
}
function request(url, options = {}) {
return HTTP.request(url, options);
}

2

package.json
{
"name": "http-call",
"description": "make http requests",
"version": "2.1.5",
"version": "2.1.6",
"author": "Jeff Dickey @dickeyxxx",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/dickeyxxx/http-call/issues",

Sorry, the diff of this file is not supported yet

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