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

axios-debug-log

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-debug-log - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

index.d.ts

9

package.json
{
"name": "axios-debug-log",
"version": "0.5.0",
"version": "0.6.0",
"description": "Axios interceptor of logging requests & responses by debug.",

@@ -8,4 +8,5 @@ "main": "index.js",

"lint": "standard",
"typing": "tsc",
"unit": "mocha --require should --require should-sinon",
"test": "npm run lint && npm run unit",
"test": "npm run lint && npm run unit && npm run typing",
"coverage": "nyc npm test && nyc report --reporter=html"

@@ -32,2 +33,3 @@ },

"devDependencies": {
"@types/debug": "^4.0.0",
"axios": ">=0.13.0",

@@ -39,3 +41,4 @@ "mocha": "^6.1.4",

"sinon": "^7.1.1",
"standard": "^12.0.0"
"standard": "^12.0.0",
"typescript": "^3.5.1"
},

@@ -42,0 +45,0 @@ "peerDependencies": {

@@ -120,5 +120,2 @@ /* eslint-env mocha */

it('should use axios default params when logging the URL', () => axios.create({
params: {
foo: 'bar'
},
paramsSerializer: params => {

@@ -131,2 +128,5 @@ const querystring = require('querystring')

url: 'http://example.com/',
params: {
foo: 'bar'
},
adapter: config => Promise.resolve({

@@ -133,0 +133,0 @@ status: 200,

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