axios-debug-log
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"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, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43993
11
320
9