Socket
Socket
Sign inDemoInstall

node-sp-auth

Package Overview
Dependencies
177
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.2 to 3.0.0-beta.3

3

lib/src/auth/resolvers/FileConfig.js

@@ -10,3 +10,2 @@ "use strict";

const Cache_1 = require("./../../utils/Cache");
const UrlHelper_1 = require("../../utils/UrlHelper");
class FileConfig {

@@ -17,3 +16,3 @@ constructor(_siteUrl) {

getAuth() {
const fileNameTemplate = UrlHelper_1.UrlHelper.removeTrailingSlash(FilesHelper_1.FilesHelper.resolveFileName(this._siteUrl));
const fileNameTemplate = FilesHelper_1.FilesHelper.resolveFileName(this._siteUrl);
const cachedCreds = FileConfig.CredsCache.get(fileNameTemplate);

@@ -20,0 +19,0 @@ if (cachedCreds) {

@@ -15,3 +15,3 @@ "use strict";

}
exports.request = got_1.default.extend({ followRedirect: false, rejectUnauthorized: false, throwHttpErrors: false });
exports.request = got_1.default.extend({ followRedirect: false, rejectUnauthorized: false, throwHttpErrors: false, retry: 0 });
function setup(config) {

@@ -18,0 +18,0 @@ if (config.requestOptions) {

{
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.3",
"name": "node-sp-auth",

@@ -64,3 +64,3 @@ "author": "Sergei Sergeev <sergeev.srg@gmail.com> (https://github.com/s-KaiNet)",

"cpy-cli": "3.1.1",
"eslint": "^7.2.0",
"eslint": "^7.3.0",
"mocha": "8.0.1",

@@ -67,0 +67,0 @@ "nyc": "15.1.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc