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

axios-ntlm

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-ntlm - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

5

lib/ntlmClient.js

@@ -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

2

package.json
{
"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

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