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

@blackflux/axios

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

@blackflux/axios - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

14

lib/index.js
import axios from 'axios';
import { Retainer } from 'object-fields';
export default (...kwargs) => axios(...kwargs);
export default async (...kwargs) => {
try {
return await axios(...kwargs);
} catch (e) {
Retainer([
'code',
'config.{headers,method,url,data}',
'response.{headers,status,statusText,data}'
])(e);
throw e;
}
};

6

package.json
{
"name": "@blackflux/axios",
"type": "module",
"version": "1.0.1",
"version": "1.1.0",
"main": "lib/index.js",

@@ -37,2 +37,3 @@ "repository": {

"js-gardener": "3.0.5",
"lambda-monitor-logger": "4.0.0",
"node-tdd": "3.4.2",

@@ -73,4 +74,5 @@ "smart-fs": "3.0.1"

"dependencies": {
"axios": "0.27.2"
"axios": "0.27.2",
"object-fields": "3.0.1"
}
}

@@ -5,1 +5,4 @@ [![Build Status](https://circleci.com/gh/blackflux/axios.png?style=shield)](https://circleci.com/gh/blackflux/axios)

# Axios Wrapper
This library does the following:
- Redacts verbose information from error AxiosError
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