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

@mvxiv/http-service

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mvxiv/http-service - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

0

index.d.ts

@@ -0,0 +0,0 @@ import { AxiosInstance, AxiosRequestConfig } from 'axios';

export { createApiServiceContainer } from './lib/ioc.js';
export { useHttpService } from './lib/http-service.js';
export { BaseService } from './lib/BaseService.js';

4

lib/http-service.js

@@ -10,4 +10,4 @@ import { default as axios, AxiosInstance } from 'axios';

const useSetInterceptors = instance => interceptors => {
for (const [type, intcTuples] of Object.entries(interceptors)) {
for (const tuple of intcTuples) {
for (const [type, interceptorsTuples] of Object.entries(interceptors)) {
for (const tuple of interceptorsTuples) {
instance.interceptors[type].use(...tuple);

@@ -14,0 +14,0 @@ }

{
"name": "@mvxiv/http-service",
"version": "1.1.2",
"version": "1.1.3",
"description": "Http service for frontend build upon axios",
"repository": {
"type": "git",
"url": "https://github.com/mvxivy/ivy-http-service"
"url": "git+https://github.com/mvxivy/ivy-http-service.git"
},

@@ -40,8 +40,8 @@ "type": "module",

"typescript": "^4.7.3",
"webpack": "^5.72.1",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"axios": "^0.27.2"
"axios": "^1.6.0"
}
}

@@ -0,0 +0,0 @@ # HTTP Service

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