axios-ntlm
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -99,4 +99,5 @@ "use strict"; | ||
&& error.headers['www-authenticate'] | ||
&& error.headers['www-authenticate'].includes('NTLM'))) return [3 /*break*/, 3]; | ||
ntlmheader = ((_a = error.headers['www-authenticate'].split(',').find(function (_) { return _.match(/ *NTLM/); })) === null || _a === void 0 ? void 0 : _a.trim()) || ''; | ||
&& error.headers['www-authenticate'].includes('NTLM') | ||
&& (!error.config.headers['X-retry'] || error.config.headers['X-retry'] !== 'false'))) return [3 /*break*/, 3]; | ||
ntlmheader = ((_a = error.headers['www-authenticate'].split(',').find(function (header) { return header.match(/ *NTLM/); })) === null || _a === void 0 ? void 0 : _a.trim()) || ''; | ||
// This length check is a hack because SharePoint is awkward and will | ||
@@ -103,0 +104,0 @@ // include the Negotiate option when responding with the T2 message |
{ | ||
"name": "axios-ntlm", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "An NTLM auth extension to the Axios HTTP library", | ||
@@ -5,0 +5,0 @@ "main": "lib/ntlmClient.js", |
Sorry, the diff of this file is not supported yet
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
54671
617