@antora/content-aggregator
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -306,2 +306,4 @@ 'use strict' | ||
} | ||
} else { | ||
worktreePatterns = [] | ||
} | ||
@@ -827,7 +829,7 @@ const branchPatternsString = String(branchPatterns) | ||
function resolveCredentials (credentialsFromUrlHolder, url, auth) { | ||
const credentialsFromUrl = credentialsFromUrlHolder.get() | ||
const credentialsFromUrl = credentialsFromUrlHolder.get() || {} | ||
credentialsFromUrlHolder.clear() | ||
if ('Authorization' in auth.headers) { | ||
if (!credentialsFromUrl) return this.rejected({ url, auth }) | ||
credentialsFromUrlHolder.clear() | ||
} else if (credentialsFromUrl) { | ||
if (!('username' in credentialsFromUrl)) return this.rejected({ url, auth }) | ||
} else if ('username' in credentialsFromUrl) { | ||
return credentialsFromUrl | ||
@@ -888,3 +890,3 @@ } else { | ||
* @param {String} url - The URL to check. | ||
* @return {Boolean} A flag indicating whether the URL matches a directory on the local filesystem. | ||
* @returns {Boolean} A flag indicating whether the URL matches a directory on the local filesystem. | ||
*/ | ||
@@ -891,0 +893,0 @@ function isDirectory (url) { |
{ | ||
"name": "@antora/content-aggregator", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Fetches and aggregates content from distributed sources for use in an Antora documentation pipeline.", | ||
@@ -32,3 +32,3 @@ "license": "MPL-2.0", | ||
"@antora/expand-path-helper": "~2.0", | ||
"@antora/logger": "3.1.1", | ||
"@antora/logger": "3.1.2", | ||
"@antora/user-require-helper": "~2.0", | ||
@@ -38,4 +38,4 @@ "braces": "~3.0", | ||
"glob-stream": "~7.0", | ||
"hpagent": "~1.0", | ||
"isomorphic-git": "~1.19", | ||
"hpagent": "~1.1", | ||
"isomorphic-git": "~1.21", | ||
"js-yaml": "~4.1", | ||
@@ -42,0 +42,0 @@ "multi-progress": "~4.0", |
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
66418
1495
+ Added@antora/logger@3.1.2(transitive)
+ Addedfast-copy@3.0.2(transitive)
+ Addedhpagent@1.1.0(transitive)
+ Addedisomorphic-git@1.21.0(transitive)
+ Addedpino@8.7.0(transitive)
+ Addedpino-pretty@9.1.1(transitive)
- Removed@antora/logger@3.1.1(transitive)
- Removedfast-copy@2.1.7(transitive)
- Removedhpagent@1.0.0(transitive)
- Removedisomorphic-git@1.19.3(transitive)
- Removedpino@8.4.2(transitive)
- Removedpino-pretty@9.0.1(transitive)
Updated@antora/logger@3.1.2
Updatedhpagent@~1.1
Updatedisomorphic-git@~1.21