New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libj/http

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/http - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

dist/client/HttpClient.d.ts

@@ -5,5 +5,10 @@ import { HttpClientConfig, HttpRequestOptions, HttpResponse, HttpSubmitArgs } from './types';

constructor(config?: HttpClientConfig);
/*** Public ***/
get<D = LooseObject>(url: string, options?: HttpRequestOptions): Promise<HttpResponse<D>>;
post<D = LooseObject>(...args: HttpSubmitArgs): Promise<HttpResponse<D>>;
request<D = LooseObject>(url: string, options?: HttpRequestOptions): Promise<HttpResponse<D>>;
get interceptors(): {
request: import("axios").AxiosInterceptorManager<import("axios").AxiosRequestConfig>;
response: import("axios").AxiosInterceptorManager<import("axios").AxiosResponse<any>>;
};
/*** Private ***/

@@ -10,0 +15,0 @@ private agent;

@@ -30,2 +30,3 @@ "use strict";

}
/*** Public ***/
HttpClient.prototype.get = function (url, options) {

@@ -55,2 +56,7 @@ if (options === void 0) { options = {}; }

};
Object.defineProperty(HttpClient.prototype, "interceptors", {
get: function () { return this.agent.interceptors; },
enumerable: false,
configurable: true
});
HttpClient.prototype.processOptions = function (inOptions) {

@@ -57,0 +63,0 @@ var options = __assign({}, inOptions);

6

package.json
{
"dependencies": {
"@libj/http-meta": "0.1.0",
"@libj/http-meta": "0.1.1",
"axios": "^0.21.1",

@@ -9,3 +9,3 @@ "form-data": "^4.0.0",

"name": "@libj/http",
"version": "0.2.0",
"version": "0.2.1",
"description": "Http toolbox",

@@ -34,3 +34,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "569269235fb823d2d35933add6c86e1ee9eca888"
"gitHead": "57c6323fbb4e94f46188eb5ee8112757ee1edaa8"
}

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