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

@trayio/axios

Package Overview
Dependencies
Maintainers
4
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trayio/axios - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

2

dist/http/AxiosHttpClient.d.ts

@@ -8,3 +8,3 @@ import * as TE from 'fp-ts/TaskEither';

private readonly fileStorage;
constructor(fileStorage: FileStorage);
constructor(fileStorage?: FileStorage);
execute(method: HttpMethod, url: string, request: HttpRequest): TE.TaskEither<Error, HttpResponse>;

@@ -11,0 +11,0 @@ private axiosErrorToHttpResponse;

@@ -36,4 +36,5 @@ "use strict";

const FormData = require("form-data");
const NodeFsFileStorage_1 = require("@trayio/commons/file/NodeFsFileStorage");
class AxiosHttpClient {
constructor(fileStorage) {
constructor(fileStorage = new NodeFsFileStorage_1.NodeFsFileStorage()) {
this.fileStorage = fileStorage;

@@ -40,0 +41,0 @@ this.appendFields = (formData) => (fields) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const NodeFsFileStorage_1 = require("@trayio/commons/file/NodeFsFileStorage");
const HttpClient_abstract_test_1 = require("@trayio/commons/http/HttpClient.abstract.test");
const AxiosHttpClient_1 = require("./AxiosHttpClient");
(0, HttpClient_abstract_test_1.httpClientTest)(new AxiosHttpClient_1.AxiosHttpClient(new NodeFsFileStorage_1.NodeFsFileStorage()));
(0, HttpClient_abstract_test_1.httpClientTest)(new AxiosHttpClient_1.AxiosHttpClient());
{
"name": "@trayio/axios",
"version": "1.9.0",
"version": "1.9.1",
"description": "Axios extensions and implementations",

@@ -17,3 +17,3 @@ "exports": {

"dependencies": {
"@trayio/commons": "1.9.0",
"@trayio/commons": "1.9.1",
"axios": "0.27.2",

@@ -20,0 +20,0 @@ "form-data": "4.0.0"

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