axios-oauth-client
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,1 +0,1 @@ | ||
{"processes":{"381cb3a4-1aff-4e7a-8e54-8e59e11606f4":{"parent":null,"children":[]}},"files":{},"externalIds":{}} | ||
{"processes":{"cd5de113-9988-4a05-abe1-75c7892a3a56":{"parent":null,"children":[]}},"files":{},"externalIds":{}} |
"use strict"; | ||
function getMaxAge(res) { | ||
return res.expires_in; | ||
return res.expires_in * 1000; | ||
} | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "axios-oauth-client", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "OAuth 2.0 client utils for axios", | ||
@@ -26,3 +26,3 @@ "main": "dist/", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
@@ -64,13 +64,13 @@ "scripts": { | ||
"dependencies": { | ||
"qs": "^6.8.0" | ||
"qs": "^6.9.4" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/cli": "^7.12.10", | ||
"@babel/core": "^7.12.10", | ||
"@babel/preset-env": "^7.12.10", | ||
"axios-token-interceptor": "^0.2.0", | ||
"mocha": "^7.1.1", | ||
"nyc": "^15.0.0", | ||
"semistandard": "^14.2.0" | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0", | ||
"semistandard": "^16.0.0" | ||
} | ||
} |
function getMaxAge (res) { | ||
return res.expires_in; | ||
return res.expires_in * 1000; | ||
} | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
44421
0
Updatedqs@^6.9.4